Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Name: dlublink
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 XPI 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

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

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

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

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

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

"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.

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

![]() |
2007 DST Update available
|
IE 7 and System Restore
|

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