PDA

View Full Version : [ubuntu] Fresh 10.04 Raid1 Install will not boot w/o manual Grub input



muddysmind
May 3rd, 2011, 03:40 PM
[SOLVED]
Followed steps 2-5 and purged/reinstalled grub now it boots as it should, NO idea where it was messed up. http://ubuntuforums.org/showthread.php?t=1581099

Hello all,
Hoping someone has an idea for this ongoing issue.
I had 9.10 running in raid1 and upgraded my hardware (cpu, mb, memory etc) and wanted to do a fresh install of 10.04 to get updated.
After following the various guides online such as http://blog.foobaria.com/2010/05/installing-ubuntu-1004-desktop-with.html . (http://blog.foobaria.com/2010/05/installing-ubuntu-1004-desktop-with.html)
It begins to load grub and drops to a "grub> " shell.
Which I have to do the following to get it to boot.


set root=(md1)
linux /vmlinuz root=/dev/md1 ro
initrd /initrd.img
boot
Then it boots up normally and I can use it like any other desktop.

I've been over my grub.cfg and /etc/defaut/grub files and cannot find the issue.
At this point I'm wondering if the fact it's a raid1 setup is keeping grub from finding it's files.

Here is the grub config files as well.



$ cat /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 raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1920x1080
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 raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
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-31-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
linux /boot/vmlinuz-2.6.32-31-generic root=UUID=94e14dca-6047-4d83-9d2b-f4a47a41acfd 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 raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
echo 'Loading Linux 2.6.32-31-generic ...'
linux /boot/vmlinuz-2.6.32-31-generic root=UUID=94e14dca-6047-4d83-9d2b-f4a47a41acfd ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-31-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=94e14dca-6047-4d83-9d2b-f4a47a41acfd 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 raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
echo 'Loading Linux 2.6.32-28-generic ...'
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=94e14dca-6047-4d83-9d2b-f4a47a41acfd ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-28-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
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 ###


$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1920x1080

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
I already ran grub-install on both sda and sdb, as well as grub-update a few times.

Here is the drive setup if needed.



$ sudo mdadm --misc --detail /dev/md1
/dev/md1:
Version : 00.90
Creation Time : Sun May 1 20:49:24 2011
Raid Level : raid1
Array Size : 32764416 (31.25 GiB 33.55 GB)
Used Dev Size : 32764416 (31.25 GiB 33.55 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent

Update Time : Tue May 3 10:37:50 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

UUID : af199e5a:ae11db21:e368bf24:bd0fce41
Events : 0.38

Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1

$ sudo fdisk -l

Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 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: 0x00069e1c

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4079 32764536 83 Linux
/dev/sdb2 4080 4340 2096482+ 82 Linux swap / Solaris
/dev/sdb3 4341 24321 160497382+ 83 Linux

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 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: 0x00069e1c

Device Boot Start End Blocks Id System
/dev/sda1 * 1 4079 32764536 83 Linux
/dev/sda2 4080 4340 2096482+ 82 Linux swap / Solaris
/dev/sda3 4341 24321 160497382+ 83 Linux

Disk /dev/md1: 33.6 GB, 33550761984 bytes
2 heads, 4 sectors/track, 8191104 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/md3: 164.3 GB, 164349214720 bytes
2 heads, 4 sectors/track, 40124320 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md3 doesn't contain a valid partition table

YesWeCan
May 3rd, 2011, 04:00 PM
Hi there.
Interesting.
So how did you set your disks up in the first place? Did you wipe them and then repartition them? I am curious as to why your two disks have the same disk identifier.

Do you get the same symptoms no matter which disk you set the bios to boot from?

BTW, Grub2 knows all about RAID so it isn't a Grub issue as such.

muddysmind
May 3rd, 2011, 04:01 PM
Hi YesWeCan, yes I wiped all previous partitions and made 3 new ones, one for root, one for swap and one for home.

YesWeCan
May 3rd, 2011, 04:17 PM
In addition to those 2 questions, what happens when you disconnect one of the disks and then boot?

The fact that the disk identifiers are identical may suggest a cloning of one disk to the other in the past. I don't know for sure whether this is the cause of your problem but it is not normal to have two disks with the same ID.

muddysmind
May 3rd, 2011, 05:09 PM
In addition to those 2 questions, what happens when you disconnect one of the disks and then boot?

The fact that the disk identifiers are identical may suggest a cloning of one disk to the other in the past. I don't know for sure whether this is the cause of your problem but it is not normal to have two disks with the same ID.

Just unplugged one drive booted to normal grub menu as before, shutdown swapped drives rebooted and up now on the other drive by itself.
I'll boot up on the live cd and see what the disc identifiers are there.

muddysmind
May 3rd, 2011, 05:29 PM
booted live cd, ran fdisk -l again, it's exactly the same.
Perhaps I should of made the raid volumes on sda/sdb as FD instead of 83 ... I normally do FD but the guides I was reading suggested 83.

I don't think it's the disk identifier, I've been searching other fdisk -l outputs from raid1 setups and they are all the same id on them.
Something else has gone awry perhaps.

YesWeCan
May 3rd, 2011, 05:51 PM
So it always end up at the grub prompt whatever disk is connected on its own? Is that right?

The problem is not the FD/83 thing. That is an old flag that is no longer used and makes no difference.

Would you mind posting the output of 'cat /etc/mdadm/mdadm.conf'?

muddysmind
May 3rd, 2011, 06:08 PM
So it always end up at the grub prompt whatever disk is connected on its own? Is that right?

The problem is not the FD/83 thing. That is an old flag that is no longer used and makes no difference.

Would you mind posting the output of 'cat /etc/mdadm/mdadm.conf'?

Yes, no matter full raid or one disk, same boot result.


$ cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=af199e5a:ae11db21:e368bf24:bd0fce41
ARRAY /dev/md3 level=raid1 num-devices=2 UUID=98bd2d45:67c8b30e:e368bf24:bd0fce41

# This file was auto-generated on Sun, 01 May 2011 22:07:52 -0400
# by mkconf $Id$

YesWeCan
May 3rd, 2011, 06:25 PM
I have no idea. :)

