Click to See Complete Forum and Search --> : Swapping drives


LiNuts
08-02-2001, 09:05 PM
I currently have two hdd's in my system, Drive 1 is a 8.4 Gb with two partitions (4.2Gb - hda1-windows) and (4.2Gb -hda-5 - hda10 - linux partitions) and a 1.4Gb drive 2.( hdc1 - storage drive).

I now want to put windows on the 1.4Gb drive and use the 8.4Gb drive for linux and as a test drive, split up into two 4.2Gb each. Is there a way to do this without having to start from scratch, ( I.E. I dont want to re-install my Linux.)
Cheers
LiNuts

EDIT: I guess i didn't explain it very well, If i back up the 1.4gb drive and then delete and re-install windows to the 1.4Gb drive, All my linux partitions will be changed?, I am presuming that the smaller drive will become hda1 (windows) and that all my other partitions will alter,
My linux partitions are this.
hda5 = /
hda6 = swap
hda7 = user
hda8 = var
hda9 = home
hda10 = boot
I hope this makes it a bit clearer
LiNuts

[ 02 August 2001: Message edited by: LiNuts ]

MBMarduk
08-02-2001, 09:30 PM
AFAIK Winduhs needs to be /dev/hda1 no matter what, so depending on your BIOS it'll need to be master on IDE bus no.1 (or not).

MandK_10
08-02-2001, 09:33 PM
Originally posted by LiNuts:
<STRONG>I currently have two hdd's in my system, Drive 1 is a 8.4 Gb with two partitions (4.2Gb - hda1-windows) and (4.2Gb -hda-5 - hda10 - linux partitions) and a 1.4Gb drive 2.( hdc1 - storage drive).

I now want to put windows on the 1.4Gb drive and use the 8.4Gb drive for linux and as a test drive, split up into two 4.2Gb each. Is there a way to do this without having to start from scratch, ( I.E. I dont want to re-install my Linux.)
Cheers
LiNuts

EDIT: I guess i didn't explain it very well, If i back up the 1.4gb drive and then delete and re-install windows to the 1.4Gb drive, All my linux partitions will be changed?, I am presuming that the smaller drive will become hda1 (windows) and that all my other partitions will alter,
My linux partitions are this.
hda5 = /
hda6 = swap
hda7 = user
hda8 = var
hda9 = home
hda10 = boot
I hope this makes it a bit clearer
LiNuts

[ 02 August 2001: Message edited by: LiNuts ]</STRONG>

Your linux partitions will become
hdb5 = /
hdb6 = swap
hdb7 = user
hdb8 = var
hdb9 = home
hdb10 = boot

Your old Windows partition will be
hdb1 = vfat

your small drive will be hda1

You will not lose your linux information but lilo or grub (whatever you are using) will have to be told that your boot partition is hdb10 now.

Mike