grubby help

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

 



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"


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

  Powered by Linux