Results 1 to 2 of 2
Folks, I have dual boot set up on my machine with WinXP and Fedora Core 1. This is how my partition table looks: [root-at-Eklavya root]# fdisk /dev/hda The number of ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-05-2005 #1
- Join Date
- Mar 2005
A New Partitioning Problem
I have dual boot set up on my machine with WinXP and Fedora Core 1. This is how my partition table looks:
[root-at-Eklavya root]# fdisk /dev/hda
The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 784 6297448+ 12 Compaq diagnostics
/dev/hda2 * 785 2743 15735667+ 7 HPFS/NTFS
/dev/hda3 2744 7205 35841015 f Win95 Ext'd (LBA)
/dev/hda4 7206 9601 19245870 83 Linux
/dev/hda5 2744 7205 35840983+ 7 HPFS/NTFS
hda4 is where the root(/) partition is present and hda5 is actually UNALLOCATED space ie. there is no filesystem on it. Since i donot have a linux-swap partition on my machine i want to convert this unallocated space to a swap partition. When i try to add the swap partition using fdisk specifying cylinder #'s 9602 onwards, it says 'value out of range'. I do not understand why is fdisk does not allow me to create a swap partition when it is not even allocated; its raw space on the hard disk. Please help. Thanks very much.
- 03-06-2005 #2
- Join Date
- Feb 2005
look carefully and you will notice that hda5 is actually between 2744 7205, "earlier" than hda4.
easy way would be: delete hda5, and recreate then change the hard disk attribute to 82/83/cant_remember_the_hex_code