Question/Problem with setup-storage

Ralf Aumueller Ralf.Aumueller at informatik.uni-stuttgart.de
Fri Aug 3 08:16:17 CEST 2012


Hello,

I try to partition my disk like this:

- Preserve partition 1 (Windows)
- create 500MB /boot
- create 20GB for LVM
- create LVs for filesystems

using the following config file for setup-storage:

#
# LVM config
#
# config file for setup-storage
#
disk_config disk1 bootable:2 preserve_always:1
primary         /boot   500     ext4    rw
primary         -       20GiB   -       -

disk_config lvm
vg              vg0     disk1.3
vg0-lv01        swap    2GiB    swap    sw
vg0-lv02        /       6GiB    ext4    errors=remount-ro
vg0-lv03        /var    1GiB    ext4    defaults
vg0-lv04        /tmp    1GiB    ext4    defaults

and get the following error:

Cannot determine size of /dev/sda3

What is wrong with my configuration?

(If i remove "preserve_always:1" and change "disk1.3" to "disk1.2" this config
file works fine -- but deletes as expected my Windows installation)

fai version: 3.4.8ubuntu2
setup-storage: 1.3 (also tried 1.4 from fai 4.x)

Best regards,
Ralf


More information about the linux-fai mailing list