grubby help
John Poelstra
poelstra at redhat.com
Mon Oct 15 23:58:36 UTC 2007
I'm trying to script some disk-less network installs by copying vmlinuz and initrd.img to /boot and then modifying grub.conf. I cannot figure out one of the missing arguments for grubby. Strangely, I haven't found that much about grubby on google.
I would like the /boot/grub.conf entry to look like this using grubby:
title Install F8
root (hd0,0)
kernel /vmlinuz noipv6 ip=dhcp vnc vncconnect=192.168.5.52
initrd /initrd.img
This is the grubby command line I have working so far:
# grubby --add-kernel=/boot/vmlinuz --title="Install F8" --initrd=/boot/initrd.img --make-default --args="noipv6 ip=dhcp vnc vncconnect=192.168.5.52"
QUESTION: How do I specify the "root (hd0,0)" line or have it get added by default? If I specify the argument "--copy-default" it inserts the "root (hd0,0)" line, but then adds a bunch of stuff I don't want to "kernel /vmlinuz"
More information about the users
mailing list