> On Oct 25, 2014, at 08:09, William Harrington <[email protected]> wrote: > > >> On Oct 25, 2014, at 07:53, Nagasayanam,V.S <[email protected]> wrote: >> >> set default=0 >> set timeout=15 >> insmod ext2 >> set root=(hd0,6) >> >> menuentry "LFS" { >> linux /boot/vmlinuz-3.16.2-lfs-7.6 root=/dev/sda6 ro >> } >> >> set root=(hd0,1) >> menuentry "Fedora 20" { >> linux /boot/vmlinuz-3.11.10-301.fc20.i686+PAE >> root=/dev/sda1 ro >> initrd /boot/initramfs-3.11.10-301.fc20.i686+PAE.img >> } > > I boot between dev builds and a server build in this example: > > menuentry "SERVER BUILD" { > set root=(hd0,2) > linux /boot/linux-3.14.22 root=/dev/sda2 > } > > menuentry "CLFS-GIT" { > set root=(hd0,1) > linux /boot/linux-3.12.17 root=/dev/sda1 > } >
Yes, there needs to be a “set root=“ statement for each kernel—inside the curly brackets and before the “linux” command. It tells GRUB where to look for the kernel you want to boot. Dan -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
