CENTOS boot over raid partition

Antanas Masevicius antanas.masevicius at gmail.com
Mon Nov 24 16:50:15 CET 2014


been trying to install with following layout

disk_config sda bootable:1 fstabkey:uuid
primary -        200      -    -
primary -        0-     -    -

disk_config sdb bootable:1 fstabkey:uuid
primary -        200      -    -
primary -        0-     -    -

disk_config raid fstabkey:uuid
raid1 /boot    sda1,sdb1     ext4 rw
raid0 -        sda2,sdb2     ext4 default

disk_config lvm fstabkey:uuid
vg vg1 md1
vg1-root_  /      12G    ext4     rw,noatime,errors=remount-ro
vg1-swap swap      4G   swap     rw
vg1-tmp  /tmp      1G    ext4     rw,nosuid
vg1-var  /var      30G-  ext4     rw

Installation finishes, but looks like boot from md0 is not proceeding.
shell.log outputs:

=====   shell: CENTOS/40-install-grub   =====
Can't match device: /dev/md0
Can't match device:
UUID=0359de7e-82e0-48d7-b8ad-e6cdcfc3721b       /boot   ext4    rw      0
    2       # device at install: /dev/md0

    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename.]
grub> device  /dev/md0

Error 1: Unrecognized device string

md devices are being created:

root at centos~# ls -al /dev/md*
brw-rw---T 1 root disk 9, 0 Nov 24 17:10 /dev/md0
brw-rw---T 1 root disk 9, 1 Nov 24 17:12 /dev/md1

but for some reason 'device2grub' still complains about them.

my packages:

i fai-client                                             4.3
i fai-doc                                                4.3
p fai-nfsroot                                            4.3
i fai-quickstart                                         4.3
i fai-server                                             4.3
p fai-setup-storage                                      4.3
p liblinux-lvm-perl                                      0.17-2

best regards,

Antanas Masevicius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20141124/8f93655d/attachment.html>

More information about the linux-fai mailing list