Preserving partitions

Helmut Mucker Helmut.MUCKER at frequentis.com
Fri Aug 31 10:34:34 CEST 2001


Hi!

I have to setup fai for installing Linux on notebooks.
On the notebooks there are preinstalled Operationsystems
(DOS, WIN-NT, WIN98). Linux is optional.

The partition-layout - from a Linux point of view - is:

primary hda1 - DOS/NOVELL
primary hda2 - Win98
primary hda3 - NT
logical hda5 - reserved for Linux, boots via loadlin from DOS
logical hda6 - data, vfat, mount on /DATA

There is already a ext2-filesystem on hda5. So I have
to do NO partitioning.

Is it possible to preserve ALL partitions? Or all except
the Linux-partition?

I tried the following /usr/share/fai/disk_config/NOTEBOOK

# NOTEBOOK
# <type> <mountpoint> <size in mb> [mount options]     [;extra options]
disk_config hda
primary   -          preserve1  #  1
primary   -          preserve2  #  2
primary   -          preserve3  #  3
logical   /          preserve5  # (4)   5
logical   /DATA      preserve6  # (4)   6

but sfdisk does not like it :-)

Any suggestions?

thanks in advance
Helmut

-- 
Helmut Mucker               FREQUENTIS Vienna, Austria
IT System-Management UNIX             +43-1-81150-2420



More information about the linux-fai mailing list