Continuing dual-boot woes

John G. Heim jheim at math.wisc.edu
Wed Dec 21 22:24:13 CET 2011


All,

I still cannot get FAI to create a dual boot system. When I last talked 
about this, I thought I had figured it out. My theory (at the time) was that 
because Win 7 creates a very small partition at the beginning of the disk, 
when I did an unattended install that did not create that partition and then 
did an FAI install, it confused Win7. But that apparently is not the 
problem.

My co-worker created a dual boot win7/debian system by hand installing both. 
I modified my unattended install to more-or-less replicate his system. Below 
is the output from disk from his system. Below that is the output from fdisk 
from my system. Win7 boots on his system. Not only does Win7 not boot on my 
system, I can't even repair it.  Previously, I used to be able to boot into 
Win7 but only after using the Win7 installation CD to repair it.

Here is the disk_config file I'm using:
=== disk_config ===
disk_config disk1 preserve_always:1,2 bootable:1
primary  -          0-  ntfs  -
primary  /windows          0-  ntfs  rw
logical swap  1500M   swap  rw
logical /     30G-     ext3  rw         createopts="-m 5" tuneopts="-c 0 -i 
0"

=== end disk_config ===

=== Working===
# fdisk -l
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 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: 0x000cb10c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13       12749   102297600    7  HPFS/NTFS
/dev/sda3           12749       30395   141737985    5  Extended
/dev/sda5   *       12749       29675   135956480   83  Linux
/dev/sda6           29675       30395     5780480   82  Linux swap / Solaris
===

=== Not Working ===

# fdisk -l

Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 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: 0x0004236b

   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       30394   176825117    f  W95 Ext'd (LBA)
/dev/sda5            8381        8571     1531838   82  Linux swap / Solaris
/dev/sda6            8572       30394   175293216   83  Linux




More information about the linux-fai mailing list