Re: Booting from USB HDD without BIOS support

From: Tauno Voipio (tauno.voipio_at_iki.fi.NOSPAM.invalid)
Date: 06/14/05


Date: Tue, 14 Jun 2005 06:59:43 GMT

Stephan Keil wrote:
>>> I suppose it is possible to setup e.g. a small boot CD (booting from
>>> CD is supported), which loads a USB driver and finally boots Linux
>>> from the USB harddisk.
>
>
>> The bootable CD contains a floppy image (usually 2.88.Mbytes)
>> which is shown as a floppy to the BIOS during booting.
>>
>> So, you need a floppy image that contains the required drivers and
>> is bootable (first 512 bytes read via int 0x13 to 0x7c00 and
>> started up at the first byte).
>>
>> For details, Google for 'El Torito Specification'.
>>
>> The Linux mkisofs utility can insert the boot diskette image
>> into a CD file system image.
>
>
> Hm, sounds like a lot of low-level work :-o.
> My approach was more like installing a Linux kernel with builtin
> USB-drivers on the CD. But actually I would prefer to not install my
> "production kernel" on the CD but some kind of "boot only" kernel. Is it
> possible to "swap" the kernel after booting?

There's no easy way - the kernel runs in 32 bit mode and the
booting runs in 16 bit (real) mode. You'd need to do some serious
kernel hacking to return to the real mode.

If you can get a version of GRUB able to boot your disk,
a floppy with that GRUB diskette image might be the solution.

-- 
Tauno Voipio
tauno voipio (at) iki fi


Relevant Pages

  • Re: 6.2 hangs probing floppy
    ... Before eliminating fdc from the kernel I add another piece of info. ... If immediatedly after booting I put a floppy into the drive, ...
    (freebsd-questions)
  • Re: Multi-boot from USB?
    ... >> So it is not 'booting' it. ... > result the PC is running the copy of MS-DOS which is on the floppy (and ... > using FDD emulation. ... > resides in the bootblock, not in the MBR), by the way. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: repairing win xp after power loss?
    ... try booting the PC with a plain old DOS boot floppy. ... wrong with the BIOS setup for booting from CD. ...
    (microsoft.public.windowsxp.basics)
  • Re: Crash WindowsXP pro
    ... The six floppies only provide a way for a user whose system cannot boot from ... a CD-ROM drive to begin setup by booting from the floppy drive. ...
    (microsoft.public.windowsxp.accessibility)
  • Re: Install confusion
    ... >As I already wrote, you can install lilo on floppy, but use the kernel ... >booting will also be much faster. ... I am installing the 2.4.18 kernel as I write and will ...
    (Debian-User)