On Thu, 21 May 2015 09:13:44 +0100, Peter Humphrey wrote:

> This is my grub.conf (copied in from my e-mail yesterday):
> 
> root (hd0,0)
> timeout 10
> default 0
> fallback 3
> color white/blue black/light-gray
> splashimage /grub/splash.xpm.gz
> 
> title=Gentoo Linux 3.18.12
>         kernel /boot/kernel-x86_64-3.18.12-gentoo root=/dev/md5
> net.ifnames=0 irqpoll
> 
> title=Gentoo Linux 3.18.12, no X
>         kernel /boot/kernel-x86_64-3.18.12-gentoo root=/dev/md5
> softlevel=nox net.ifnames=0 irqpoll
> 
> title=Gentoo Linux 3.18.12, no network
>         kernel /boot/kernel-x86_64-3.18.12-gentoo root=/dev/md5
> softlevel=nonet net.ifnames=0 irqpoll
> 
> title=Rescue System 3.18.11
>         kernel /boot/kernel-x86_64-3.18.11-gentoo-rescue root=/dev/sda8
> net.ifnames=0 irqpoll
> 
> title=Rescue System 3.18.12
>         kernel /boot/kernel-x86_64-3.18.12-gentoo-rescue root=/dev/sda8
> net.ifnames=0 irqpoll
> 
> I copied it into /etc/grub.d/05_linux.  /etc/defaults/grub is all
> comments.
> 
That's a GRUB1 file, GRUB2 uses a different syntax so your first entry
would become

menuentry "Gentoo Linux 3.18.12" {
  linux /boot/kernel-x86_64-3.18.12-gentoo root=/dev/md5 net.ifnames=0 irqpoll
}

Also, you need to copy 40_custom and then add your lines to that. This is
because files in /etc/grub.d are executed, so it needs to be a shell
script.


-- 
Neil Bothwick

A wok is what you throw at a wabbit.

Attachment: pgpattKmhF1Vb.pgp
Description: OpenPGP digital signature

Reply via email to