help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem booting from /boot on raid1


From: Emil Micek
Subject: Problem booting from /boot on raid1
Date: Wed, 28 Jul 2010 09:31:12 +0200 (CEST)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

Hi list!

I recently converted my single-drive configuration to raid1 soft array using two 1.5TB disks for my / (root) and /home partitions and i have problems booting from it with grub.

/boot directory is not separate. It resides on my root partition which is /dev/md0 with ext3 filesystem.

Grub version is 1.98. Raid metadata version is 1.2.

I had to manualy edit /boot/grub/device.map. I added md0 and md1 entries:

(fd0)   /dev/fd0
(hd0)   /dev/sda
(hd1)   /dev/sdb
(hd2)   /dev/sdc
(md0)   /dev/md0
(md1)   /dev/md1

You can find my /boot/grub/grub.cfg here:
http://www.tkrjasek.cz/mie/sklad/grub.cfg

I installed grub using following command:

# grub-install /dev/md0 --no-floppy --debug --modules="raid mdraid"

you can see the grub-install log here:
http://www.tkrjasek.cz/mie/sklad/grub-install.log

Unfortunatelly, after reboot, grub drops me to rescue console with "unknown filesystem" error message.

This is my disk configuration

/dev/sda is my old disk which will be removed, after i manage to configure grub to boot from my raid array.

/dev/md0 is my '/' (root) partition. It's assembled from /dev/sdb1 and
        /dev/sdc1, has size of 50GB and ext3 filesystem

/dev/md1 is my /home and IMO it's irrelevant to my problem.

Those are my disk's UUIDs:
/dev/sda1: UUID="210e4334-7113-42b0-98c2-ad266a5ee0bf" TYPE="ext3"
/dev/sda2: UUID="eaddc1ec-2229-4d96-8651-6a7fad98dd1f" TYPE="ext3"
/dev/sdb1: UUID="e5900299-f47d-2d5c-eca1-6b176a605396" 
UUID_SUB="ea7e4faa-0293-5202-2526-c59ab7c2bf19" LABEL="pc87.valachnet.cz:0" 
TYPE="linux_raid_member"
/dev/sdb2: UUID="31a5081d-c4f1-41a3-96fb-de11dd3abaad" 
UUID_SUB="085991e6-6a94-18a6-bce0-9ddc2d1f10e3" LABEL="pc87.valachnet.cz:1" 
TYPE="linux_raid_member"
/dev/sdb3: LABEL="SWAP1" UUID="3fafc0b5-bd4c-433a-a27f-551120346b41" TYPE="swap"
/dev/sdc1: UUID="e5900299-f47d-2d5c-eca1-6b176a605396" 
UUID_SUB="f2fea2f4-7e69-0bff-0acf-ad6d04f2ce96" LABEL="pc87.valachnet.cz:0" 
TYPE="linux_raid_member"
/dev/sdc2: UUID="31a5081d-c4f1-41a3-96fb-de11dd3abaad" 
UUID_SUB="ca8ba11b-f908-423f-cd69-758533abe694" LABEL="pc87.valachnet.cz:1" 
TYPE="linux_raid_member"
/dev/sdc3: LABEL="SWAP2" UUID="3f118033-f03b-496e-a77b-64c7e59f65c7" TYPE="swap"
/dev/md0: LABEL="ROOT" UUID="00688232-22ea-4a8b-a742-8c770029343c" SEC_TYPE="ext2" 
TYPE="ext3"
/dev/md1: LABEL="HOME" UUID="cec574f6-4d9b-4a48-97e6-1e82d2954371" SEC_TYPE="ext2" 
TYPE="ext3"

Some detailed info about /dev/md0 is here: http://www.tkrjasek.cz/mie/sklad/md0.detail


I'd be glad for any help. Could the problem be in version 1.2 metadata on my raid partition?

Regards,

Emil Micek



reply via email to

[Prev in Thread] Current Thread [Next in Thread]