[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Who's Right ... Parted or NT Disk Admin???
From: |
Sean Cooper |
Subject: |
Who's Right ... Parted or NT Disk Admin??? |
Date: |
Fri, 25 Jan 2002 15:46:42 -0500 |
I have a machine that triple boots 98SE, Win NT server 4.0, and Redhat 6.2. I
want to decrease the size of
the windoze partitions and increase /home and also swap (I added more RAM).
parted says (comments far right in []):
1 0.31 2047.346 primary FAT boot
[Win 98]
2 2047.346 14668.725 extended
6 2047.408 2070.878 logical ext2
[aka /boot or /dev/hda7]
7 2070.910 6338.144 logical ext2
[aka / or /dev/hda6]
8 6338.175 6408.742 logical linux-swap
[SWAP or /dev/hda8]
5 6408.773 8456.088 logical ntfs
[aka Win NT]
NT4 Disk Administrator looks like this:
| WIN 98SE | WINNT 4.0|"/boot" |"/"
|"/swap" |"free space" |
+----------------------------------------------------------------------------------------------------
+
| WIN 98SE | WINNT 4 | Linux | Linux | Linux | Free
Space |
| FAT | NTFS | Ext2 | Ext2 | swap |
|
| 4GB | 4GB | 23 MB | 4 GB | 70MB | 8GB
|
+----------------------------------------------------------------------------------------------------
+
(I apologize if this diagram is scrambled -- I tried)
The confusing part is that NT4 Disk Administrator shows the NT partition more to
the left (earlier
in the disk) than parted says that it is. So I'm not sure if NT is where parted
says it is or if
Disk Admin is correct.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Doing this seems like the right idea but with the wrong numbers:
remove the existing swap space rm 8
extend the existing / to cover the old swap resize 7
2070.910 6408.000
make a new 4gb /home fs where / ends mkpartfs
logical ext2 6408.742 10504
(This would overwrite NT-- NG)
make a new 320MB swap fs at the end of /home mkpartfs logical
linux-swap
10505.000 10825
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Doing this seems like the right idea with the right numbers, but if parted is
wrong ....
remove the existing swap space rm 8
extend the existing / to cover the old swap resize 7
2070.910 6408
make a new 4gb /home fs where NTFS ends mkpartfs
logical ext2 8457 12553
(This would preserve NT)
make a new 320MB swap fs at the end of /home mkpartfs logical
linux-swap 12554 12874
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Then I copy old /home to the new /home, edit /etc/fstab, /sbin/lilo etc ....
Bottom Line -- I'm not sure if NT is where parted says it is or if Disk Admin is
correct.
I'm using parted 1.4.21 from the boot disk image -- who's right parted or NT???
I'm guessing that it's
Parted, but I need to be sure about it.
TY
scoop
- Who's Right ... Parted or NT Disk Admin???,
Sean Cooper <=