PDA

View Full Version : [SOLVED] grub2 errors on booting



Dkinnane
July 9th, 2011, 05:34 PM
Hiyas,

I have a fresh install of 11.04 and have it installed to an external USB drive. When grub starts prior to getting the grub menu, i get the following 4 errors:



Error: No such device :120e77e5-40ca-4d84-8700-1fbbb7fad128
Error: No such disk
Error: No suitable mode found
Error: No video mode activated


I am somewhat familiar with grub2, however, i haven't had any luck getting these errors resolved. The grub2 menu is normal black and white low res text, no background displayed. I am also able to boot into Ubuntu.

Here is my current grub.cfg:



#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by 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
set have_grubenv=true
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
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos7)'
search --no-floppy --fs-uuid --set=root 120e77e5-40ca-4d84-8700-1fbbb7fad128
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1680x1050
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
set locale_dir=($root)/grub/locale
set lang=en_US
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
linux /vmlinuz-2.6.38-8-generic root=UUID=120e77e5-40ca-4d84-8700-1fbbb7fad128 ro quiet splash vt.handoff=7
initrd /initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
echo 'Loading Linux 2.6.38-8-generic ...'
linux /vmlinuz-2.6.38-8-generic root=UUID=120e77e5-40ca-4d84-8700-1fbbb7fad128 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/mapper/isw_ejfbciehc_C_Drive1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd5,msdos1)'
search --no-floppy --fs-uuid --set=root 0E6CF7916CF77237
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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###


There are no other OS's on the external drive. I donno what the deal is... I'm also confused to why grub is referencing the linux partitions... for that matter, any partition on my system as msdos. They are either ext4, ntfs, or swap.

If anyone can shed some light on this for me, id much appreciate it.

Quackers
July 9th, 2011, 05:41 PM
Please boot from the Ubuntu Live cd/usb (unless you have a bootable Ubuntu system) and select "try ubuntu" then when the desktop is loaded make sure you have an internet connection and go to the site below and download the boot script. This will give you a zip file which should be extracted in the same directory as it was downloaded. This produces a folder which contains the script and a changelog file.
You then need to cd to that directory in the terminal (for example
cd Downloads/boot_info_script060 if you downloaded it to your Downloads folder). You don't need to do that if you downloaded it to your home folder.
Then enter

sudo bash boot_info_script.sh

This will produce a results.txt file in the same directory as the downloaded boot script. Please copy the contents of that file and paste them in your next post between CODE tags. For CODE tags click on New Reply (not quick reply)and then click on the # symbol in the toolbar.
This will give a full overview of your current system.
Thanks.

http://bootinfoscript.sourceforge.net/

Dkinnane
July 9th, 2011, 05:51 PM
hiyas, here's the RESULTS.txt:



Boot Info Script 0.60 from 17 May 2011


============================= Boot Info Summary: ===============================

=> Windows is installed in the MBR of /dev/sda.
=> Grub2 (v1.99) is installed in the MBR of /dev/sde and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/grub on this drive.
=> Windows is installed in the MBR of /dev/mapper/isw_ejfbciehc_C_Drive.

sda1: __________________________________________________ ________________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''

sda2: __________________________________________________ ________________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''

sde1: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/grub.cfg /grub/core.img

sde2: __________________________________________________ ________________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

sde5: __________________________________________________ ________________________

File system: swap
Boot sector type: -
Boot sector info:

sde6: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:

sde7: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

isw_ejfbciehc_C_Drive1: __________________________________________________ ______

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD

isw_ejfbciehc_C_Drive2: __________________________________________________ ______

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe

============================ Drive/Partition Info: =============================

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sda2 206,848 2,930,302,975 2,930,096,128 7 NTFS / exFAT / HPFS

/dev/sda2 ends after the last sector of /dev/sda

Drive: sde __________________________________________________ ___________________

Disk /dev/sde: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sde1 * 2,048 3,999,743 3,997,696 83 Linux
/dev/sde2 4,001,790 547,016,703 543,014,914 5 Extended
/dev/sde5 4,001,792 7,999,487 3,997,696 82 Linux swap / Solaris
/dev/sde6 8,001,536 507,955,199 499,953,664 83 Linux
/dev/sde7 507,957,248 547,016,703 39,059,456 83 Linux


Drive: isw_ejfbciehc_C_Drive __________________________________________________ ___________________

