Setup-storage use space between partitions

Steffen Grunewald Steffen.Grunewald at aei.mpg.de
Fri May 3 09:04:34 CEST 2013


On Thu, May 02, 2013 at 05:16:16PM +0200, Steven Wend wrote:
> Hello guys,
> 
> I have only one hdd which hast three partitions as shown below.
> 
> -------------------------------------------------
> | 1. NTFS part | 2. NTFS part  |  2. NTFS part  |
> -------------------------------------------------
> 
> Now I want to keep the first and the third partition. The second one can
> has to be deleted and the upcoming free space should be used to install
> Ubuntu with FAI.
> 
> I tried to handle this with this disc_config:
> ----
> disk_config disk1 preserve_always:1,3 disklabel:msdos bootable:1
> fstabkey:uuid
> 
> primary /      16000      ext3  rw,noatime,errors=remount-ro
> logical swap   4000       swap  rw
> logical /home  10000-50%  ext3  rw,noatime,nosuid,nodev createopts="-L
> home -m 1" tuneopts="-c 0 -i 0"
> ----
> 
> The first and third partition is marked with preserve_always.
...
> Is this a bug or do I have a logical problem?

"logical" hits the nail on its head - your partitions are not numbered
1, 2, 3 - but (very probably) 1, 5, 6 (with an "extended" partition 
sitting in between, supposedly at 2). Check with "fdisk -lu" (from 
inside a "sysinfo" run, for example)

S


More information about the linux-fai mailing list