hi,
i have a dual boot system (xp pro with 2 ntfs drives, and red hat 9 with 2 jfs drives) and i want to do the following:
1. delete the xp partitions
2. add the drives into red hat
3. format them to jfs
4. do all this without reinstalling the os
here is fdisk output:
# fdisk -l
Disk /dev/hdg: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdg1 * 1 13 104391 83 Linux
/dev/hdg2 14 14816 118905097+ 83 Linux
/dev/hdg3 14817 14946 1044225 82 Linux swap
Disk /dev/hdh: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdh1 * 1 9726 78124063+ 7 HPFS/NTFS
Disk /dev/hda: 10.0 GB, 10005037056 bytes
240 heads, 63 sectors/track, 1292 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1291 9759928+ 7 HPFS/NTFS
Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 2434 19551073+ 83 Linux
i have a dual boot system (xp pro with 2 ntfs drives, and red hat 9 with 2 jfs drives) and i want to do the following:
1. delete the xp partitions
2. add the drives into red hat
3. format them to jfs
4. do all this without reinstalling the os
here is fdisk output:
# fdisk -l
Disk /dev/hdg: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdg1 * 1 13 104391 83 Linux
/dev/hdg2 14 14816 118905097+ 83 Linux
/dev/hdg3 14817 14946 1044225 82 Linux swap
Disk /dev/hdh: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdh1 * 1 9726 78124063+ 7 HPFS/NTFS
Disk /dev/hda: 10.0 GB, 10005037056 bytes
240 heads, 63 sectors/track, 1292 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1291 9759928+ 7 HPFS/NTFS
Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 2434 19551073+ 83 Linux