Computing.Net > Forums > Windows XP > Move Win to a different partition

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Move Win to a different partition

Reply to Message Icon

Name: dlublink
Date: November 23, 2006 at 10:14:31 Pacific
OS: XP Pro
CPU/Ram: 1ghz/256mb
Product: Compaq n600c
Comment:

Hello,

I have a computer with four primary partitions:
1. NTFS 'C:\' containing NTLDR
2. SWAP containing linux swap space
3. Reiserfs '/' containing linux root
4. NTFS 'D:\' containing Windows XP

I want to have Windows and NTLDR be on the same partition. Here is what I want in the end:

1. /boot for linux
2. Linux Swap
3. Reiserfs /
4. Windows XP.

I have found how to fool Windows into thinking it's on the first partition and not the last partition. But if Windows is on the first partition, windows will now be in the 'c:\' partition, but it was installed using 'D:\'.

How do I update the Windows registry and setting files, with one command, so that all references to D: change to C: so that I can move the position of my windows partition without having to reinstall it.

Thanks,

David

My homepage



Sponsored Link
Ads by Google

Response Number 1
Name: o00oshawno00o
Date: November 23, 2006 at 10:17:49 Pacific
Reply:

Set your 4th partition as active after putting boot info on it... using recovery console.


0

Response Number 2
Name: XpUser
Date: November 23, 2006 at 10:19:00 Pacific
Reply:

I have found how to fool Windows into thinking it's on the first partition and not the last partition.

Care to enlight us more about the trick you found?

How do I update the Windows registry and setting files, with one command

It's not possible.

i_XpUser


0

Response Number 3
Name: dlublink
Date: November 23, 2006 at 12:02:39 Pacific
Reply:

In the end what I did was I used ntdlr to boot windows. I misread the information about grub. It's not the partitions that it swaps, it's the drives. So I can install windows on a second drive and have it appear as primary drive.

My final setup is this:

MBR - Microsoft crap
Partition 1 - Windows Boot
Partition 2 - Linux Swap
Partition 3 - Linux root (with /boot in it)
Partition 4 - Windows XP (everything else.).

I use the Microsoft Boot loader to load my linux using the grub.mbr file I generated in linux. So the contents of my C:\ is all the Windows Boot stuff and grub.mbr which loads linux. So in the windows menu I select 'Gentoo Linux' it passes control to grub.mbr which loads my kernel and initrd.


David


David

My homepage


0

Response Number 4
Name: dlublink
Date: November 23, 2006 at 12:08:13 Pacific
Reply:

Now that that is sorted out, I would like to infect my windows XP partition with a virus. Trouble is, the Windows XP drivers for my network card are not installed because I can't be bothered to set it up. Can anyone tell me where I can get a virus(not spyware) and I can copy it to my windows partition?

Something that is particular difficult to remove. Something recent.

Thanks,

David

My homepage


0

Response Number 5
Name: XpUser
Date: November 23, 2006 at 12:31:29 Pacific
Reply:

I would like to infect my windows XP partition with a virus.

I don't meant to sound rude but I must say you're very strange.

i_XpUser


0

Related Posts

See More



Response Number 6
Name: 13526
Date: November 23, 2006 at 17:43:34 Pacific
Reply:

If you mean a Test Virus to check your antivirus program, then download the
EICAR TEST VIRUS. It is not a real virus but antivirus programs think it is.
Cheers de Peter


0

Response Number 7
Name: blackbill
Date: November 24, 2006 at 03:15:55 Pacific
Reply:

"I have found how to fool Windows into thinking it's on the first partition and not the last partition."

It's entirely possible to do this I do it quite a bit when playing with other OS's.

Drive lettering is not written into the mbr or anything like that. They are written into the registry of a microsoft OS (That's why you do not see drive letters being used in xp boot loader for example... the lettering has not been assigned yet).

If you happen to put a second MS os on, then it simply respects the first os's letter assignment.

But if you disk image a MS os then remove it before installing a second MS os, Then each OS will have in their registry the fact that it has been installed on C drive.

You can then put the original os back on, in any partition you wish and it will see itself as being on C drive while it is running... as the other MS os will as well. You do need to edit the boot.ini file to reflect the proper location though.

You will also need a 3rd party boot loader as well. I use BOOTitNG.


0

Response Number 8
Name: dlublink
Date: November 25, 2006 at 11:00:03 Pacific
Reply:

I use NTLDR to boot my linux.

Thanks, the virus is perfect. The idea is to check if my system is properly setup. If I run it will it try and hide itself somewhere, or is it just when I scan it that something happens?

Thanks,

David

My homepage


0

Sponsored Link
Ads by Google
Reply to Message Icon

2007 DST Update available IE 7 and System Restore



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Move Win to a different partition

Moving XP to a different computer?? www.computing.net/answers/windows-xp/moving-xp-to-a-different-computer/18177.html

moving xp to a new pc www.computing.net/answers/windows-xp/moving-xp-to-a-new-pc/59301.html

How to uninstall Win XP? www.computing.net/answers/windows-xp/how-to-uninstall-win-xp/48686.html