Quote:
Originally Posted by yancek
To get some accurate information, boot into Ubuntu 10.04 and open a terminal and run this command: sudo fdisk -l ( that is a Lower case Letter L) and post this info here. Make sure both drives are attached before doing this.
|
Disk /dev/sda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x32293228
Device Boot Start End Blocks Id System
/dev/sda1 * 1 10963 88060266 7 HPFS/NTFS
/dev/sda2 10964 13971 24161130+ 5 Extended
/dev/sda5 12217 13585 10996461 83 Linux
/dev/sda6 13586 13652 538146 82 Linux swap / Solaris
/dev/sda7 10964 12157 9586688 83 Linux
/dev/sda8 12157 12216 476160 82 Linux swap / Solaris
/dev/sda9 13653 13907 2048256 83 Linux
/dev/sda10 13908 13971 514048+ 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/sdb: 20.4 GB, 20416757760 bytes
255 heads, 63 sectors/track, 2482 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8b5b3349
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1506 12096913+ c W95 FAT32 (LBA)
/dev/sdb2 1507 1944 3518235 c W95 FAT32 (LBA)
/dev/sdb3 1945 2482 4321454+ f W95 Ext'd (LBA)
/dev/sdb5 1945 2116 1376148+ 7 HPFS/NTFS
/dev/sdb6 2116 2459 2759661+ 83 Linux
/dev/sdb7 2460 2482 184716 82 Linux swap / Solaris
Here is the /boot/grub/grub.cfg in 10.04.
#
# 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 ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 005d8ca0-4f24-410c-8ea1-16ff38116633
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 ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 005d8ca0-4f24-410c-8ea1-16ff38116633
set locale_dir=($root)/boot/grub/locale
set lang=en
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 ###
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 005d8ca0-4f24-410c-8ea1-16ff38116633
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=005d8ca0-4f24-410c-8ea1-16ff38116633 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 005d8ca0-4f24-410c-8ea1-16ff38116633
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=005d8ca0-4f24-410c-8ea1-16ff38116633 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 005d8ca0-4f24-410c-8ea1-16ff38116633
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 005d8ca0-4f24-410c-8ea1-16ff38116633
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set eac8151ec814eb19
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Ubuntu, Linux 2.6.31-9-rt (on /dev/sda5)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 5cb0adcc-5642-46d7-af57-a14c83745b4c
linux /boot/vmlinuz-2.6.31-9-rt root=UUID=5cb0adcc-5642-46d7-af57-a14c83745b4c ro quiet splash
initrd /boot/initrd.img-2.6.31-9-rt
}
menuentry "Ubuntu, Linux 2.6.31-9-rt (recovery mode) (on /dev/sda5)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 5cb0adcc-5642-46d7-af57-a14c83745b4c
linux /boot/vmlinuz-2.6.31-9-rt root=UUID=5cb0adcc-5642-46d7-af57-a14c83745b4c ro single
initrd /boot/initrd.img-2.6.31-9-rt
}
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" {
insmod fat
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 0a5c-07f1
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Linux Mint 9, 2.6.32-22-generic (/dev/sda6) (on /dev/sdb6)" {
insmod ext2
set root='(hd1,6)'
search --no-floppy --fs-uuid --set 27dbc19f-4827-415a-9aa2-829ec991515a
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=27dbc19f-4827-415a-9aa2-829ec991515a ro quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry "Linux Mint 9, 2.6.32-22-generic (/dev/sda6) -- recovery mode (on /dev/sdb6)" {
insmod ext2
set root='(hd1,6)'
search --no-floppy --fs-uuid --set 27dbc19f-4827-415a-9aa2-829ec991515a
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=27dbc19f-4827-415a-9aa2-829ec991515a ro single
initrd /boot/initrd.img-2.6.32-22-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 ###
Quote:
Originally Posted by yancek
Reboot and check to see if you have /boot/grub/grub.cfg in 9.10.
|
Yes there is a grub.cfg in 9.10 Here it is:
#
# 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 /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,9)
search --no-floppy --fs-uuid --set 5cb0adcc-5642-46d7-af57-a14c83745b4c
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
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/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-9-rt" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,9)
search --no-floppy --fs-uuid --set 5cb0adcc-5642-46d7-af57-a14c83745b4c
linux /boot/vmlinuz-2.6.31-9-rt root=UUID=5cb0adcc-5642-46d7-af57-a14c83745b4c ro quiet splash
initrd /boot/initrd.img-2.6.31-9-rt
}
menuentry "Ubuntu, Linux 2.6.31-9-rt (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,9)
search --no-floppy --fs-uuid --set 5cb0adcc-5642-46d7-af57-a14c83745b4c
linux /boot/vmlinuz-2.6.31-9-rt root=UUID=5cb0adcc-5642-46d7-af57-a14c83745b4c ro single
initrd /boot/initrd.img-2.6.31-9-rt
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set eac8151ec814eb19
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os { (on /dev/sda5)" {
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 52922f34-4741-4cad-8d5d-a7db05bc0705
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=52922f34-4741-4cad-8d5d-a7db05bc0705 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { (on /dev/sda5)" {
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 52922f34-4741-4cad-8d5d-a7db05bc0705
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=52922f34-4741-4cad-8d5d-a7db05bc0705 ro single
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "Ubuntu 10.04 LTS, kernel 2.6.32-21-generic (on /dev/sda7)" {
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 14a16a08-f039-42a2-8d0c-41d66210c4ff
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=14a16a08-f039-42a2-8d0c-41d66210c4ff ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "Ubuntu 10.04 LTS, kernel 2.6.32-21-generic (recovery mode) (on /dev/sda7)" {
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set 14a16a08-f039-42a2-8d0c-41d66210c4ff
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=14a16a08-f039-42a2-8d0c-41d66210c4ff ro single
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" {
insmod fat
set root=(hd1,1)
search --no-floppy --fs-uuid --set 0a5c-07f1
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Linux Mint 9, 2.6.32-22-generic (/dev/sda6) (on /dev/sdb6)" {
insmod ext2
set root=(hd1,6)
search --no-floppy --fs-uuid --set 27dbc19f-4827-415a-9aa2-829ec991515a
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=27dbc19f-4827-415a-9aa2-829ec991515a ro quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry "Linux Mint 9, 2.6.32-22-generic (/dev/sda6) -- recovery mode (on /dev/sdb6)" {
insmod ext2
set root=(hd1,6)
search --no-floppy --fs-uuid --set 27dbc19f-4827-415a-9aa2-829ec991515a
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=27dbc19f-4827-415a-9aa2-829ec991515a ro single
initrd /boot/initrd.img-2.6.32-22-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 ###
Quote:
Originally Posted by yancek
Post the contents of the file here as well as info on which install it came from.
|
I know I am not supposed to because the change will not be permanent but the grub.cfg shows 5 o/s because I gedited the grub.cfg and removed the 6th menuentry.