Re: Bootable USB images
Ferenc Wagner dixit: In case it's not widely known, let me quote isolinux.doc: Starting in version 3.72, ISOLINUX supports a hybrid mode which can be booted from either CD-ROM or from a device which BIOS considers a hard disk or ZIP disk, e.g. a USB key or similar. That’s one of the methods; Robert’s new GRUB change, as well as my “manifold-boot” method which also works with GRUB2, are others. We looked at them in Grml; the ISOHYBRID variant used to not work with stock Debian packaging though that may have changed, mail m...@d.o for details. It basically depends on whether you want SYSLINUX or GRUB as loader (I think GRUB offers more flexibility which can be desirable on d-i). bye, //mirabilos -- Sometimes they [people] care too much: pretty printers [and syntax highligh- ting, d.A.] mechanically produce pretty output that accentuates irrelevant detail in the program, which is as sensible as putting all the prepositions in English text in bold font. -- Rob Pike in Notes on Programming in C -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bootable USB images (Re: using d-i to install kfreebsd-i386 from usb)
Aurelien Jarno aurel...@aurel32.net writes: On Thu, Dec 31, 2009 at 03:12:37PM +0100, Robert Millan wrote: On Wed, Dec 30, 2009 at 09:39:11PM +0100, Aurelien Jarno wrote: On Mon, Dec 21, 2009 at 11:37:28PM +0100, Robert Millan wrote: On Thu, Dec 17, 2009 at 01:48:10PM +, Thorsten Glaser wrote: The standard (I have Ecma 119 (= ISO 9660), SUSP, RRIP and El Torito here as PDFs, they’re “freeware”) however specifies that the first 32 KiB of an ISO 9660 filesystem image are empty and available for, for example, bootloaders. I found this a very interesting observation. In fact I just implemented support in GRUB to build USB-capable CD images, using this approach. You just need to dd them: $ dd if=mini.iso of=/dev/sdb You will need 1.98~20091221-1 (which I just uploaded to sid), plus attached patch. This takes advantage of the new infrastructure for bootable image generation (grub-mkrescue), which abstracts the architecture-specific GRUB setup so that you only need to worry about your grub.cfg and not about image building. I have tried that, but it doesn't work. It works fine when used on a CD-ROM, but not when used on an hard-drive. The grub menu is shown correctly, but when selecting the install entry, it freezes on Loading When trying to boot using commands, it also freezes after entering kfreebsd /boot/kernel/kfreebsd.gz. Could you put that image somewhere? I'll have a look. It is available on http://temp.aurel32.net/mini.iso . I tried it with qemu (-cdrom and -hda). In case it's not widely known, let me quote isolinux.doc: Starting in version 3.72, ISOLINUX supports a hybrid mode which can be booted from either CD-ROM or from a device which BIOS considers a hard disk or ZIP disk, e.g. a USB key or similar. It would probably be a worthwhile additional feature for the Debian Installer. -- Cheers, Feri. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bootable USB images (Re: using d-i to install kfreebsd-i386 from usb)
On Thu, Dec 31, 2009 at 03:12:37PM +0100, Robert Millan wrote: On Wed, Dec 30, 2009 at 09:39:11PM +0100, Aurelien Jarno wrote: On Mon, Dec 21, 2009 at 11:37:28PM +0100, Robert Millan wrote: On Thu, Dec 17, 2009 at 01:48:10PM +, Thorsten Glaser wrote: The standard (I have Ecma 119 (= ISO 9660), SUSP, RRIP and El Torito here as PDFs, they’re “freeware”) however specifies that the first 32 KiB of an ISO 9660 filesystem image are empty and available for, for example, bootloaders. I found this a very interesting observation. In fact I just implemented support in GRUB to build USB-capable CD images, using this approach. You just need to dd them: $ dd if=mini.iso of=/dev/sdb You will need 1.98~20091221-1 (which I just uploaded to sid), plus attached patch. This takes advantage of the new infrastructure for bootable image generation (grub-mkrescue), which abstracts the architecture-specific GRUB setup so that you only need to worry about your grub.cfg and not about image building. I have tried that, but it doesn't work. It works fine when used on a CD-ROM, but not when used on an hard-drive. The grub menu is shown correctly, but when selecting the install entry, it freezes on Loading When trying to boot using commands, it also freezes after entering kfreebsd /boot/kernel/kfreebsd.gz. Could you put that image somewhere? I'll have a look. It is available on http://temp.aurel32.net/mini.iso . I tried it with qemu (-cdrom and -hda). -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bootable USB images (Re: using d-i to install kfreebsd-i386 from usb)
On Wed, Dec 30, 2009 at 09:39:11PM +0100, Aurelien Jarno wrote: On Mon, Dec 21, 2009 at 11:37:28PM +0100, Robert Millan wrote: On Thu, Dec 17, 2009 at 01:48:10PM +, Thorsten Glaser wrote: The standard (I have Ecma 119 (= ISO 9660), SUSP, RRIP and El Torito here as PDFs, they’re “freeware”) however specifies that the first 32 KiB of an ISO 9660 filesystem image are empty and available for, for example, bootloaders. I found this a very interesting observation. In fact I just implemented support in GRUB to build USB-capable CD images, using this approach. You just need to dd them: $ dd if=mini.iso of=/dev/sdb You will need 1.98~20091221-1 (which I just uploaded to sid), plus attached patch. This takes advantage of the new infrastructure for bootable image generation (grub-mkrescue), which abstracts the architecture-specific GRUB setup so that you only need to worry about your grub.cfg and not about image building. I have tried that, but it doesn't work. It works fine when used on a CD-ROM, but not when used on an hard-drive. The grub menu is shown correctly, but when selecting the install entry, it freezes on Loading When trying to boot using commands, it also freezes after entering kfreebsd /boot/kernel/kfreebsd.gz. Could you put that image somewhere? I'll have a look. -- Robert Millan Be the change you want to see in the world -- Gandhi -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bootable USB images (Re: using d-i to install kfreebsd-i386 from usb)
On Mon, Dec 21, 2009 at 11:37:28PM +0100, Robert Millan wrote: On Thu, Dec 17, 2009 at 01:48:10PM +, Thorsten Glaser wrote: The standard (I have Ecma 119 (= ISO 9660), SUSP, RRIP and El Torito here as PDFs, they’re “freeware”) however specifies that the first 32 KiB of an ISO 9660 filesystem image are empty and available for, for example, bootloaders. I found this a very interesting observation. In fact I just implemented support in GRUB to build USB-capable CD images, using this approach. You just need to dd them: $ dd if=mini.iso of=/dev/sdb You will need 1.98~20091221-1 (which I just uploaded to sid), plus attached patch. This takes advantage of the new infrastructure for bootable image generation (grub-mkrescue), which abstracts the architecture-specific GRUB setup so that you only need to worry about your grub.cfg and not about image building. I have tried that, but it doesn't work. It works fine when used on a CD-ROM, but not when used on an hard-drive. The grub menu is shown correctly, but when selecting the install entry, it freezes on Loading When trying to boot using commands, it also freezes after entering kfreebsd /boot/kernel/kfreebsd.gz. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Bootable USB images (Re: using d-i to install kfreebsd-i386 from usb)
On Mon, Dec 21, 2009 at 11:37:28PM +0100, Robert Millan wrote: This takes advantage of the new infrastructure for bootable image generation (grub-mkrescue), which abstracts the architecture-specific GRUB setup so that you only need to worry about your grub.cfg and not about image building. Btw, this means when we add support for coreboot and EFI (work in progress), you'll get support for those platforms for free. (and yes, Linux-based ports can get it too when they switch to GRUB ;-P) -- Robert Millan -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org