preserve first primary partition

Michael Tautschnig mt at debian.org
Thu Jun 4 11:51:38 CEST 2009


Just for the sake of completeness:

> I am trying to create some dual-boot machines using FAI. But I cannot 
> figure hout how to preserve the first partition where Windows is 
> installed. I did managed to wipe Windows out on one computer.
>
> If I say preserve_always:1, do I still have to create a line for that  
> partition? I want linux installed on primary partition 2.
>

Yes, you need to create a line for that partition as well. You might, however,
want to use something like

primary  -    20G:resize  -   -

to have
- the partition not mounted within Linux
- resized to your desired size (20GB in this example)
- not formatted
- no mount options (of course)

Best,
Michael

> This does *not* work:
>
>
> disk_config disk1 disklabel:msdos preserve_always:1
>
> primary  /             6G ext3   rw,errors=remount-ro
> logical  swap          1G-2G   swap   rw
> logical  /var          10G-20G   ext3   rw         createopts="-m 5"  
> tuneopts="-c 0 -i 0"
> logical  /tmp          1G-2G     ext3   rw         createopts="-m 0"  
> tuneopts="-c 0 -i 0"
> logical  /usr          10G-40G      ext3   rw
> logical  /home         100-50%    ext3   rw,nosuid
> createopts="-m 1" tuneopts="-c 0 -i 0"
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20090604/72b0568d/attachment.bin 


More information about the linux-fai mailing list