Re: Grub Manual

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

 



On Sat, 2007-10-20 at 17:22 -0500, Mikkel L. Ellertson wrote:
> Jonathan Dieter wrote:
> > On Sat, 2007-10-20 at 12:00 -0500, Les Mikesell wrote:
> >> Jonathan Dieter wrote:
> > 
> >>> The other thing you might try would be to use Rom-o-matic to generate an
> >>> etherboot floppy image for your network card and write it to a small
> >>> (~1MB) partition on your hard drive.  Then, in Grub do the whole
> >>> rootnoverify(hd0,x), chainloader +1 and see how that works.  I haven't
> >>> actually tried this method, but it seems that it should work.
> >> Going this route, I'd rather not have to dedicate a partition.  Is there 
> >> any way to put it in /boot along with a linux boot setup?
> > 
> Etherboot will produce bootable floppy images. I don't remember for
> sure, but I believe it will also produce a Grub loadable image just
> like  Memtest86 does. Chainloading to the floppy image should work,
> but if it will produce a directly loadable file, that would be better.

You know, I hadn't thought of that, but memtest86 does work without
needing a separate partition.  You're right.  So obviously it can work.
Les, if I were you, I'd check out rom-o-matic and see what formats it
will generate for you.  Also, install memtest86 and see how it modifies
grub.conf and where it installs the image.

> 
> > As far as I can tell, no.  Grub is able to grab files from a filesystem,
> > but I don't think it can set its root device to be a file.
> > 
> The Grub root device is where the base of where it looks for the
> file. According to the manual, you can use a file name in the
> chanloader command, or specify where to read from, and how much to
> read. So something like "chainloader boot.img" should work. I
> believe there was a thread on this before where we were using a
> floppy image designed to let you boot from a CD on systems where the
> BIOS did not support it to give Grub a boot from CD option.

I stand corrected.  Obviously grub is far more flexible than I was
originally thinking.

Jonathan

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux