PDA

View Full Version : [SOLVED] 10.04 LTS fails boot "You must load the kernel first" and now "Read error"



CMDRSweeper
November 9th, 2011, 02:48 AM
My Linux box have hit a major snag, the above errors is what I get at boot before the OS loads. The read error occurs right after BIOS is done with its "Verifying DMI Pool Data" and it is supposed to load from the harddrive. Presently I have booted into an USB Live environment of 10.04 LTS and checked the grub.cfg but I cannot see anything wrong, I haven't made ANY changes yet though, but I have no idea where to begin either. I haven't deleted any Linux image files since I installed Ubuntu 10.04 LTS, so technically I could roll back past the present update, but the problem is as I said, I do not even get a menu to chose to boot from, in short, past BIOS settings the booting is entirely out of my or any user control.

CMDRSweeper
November 9th, 2011, 10:38 AM
Bump

darkod
November 9th, 2011, 10:51 AM
1. Is this a dual boot or only ubuntu?

2. When you open the hdd install from the live mode can you see the kernel files in /boot/grub?

CMDRSweeper
November 9th, 2011, 02:28 PM
This is a single OS, so Ubuntu only as the sole OS. And yes, I can see all the kernel files, and the Grub.cfg also seems to be intact somewhat from what I can see.

Gatemaze
November 9th, 2011, 02:39 PM
I only had this problem when I imaged the system from another hard drive. Anyway I resolved it by reupdating (and possibly resintalling grub if I recall well).

CMDRSweeper
November 9th, 2011, 02:42 PM
Hmmm, well it happened after an update... I have been thinking about how to reinstall grub on it without damaging it (Got too many settings on it, I do have DD image of the install after the initial configuration, but I have added some later, so thats why I want to get it rolling again.)

Gatemaze
November 9th, 2011, 02:46 PM
Can't you just backup your grub.cfg and recopy the parts you want? Although editing grub.cfg it is not the recommended way. I think this post might be of more help:
http://ubuntuforums.org/showthread.php?t=1195275

Gatemaze
November 9th, 2011, 02:48 PM
The problem I had from my previous post was that the target disk had a different partition uuid than the source and hence the failure of booting. Just in case there is any relation although i doubt. Btw can you boot to an older kernel if it happened after an upgrade?

CMDRSweeper
November 9th, 2011, 02:50 PM
I do not get any options from GRUB at all, I will try to see if it registers on Shift, but it happens so quickly, right after the Power On Self Test is completed, it goes bam "Read error"

darkod
November 9th, 2011, 03:31 PM
Reinstalling grub to the mbr is easy, but it doesn't seem to be the problem here. Just in case you can do it. Do you know which is your root partition? In a single install it should usually be /dev/sda1.

In that case, boot into live mode and in terminal do:

sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt /dev/sda

Reboot and see if it helped. If it doesn't, you might wanna try to update the grub.cfg but you need few more commands to run it from live mode. Like:

sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
update-grub
exit (to exit the chroot)
sudo umount /mnt/sys
sudo umount /mnt/proc
sudo umount /mnt/dev
sudo umount /mnt

Reboot.

Even before doing any of this, if you want more details about your boot process you canvisit the link in my signature, download and run the bootinfoscript, and post the results here as explained in that link. That will show more details.

Gatemaze
November 9th, 2011, 04:48 PM
reinstalling grub to the mbr is easy, but it doesn't seem to be the problem here. Just in case you can do it. Do you know which is your root partition? In a single install it should usually be /dev/sda1.

In that case, boot into live mode and in terminal do:

Sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt /dev/sda

reboot and see if it helped. If it doesn't, you might wanna try to update the grub.cfg but you need few more commands to run it from live mode. Like:

Sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
update-grub
exit (to exit the chroot)
sudo umount /mnt/sys
sudo umount /mnt/proc
sudo umount /mnt/dev
sudo umount /mnt

reboot.

Even before doing any of this, if you want more details about your boot process you canvisit the link in my signature, download and run the bootinfoscript, and post the results here as explained in that link. That will show more details.

+1

CMDRSweeper
November 11th, 2011, 12:17 AM
Okay I ran the bootscript....
And this is the results I got.


Boot Info Script 0.60 from 17 May 2011


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

=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
=> No boot loader is installed in the MBR of /dev/sdc.
=> No boot loader is installed in the MBR of /dev/sdd.
=> No boot loader is installed in the MBR of /dev/sde.
=> No boot loader is installed in the MBR of /dev/sdf.
=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdg and looks at sector
1 of the same hard drive for core.img. core.img is at this location and
looks in partition 1 for /boot/grub.
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdh.

sda1: __________________________________________________ ________________________

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

sdb1: __________________________________________________ ________________________

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

sdc1: __________________________________________________ ________________________

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

sdd1: __________________________________________________ ________________________

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

sde1: __________________________________________________ ________________________

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

sdf1: __________________________________________________ ________________________

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

sdg1: __________________________________________________ ________________________

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

sdg2: __________________________________________________ ________________________

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

sdg5: __________________________________________________ ________________________

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

sdh1: __________________________________________________ ________________________

File system: vfat
Boot sector type: SYSLINUX 3.86 2010-04-01
Boot sector info: Syslinux looks at sector 15034 of /dev/sdh1 for its
second stage. No errors found in the Boot Parameter
Block.
Operating System:
Boot files: /syslinux/syslinux.cfg /ldlinux.sys

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

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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 63 2,930,272,064 2,930,272,002 fd Linux raid autodetect


Drive: sdb __________________________________________________ ___________________

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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/sdb1 63 2,930,272,064 2,930,272,002 fd Linux raid autodetect


Drive: sdc __________________________________________________ ___________________

Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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/sdc1 63 2,930,272,064 2,930,272,002 fd Linux raid autodetect


Drive: sdd __________________________________________________ ___________________

Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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/sdd1 63 2,930,272,064 2,930,272,002 fd Linux raid autodetect


Drive: sde __________________________________________________ ___________________

Disk /dev/sde: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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 63 2,930,272,064 2,930,272,002 fd Linux raid autodetect


Drive: sdf __________________________________________________ ___________________

Disk /dev/sdf: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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/sdf1 63 2,930,272,064 2,930,272,002 fd Linux raid autodetect


Drive: sdg __________________________________________________ ___________________

Disk /dev/sdg: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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/sdg1 * 2,048 299,808,767 299,806,720 83 Linux
/dev/sdg2 299,810,814 312,580,095 12,769,282 5 Extended
/dev/sdg5 299,810,816 312,580,095 12,769,280 82 Linux swap / Solaris


Drive: sdh __________________________________________________ ___________________

Disk /dev/sdh: 1973 MB, 1973420032 bytes
60 heads, 59 sectors/track, 1088 cylinders, total 3854336 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/sdh1 * 135 3,854,335 3,854,201 c W95 FAT32 (LBA)


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 5b2900f9-a845-ac88-2990-27923320fd8a linux_raid_member :ICH9R Array
/dev/sdb1 5b2900f9-a845-ac88-2990-27923320fd8a linux_raid_member :ICH9R Array
/dev/sdc1 5b2900f9-a845-ac88-2990-27923320fd8a linux_raid_member :ICH9R Array
/dev/sdd1 5b2900f9-a845-ac88-2990-27923320fd8a linux_raid_member :ICH9R Array
/dev/sde1 5b2900f9-a845-ac88-2990-27923320fd8a linux_raid_member :ICH9R Array
/dev/sdf1 5b2900f9-a845-ac88-2990-27923320fd8a linux_raid_member :ICH9R Array
/dev/sdg1 35b62d71-fad8-4c06-814d-7020ed93ef8f ext4
/dev/sdg5 31728932-013b-4548-8118-d3e06db441ef swap
/dev/sdh1 09E9-0F63 vfat PENDRIVE

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

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdh1 /cdrom vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437, iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sdg1/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='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
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='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
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-35-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-35-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro quiet splash
initrd /boot/initrd.img-2.6.32-35-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-35-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-35-generic ...'
linux /boot/vmlinuz-2.6.32-35-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-35-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-34-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-34-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro quiet splash
initrd /boot/initrd.img-2.6.32-34-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-34-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-34-generic ...'
linux /boot/vmlinuz-2.6.32-34-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-34-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-33-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-33-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro quiet splash
initrd /boot/initrd.img-2.6.32-33-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-33-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-33-generic ...'
linux /boot/vmlinuz-2.6.32-33-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-33-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-32-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-32-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro quiet splash
initrd /boot/initrd.img-2.6.32-32-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-32-generic ...'
linux /boot/vmlinuz-2.6.32-32-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-32-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-31-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-31-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro quiet splash
initrd /boot/initrd.img-2.6.32-31-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-31-generic ...'
linux /boot/vmlinuz-2.6.32-31-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-31-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-30-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-30-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro quiet splash
initrd /boot/initrd.img-2.6.32-30-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-30-generic ...'
linux /boot/vmlinuz-2.6.32-30-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-30-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-29-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro quiet splash
initrd /boot/initrd.img-2.6.32-29-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-29-generic ...'
linux /boot/vmlinuz-2.6.32-29-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-29-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro quiet splash
initrd /boot/initrd.img-2.6.32-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-28-generic ...'
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-27-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro quiet splash
initrd /boot/initrd.img-2.6.32-27-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-27-generic ...'
linux /boot/vmlinuz-2.6.32-27-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-27-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-26-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-26-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro quiet splash
initrd /boot/initrd.img-2.6.32-26-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-26-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-26-generic ...'
linux /boot/vmlinuz-2.6.32-26-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-26-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-25-generic ...'
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f 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='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f 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 {
recordfail
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd6,1)'
search --no-floppy --fs-uuid --set 35b62d71-fad8-4c06-814d-7020ed93ef8f
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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 ###
--------------------------------------------------------------------------------

=============================== sdg1/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/sda1 during installation
UUID=35b62d71-fad8-4c06-814d-7020ed93ef8f / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=31728932-013b-4548-8118-d3e06db441ef none swap sw 0 0
/dev/md0 /home/sweeper/Desktop/ICHRaid ext4 defaults 0 2
--------------------------------------------------------------------------------

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

GiB - GB File Fragment(s)