I assume you have already tried:
update-grub
grub-install /dev/sda
grub-install /dev/sdb


It seems as if Grub cannot find some of its files during boot.

muddysmind
May 3rd, 2011, 06:34 PM
I have no idea. :)

I assume you have already tried:
update-grub
grub-install /dev/sda
grub-install /dev/sdb


It seems as if Grub cannot find some of its files during boot.

Yes I have.

muddysmind
May 3rd, 2011, 07:46 PM
Grabbed boot info script and gave it a shot, here are the results.


Boot Info Script 0.55 dated February 15th, 2010

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

=> Grub 2 is installed in the MBR of /dev/sda and looks for (md1)/boot/grub.
=> Grub 2 is installed in the MBR of /dev/sdb and looks for (md1)/boot/grub.

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

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

sda3: __________________________________________________ _______________________

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

sdb1: __________________________________________________ _______________________

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

sdb2: __________________________________________________ _______________________

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

sdb3: __________________________________________________ _______________________

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

md1: __________________________________________________ _______________________

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

md3: __________________________________________________ _______________________

File system: reiserfs
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 63 65,529,134 65,529,072 83 Linux
/dev/sda2 65,529,135 69,722,099 4,192,965 82 Linux swap / Solaris
/dev/sda3 69,722,100 390,716,864 320,994,765 83 Linux


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb1 * 63 65,529,134 65,529,072 83 Linux
/dev/sdb2 65,529,135 69,722,099 4,192,965 82 Linux swap / Solaris
/dev/sdb3 69,722,100 390,716,864 320,994,765 83 Linux


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/md1 94e14dca-6047-4d83-9d2b-f4a47a41acfd reiserfs
/dev/md3 96201cfd-8ea3-49e2-b28c-99ab3a96b360 reiserfs
/dev/sda1 af199e5a-ae11-db21-e368-bf24bd0fce41 linux_raid_member
/dev/sda2 d62ac3d9-d327-4d7c-88f6-9deb1d43d3dc swap
/dev/sda3 98bd2d45-67c8-b30e-e368-bf24bd0fce41 linux_raid_member
/dev/sda: PTTYPE="dos"
/dev/sdb1 af199e5a-ae11-db21-e368-bf24bd0fce41 linux_raid_member
/dev/sdb2 c1e8180e-0f97-474d-99ea-440dac9faff7 swap
/dev/sdb3 98bd2d45-67c8-b30e-e368-bf24bd0fce41 linux_raid_member
/dev/sdb: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (ro,noatime)
/dev/loop0 /rofs squashfs (ro,noatime)