Disk /dev/mapper/isw_ejfbciehc_C_Drive: 1500.3 GB, 1500316827648 bytes
255 heads, 63 sectors/track, 182403 cylinders, total 2930306304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/mapper/isw_ejfbciehc_C_Drive1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/mapper/isw_ejfbciehc_C_Drive2 206,848 2,930,302,975 2,930,096,128 7 NTFS / exFAT / HPFS


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/mapper/isw_ejfbciehc_C_Drive1 0E6CF7916CF77237 ntfs System Reserved
/dev/mapper/isw_ejfbciehc_C_Drive2 A08E01658E013576 ntfs
/dev/sda isw_raid_member
/dev/sdb isw_raid_member
/dev/sdc isw_raid_member
/dev/sdd isw_raid_member
/dev/sde1 0eff3abe-377f-471e-8a7d-d82d371fb5c2 ext4
/dev/sde5 915c334a-a98c-45eb-aa3c-13a7c2664cf2 swap
/dev/sde6 c20aff3f-e481-4ee3-ba30-aee59a2b69b5 ext4
/dev/sde7 120e77e5-40ca-4d84-8700-1fbbb7fad128 ext4

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
isw_ejfbciehc_C_Drive
isw_ejfbciehc_C_Drive1
isw_ejfbciehc_C_Drive2

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/sde1 /boot ext4 (rw,commit=0)
/dev/sde6 /home ext4 (rw,commit=0)
/dev/sde7 / ext4 (rw,errors=remount-ro,commit=0)


============================= sde1/grub/grub.cfg: ==============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by 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
set have_grubenv=true
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
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos7)'
search --no-floppy --fs-uuid --set=root 120e77e5-40ca-4d84-8700-1fbbb7fad128
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1680x1050
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
set locale_dir=($root)/grub/locale
set lang=en_US
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
linux /vmlinuz-2.6.38-8-generic root=UUID=120e77e5-40ca-4d84-8700-1fbbb7fad128 ro quiet splash vt.handoff=7
initrd /initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
echo 'Loading Linux 2.6.38-8-generic ...'
linux /vmlinuz-2.6.38-8-generic root=UUID=120e77e5-40ca-4d84-8700-1fbbb7fad128 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/mapper/isw_ejfbciehc_C_Drive1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd5,msdos1)'
search --no-floppy --fs-uuid --set=root 0E6CF7916CF77237
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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=================== sde1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

0.138401031 = 0.148606976 grub/core.img 1
0.143562317 = 0.154148864 grub/grub.cfg 1
0.169731140 = 0.182247424 initrd.img-2.6.38-8-generic 1
0.134281158 = 0.144183296 vmlinuz-2.6.38-8-generic 1

=========================== sde7/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by 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
set have_grubenv=true
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
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos7)'
search --no-floppy --fs-uuid --set=root 120e77e5-40ca-4d84-8700-1fbbb7fad128
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1680x1050
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
set locale_dir=($root)/grub/locale
set lang=en_US
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
linux /vmlinuz-2.6.38-8-generic root=UUID=120e77e5-40ca-4d84-8700-1fbbb7fad128 ro quiet splash vt.handoff=7
initrd /initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
echo 'Loading Linux 2.6.38-8-generic ...'
linux /vmlinuz-2.6.38-8-generic root=UUID=120e77e5-40ca-4d84-8700-1fbbb7fad128 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sde,msdos1)'
search --no-floppy --fs-uuid --set=root 0eff3abe-377f-471e-8a7d-d82d371fb5c2
linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/mapper/isw_ejfbciehc_C_Drive1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd5,msdos1)'
search --no-floppy --fs-uuid --set=root 0E6CF7916CF77237
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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sde7/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sde7 during installation
UUID=120e77e5-40ca-4d84-8700-1fbbb7fad128 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sde1 during installation
UUID=0eff3abe-377f-471e-8a7d-d82d371fb5c2 /boot ext4 defaults 0 2
# /home was on /dev/sde6 during installation
UUID=c20aff3f-e481-4ee3-ba30-aee59a2b69b5 /home ext4 defaults 0 2
/dev/sde5 none swap sw 0 0
--------------------------------------------------------------------------------

=================== sde7: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

