On 5/1/05, Richard Fish <[EMAIL PROTECTED]> wrote:
> Maxim Vexler wrote:
> 
> >Hello to everyone,
> >
> >I'm trying to achieve the most simple dual boot possible : Linux &
> >Windows on the same hd.
> >Trivial? I Think not!
> >
> >Here is my new 160GB hard drive scheme, after being dd if=/dev/zero bs=512 
> >out.
> >hda1  ext2
> >hda2  swap
> >hda3  reiserfs
> >hda4  extended
> >hda5  ext3
> >hda6  fat32
> >hda7  Linux (83)
> >hda8  Linux (83)
> >hda9  Linux (83)
> >
> >I started with installing xp.
> >It complained about the fact it's not on the first partition, so
> >during the installation I allowed it to delete hda1 (ext2) and make it
> >fat32, so that is can copy it's ntldr to there
> >The system (windows) itself got installed into hda5.
> >It finished, I even tried to boot it and it worked.
> >
> >Then I boot from gentoo liveCD, mounted hda1, hda5.
> >Copied all the files windows left on hda1 to hda5.
> >Reformatted hda1 as ext2 and did a normal gentoo setup when the boot
> >loader is grub.
> >
> >
> 
> Simply copying the files from hda1 to hda5 wouldn't possibly work,
> because those are block-mapped files whose position must be recorded in
> the first block of the partition for the boot loader.  But the real
> problem is that I don't think you can boot windows from a logical
> partition...it must be on a primary partition.
> 
> I would suggest trying again, with partitioning like so:
> 
> hda1:  /boot (ext2)
> hda2: Windows C: (fat32)
> hda3: Linux (83) (/)
> hda4: extended
> hda5: swap
> ... (and so on)
> 
> You might also check out LVM, since then you would only need 3
> partitions (/boot, C:, and an LVM volume).
> 
> -Richard
> 
> --
> [email protected] mailing list
> 
> 

I think that the claim of "Windows unable to boot from logical
partition" is half true.
As I have written, I did managed to install and boot windows from a
logical partition but the windows boot loader (ntldr) had to be on a
physical partition.

That leades me to this idea : What do you think about creating a
virtule drive, where there will be only 1 partition with the windows
bootloader, those fooling ntldr to make it think it boots from hdx1.
To create this I would repeat the steps I've made in the process of
installation windows, but now insted of dumb copying from hda1 to hda5
(thank you for teaching me about the fact the these files are block
mapped) I would dd the whole partition to the virtual drive.

The whole question is : Is it possible to mount the virtule drive and
point grub to boot from it?

Thank you for helping.

-- 
Cheers, 
Maxim Vexler (hq4ever).

Do u GNU ?

-- 
[email protected] mailing list

Reply via email to