Re: Problem partitioning dual-boot

2011-10-05 Diskussionsfäden Toomas Tamm
On Tue, 2011-10-04 at 11:01 -0500, John G. Heim wrote:
> Before we go any further on this problem, I should ask if anybody else is 
> creating dual-boot systems with Windows 7 and FAI? 

I have done some, but I never was able to get grub2 to boot both Linux
and Windows. I used the EasyBCD tool under Windows and booted via the
Windows bootloader instead.

More recently, we have switched to an entirely different approach of
installing Windows 7 onto a Virtualbox VM, running under Debian.

All the Windows7 systems that I have seen (both manufacturer-installed
as well as fresh installs on virtual disks under VirtualBox) have a
small hidden partition at the beginning of the disk (sda1). There are
many web pages about the purpose of this partition, I have found 
http://www.mydigitallife.info/how-to-avoid-200mb-hidden-system-partition-from-been-created-during-windows-7-installation/
a rather good overview. Apparently this partition uses a strange
(non-standard) number of blocks by default. Is it possible that this
somehow confuses setup-storage in your configuration?

Another idea: looking at your disk configurations (previous posts), it
seems that you are trying to preserve only sda1 and you say nothing
about sda2 in your disk config file. Yet sda2 is still present after the
install, with Debian installed into logical partitions. Perhaps you
should try to preserve sda2 as well?

Toomas Tamm



Re: Problem partitioning dual-boot

2011-10-05 Diskussionsfäden Nicolas Courtel

Le 04/10/2011 18:01, John G. Heim a écrit :
Before we go any further on this problem, I should ask if anybody else 
is creating dual-boot systems with Windows 7 and FAI? I think an 
important thing to know would be whether this is a FAI problem or if 
its just me.  I am doing a rather weird Win7 install with an 
autounattend.xml answer file. So maybe its just me.


I have successfully installed some. AFAIR I have preserved the 2 
partitions that are used by Windows 7, and sometimes the diagnostic 
partition, and once Debian is installed os-prober inserts the 
appropriate line into Grub2, and both Windows & Debian Squeeze boot 
normally.


--
Nicolas



Re: Problem partitioning dual-boot

2011-10-05 Diskussionsfäden John G. Heim

From: "Nicolas Courtel" 
To: 
Sent: Wednesday, October 05, 2011 4:54 AM
Subject: Re: Problem partitioning dual-boot


I have successfully installed some. AFAIR I have preserved the 2 
partitions that are used by Windows 7, and sometimes the diagnostic 
partition, and once Debian is installed os-prober inserts the appropriate 
line into Grub2, and both Windows & Debian Squeeze boot normally.


Well, I am installing Win7 via an autounattend.xml file because I'm blind 
and i can't run the Windows installer. So I configured it to install 
everything in the first partition. I can install debian to the second 
partition via the netinst iso. If I had to preserve that partition, that 
wouldn't work. So I don't know why debian works and FAI doesn't.


Anyway, I am guessing that this problem is more or less a result of the way 
I'm installing Win7. But I won't be doing that myself in the future. When we 
create dual-boot machines, my co-worker installs Windows and turns them over 
to me to install linux. I may have to change my disk_config for that but I 
can deal with that when it comes up.


I guess I'll leave it up to the FAI developers, Thomas and Michael, as to 
whether they consider this a bug and whether they want to pursue it further. 
I am willing to keep working on it but I don't want to waste anybody's time 
just because I'm doing something weird.