116.164672852 = 124.730867712 boot/grub/core.img 1
64.666244507 = 69.434851328 boot/grub/grub.cfg 2
117.266517639 = 125.913964544 boot/initrd.img-2.6.32-21-generic 1
3.336914062 = 3.582984192 boot/initrd.img-2.6.32-24-generic 2
1.204101562 = 1.292894208 boot/initrd.img-2.6.32-25-generic 2
1.157226562 = 1.242562560 boot/initrd.img-2.6.32-26-generic 2
0.196289062 = 0.210763776 boot/initrd.img-2.6.32-27-generic 2
3.485351562 = 3.742367744 boot/initrd.img-2.6.32-28-generic 2
3.680664062 = 3.952082944 boot/initrd.img-2.6.32-29-generic 2
113.079101562 = 121.417760768 boot/initrd.img-2.6.32-30-generic 2
64.594726562 = 69.358059520 boot/initrd.img-2.6.32-31-generic 2
3.157226562 = 3.390046208 boot/initrd.img-2.6.32-32-generic 2
4.399414062 = 4.723834880 boot/initrd.img-2.6.32-33-generic 2
0.961914062 = 1.032847360 boot/initrd.img-2.6.32-34-generic 2
3.977539062 = 4.270850048 boot/initrd.img-2.6.32-35-generic 2
117.245956421 = 125.891887104 boot/vmlinuz-2.6.32-21-generic 1
117.496673584 = 126.161092608 boot/vmlinuz-2.6.32-24-generic 1
117.500446320 = 126.165143552 boot/vmlinuz-2.6.32-25-generic 1
117.529640198 = 126.196490240 boot/vmlinuz-2.6.32-26-generic 1
117.473411560 = 126.136115200 boot/vmlinuz-2.6.32-27-generic 1
117.567253113 = 126.236876800 boot/vmlinuz-2.6.32-28-generic 1
117.479953766 = 126.143139840 boot/vmlinuz-2.6.32-29-generic 1
117.442256927 = 126.102663168 boot/vmlinuz-2.6.32-30-generic 1
117.411006927 = 126.069108736 boot/vmlinuz-2.6.32-31-generic 1
3.239257812 = 3.478126592 boot/vmlinuz-2.6.32-32-generic 2
117.446033478 = 126.106718208 boot/vmlinuz-2.6.32-33-generic 1
117.414783478 = 126.073163776 boot/vmlinuz-2.6.32-34-generic 1
117.488109589 = 126.151897088 boot/vmlinuz-2.6.32-35-generic 1
3.977539062 = 4.270850048 initrd.img 2
0.961914062 = 1.032847360 initrd.img.old 2
117.488109589 = 126.151897088 vmlinuz 1
117.414783478 = 126.073163776 vmlinuz.old 1

========================= sdh1/syslinux/syslinux.cfg: ==========================

--------------------------------------------------------------------------------
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
gfxboot bootlogo
--------------------------------------------------------------------------------

================= sdh1: Location of files loaded by Syslinux: ==================

GiB - GB File Fragment(s)

?? = ?? ldlinux.sys 1
?? = ?? syslinux/syslinux.cfg 1
?? = ?? syslinux/vesamenu.c32 1

============== sdh1: Version of COM32(R) files used by Syslinux: ===============

syslinux/vesamenu.c32 : COM32R module (v3.xx)

CMDRSweeper
November 11th, 2011, 11:58 AM
bump

CMDRSweeper
November 11th, 2011, 05:20 PM
bump

darkod
November 11th, 2011, 05:45 PM
Personally, I can't find anything wrong with it, sorry. The only thing I can think of is if sdg is no longer hd6. Grub will look for (hd6,1) for the root partition and if by any chance sdg is no longer hd6 that can throw it off course.
There was a command to check how they are connected between themselves but can't think of it right now. I have to search for it later when I have more spare time.

CMDRSweeper
November 11th, 2011, 06:00 PM
Damn... I just hope I do not have to resort to that old backup, would lose too much.

darkod
November 11th, 2011, 08:14 PM
OK, here is what I found out.
The device map should be a file in /boot/grub, with the name device.map. But in grub2 it might not exist right now. Check with:
cat /boot/grub/device.map

If it says it doesn't exist, you can create one with:
sudo grub-mkdevicemap

When it is created, or if it existed, check that /dev/sdg is mapped to hd6. If it's not, my opinion is that this is the problem.
As far as I know you can simply edit the device.map as root to make /dev/sdg mapped to hd6. Of course, don't leave another disk mapped as hd6 too.

With grub2 this shouldn't have been a problem, even moving disks around. But this is the only thing I can think of stopping you to boot.

CMDRSweeper
November 12th, 2011, 12:01 PM
Alright, I did a little magic with your last suggestion, and now it boots! It gave me a slight error but it boots and runs fine for now though. I made the device.map with the LiveCD but since I couldn't remember the copy command I ran Nautilus as root and manually copied the file to the drive (It was missing.) and then rebooted without the USB. And then it booted rather nicely with no errors, a suggestion for GRUB would be a detection for this file, would have made tracking down the error a lot easier I guess, but thank you darkod! My NAS and strange server is back up again thanks to you :D