242.350315094 = 260.221669376 boot/grub/core.img 1
242.355476379 = 260.227211264 boot/grub/grub.cfg 1
242.381645203 = 260.255309824 boot/initrd.img-2.6.38-8-generic 1
242.346195221 = 260.217245696 boot/vmlinuz-2.6.38-8-generic 1
242.381645203 = 260.255309824 initrd.img 1
242.346195221 = 260.217245696 vmlinuz 1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda1


Unknown BootLoader on sda2


Unknown BootLoader on sde2

00000000 28 7d ea 6c 35 40 db 4b 18 4d 23 74 e4 e6 b7 d5 |(}.l5@.K.M#t....|
00000010 c3 2e 55 eb dc 9c df a4 c5 81 d7 69 05 a0 e5 18 |..U........i....|
00000020 3f 69 86 48 6d a3 59 8f a9 b4 58 fa 71 68 63 69 |?i.Hm.Y...X.qhci|
00000030 21 f0 c5 a2 9d 7f 3d cf 65 48 b7 63 25 1c 97 1a |!.....=.eH.c%...|
00000040 8b e3 2d a7 57 1b eb 38 bd bd d1 e9 f1 d1 e9 ef |..-.W..8........|
00000050 f0 b2 84 f0 e6 55 14 af 1a 1f d2 99 fc a9 cb a9 |.....U..........|
00000060 72 fb f7 bc a6 06 49 a4 cb 52 c3 16 8f b1 90 97 |r.....I..R......|
00000070 8a 1c 9c e7 e3 9f 5c ce 07 fa 40 d9 ad 4f b1 f7 |......\...@..O..|
00000080 70 ad a0 66 9d dd 2e d6 10 24 b8 1c 3b d6 03 8e |p..f.....$..;...|
00000090 87 7c 5d ac dc 17 8b f6 32 5a a4 d0 53 98 7c 74 |.|].....2Z..S.|t|
000000a0 b1 ad f7 6c ab 83 d6 08 11 76 f3 40 ec e5 0e ac |...l.....v.@....|
000000b0 ab 5e eb 3c 46 39 0d da db f0 00 8f f6 21 e9 d7 |.^.<F9.......!..|
000000c0 ba 62 a1 60 a8 6d be c3 13 8b ce 67 77 b2 73 60 |.b.`.m.....gw.s`|
000000d0 c7 29 79 25 9f 89 a3 9f 7b e6 03 e8 e1 01 f2 5f |.)y%....{......_|
000000e0 44 3d 90 04 ff e0 a3 5c 39 1b 1b 99 03 3b 17 48 |D=.....\9....;.H|
000000f0 3a 0f cd 1b 8b 7d cb 6b fa 89 93 6e 7f f2 18 d4 |:....}.k...n....|
00000100 be ee 56 87 79 df 49 dc cb ae 94 03 7a 3f fe ab |..V.y.I.....z?..|
00000110 1c f7 26 d3 a4 3b f7 27 9b 43 cb 41 bd 4b 1e 42 |..&..;.'.C.A.K.B|
00000120 00 a9 21 ed 5e 29 79 86 30 a3 02 cc 05 18 24 3f |..!.^)y.0.....$?|
00000130 b0 dc 6b 2b ed bc 90 ab 5e 16 ed 6f 30 4f f4 f7 |..k+....^..o0O..|
00000140 dc 69 14 00 27 1f 2f 7e 75 3c f3 5f 1e d3 78 2e |.i..'./~u<._..x.|
00000150 24 59 19 cb 54 9a 52 9c a3 b3 42 43 96 a0 97 89 |$Y..T.R...BC....|
00000160 61 3a 70 fd 9c f9 b9 6e dd a1 17 1b b0 ad 2a d3 |a:p....n......*.|
00000170 2e ea e1 7e 3b 6b dc 22 9b 83 1d 20 bf 8f 6c 7c |...~;k."... ..l||
00000180 9e 4f 6b e7 ca 32 47 34 76 bf 1d 96 49 d4 83 d6 |.Ok..2G4v...I...|
00000190 61 e7 34 97 77 07 ee c1 26 d7 e5 3d 73 52 2d f8 |a.4.w...&..=sR-.|
000001a0 90 8b 6d 6b fe 58 83 b7 ce 37 b2 f8 57 ff 62 d1 |..mk.X...7..W.b.|
000001b0 ca 5f bf d3 26 85 18 cb 1c ae f8 a4 a5 ed 00 19 |._..&...........|
000001c0 21 f9 82 f0 7f f1 02 00 00 00 00 00 3d 00 00 00 |!...........=...|
000001d0 41 f2 05 fe ff ff 74 03 3d 00 8e b4 cc 1d 00 00 |A.....t.=.......|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200


