LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-17-2007, 02:00 PM   #1
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Rep: Reputation: 30
fdisk fails to create partition, but drive has free space


I'm totally lost and don't even know how to proceed. Below is output from fdisk when I try to create a new partition.

(I should mention that this box is hosted elsewhere, so I have to make sure whatever I do doesn't crash the box...)

OK: Start up fdisk, and look at the partition list. 80 gig hard drive, only about 12 gig partitioned out.
Code:
# fdisk /dev/hda

The number of cylinders for this disk is set to 155061.
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)

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       271    136552+  83  Linux
/dev/hda2           272      8967   4382784   83  Linux
/dev/hda3          8968     11548   1300824   82  Linux swap
/dev/hda4         11549     23985   6268248    f  Win95 Ext'd (LBA)
/dev/hda5         11549     23985   6268216+  83  Linux
Try to add a partition, error on no free sectors... WTF?
Code:
Command (m for help): n
No free sectors available
Thanks all for any help you can lend!!!
 
Old 04-17-2007, 02:08 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
The extended partition (in which you presumably want to create a new logical partition) only extends to cylinder 23985, all of which is already used. In other words, there is nowhere to create a new partition without first modifying the extended partition.
 
Old 04-17-2007, 02:13 PM   #3
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Original Poster
Rep: Reputation: 30
How safely/reliably can the extended partition be modified? Can you recommend an app for doing so?

I don't know who installed this thing, but come to think of it I've never seen an extended partition like that in Linux before...
 
Old 04-17-2007, 02:13 PM   #4
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Original Poster
Rep: Reputation: 30
(and BTW, thanks for such a quick response!)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help removing free space to create Raw free space nightmare55 Linux - Newbie 11 10-01-2009 03:07 AM
can't create partition on free space thyraios Linux - Newbie 17 02-15-2006 09:08 AM
Create new partition from existing free space distortedstar Linux - General 4 06-07-2005 09:47 PM
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 08:21 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration