Re: Bootable USB images (Re: using d-i to install kfreebsd-i386 from usb)
- To: Aurelien Jarno <aurelien@aurel32.net>
- Cc: Robert Millan <rmh@aybabtu.com>, Thorsten Glaser <tg@mirbsd.de>, debian-boot <debian-boot@lists.debian.org>
- Subject: Re: Bootable USB images (Re: using d-i to install kfreebsd-i386 from usb)
- From: Ferenc Wagner <wferi@niif.hu>
- Date: Fri, 01 Jan 2010 14:49:59 +0100
- Message-id: <[🔎] 87oclelyt4.fsf@tac.ki.iif.hu>
- In-reply-to: <20091231142006.GG11637@hall.aurel32.net> (Aurelien Jarno's message of "Thu, 31 Dec 2009 15:20:06 +0100")
- References: <5a6cd4690912161413j3cb27388l7bfe3f86bc5c747e@mail.gmail.com> <Pine.BSM.4.64L.0912162227391.15912@herc.mirbsd.org> <20091216235341.GB4963@doyle> <Pine.BSM.4.64L.0912171253550.21089@herc.mirbsd.org> <5a6cd4690912170531q263ba724p4982788e3a968b26@mail.gmail.com> <Pine.BSM.4.64L.0912171343380.21089@herc.mirbsd.org> <20091221223728.GA22598@thorin> <20091230203911.GT5695@hall.aurel32.net> <20091231141237.GA24833@thorin> <20091231142006.GG11637@hall.aurel32.net>
Aurelien Jarno <aurelien@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 +0000, 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.
Reply to: