still having problems making dual-boot
John Heim
jheim at math.wisc.edu
Fri Feb 17 20:52:12 CET 2012
Sorry to keep bringing this up but I am still having problems making a
dual-boot, debian/Win7 machine with FAI. I used to have a rather
unconventional disk setup file so I got rid of it. I copied the FAI-BASE
config file, increased the partition sizes, and configured it to preserve
the 2 Win7 partitions. But I still end up needing to repair Win7 after the
FAI install is done. Below are my setup_storage config files, fdisk before
the install, and fdisk after.
=== setup_storage ===
disk_config disk1 disklabel:msdos preserve_always:1,2 bootable:1
primary /system 0- ntfs rw
primary /windows 0- ntfs rw
primary / 5G ext3 rw,noatime,errors=remount-ro
logical swap 1G-2G swap rw
logical /var 5G-10G ext3 rw,noatime createopts="-L var -m 5"
tuneopts="-c 0 -i 0"
logical /tmp 1G-2G ext3 rw,noatime,nosuid,nodev createopts="-L tmp -m 0"
tuneopts="-c 0 -i 0"
logical /usr 20G-40G ext3 rw,noatime,nodev createopts="-L usr"
logical /home 100-50% ext3 rw,noatime,nosuid,nodev createopts="-L home -m
1" tuneopts="-c 0 -i 0"
=== fdisk before ===
Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x356da6af
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 8381 67108864 7 HPFS/NTFS
/dev/sda3 8381 19452 88933376 6 FAT16
=== fdisk after ===
Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004fb11
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 8381 67108864 7 HPFS/NTFS
/dev/sda3 8381 9032 5234852 83 Linux
/dev/sda4 9033 19452 83698650 f W95 Ext'd (LBA)
/dev/sda5 9033 9230 1590403+ 82 Linux swap / Solaris
/dev/sda6 9231 10222 7968208+ 83 Linux
/dev/sda7 10223 10420 1590403+ 83 Linux
/dev/sda8 10421 14388 31872928+ 83 Linux
/dev/sda9 14389 19452 40676548+ 83 Linux
More information about the linux-fai
mailing list