setup-storage and grub issue

Christopher Huhn C.Huhn at gsi.de
Tue Apr 8 18:36:57 CEST 2008


Hi all,

I started playing around with setup-storage to setup a
lvm-on-raid1-2disk box. setup-storage really works out fine, but grub
installation fails, apparently because the $BOOT_DEVICE is set nowhere.
disk_var.sh only defines $SWAP_LIST and $ROOT_PARTITION

This is my disk_config:

disk_config disk1
primary  swap 2000        swap       sw
primary  -        0-                 -    -
primary  -        0-                 -    -
primary  -        0-                 -    -

disk_config disk2
primary  swap 2000        swap       sw
primary  -        0-                 -    -
primary  -        0-                 -    -
primary  -        0-                 -    -

disk_config raid
raid1        /       disk1.2,disk2.2 ext3 rw
# LVM:
raid1        -       disk1.3,disk2.3 - -
raid0        /tmp    disk1.4,disk2.4 xfs rw     -f

# config the LVM
disk_config lvm
vg  system  md1
system-var    /var            6G-10G   xfs         rw     -f
system-home    /home            8G-14G   xfs         rw     -f
system-data    /data.local1        0-       xfs         rw     -f

"-f" switch is needed to force mkfs.xfs to reformat partitions on
reinstalls. This should probably be the default unless lazyformat is set
(but that seems currently unimplemented)?

Gratious for any hints,
    Christopher

P.S.: mkfs.xfs also warns about "device mapper device but no dmsetup(8)
found". Probably dmsetup should be installed to the FAI-nfsroot?

-- 
Christopher Huhn
Linux therapist
Gesellschaft für Schwerionenforschung mbH
Planckstraße 1
D-64291 Darmstadt
http://www.gsi.de/

Handelsregister: Amtsgericht Darmstadt, HRB 1528

Geschäftsführer: Professor Dr. Horst Stöcker

Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph,
Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt



More information about the linux-fai mailing list