partitioning again
Matthias Lechner
matthias.lechner at med.uni-muenchen.de
Tue Mar 29 16:55:34 CEST 2005
Hi there!
After some research I finally found a way to achieve the following fantastic
disk-layout:
hde1 FAT16 DOS
hde2 NTFS WinNT
hde3 NTFS Data&Programs
Remember? The idea was to get FAI into a new, extended partition after hde3. I
tried to do that now with the following disk_config:
disk_config hde
primary /mnt/dos preserve1 rw
primary - preserve2
primary - preserve3
logical / 70-15000 rw,errors=remount-ro ;-c -j ext3
logical swap 40-500 rw
But with this I get a strange output (see format.log at the end of this mail).
Installation is aborting with the known errors (cp: cannot stat
`/tmp/fai/disk_var.sh': No such file or directory....). If you google for the
sfdisk error, you'll only find problems with the C/H/S settings of the
harddisk. But, as you can see below, no such error appears.
Any ideas?
Thanks in advance
mat.
############FORMAT.LOG:##################
FAI: setup harddisks V0.32fai
Probing disks: /dev/hde
Disks found: hde
parsing config file: /fai/disk_config/SMALL_IDE
Partition with sfdisk:
LC_ALL=C sfdisk -q /dev/hde < /tmp/fai/partition.hde
sfdisk: I don't like these partitions - nothing changed.
(If you really want this, use the --force option.)
SFDISK ERROR:
Disk /dev/hde: 10011 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hde1 * 0+ 259 260- 2088418+ 6 FAT16
/dev/hde2 260+ 777 518- 4160803+ 7 HPFS/NTFS
/dev/hde3 778 1414 637 5116702+ 7 HPFS/NTFS
/dev/hde4 0 - 0 0 0 Empty
New situation:
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/hde1 63 4176899 4176837 6 FAT16
/dev/hde2 4176963 12498569 8321607 7 HPFS/NTFS
/dev/hde3 12498570 22731974 10233405 7 HPFS/NTFS
/dev/hde4 22731975 54492479 31760505 5 Extended
/dev/hde5 * 22732038 53464319 30732282 83 Linux
/dev/hde6 53464383 54492479 1028097 82 Linux swap
##########PARTITION.HDE###########################
# partition table of device: /dev/hde
unit: sectors
/dev/hde1 : start= 63, size= 4176837, Id= 6
/dev/hde2 : start= 4176963, size= 8321607, Id= 7
/dev/hde3 : start= 12498570, size= 10233405, Id= 7
/dev/hde4 : start= 22731975, size= 31760505, Id= 5
/dev/hde5 : start= 22732038, size= 30732282, Id= 83, bootable
/dev/hde6 : start= 53464383, size= 1028097, Id= 82
More information about the linux-fai
mailing list