Problem partitioning dual-boot

John G. Heim jheim at math.wisc.edu
Wed Sep 7 22:54:07 CEST 2011


All,

I am having a problem partitioning a disk for dual boot, debian/Win7. 
Because I'm blind, I'm installing Win7 via an autounattend.xml file.  It is 
set up to create a 40Gb partition as the first partition and to install Win 
7 to it.  If I do a normal debian install to partition 2, I get a dual-boot 
machine. But if I do an FAI install, my Win 7 partition is unbootable.  I 
posted about this a few weeks ago and was asked to post my FAI setup_storage 
config, and a fdisk screenshot before and after doing the FAI install. Here 
they all are:
storage_setup
==========
disk_config disk1 preserve_always:1
primary  /windows          0-  ntfs  rw
logical swap  1500M   swap  rw
logical /     30G-     ext3  rw         createopts="-m 5" tuneopts="-c 0 -i 
0"

=====
fdisk before FAI install
===========
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: 0xc19e4136

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        5100    40960000    7  HPFS/NTFS
/dev/sda2            5100       19452   115287040    7  HPFS/NTFS

===========
fdisk after FAI install
============
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: 0x00084c0c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        5100    40960000    7  HPFS/NTFS
/dev/sda2            5100       19452   115287166    f  W95 Ext'd (LBA)
/dev/sda5            5100        5290     1530869+  82  Linux swap / Solaris
/dev/sda6            5291       19452   113756233+  83  Linux



More information about the linux-fai mailing list