Click to See Complete Forum and Search --> : Adding preformatted XP drive


tambo
03-27-2004, 06:14 AM
Greetings

My pentium machine has died (sad, I know). Rather than bother repairing it and having two PC's I plan cannibalise it and take the hard disk (WinXP, NTFS) and install it into my Linux box on the spare IDE channel.

The Linux box (running Mandrake 9.1) already duel-boots (lilo) with win2k. I suppose my question is:

Can I simply plug-in the drive with XP and expect mandrake to recognise it and make the neccessary changes?

If not could someone advise me how to prepare the Linux box for it's new addition?

Thanks.

Rickead2000
03-27-2004, 07:15 AM
If you install the drive correctly (i.e. correct jumper setting and right channel), linux will detect the drive on bootup.

You will then probably need to add a line similar to this to your /etc/fstab

/dev/hd(?) /mnt/old_ntfs ntfs umask=0

Don't forget to create a /mnt/old_ntfs directory

tambo
03-27-2004, 07:27 AM
Thanks.

I'll give that a go this weekend.

Do you know, will I also have to edit my lilo.conf as well?

RE your sig, it's that philosophy that got me in this situ in the first place!!LOL:D

Rickead2000
03-27-2004, 07:35 AM
Originally posted by tambo
RE your sig, it's that philosophy that got me in this situ in the first place!!LOL:D

heh, you have NO IDEA how many motherboards I have broken forcing ram and things into them!

As for lilo, unless you're intending to boot the OS on that drive, you will not need to edit your lilo.conf file

ShieldWolf
03-28-2004, 06:59 PM
As long as you set the jumpers on the drive correctly, you should be able to set where the drive's mounted, and edit your bootloader from the Mandrake Control Center.

mdwatts
03-29-2004, 11:43 AM
If you want to boot XP on the second HD, add

other=/dev/hdb1
label = WINXP
map-drive = 0x81
to = 0x80
map-drive = 0x80
to = 0x81

to /etc/lilo.conf and then run /sbin/lilo (both as root).

Change hdb1 to the correct system partition for XP.