=============================== StdErr Messages: ===============================

unlzma: Decoder error
hexdump: /dev/sda1: No such file or directory
hexdump: /dev/sda1: No such file or directory
hexdump: /dev/sda2: No such file or directory
hexdump: /dev/sda2: No such file or directory


Thanks for looking at this

Quackers
July 9th, 2011, 06:01 PM
It seems that you are running Intel bios raid. Which drives are in a raid array and which type of raid - raid0/raid1 etc?
It also seems that you have installed Ubuntu to /dev/sde, which begs the question why are you installing grub to /dev/sda?

Dkinnane
July 9th, 2011, 06:09 PM
the intel raid is a raid 5, which is my windows partition.

sde is where i have ubuntu installed and as far as i can tell thats where grub is installed, nothing should be touching sda. (infact, according to the disk utility, sda, sdb, sdc, and sdd are the drives that are part of the MD raid.) I did custom partitions when i installed ubuntu to ensure the raid wasn't touched. Everything was written to sde.

In my bios boot order, i have the USB drive selected as my first HDD to boot.

*edit

to clarify, im not trying to install grub... its installed to sde from the ubuntu install, but presenting the 4 errors i mentioned in my first post just before the grub menu appears. I'm trying to fix these errors...

Quackers
July 9th, 2011, 06:18 PM
My apologies! I was replying to the wrong person :-)

So /dev/sde is not part of the raid array. I understand :-)

You appear to have 3 Linux partitions on sde.
Ubuntu 11-04 is in sde7 which is the partition with UUID 120e77e5-40ca-4d84-8700-1fbbb7fad128 , which is the partition that cannot be found at boot.

Is the sde1 partition an aborted previous attempt to install Ubuntu?

EDIT it appears that sde1 may be a separate boot partition, is that correct?

Dkinnane
July 9th, 2011, 06:27 PM
yes, thats correct. I'm not sure where the install pulled its numbers from... anyway the partitions are set up like this:

sde1: /boot
sde2: extended with the following:
sde5: swap
sde6: /home
sde7: /

Quackers
July 9th, 2011, 06:28 PM
I notice that all of grub's boot files are placed quite late in the drive (242GB plus into the disc). Some bioses cannot read that far into the disc for boot files (they have a 137GB limit). These bioses will frequently have a "large drive" or LBA switch in their options. Have you seen such an option in your bios settings?

YesWeCan
July 9th, 2011, 06:30 PM
Hiyas,

I have a fresh install of 11.04 and have it installed to an external USB drive. When grub starts prior to getting the grub menu, i get the following 4 errors:



Error: No such device :120e77e5-40ca-4d84-8700-1fbbb7fad128
Error: No such disk
Error: No suitable mode found
Error: No video mode activated

It seems to be complaining that it cannot find partition sde7's UUID. Which is odd. The grub.cfg looks ok on the face of it. Since everything Grub is confined to sde I don't think the Windows RAID should be causing this error.

I guess the first thing I would do, if you have not done so already, is to reinstall Grub. Boot into Ubuntu on sde then run
sudo update-grub
sudo grub-install /dev/sde

Report any errors.

Dkinnane
July 9th, 2011, 06:30 PM
i haven't noticed it but, i'll check

YesWeCan
July 9th, 2011, 06:33 PM
I notice that all of grub's boot files are placed quite late in the drive (242GB plus into the disc). Some bioses cannot read that far into the disc for boot files. These bioses will frequently have a "large drive" or LBA switch in their options. Have you seen such an option in your bios settings?
I think there are two copies of the boot files. One is in sde1 (the ones being used) and one is in sde7 (not being used - presumably the original /boot directory before the separate sde1 boot partition was created).

YesWeCan
July 9th, 2011, 06:39 PM
"Iced Almond Soy Ubuntu, No Foam"

Eeeww. :-s

Dkinnane
July 9th, 2011, 06:43 PM
I have no LBA option in my bios. I donno if thats something thats common these days on newer systems or not. I have an i7 920 system that i built myself about 2 years ago.

