Question/Problem with setup-storage

Darshaka Pathirana dpat at syn-net.org
Sat Aug 4 11:15:04 CEST 2012


On 08/03/2012 08:16 AM, Ralf Aumueller wrote:
> 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?

I think you are missing the "primary"-line for your Windows
partition.

Have a look at:

[1] https://lists.uni-koeln.de/pipermail/linux-fai/2009-June/007006.html

HTH && Regards,
 - Darsha


More information about the linux-fai mailing list