LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-20-2005, 12:03 AM   #1
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
fdisk: no sectors available? ? ?


guys is there something wrong with what i have done? ?

i did this :

fdisk /dev/hdc

~ n (new partition)

~ p (primary)
l (logical)

after choosing l, here is the output

no sectors available..

here is my fdisk -l:

Disk /dev/hdc: 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/hdc1 1 3875 1952968+ 83 Linux
/dev/hdc2 3876 57280 26916120 5 Extended
/dev/hdc5 3876 3972 48856+ 83 Linux
/dev/hdc6 3973 4964 499936+ 82 Linux swap
/dev/hdc7 4965 8839 1952968+ 83 Linux
/dev/hdc8 8840 12714 1952968+ 83 Linux
/dev/hdc9 12715 24340 5859472+ 83 Linux
/dev/hdc10 24341 57280 16601728+ 83 Linux

Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2449 19671561 c W95 FAT32 (LBA)
/dev/hda2 2450 4998 20474842+ f W95 Ext'd (LBA)
/dev/hda5 2450 4998 20474811 b W95 FAT32
 
Old 12-20-2005, 01:18 AM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
The extended partition has no available space with which to create another logical partition.

There is plenty of space to create two primary partitions or you can increase the size of the extended partition and create more logical partitions within it.
 
Old 12-20-2005, 05:00 AM   #3
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
do you mean i have to create another primary partition to be able to have a logical partition? ? m i right?

meaning, i can't directly create another logical partition anymore?
 
Old 12-20-2005, 10:23 AM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Logical partitions can only be created within an extended partition. See the Partition HowTo for more details about logical partitions: http://www.ibiblio.org/pub/Linux/doc...n.html#logical

If you want to add more logical partitions, then you need to enlarge the extended partition to create some unused space for more logical partitions. The simplest way to enlarge the extended partition is to delete it, recreate it as a larger size and then recreate the logical partitions that are currently in place. Be sure to use the same partition numbers when you recreate the partitions. Also, no logical partitions can be mounted while you are doing this, for obvious reasons.

When you delete the extended partition, you will also be deleting all current logical partitions, so be sure to keep a printed record of the “fdisk -l” output showing starting and ending cylinders. You will need that info to recreate the logical partitions.

Deleting a partition does not destroy the filesystem it contains, but recreating the logical partition in the wrong locations will eventually destroy it. So be sure to back up all important data before doing this, because you might loose everything in the extended partition if something goes wrong.
 
Old 12-27-2005, 02:38 AM   #5
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
guys here is what i did:

cfdisk /dev/hdc THEN I specified the amount of space i want...after that.. I chose the linux (file system) and then WRITE it... NOW after doing this.. how can i make it reiserfs? ?? coz aftr rebooting here was the message:

wrong fstype, bad option, bad superblock on /dev/hdc11 (hdc11 was the created partition)

please help me on this..
 
Old 12-29-2005, 06:08 PM   #6
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
hmm.. this was solved..thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fdisk -- no free sectors available; i have a few gigs free??? lowpro2k3 Linux From Scratch 5 02-03-2009 01:43 AM
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 10:26 PM
why don't sectors begin with zero tdxloki General 2 10-30-2005 02:07 AM
fdisk "No free sectors Available" xfezz Linux - General 3 04-21-2005 10:25 AM
hiding sectors porous Linux - Hardware 1 10-12-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:11 AM.

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