preserving dos partitions
Birgit Kattner
Birgit.Kattner at hrz.uni-giessen.de
Thu Aug 5 14:02:19 CEST 2010
Hi,
how can I preserve dos partitions using fai disk_config?
Here an example of a server to be installed (partitions 1 +2 should
be preserved):
server1:~# fdisk -l
Disk /dev/sda: 499.5 GB, 499558383616 bytes
255 heads, 63 sectors/track, 60734 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000080
Device Boot Start End Blocks Id System
/dev/sda1 1 9 72261 de Dell Utility
/dev/sda2 10 271 2104515 c W95 FAT32 (LBA)
/dev/sda3 272 393 979965 83 Linux
/dev/sda4 394 60734 484689082+ 5 Extended
/dev/sda5 394 1609 9767488+ 83 Linux
/dev/sda6 1610 2825 9767488+ 83 Linux
/dev/sda7 2826 4041 9767488+ 83 Linux
/dev/sda8 4042 5257 9767488+ 83 Linux
/dev/sda9 5258 11336 48829536 83 Linux
/dev/sda10 11337 53888 341798908+ 83 Linux
/dev/sda11 53889 58751 39062016 83 Linux
/dev/sda12 58752 60734 15928416 82 Linux swap / Solaris
This is my configuration file:
disk_config disk1 preserve_reinstall:1,2
primary /dos 70-80 fat32 ???
primary /dos2 210-220 fat32 ???
primary /boot 500 ext3 rw
logical / 15G-16G ext3 rw,errors=remount-ro createopts="-m
5" tuneopts="-c 0 -i 0"
logical /work 10G-11G ext3 rw createopts="-m
0" tuneopts="-c 0 -i 0"
logical /usr 10G-11G ext3 rw createopts="-m
0" tuneopts="-c 0 -i 0"
logical /var 10G-11G ext3 rw createopts="-m
0" tuneopts="-c 0 -i 0"
logical /opt 50-60G ext3 rw createopts="-m
0" tuneopts="-c 0 -i 0"
logical /data 300000- ext3 rw createopts="-m
0" tuneopts="-c 0 -i 0"
logical /tmp 40-50G ext3 rw createopts="-m
0" tuneopts="-c 0 -i 0"
logical swap 4G swap sw
--
Thanks in advance
Birgit
----------------------------------------------------------------------
Hochschulrechenzentrum der
Justus-Liebig-Universitaet
Heinrich-Buff-Ring 44
D-35392 Giessen, Germany
email: birgit.kattner at hrz.uni-giessen.de
phone: +49 641 99 13022 (+49 641 99 13001)
fax: +49 641 99 19844
More information about the linux-fai
mailing list