[SLL] Can Grub Be Programmed without Expect?

jkeating jkeating at j2solutions.net
Wed Oct 17 13:36:13 PDT 2007


On Mon, 15 Oct 2007 15:44:01 -0700 (PDT)
xeno at eskimo.com wrote:

> I would think, I could set up a perfectly good grub.conf file
> somewhere, and then from the shell do something like:
> 
> grub --config-file=mygrubbyfile.conf

I'm not sure what you're trying to do.  Grub isn't like lilo in that
the config items have to be embedded in the boot record.  Grub re-reads
the config file each boot.  When you install grub, all you're doing is
putting the loader bits in the mbr and adding a reference point to
where the config directory could be found.

grub-install is probably the command you want, but once grub is
installed, you never have to 're-install' it.  You just edit the config
file and changes are seen at next boot time.

-- 
Jesse Keating RHCE      (jkeating.livejournal.com)
Fedora Project          (fedoraproject.org/wiki/JesseKeating)
GPG Public Key          (geek.j2solutions.net/jkeating.j2solutions.pub)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists2.linuxjournal.com/pipermail/linux-list/attachments/20071017/ce75a594/attachment.sig 


More information about the linux-list mailing list