Yeah, message #200 in this thread. This is a very successful and useful thread. =D>
Anyway...
Thanks bcbc for your very quick response.
I'm using the dreaded Ubuntu 10.04.1 version.
I'm familiar with the thread you mention, but I can't exactly link my problem to one of the examples mentioned there.
Does my Windows boot? I should say yes because it is bootable with its own bootloader, but I can't boot it from the grub menu, because is not listed there anymore.
Does my Ubuntu boot? Well, that's probably a "yes" too, but I can't boot the particular version I want too because it isn't listed in the menu, but the other entries in the grub menu boot perfectly.
Furthermore I don't know exactly what to do with your suggestion. If I look it up in the thread you mentioned, it looks to me as a "partial" solution. Do you mean I've only to do these four actions to solve the problem?
If not do I have problem 1 or problem 2 according to you?
In the meantime I blew the edited grub menu and I had to repair it with a Live CD so I'm back to the "original" grub menu and I'm a bit more cautious now before performing more actions.
I found out that when I go to the command line in the grub menu and I do the following three actions I can boot the new ubuntu installation too:
Code:
linux /boot/vmlinuz-2.6.32-27-generic root=UUID=843f3473-a806-431f-a33f-45be9e8ce14c ro quiet splash
initrd /boot/initrd.img-2.6.32-27-generic
boot
You asked about grub.cfg. Well I don't know if it contains the correct entries.
It looks like this:
Code:
#
# 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 ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set c4e2d2cde2d2c2ba
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
if loadfont /usr/share/grub/unicode.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
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set c4e2d2cde2d2c2ba
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
set locale_dir=($root)/boot/grub/locale
set lang=nl
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_lupin ###
menuentry "Ubuntu, Linux 2.6.32-27-generic" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set c4e2d2cde2d2c2ba
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.32-27-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro quiet splash
initrd /boot/initrd.img-2.6.32-27-generic
}
menuentry "Ubuntu, Linux 2.6.32-27-generic (recovery mode)" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set c4e2d2cde2d2c2ba
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.32-27-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.32-27-generic
}
menuentry "Ubuntu, Linux 2.6.32-26-generic" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set c4e2d2cde2d2c2ba
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.32-26-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro quiet splash
initrd /boot/initrd.img-2.6.32-26-generic
}
menuentry "Ubuntu, Linux 2.6.32-26-generic (recovery mode)" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set c4e2d2cde2d2c2ba
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.32-26-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.32-26-generic
}
menuentry "Ubuntu, Linux 2.6.32-25-generic" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set c4e2d2cde2d2c2ba
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.32-25-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry "Ubuntu, Linux 2.6.32-25-generic (recovery mode)" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set c4e2d2cde2d2c2ba
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.32-25-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry "Ubuntu, Linux 2.6.32-24-generic" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set c4e2d2cde2d2c2ba
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.32-24-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry "Ubuntu, Linux 2.6.32-24-generic (recovery mode)" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set c4e2d2cde2d2c2ba
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.32-24-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.32-24-generic
}
### END /etc/grub.d/10_lupin ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set dc1a10b21a108ba0
chainloader +1
}
menuentry "Windows 7 (loader) (on /dev/sda2)" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set c4e2d2cde2d2c2ba
chainloader +1
}
menuentry "Windows Vista (loader) (on /dev/sda4)" {
insmod ntfs
set root='(hd0,4)'
search --no-floppy --fs-uuid --set 82deb960deb94d63
chainloader +1
}
menuentry "Ubuntu, met Linux 2.6.32-27-generic (on /dev/sda6)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 843f3473-a806-431f-a33f-45be9e8ce14c
linux /boot/vmlinuz-2.6.32-27-generic root=UUID=843f3473-a806-431f-a33f-45be9e8ce14c ro quiet splash
initrd /boot/initrd.img-2.6.32-27-generic
}
menuentry "Ubuntu, met Linux 2.6.32-27-generic (herstelmodus) (on /dev/sda6)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 843f3473-a806-431f-a33f-45be9e8ce14c
linux /boot/vmlinuz-2.6.32-27-generic root=UUID=843f3473-a806-431f-a33f-45be9e8ce14c ro single
initrd /boot/initrd.img-2.6.32-27-generic
}
menuentry "Ubuntu, met Linux 2.6.32-26-generic (on /dev/sda6)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 843f3473-a806-431f-a33f-45be9e8ce14c
linux /boot/vmlinuz-2.6.32-26-generic root=UUID=843f3473-a806-431f-a33f-45be9e8ce14c ro quiet splash
initrd /boot/initrd.img-2.6.32-26-generic
}
menuentry "Ubuntu, met Linux 2.6.32-26-generic (herstelmodus) (on /dev/sda6)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 843f3473-a806-431f-a33f-45be9e8ce14c
linux /boot/vmlinuz-2.6.32-26-generic root=UUID=843f3473-a806-431f-a33f-45be9e8ce14c ro single
initrd /boot/initrd.img-2.6.32-26-generic
}
menuentry "Ubuntu, met Linux 2.6.32-25-generic (on /dev/sda6)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 843f3473-a806-431f-a33f-45be9e8ce14c
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=843f3473-a806-431f-a33f-45be9e8ce14c ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry "Ubuntu, met Linux 2.6.32-25-generic (herstelmodus) (on /dev/sda6)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 843f3473-a806-431f-a33f-45be9e8ce14c
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=843f3473-a806-431f-a33f-45be9e8ce14c ro single
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry "Ubuntu, met Linux 2.6.32-24-generic (on /dev/sda6)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 843f3473-a806-431f-a33f-45be9e8ce14c
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=843f3473-a806-431f-a33f-45be9e8ce14c ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry "Ubuntu, met Linux 2.6.32-24-generic (herstelmodus) (on /dev/sda6)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 843f3473-a806-431f-a33f-45be9e8ce14c
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=843f3473-a806-431f-a33f-45be9e8ce14c ro single
initrd /boot/initrd.img-2.6.32-24-generic
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
The migrated installation is the one on /dev/sda6.
You see a few times "herstelmodus" that's the Dutch translation of "recovery mode".
Bookmarks