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

Reply via email to