=========================== md1/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 raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1920x1080
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 raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
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-31-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
linux /boot/vmlinuz-2.6.32-31-generic root=UUID=94e14dca-6047-4d83-9d2b-f4a47a41acfd 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 raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
echo 'Loading Linux 2.6.32-31-generic ...'
linux /boot/vmlinuz-2.6.32-31-generic root=UUID=94e14dca-6047-4d83-9d2b-f4a47a41acfd ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-31-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=94e14dca-6047-4d83-9d2b-f4a47a41acfd 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 raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
echo 'Loading Linux 2.6.32-28-generic ...'
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=94e14dca-6047-4d83-9d2b-f4a47a41acfd ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-28-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod raid
insmod mdraid
insmod reiserfs
set root='(md1)'
search --no-floppy --fs-uuid --set 94e14dca-6047-4d83-9d2b-f4a47a41acfd
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 ###

================================ md1/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/md1 during installation
UUID=94e14dca-6047-4d83-9d2b-f4a47a41acfd / reiserfs notail 0 1
# /home was on /dev/md3 during installation
UUID=96201cfd-8ea3-49e2-b28c-99ab3a96b360 /home reiserfs defaults 0 2
# swap was on /dev/sda2 during installation
UUID=c1e8180e-0f97-474d-99ea-440dac9faff7 none swap sw 0 0
# swap was on /dev/sdb2 during installation
UUID=d62ac3d9-d327-4d7c-88f6-9deb1d43d3dc none swap sw 0 0


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


??GB: boot/grub/core.img
??GB: boot/grub/grub.cfg
??GB: boot/initrd.img-2.6.32-28-generic
??GB: boot/initrd.img-2.6.32-31-generic
??GB: boot/vmlinuz-2.6.32-28-generic
??GB: boot/vmlinuz-2.6.32-31-generic
??GB: initrd.img
??GB: initrd.img.old
??GB: vmlinuz
??GB: vmlinuz.old
=============================== StdErr Messages: ===============================

mdadm: /dev/md1 has been started with 2 drives.
mdadm: /dev/md3 has been started with 1 drive (out of 2) and 1 spare.
mdadm: stopped /dev/md1
mdadm: stopped /dev/md3

YesWeCan
May 3rd, 2011, 08:06 PM
It says your md1 and md3 are format type reiserfs.
I don't know whether this is relevant. I am not familiar with this format type.

The last bit seems to indicate that md3 is degraded. Ubuntu needs to be explicitly configured to boot a degraded RAID. This may also be a red herring but I thought I'd point it out.

muddysmind
May 3rd, 2011, 08:23 PM
When I broke them apart it had to resync but I kept rebooting and going back to live cd and such, I'll let it sit and resync for now :)

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md3 : active raid1 sdb3[0] sda3[2]
160497280 blocks [2/1] [U_]
[====>................] recovery = 22.9% (36867840/160497280) finish=55.9min speed=36817K/sec

md1 : active raid1 sdb1[0] sda1[1]
32764416 blocks [2/2] [UU]

muddysmind
May 3rd, 2011, 08:47 PM
this bit has me concerned, why can't the script figure out the file size, is this an indicator of the deeper issue?


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


??GB: boot/grub/core.img
??GB: boot/grub/grub.cfg
??GB: boot/initrd.img-2.6.32-28-generic
??GB: boot/initrd.img-2.6.32-31-generic
??GB: boot/vmlinuz-2.6.32-28-generic
??GB: boot/vmlinuz-2.6.32-31-generic
??GB: initrd.img
??GB: initrd.img.old
??GB: vmlinuz
??GB: vmlinuz.old



Have been looking at other boot script output files for raid1 and they all show a file size.

muddysmind
May 4th, 2011, 02:38 AM
Anyone know would purging and reinstalling grub help?

Dragonslicer
May 4th, 2011, 02:53 AM
I've had the same problem since upgrading to 11.04, and I don't have any RAID set up. Someone on IRC said that they had this issue before 11.04, as well, and they had to manually edit grub.cfg.