Thread: Doesn't boot from md
i created 3 broken raid 1 arrays mdadm
saved mdadm.confcode:mdadm --create ... /dev/md0 /dev/sdb1 missing ...
then copied data on them, setted fstabcode:# mdadm.conf # # please refer mdadm.conf(5) information file. # # default, scan partitions (/proc/partitions) md superblocks. # alternatively, specify devices scan, using wildcards if desired. device /dev/sda1 /dev/sdb1 /dev/sda2 /dev/sdb2 /dev/sda3 /dev/sdb3 # auto-create devices debian standard permissions create owner=root group=disk mode=0660 auto=yes # automatically tag new arrays belonging local system homehost <system> # instruct monitoring daemon send mail alerts mailaddr root # definitions of existing md arrays array /dev/md0 level=raid1 num-devices=2 uuid=46c87704:75be5bd3:adf78dfd:3b0fefb6 array /dev/md1 level=raid1 num-devices=2 uuid=d7bb5abf:78c0b127:adf78dfd:3b0fefb6 array /dev/md2 level=raid1 num-devices=2 uuid=ba9969ae:be26c114:adf78dfd:3b0fefb6
and grub/menu.lstcode:/dev/md2 / ext3 relatime,errors=remount-ro 0 1 /dev/md0 /boot ext2 relatime 0 2 /dev/md1 /home ext2 relatime 0 2 /dev/sda4 none swap sw 0 0 /dev/sdb4 none swap sw 0 0
now if boot livecd, without mdadm.conf, should be, , runcode:title ubuntu 9.10, kernel 2.6.31-19-generic root (hd0,0) kernel /vmlinuz-2.6.31-19-generic root=/dev/md2 ro nodmraid quiet splash initrd /initrd.img-2.6.31-19-generic title ubuntu 9.10, kernel 2.6.31-19-generic (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.31-19-generic root=/dev/md2 ro nodmraid single initrd /initrd.img-2.6.31-19-generic title ubuntu 9.10, memtest86+ root (hd0,0) kernel /memtest86+.bincreates 3 broken arrays.code:mdadm -as
want boot them, , add other disk.
bios loads right grub, md seems charged, says can't find root device.
initram shell see /dev/sdb1, 2 , 3 if runsays no config or superblocks found...code:mdadm -as
don't know do.
thank you
p.s. boot kernel "nodmraid" parameter.
ah, right, may need that...
code:root@ubuntu:/home/ubuntu# fdisk -l /dev/sdb disk /dev/sdb: 250.1 gb, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders units = cylinders of 16065 * 512 = 8225280 bytes disk identifier: 0x93b893b8 device boot start end blocks id system /dev/sdb1 * 1 13 104391 fd linux raid autodetect /dev/sdb2 7978 30400 180112747+ fd linux raid autodetect /dev/sdb3 145 7977 62918572+ fd linux raid autodetect /dev/sdb4 14 144 1052257+ 82 linux swap / solaris partition table entries not in disk order
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Doesn't boot from md
Ubuntu
Comments
Post a Comment