Hi Guys
I've been reading through threads to try and resolve the issues I'm having and this seems to address what's happening.
I upgraded from 9.10 to 10.04 but on reboot get the following error message:
I have 3 internal SATA drives - one with ubuntu, one ext3 for file storage and one with Win XP. I also have an external USB hard drive. All drives were plugged in and detected when I performed the upgrade. One thread suggested I disconnect all the other drives to resolve the boot issue but this did not solve it.
Below is the output of the boot script:
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #1 for /boot/grub.
sda1: _________________________________________________________________________
File system: ext3
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sda1 and
looks at sector 2277439 of the same hard drive for
core.img, but core.img can not be found at this
location.
Operating System: Ubuntu 10.04 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda2: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda3: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x5b046c26
Partition Boot Start End Size Id System
/dev/sda1 * 63 40,001,849 40,001,787 83 Linux
/dev/sda2 40,001,850 44,002,034 4,000,185 82 Linux swap / Solaris
/dev/sda3 44,002,035 488,392,064 444,390,030 83 Linux
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 b2c75f0e-0c99-4c9b-bfee-205bfdde9cef ext3
/dev/sda2 4690fb24-4bf7-4a80-a808-6eee5db736ae swap
/dev/sda3 e057fc0b-1aec-4ad9-bb76-a50ed5a0cbc0 ext3
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (rw)
/dev/loop0 /rofs squashfs (rw)
/dev/sda1 /media/b2c75f0e-0c99-4c9b-bfee-205bfdde9cef ext3 (rw,nosuid,nodev,uhelper=devkit)
=========================== sda1/boot/grub/grub.cfg: ===========================
#
# 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,1)'
search --no-floppy --fs-uuid --set b2c75f0e-0c99-4c9b-bfee-205bfdde9cef
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,1)'
search --no-floppy --fs-uuid --set b2c75f0e-0c99-4c9b-bfee-205bfdde9cef
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-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set b2c75f0e-0c99-4c9b-bfee-205bfdde9cef
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=b2c75f0e-0c99-4c9b-bfee-205bfdde9cef ro quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set b2c75f0e-0c99-4c9b-bfee-205bfdde9cef
echo 'Loading Linux 2.6.32-22-generic ...'
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=b2c75f0e-0c99-4c9b-bfee-205bfdde9cef ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.31-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set b2c75f0e-0c99-4c9b-bfee-205bfdde9cef
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=b2c75f0e-0c99-4c9b-bfee-205bfdde9cef ro quiet splash
initrd /boot/initrd.img-2.6.31-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.31-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set b2c75f0e-0c99-4c9b-bfee-205bfdde9cef
echo 'Loading Linux 2.6.31-21-generic ...'
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=b2c75f0e-0c99-4c9b-bfee-205bfdde9cef ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.31-21-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set b2c75f0e-0c99-4c9b-bfee-205bfdde9cef
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set b2c75f0e-0c99-4c9b-bfee-205bfdde9cef
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows XP Media Center Edition (on /dev/sdb1)" {
insmod ntfs
set root='(/dev/sdb,1)'
search --no-floppy --fs-uuid --set 540c6a1f0c69fc7c
drivemap -s (hd0) ${root}
chainloader +1
}
### 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 ###
=============================== sda1/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# Entry for /dev/sda1 :
UUID=b2c75f0e-0c99-4c9b-bfee-205bfdde9cef / ext3 errors=remount-ro 0 1
# Entry for /dev/sda3 :
UUID=e057fc0b-1aec-4ad9-bb76-a50ed5a0cbc0 /home ext3 defaults 0 2
# Entry for /dev/sda2 :
UUID=4690fb24-4bf7-4a80-a808-6eee5db736ae none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sdb1 /media/******* ntfs-3g defaults,locale=en_GB.UTF-8 0 0
/dev/sdc1 /media/PHAT03 ntfs-3g defaults,locale=en_GB.UTF-8 0 0
=================== sda1: Location of files loaded by Grub: ===================
1.1GB: boot/grub/core.img
1.1GB: boot/grub/grub.cfg
1.1GB: boot/initrd.img-2.6.31-21-generic
1.1GB: boot/initrd.img-2.6.32-22-generic
1.1GB: boot/vmlinuz-2.6.31-21-generic
1.1GB: boot/vmlinuz-2.6.32-22-generic
1.1GB: initrd.img
1.1GB: initrd.img.old
1.1GB: vmlinuz
1.1GB: vmlinuz.old
=======Devices which don't seem to have a corresponding hard drive==============
sdb sdc sdd
I too got hit with the following:
http://art.ubuntuforums.org/showthread.php?t=1475385 but I didn't install grub to all drives. I did, however, select to install to sda1 - the boot partition - thinking this was the correct option, which by what I've been reading is incorrect, as instead of installing grub to the root partition I should have installed it to the drive, ie. sda. Is this correct? If so how do I now change this as it's looking for core.img but it cannot be found at that location.
Any help much appreciated
BR
Bookmarks