I never did it that way before. i always run it ion the machine with all discs attached.
Now i did it with a live cd with booth discs attached.
Code:Boot Info Script 0.60 from 17 May 2011 ============================= Boot Info Summary: =============================== => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of the same hard drive for core.img. core.img is at this location and looks for (md0)/boot/grub on this drive. => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of the same hard drive for core.img. core.img is at this location and looks for (md0)/boot/grub on this drive. => No boot loader is installed in the MBR of /dev/sdc. sda1: __________________________________________________________________________ File system: linux_raid_member Boot sector type: - Boot sector info: sda2: __________________________________________________________________________ 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: linux_raid_member Boot sector type: - Boot sector info: sdc1: __________________________________________________________________________ File system: vfat Boot sector type: FAT32 Boot sector info: According to the info in the boot sector, sdc1 starts at sector 0. But according to the info from fdisk, sdc1 starts at sector 62. Operating System: Boot files: md0: ___________________________________________________________________________ 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 ============================ Drive/Partition Info: ============================= Drive: sda _____________________________________________________________________ Disk /dev/sda: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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 20,971,583 20,971,521 fd Linux raid autodetect /dev/sda2 20,971,584 27,263,040 6,291,457 fd Linux raid autodetect Drive: sdb _____________________________________________________________________ Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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 20,971,583 20,971,521 fd Linux raid autodetect /dev/sdb2 20,971,584 27,263,040 6,291,457 fd Linux raid autodetect Drive: sdc _____________________________________________________________________ Disk /dev/sdc: 4011 MB, 4011851776 bytes 124 heads, 62 sectors/track, 1019 cylinders, total 7835648 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 62 7,834,071 7,834,010 83 Linux "blkid" output: ________________________________________________________________ Device UUID TYPE LABEL /dev/loop0 squashfs /dev/sda1 21e3dbe0-3924-f2f0-b64a-cd66a7075890 linux_raid_member /dev/sda2 e064b00f-cb16-8fdb-0ff6-1f714cc3505e linux_raid_member /dev/sdb1 21e3dbe0-3924-f2f0-b64a-cd66a7075890 linux_raid_member /dev/sdb2 e064b00f-cb16-8fdb-0ff6-1f714cc3505e linux_raid_member /dev/sdc1 391A-293F vfat ================================ Mount points: ================================= Device Mount_Point Type Options /dev/loop0 /rofs squashfs (ro,noatime) /dev/sdc1 /mnt vfat (rw) /dev/sr0 /cdrom iso9660 (ro,noatime) =========================== md0/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 raid insmod mdraid09 insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=auto load_video insmod gfxterm fi terminal_output gfxterm insmod raid insmod mdraid09 insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd set locale_dir=($root)/boot/grub/locale set lang=de_DE insmod gettext if [ "${recordfail}" = 1 ]; then set timeout=-1 else set timeout=2 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 ### 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, mit Linux 2.6.38-8-server' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod raid insmod mdraid09 insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux /boot/vmlinuz-2.6.38-8-server root=UUID=b25c1587-4645-42b7-a1cc-e64949c264dd ro quiet initrd /boot/initrd.img-2.6.38-8-server } menuentry 'Ubuntu, mit Linux 2.6.38-8-server (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod raid insmod mdraid09 insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd echo 'Loading Linux 2.6.38-8-server ...' linux /boot/vmlinuz-2.6.38-8-server root=UUID=b25c1587-4645-42b7-a1cc-e64949c264dd ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.38-8-server } ### 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 raid insmod mdraid09 insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux16 /boot/memtest86+.bin } menuentry "Memory test (memtest86+, serial console 115200)" { insmod raid insmod mdraid09 insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux16 /boot/memtest86+.bin console=ttyS0,115200n8 } ### END /etc/grub.d/20_memtest86+ ### ### BEGIN /etc/grub.d/30_os-prober ### menuentry "Ubuntu, with Linux 2.6.32-33-server (on /dev/sda1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sda,msdos1)' search --no-floppy --fs-uuid --set=root 48a39682-5c6f-4d89-a8fc-310f2ce3fd3d linux /boot/vmlinuz-2.6.32-33-server root=UUID=48a39682-5c6f-4d89-a8fc-310f2ce3fd3d ro quiet initrd /boot/initrd.img-2.6.32-33-server } menuentry "Ubuntu, with Linux 2.6.32-33-server (recovery mode) (on /dev/sda1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sda,msdos1)' search --no-floppy --fs-uuid --set=root 48a39682-5c6f-4d89-a8fc-310f2ce3fd3d linux /boot/vmlinuz-2.6.32-33-server root=UUID=48a39682-5c6f-4d89-a8fc-310f2ce3fd3d ro single initrd /boot/initrd.img-2.6.32-33-server } menuentry "Ubuntu 11.04 (11.04) (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sdb,msdos1)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux /vmlinuz root=/dev/sdb1 initrd /initrd.img } menuentry "Ubuntu 11.04 (11.04) (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sdb,msdos1)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux /vmlinuz root=/dev/sdb1 initrd /initrd.img } menuentry "Ubuntu 11.04 (11.04) (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sdb,msdos1)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux /boot/vmlinuz-2.6.38-8-server root=/dev/sdb1 initrd /boot/initrd.img-2.6.38-8-server } menuentry "Ubuntu 11.04 (11.04) (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sdb,msdos1)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux /vmlinuz root=/dev/sdb1 initrd /initrd.img } menuentry "Ubuntu 11.04 (11.04) (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sdb,msdos1)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux /vmlinuz root=/dev/sdb1 initrd /initrd.img } ### 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 ### -------------------------------------------------------------------------------- ================================ md0/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/md0 during installation UUID=b25c1587-4645-42b7-a1cc-e64949c264dd / ext4 errors=remount-ro 0 1 # swap was on /dev/md1 during installation UUID=1b9e9adc-baf9-474b-94ba-d33c0f4c81b9 none swap sw 0 0 -------------------------------------------------------------------------------- ==================== md0: Location of files loaded by Grub: ==================== GiB - GB File Fragment(s) 8.201728821 = 8.806539264 boot/grub/core.img 1 6.157077789 = 6.611111936 boot/grub/grub.cfg 1 1.004653931 = 1.078738944 boot/initrd.img-2.6.38-8-server 2 0.359737396 = 0.386265088 boot/vmlinuz-2.6.38-8-server 1 1.004653931 = 1.078738944 initrd.img 2 0.359737396 = 0.386265088 vmlinuz 1 =============================== StdErr Messages: =============================== unlzma: Decoder error unlzma: Decoder error mdadm: /dev/md0 has been started with 2 drives. mdadm: stopped /dev/md0
"What" is the brand and model of your primary disk sda? Are you using that as SDA through all of this? (You just said that your friend had loaned you 2 disks...)
This may sound silly- but I have problems sometimes with Seagate drives and some controllers when doing RAID. Drove me batty trying to figure out what was going on the first time it happened! Found it by switching the order of the drives until it popped up as isolating the problem with that particular drive. There was nothing "really" functionally wrong with that drive (tested out fine), it just didn't like doing RAID in that particular setup. That same drive works fine in another box.
I know it's a long shot- or so I thought it was at the time also.
"Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags
I have three hard discs 2x Seagate ST32000542AS and one Hitachi.
On this three discs on the same hardware, Ubuntu 10.10 Server is running without any problem.
For testing purposes it borrowed 2 x Hitachi HDS722020ALA330.
With that discs 10.10 is working fine too but 11.04 not.
If i remove one disc of the raid set the system will permanently reboot.
Here is the output of the Bootinfoscript when i run it via a live cd environment with the first HDD removed. The System is NOT booting up.
Code:Boot Info Script 0.60 from 17 May 2011 ============================= Boot Info Summary: =============================== => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of the same hard drive for core.img. core.img is at this location and looks for (md0)/boot/grub on this drive. => No boot loader is installed in the MBR of /dev/sdb. sda1: __________________________________________________________________________ File system: linux_raid_member Boot sector type: - Boot sector info: sda2: __________________________________________________________________________ File system: linux_raid_member Boot sector type: - Boot sector info: sdb1: __________________________________________________________________________ File system: vfat Boot sector type: FAT32 Boot sector info: According to the info in the boot sector, sdb1 starts at sector 0. But according to the info from fdisk, sdb1 starts at sector 62. Operating System: Boot files: md/0_0: ________________________________________________________________________ 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 ============================ Drive/Partition Info: ============================= Drive: sda _____________________________________________________________________ Disk /dev/sda: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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 20,971,583 20,971,521 fd Linux raid autodetect /dev/sda2 20,971,584 27,263,040 6,291,457 fd Linux raid autodetect Drive: sdb _____________________________________________________________________ Disk /dev/sdb: 4011 MB, 4011851776 bytes 124 heads, 62 sectors/track, 1019 cylinders, total 7835648 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 62 7,834,071 7,834,010 83 Linux "blkid" output: ________________________________________________________________ Device UUID TYPE LABEL /dev/loop0 squashfs /dev/md127 b25c1587-4645-42b7-a1cc-e64949c264dd ext4 /dev/sda1 21e3dbe0-3924-f2f0-b64a-cd66a7075890 linux_raid_member /dev/sda2 e064b00f-cb16-8fdb-0ff6-1f714cc3505e linux_raid_member /dev/sdb1 391A-293F vfat ================================ Mount points: ================================= Device Mount_Point Type Options /dev/loop0 /rofs squashfs (ro,noatime) /dev/sdb1 /mnt vfat (rw) /dev/sr0 /cdrom iso9660 (ro,noatime) ========================== md/0_0/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 raid insmod mdraid09 insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=auto load_video insmod gfxterm fi terminal_output gfxterm insmod raid insmod mdraid09 insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd set locale_dir=($root)/boot/grub/locale set lang=de_DE insmod gettext if [ "${recordfail}" = 1 ]; then set timeout=-1 else set timeout=2 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 ### 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, mit Linux 2.6.38-8-server' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod raid insmod mdraid09 insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux /boot/vmlinuz-2.6.38-8-server root=UUID=b25c1587-4645-42b7-a1cc-e64949c264dd ro quiet initrd /boot/initrd.img-2.6.38-8-server } menuentry 'Ubuntu, mit Linux 2.6.38-8-server (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod raid insmod mdraid09 insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd echo 'Loading Linux 2.6.38-8-server ...' linux /boot/vmlinuz-2.6.38-8-server root=UUID=b25c1587-4645-42b7-a1cc-e64949c264dd ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.38-8-server } ### 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 raid insmod mdraid09 insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux16 /boot/memtest86+.bin } menuentry "Memory test (memtest86+, serial console 115200)" { insmod raid insmod mdraid09 insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux16 /boot/memtest86+.bin console=ttyS0,115200n8 } ### END /etc/grub.d/20_memtest86+ ### ### BEGIN /etc/grub.d/30_os-prober ### menuentry "Ubuntu, with Linux 2.6.32-33-server (on /dev/sda1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sda,msdos1)' search --no-floppy --fs-uuid --set=root 48a39682-5c6f-4d89-a8fc-310f2ce3fd3d linux /boot/vmlinuz-2.6.32-33-server root=UUID=48a39682-5c6f-4d89-a8fc-310f2ce3fd3d ro quiet initrd /boot/initrd.img-2.6.32-33-server } menuentry "Ubuntu, with Linux 2.6.32-33-server (recovery mode) (on /dev/sda1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sda,msdos1)' search --no-floppy --fs-uuid --set=root 48a39682-5c6f-4d89-a8fc-310f2ce3fd3d linux /boot/vmlinuz-2.6.32-33-server root=UUID=48a39682-5c6f-4d89-a8fc-310f2ce3fd3d ro single initrd /boot/initrd.img-2.6.32-33-server } menuentry "Ubuntu 11.04 (11.04) (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sdb,msdos1)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux /vmlinuz root=/dev/sdb1 initrd /initrd.img } menuentry "Ubuntu 11.04 (11.04) (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sdb,msdos1)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux /vmlinuz root=/dev/sdb1 initrd /initrd.img } menuentry "Ubuntu 11.04 (11.04) (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sdb,msdos1)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux /boot/vmlinuz-2.6.38-8-server root=/dev/sdb1 initrd /boot/initrd.img-2.6.38-8-server } menuentry "Ubuntu 11.04 (11.04) (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sdb,msdos1)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux /vmlinuz root=/dev/sdb1 initrd /initrd.img } menuentry "Ubuntu 11.04 (11.04) (on /dev/sdb1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(/dev/sdb,msdos1)' search --no-floppy --fs-uuid --set=root b25c1587-4645-42b7-a1cc-e64949c264dd linux /vmlinuz root=/dev/sdb1 initrd /initrd.img } ### 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 ### -------------------------------------------------------------------------------- ============================== md/0_0/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/md0 during installation UUID=b25c1587-4645-42b7-a1cc-e64949c264dd / ext4 errors=remount-ro 0 1 # swap was on /dev/md1 during installation UUID=1b9e9adc-baf9-474b-94ba-d33c0f4c81b9 none swap sw 0 0 -------------------------------------------------------------------------------- ================== md/0_0: Location of files loaded by Grub: =================== GiB - GB File Fragment(s) 8.201728821 = 8.806539264 boot/grub/core.img 1 6.157077789 = 6.611111936 boot/grub/grub.cfg 1 1.004653931 = 1.078738944 boot/initrd.img-2.6.38-8-server 2 0.359737396 = 0.386265088 boot/vmlinuz-2.6.38-8-server 1 1.004653931 = 1.078738944 initrd.img 2 0.359737396 = 0.386265088 vmlinuz 1 =============================== StdErr Messages: =============================== unlzma: Decoder error
I think I see. The mdadm version is different between 10.10 and 11.04. Would you add the missing drive back, boot and post the contents of your /etc/mdadm/mdadm.conf
Also cat /proc/mdstat
and sudo mdadm -Es
ASRock P67 Extreme6, Intel i5 2500K, 8GB RAM, nVidia 6600GT, 4x1TB RAID1+0
mdadm.conf
cat /proc/mdstatCode:# 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/md0 UUID=21e3dbe0:3924f2f0:b64acd66:a7075890 ARRAY /dev/md1 UUID=e064b00f:cb168fdb:0ff61f71:4cc3505e # This file was auto-generated on Sat, 13 Aug 2011 16:48:15 +0200 # by mkconf $Id$
Code:Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md1 : active raid1 sda2[1] sdb2[0] 3145664 blocks [2/2] [UU] md0 : active raid1 sda1[1] sdb1[0] 10485696 blocks [2/2] [UU] unused devices: <none>
mdadm -Es
Code:ARRAY /dev/md0 UUID=21e3dbe0:3924f2f0:b64acd66:a7075890 ARRAY /dev/md1 UUID=e064b00f:cb168fdb:0ff61f71:4cc3505e
They look perfect. Try
sudo update-initramfs -u
to make sure the madam.conf info is available to the kernel during boot.
and
sudo update-grub
sudo grub-install /dev/sda
sudo grub-install /dev/sdb
for good measure.
ASRock P67 Extreme6, Intel i5 2500K, 8GB RAM, nVidia 6600GT, 4x1TB RAID1+0
Same error
Why is it that mdstat does not show a metadata version and mdadm -Es doesn't show one either?
With metadata 1.2 that 11.04 uses by default, we should see the metadata version and the name of the array shown.
sudo mdadm -D /dev/md0
mdadm -V
Also, it would be useful to always see the Grub menu if Grub runs. Annoyingly, Ubuntu defaults to not showing it. In /etc/default/grub add a # before the GRUB_HIDDEN_TIMEOUT=0 line and then run sudo update-grub.
I seem to have reproduced something similar in VirtualBox. The symptom is slightly different, I end up with a blank screen when either disk is disconnected.
ASRock P67 Extreme6, Intel i5 2500K, 8GB RAM, nVidia 6600GT, 4x1TB RAID1+0
I`ve already activatd the showing of the grub boot menu and it`s shown.
But when the PC reboots (because of the missing disc) ther is no grub menu.
mdadm -D /dev/mdo
mdadm -VCode:/dev/md0: Version : 0.90 Creation Time : Fri Aug 12 18:52:23 2011 Raid Level : raid1 Array Size : 10485696 (10.00 GiB 10.74 GB) Used Dev Size : 10485696 (10.00 GiB 10.74 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Sun Aug 14 17:15:03 2011 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 21e3dbe0:3924f2f0:b64acd66:a7075890 Events : 0.1072 Number Major Minor RaidDevice State 0 8 17 0 active sync /dev/sdb1 1 8 1 1 active sync /dev/sda1
Code:mdadm - v3.1.4 - 31 August 2010
Bookmarks