i just reinstalled grub to /dev/sde, moment while i reboot =)

Dkinnane
July 9th, 2011, 06:47 PM
no errors from grub install, however same 4 errors on boot up.

Quackers
July 9th, 2011, 06:54 PM
It is strange that the sde7 partition is not being found. This led me to the 137GB limit on bios. You are sure there is no large drive function in bios?

What commands are you using to re-install grub? You are mounting the boot partition as well, I take it?

YesWeCan
July 9th, 2011, 06:55 PM
Curious. I'm wondering whether those errors are produced by Grub or by the kernel image. Try:
sudo update-initramfs -u

YesWeCan
July 9th, 2011, 06:59 PM
It is strange that the sde7 partition is not being found. This led me to the 137GB limit on bios. You are sure there is no large drive function in bios?
It's curious. You may be on to something here. But I was thinking that since the Grub kernel (aka core.img) is at the start of the disk and the other Grub files and the kernel image file are in sde1, there should not be a problem with block addressing.


What commands are you using to re-install grub? You are mounting the boot partition as well, I take it?
Yes, the output of 'mount' will show whether sde1 has been mounted at /boot.
I sort of suspect the errors are happening before the kernel mounts anything.

Dkinnane
July 9th, 2011, 07:02 PM
heres my output of $mount:



/dev/sde7 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
/dev/sde1 on /boot type ext4 (rw,commit=0)
/dev/sde6 on /home type ext4 (rw,commit=0)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/vertigo7/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=vertigo7)


should i blow this install away and do it again and create / after creating /boot?

*edit

i'm positive theres no LBA option. I looked through every menu and sub menu in the thing.

Quackers
July 9th, 2011, 07:05 PM
It would be an option, if there's nothing in it anyway. I wouldn't normally use a separate boot partition as it just tends to complicate matters. Is there a particular reason why you chose to do so?

Dkinnane
July 9th, 2011, 07:09 PM
to be perfectly honest i dunno a whole lot about linux. Been a windows guy all my life. Anyways, i wanted to mess around with various distros and Ive found that i like grub2 more than legacy, so i figured id try to keep things uniform by having a single /boot partition for all of the distros and let grub2 handle all the boot loading stuffs.

If thats the wrong way to do it, please lemme know =D

YesWeCan
July 9th, 2011, 07:11 PM
Have you done this? sudo update-initramfs -u

Dkinnane
July 9th, 2011, 07:13 PM
wups sorry, just did it.. no error messages spewed from running it... reboot?

YesWeCan
July 9th, 2011, 07:15 PM
Yes, please reboot.

Dkinnane
July 9th, 2011, 07:19 PM
no change, still same 4 errors. I think i may try to reinstall the whole thing and create the root partition after boot.

YesWeCan
July 9th, 2011, 07:26 PM
I dunno. What PC/motherboard are you using?

As Quackers says, if you decide to reinstall you don't need a separate boot partition. Makes things simpler.

Dkinnane
July 9th, 2011, 07:31 PM
I'm using an ASUS Rampage II Extreme, i7-920, Gtx 295, 24GB DDR3 1600

YesWeCan
July 9th, 2011, 07:47 PM
Nice system. I reckon that mobo is too new to have disk addressing problems.
It would be good to get to the bottom of this before you reinstall. There's a chance the reinstall will have the same problem - unless you did something unusual the first time you installed?

Have a look in the system logs for errors.
dmesg | less
("less" is a more flexible version of "more", use arrow keys or pg up/down to move up and down, G goes to end, g goes to start, q quits)
The left column is the time since boot. I don't know whether your error occurs before or after the logging starts but worth a quick look.

Other than that I have nothing to add.

Dkinnane
July 9th, 2011, 08:21 PM
fixt!

Reinstalling solved it. Though, i think i may have made a total goofball mistake. I have a macbook 5,2 that ive been trying to get linux to work on for a while and i *may* have downloaded the mac install image of ubuntu and forgot about it and installed it on my PC >.> thats entirely possible, so to be on the safe side i downloaded the not mac iso.

also i created the root partition after /boot. So it could be either one of those or both that gave me grief.

Thank you very much for your help!

Quackers
July 9th, 2011, 08:58 PM
Glad to hear that :-)

Please mark the thread as solved using the Thread Tools tab near the top of the page.