OK, I installed an Alpha daily image today, and it is updated and working just fine. No issues with audio or video or compiz or anything like that.
However, Grub2 is kicking my butt!
There's a Debian installation on a different hard drive on my system. It was not picked up during Karmic installation. I studied the Grub 2 information, and learned I needed to edit the file /etc/grub.d/40_custom, and then run
So, I did that. Sure enough, my other OS appeared in the file /boot/grub/grub.cfg. Here it is:
But, the boot menu that appears on my computer does not show the last stanza -- there's no entry to boot sidux. I also attempted to put the entire sidux boot stanza in the 40_custom file, like this:
Doesn't matter -- it doesn't show up on the boot menu that way either.
So, have I found a bug, or am I missing something in the new Grub?
Thanks!
However, Grub2 is kicking my butt!
There's a Debian installation on a different hard drive on my system. It was not picked up during Karmic installation. I studied the Grub 2 information, and learned I needed to edit the file /etc/grub.d/40_custom, and then run
Code:
sudo update-grub2
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,1)
search --no-floppy --fs-uuid --set b09c7fff-fbd3-4094-9fe5-de62e35e778f
if loadfont /usr/share/grub/ascii.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output.gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-5-generic" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set b09c7fff-fbd3-4094-9fe5-de62e35e778f
linux /boot/vmlinuz-2.6.31-5-generic root=UUID=b09c7fff-fbd3-4094-9fe5-de62e35e778f ro quiet splash
initrd /boot/initrd.img-2.6.31-5-generic
}
menuentry "Ubuntu, Linux 2.6.31-5-generic (recovery mode)" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set b09c7fff-fbd3-4094-9fe5-de62e35e778f
linux /boot/vmlinuz-2.6.31-5-generic root=UUID=b09c7fff-fbd3-4094-9fe5-de62e35e778f ro single
initrd /boot/initrd.img-2.6.31-5-generic
}
menuentry "Ubuntu, Linux 2.6.31-3-generic" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set b09c7fff-fbd3-4094-9fe5-de62e35e778f
linux /boot/vmlinuz-2.6.31-3-generic root=UUID=b09c7fff-fbd3-4094-9fe5-de62e35e778f ro quiet splash
initrd /boot/initrd.img-2.6.31-3-generic
}
menuentry "Ubuntu, Linux 2.6.31-3-generic (recovery mode)" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set b09c7fff-fbd3-4094-9fe5-de62e35e778f
linux /boot/vmlinuz-2.6.31-3-generic root=UUID=b09c7fff-fbd3-4094-9fe5-de62e35e778f ro single
initrd /boot/initrd.img-2.6.31-3-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
title Debian sidux GNU/Linux on hd2,1
configfile (hd2,1)/boot/grub/menu.lst
### END /etc/grub.d/40_custom ###
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,1)
search --no-floppy --fs-uuid --set b09c7fff-fbd3-4094-9fe5-de62e35e778f
if loadfont /usr/share/grub/ascii.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output.gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-5-generic" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set b09c7fff-fbd3-4094-9fe5-de62e35e778f
linux /boot/vmlinuz-2.6.31-5-generic root=UUID=b09c7fff-fbd3-4094-9fe5-de62e35e778f ro quiet splash
initrd /boot/initrd.img-2.6.31-5-generic
}
menuentry "Ubuntu, Linux 2.6.31-5-generic (recovery mode)" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set b09c7fff-fbd3-4094-9fe5-de62e35e778f
linux /boot/vmlinuz-2.6.31-5-generic root=UUID=b09c7fff-fbd3-4094-9fe5-de62e35e778f ro single
initrd /boot/initrd.img-2.6.31-5-generic
}
menuentry "Ubuntu, Linux 2.6.31-3-generic" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set b09c7fff-fbd3-4094-9fe5-de62e35e778f
linux /boot/vmlinuz-2.6.31-3-generic root=UUID=b09c7fff-fbd3-4094-9fe5-de62e35e778f ro quiet splash
initrd /boot/initrd.img-2.6.31-3-generic
}
menuentry "Ubuntu, Linux 2.6.31-3-generic (recovery mode)" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set b09c7fff-fbd3-4094-9fe5-de62e35e778f
linux /boot/vmlinuz-2.6.31-3-generic root=UUID=b09c7fff-fbd3-4094-9fe5-de62e35e778f ro single
initrd /boot/initrd.img-2.6.31-3-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
title Debian sidux GNU/Linux on hd2,1
configfile (hd2,1)/boot/grub/menu.lst
### END /etc/grub.d/40_custom ###
Code:
title Debian GNU/Linux, kernel 2.6.30-4.slh.1-sidux-amd64 root (hd2,1) kernel /boot/vmlinuz-2.6.30-4.slh.1-sidux-amd64 root=/dev/sdc1 ro quiet vga=791 initrd /boot/initrd.img-2.6.30-4.slh.1-sidux-amd64
So, have I found a bug, or am I missing something in the new Grub?
Thanks!
Comment