View previous topic :: View next topic |
Author |
Message |
Tasslehoff Tux's lil' helper
Joined: 09 Jul 2003 Posts: 100 Location: BC Canada
|
Posted: Sun Aug 01, 2004 7:27 am Post subject: cant access new partition |
|
|
I am getting ready to reinstall gentoo from the currently running debian. I resized my /home (/dev/hda3) partition to make room for me to install on now I cant get at the new partition
I logged in as root
unmounted the home partition
used qtparted to resize the /home partition by a gig
comited the changes
remounted the home directory
logged out and back in as a regular user
now I have a gig of free space in the middle of my disk that is free though no partition is there
Code: |
Device Boot Start End Blocks Id System
/dev/hda1 * 1 5 40131 83 Linux
/dev/hda2 6 68 506047+ 5 Extended
/dev/hda3 69 1743 13454437+ 83 Linux
/dev/hda4 1875 4866 24029775 83 Linux
/dev/hda5 6 68 506016 82 Linux swap
|
you can kind of see the gap there between /dev/hda3 and /dev/hda4 I cant get anything to actually create a partition there. fdisk says there is no free space. cfdisk wont start but gives this error:
Quote: |
FATAL ERROR: Bad primary partition 3: Partition ends in the final partial cylinder
|
any ideas on how to get at that space? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54317 Location: 56N 3W
|
Posted: Sun Aug 01, 2004 12:26 pm Post subject: |
|
|
Tasslehoff,
You aren't going to like the answer.
You are allowed 4 primary partions or 3 primary partitions and an extended partition on each drive. The extended partition is really a container for further logical partiitons.
You are up to you maximum of 3 primaries and an extended and have resized a primary parttion to make some space. Unfortunately, you cannot now turn this space into a partion because its outside you extended partion and no further primary partition table entries are available. You can't even add it to the extended partition, because an extended partition must be contigious disk blocks.
A better partitioning scheme is
hda1 /boot
hda2 <swap>
hda3 Extended - rest of disc
hda4 (spare)
hda5 first logical parttion.
hda6... more partitions
I think you are into backing up everything, repartitioning your drive and reinstalling. Do not use a partiion image tool because the restore will be to different size partitions. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Tasslehoff Tux's lil' helper
Joined: 09 Jul 2003 Posts: 100 Location: BC Canada
|
Posted: Sun Aug 01, 2004 2:45 pm Post subject: |
|
|
You are right I dont like the answer But it makes sence, I was trying to avoid downtime but that is not going to happen. Thanks for your answer |
|
Back to top |
|
|
|