Partition Problem with Windows
Rainer Fleischhacker
rainer at familie-fleischhacker.de
Thu Dec 29 19:43:41 CET 2005
Hi folks,
i want to setup my Workstation with WindowsXP on hda1 and the rest with linux.
Fai had some trouble to setup the harddisk.
Can anybody help me? When i install the workststion without the Windows
partition i have no problems Version with 2.8.4 and 2.9 .
# generic disk configuration for one small disk
# disk size from 500Mb up to what you can buy today
#
# <type> <mountpoint> <size in mb> [mount options] [;extra options]
disk_config disk1
primary /windows preserve1 rw»··»·······»·······; writeable
primary / 70-200 rw,errors=remount-ro ; -c -j ext3
logical swap 40-500 rw···················
logical /var 90-1000 rw ; -m 5 -j ext3
logical /tmp 50-1000 rw ; -m 0 -j ext3
logical /usr 200-4000 rw ; -j ext3
logical /home 50- rw,nosuid ; -m 1 -j ext3
# logical /home preserve9 rw,nosuid ; -m 1 -j ext3
Using config file: /fai/disk_config/WINDOWS
Mapping disk name disk1 to hda
Creating partition table: LC_ALL=C sfdisk -q /dev/hda
< /tmp/fai/partition.hda
sfdisk: I don't like these partitions - nothing changed.
(If you really want this, use the --force option.)
SFDISK ERROR:
Disk /dev/hda: 59554 cylinders, 16 heads, 63 sectors/track
Old situation:
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 10152- 10153- 5116671 b W95 FAT32
/dev/hda2 0 - 0 0 0 Empty
/dev/hda3 0 - 0 0 0 Empty
/dev/hda4 0 - 0 0 0 Empty
New situation:
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/hda1 63 10233404 10233342 b W95 FAT32
/dev/hda2 * 10234224 10557791 323568 83 Linux
/dev/hda3 10557792 60030431 49472640 5 Extended
/dev/hda4 0 - 0 0 Empty
/dev/hda5 10557855 11272463 714609 82 Linux swap / Solaris
/dev/hda6 11272527 12706847 1434321 83 Linux
/dev/hda7 12706911 14114015 1407105 83 Linux
/dev/hda8 14114079 19741679 5627601 83 Linux
/dev/hda9 19741743 60030431 40288689 83 Linux
setup_harddisks version 0.37fai
Probing disks: /dev/hda
Disks found: hda
Using config file: /fai/disk_config/WINDOWS
My partition.hda is:
# partition table of device: /dev/hda
unit: sectors
/dev/hda1 : start= 63, size= 10233342, Id= b
/dev/hda2 : start= 10234224, size= 323568, Id= 83, bootable
/dev/hda3 : start= 10557792, size= 49472640, Id= 5
/dev/hda4 : start= 0, size= 0, Id= 0
/dev/hda5 : start= 10557855, size= 714609, Id= 82
/dev/hda6 : start= 11272527, size= 1434321, Id= 83
/dev/hda7 : start= 12706911, size= 1407105, Id= 83
/dev/hda8 : start= 14114079, size= 5627601, Id= 83
/dev/hda9 : start= 19741743, size= 40288689, Id= 83
Mapping disk name disk1 to hda
Creating partition table: LC_ALL=C sfdisk -q /dev/hda
< /tmp/fai/partition.hda
cp: cannot stat `/tmp/fai/disk_var.sh': No such file or directory
setup_harddisks did not create /tmp/fai/disk_var.sh file.
My partition.hda is:
More information about the linux-fai
mailing list