Re: Debian live iso on usb returns grub
Hi, Massimo Maiurana wrote; > DD mode, as Rufus itself told me to use that mode in case of problems about > booting. We have to thank its author Pete Batard for bringing so many installation ISOs onto their USB sticks. > Indeed the Toshiba laptop is in legacy mode while the Asus one is in Efi > mode. The latter at least was able to run Grub. I assume the EFI partition was not partition 1 and thus survived. But probably the GRUB software in that EFI partition wanted to jump onto software which was in partition 1. So overwriting partition 1 by the ISO left that GRUB software clueless. Have a nice day :) Thomas
Re: Debian live iso on usb returns grub
Thomas Schmitt ha scritto il 18/08/22 alle 20:02 Did you use Rufus' "DD" mode or did you let it do its usual thing of unpacking the ISO into a partition of the USB stick ? DD mode, as Rufus itself told me to use that mode in case of problems about booting. Maybe the GRUB software on /dev/sdb was for the wrong firmware ? Legacy BIOS vs. EFI. Indeed the Toshiba laptop is in legacy mode while the Asus one is in Efi mode. The latter at least was able to run Grub. Massimo Maiurana
Re: Debian live iso on usb returns grub
Hi, Massimo Maiurana wrote: > So i tried putting the image in the key using Rufus on windows and it works! Did you use Rufus' "DD" mode or did you let it do its usual thing of unpacking the ISO into a partition of the USB stick ? (The latter is not advised by Debian Installation developers.) > I suspect that the guide i was using (i don't remember where i found it) was > misleading me as it said to copy the iso on /dev/sdb1, while i probably > should have copy it to /dev/sdb instead. Indeed you should have copied it to /dev/sdb. I stumbled over the line in your initial report > > > grub> linux (hd0,msdos1)/install.amd/gtk/vmlinuz root=/dev/sdb1 and got suspicious enough to ask > > Does it work with "root=/dev/sdb" ? Maybe you would have detected a difference in behavior which would have proved that your ISO was not put to the proper place on the stick. Partition 1 in a Debian installation ISO begins at block 0 and thus at the same block where the overall device begins. So with the ISO at the right place, there should be no difference ... normally ... :)) I guess you had partition 1 starting at non-0 and some GRUB debris on /dev/sdb before the start of /dev/sdb1. That debris would then have given you the grub> prompt. > Now i tried the same usb key on another laptop, Toshiba, and it > doesn't boot at all; at least the Asus returned the Grub command line. Maybe the GRUB software on /dev/sdb was for the wrong firmware ? Legacy BIOS vs. EFI. Both firmware types begin the very first stage of booting non-firmware at different starting points (MBR x86 code vs. EFI partition with FAT filesystem and boot programs with predefined names). Have a nice day :) Thomas
Re: Debian live iso on usb returns grub
Thomas Schmitt ha scritto il 17/08/22 alle 20:53:> I really wonder what on your system can confuse GRUB, so that it does not get to the file /boot/grub/grub.cfg of the ISO which contains the menu items which i see with qemu. Well, looks like it's not only that system, which for the record is an Asus laptop. Now i tried the same usb key on another laptop, Toshiba, and it doesn't boot at all; at least the Asus returned the Grub command line. So i tried putting the image in the key using Rufus on windows and it works! I suspect that the guide i was using (i don't remember where i found it) was misleading me as it said to copy the iso on /dev/sdb1, while i probably should have copy it to /dev/sdb instead. Sorry for the noise :) Massimo Maiurana
Re: Debian live iso on usb returns grub
Hi, Massimo Maiurana wrote: > This is the downloaded image: > https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-dvd/firmware-testing-amd64-DVD-1.iso Works for my Debian 11 qemu/KVM with OVMF EFI "firmware". I get to the text/graphics menu with Debian logo and all. I really wonder what on your system can confuse GRUB, so that it does not get to the file /boot/grub/grub.cfg of the ISO which contains the menu items which i see with qemu. Have a nice day :) Thomas
Re: Debian live iso on usb returns grub
Thomas Schmitt ha scritto il 17/08/22 alle 17:18 Whenever an ISO has to be investigated or tested, a tangible download URL can be of great help ... (cough) ... :)) Of course you're right, sorry :) This is the downloaded image: https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-dvd/firmware-testing-amd64-DVD-1.iso Massimo Maiurana
Re: Debian live iso on usb returns grub
Hi, Massimo Maiurana wrote: > Sorry, forgot to mention that my iso was not the netinst one, i.e. the CD > image, but rather was the DVD image. Whenever an ISO has to be investigated or tested, a tangible download URL can be of great help ... (cough) ... :)) I confess that it also helps to test Link URLs before posting them. I wrote: > You got one more [answer] without Cc:maiur...@gmail.com : > https://lists.debian.org/msgid-search/YvogMm/B0cM/a...@einval.com Please look at this URL instead: https://lists.debian.org/debian-user/2022/08/msg00267.html (The direct URL addressing seems to hate Message Ids with "/" in them.) Have a nice day :) Thomas
Re: Debian live iso on usb returns grub
Thomas Schmitt ha scritto il 17/08/22 alle 16:15: Hi I now tried in quemu https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-cd/firmware-testing-amd64-netinst.iso which i downloaded ~8 hours after your post. Sorry, forgot to mention that my iso was not the netinst one, i.e. the CD image, but rather was the DVD image. That's why i didn't need it to rely on mirrors as all the needed packages was already in the iso. Thanks for your time :) Massimo Maiurana
Re: Debian live iso on usb returns grub
Hi, Massimo Maiurana wrote: > thanks for your answer. You got one more without Cc:maiur...@gmail.com : https://lists.debian.org/msgid-search/YvogMm/B0cM/a...@einval.com (This one did not doubt your subject line as much as i did.) > What i took is not a live iso but instead it's the installer iso. I now tried in quemu https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-cd/firmware-testing-amd64-netinst.iso which i downloaded ~8 hours after your post. qemu-system-x86_64 -enable-kvm -m 512 \ -bios /usr/share/ovmf/OVMF.fd \ -hda firmware-testing-amd64-netinst.iso Offering the ISO as -hda is supposed to trigger the same boot path as a USB stick at a real machine. This run gives me a text/graphical menu with Debian logo, mentioning of "UEFI" and "GRUB" and some offers to install Debian. I.e. GRUB found the storage device with the ISO and loaded its configuration. In your case i assume that this search does not yield success. Inspecting the content of the EFI partition of the ISO mount firmware-testing-amd64-netinst.iso /mnt/iso mount /mnt/iso/boot/grub/efi.img /mnt/fat i see the search in file /mnt/fat/efi/debian/grub.cfg : search --file --set=root /.disk/info set prefix=($root)/boot/grub source $prefix/x86_64-efi/grub.cfg So if my theory is right, GRUB failed to find a filesystem with file /.disk/info The interesting question is why. Does your downloaded ISO behave differently with above qemu run ? Have a nice day :) Thomas
Re: Debian live iso on usb returns grub
Thomas Schmitt ha scritto il 16/08/22 alle 09:50: Hi, Massimo Maiurana wrote: I've downloaded the latest iso with testing weekly build, I understand that there are no weekly builds of Debian Live based on Debian Testing. (I remember people asking for Debian 12 Live ISOs and being told that currently there are none.) Hi Thomas, thanks for your answer. What i took is not a live iso but instead it's the installer iso. Anyway, in the meantime another weekly build was uploaded, the last monday, and with that I was able to complete the installation. Well, actually I had to type the same commands to boot the iso as the installer still doesn't run automagically, but this build doesn't stop at hard drives detection like the former. At the first run it stopped at the step where it tries to configure network mirrors, but since this is an up to date iso it doesn't matter much: i've just rebooted and told it to go on without mirrors ;) Given that you mention "weekly build" i guess that you got Debian Installer ISOs and not Debian Live. If so, then the mailing list in charge would be debian...@lists.debian.org Thanks, at least now i know where i should file the report if it'll happen again :) Massimo Maiurana
Re: Debian live iso on usb returns grub
Hi, Massimo Maiurana wrote: > I've downloaded the latest iso with testing weekly build, I understand that there are no weekly builds of Debian Live based on Debian Testing. (I remember people asking for Debian 12 Live ISOs and being told that currently there are none.) So can you please tell the exact URLs of the ISOs which you tested, so that others can try to reproduce the problem ? > From that command line i can boot the installer with the following commands > [...] > grub> linux (hd0,msdos1)/install.amd/gtk/vmlinuz root=/dev/sdb1 "root=/dev/sdb1" looks a bit strange, although not really wrong, given the partition layout of Debian ISOs. Nevertheless: Does it work with "root=/dev/sdb" ? Did you copy the ISOs to /dev/sdb, as you are supposed to do ? Given that you mention "weekly build" i guess that you got Debian Installer ISOs and not Debian Live. If so, then the mailing list in charge would be debian...@lists.debian.org If the problem can be reproduced by others, then it is probably worth a bug report. Have a nice day :) Thomas
Re: Debian live iso on usb returns grub
On Mon, Aug 15, 2022 at 12:06:11PM +0200, Massimo Maiurana wrote: > I've downloaded the latest iso with testing weekly build, both with and > without firmwares, and wrote them on a usb stick (of course one at a time) > but at boot it doesn't start the installer. It boots but all i get is the > grub comman line. > > From that command line i can boot the installer with the following commands > but looks to me like it is a sort of bug, just don't know how to report it > so i'm writing here: > grub> linux (hd0,msdos1)/install.amd/gtk/vmlinuz root=/dev/sdb1 > grub> initrd (hd0,msdos1)/install.amd/gtk/initrd.gz > grub> boot > > Now it stops in the step where it tries to detect hard drives. The message > returned, translated from italian, is more or less this: > >Loading libc6-udeb failed for unknown reasons > > Do you have some advices? > > Kind regards > > -- > Massimo Maiurana > Salve Massimo :) I'd suggest asking specifically on the debian-live list - things have changed relatively recently, I think. It's also worth reminding people in general that the debian-live images are *not* maintained by the debian-cd team but just released by them with minimal testing. All the very best, as ever, Andy Cater