[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: usb memory stick booting w/ grub



Andres Salomon wrote:
> Hrm.  What ends up happening?  Where does it fail?

On my test laptop, it just doesn't try to boot from usb at all
apparently and goes on to boot the grub on the system's hard disk.

> > If grub did support vfat, this would be easier yet since the boot.img.gz
> > is a vfat filesystem with the installer files on it and could be
> > uncompressed onto the partition. In my testing, writing that to the disk
> > as /dev/sda1 made grub-installer fail though.
> 
> grub-installer bailed out due to a fs type sanity check, or what?

"unable to read stage1" or something like that.

> > > root            (hd0,0)
> > > kernel          /vmlinuz ramdisk_size=10000 root=/dev/rd/0 init=/linuxrc devfs=mount,dall rw
> > > initrd          /initrd.gz
> > 
> > Doesn't this assume that the usb stick appears to grub as the first hard
> > drive on the system you install? Seems unlikely if there is another
> > disk.
> > 
> 
> Yes; I assume an IDE based system, here.  I'd have to play around w/ a
> scsi system to see how grub (or the bios?) ends up ordering disks and
> usb-storage devices.

Hmm, I'd have thought the BIOS puts IDE disks before removable USB
media, but I've never checked.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: