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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-20-2005, 12:03 AM
|
#1
|
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:
|
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
|
|
|
12-20-2005, 01:18 AM
|
#2
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
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.
|
|
|
12-20-2005, 05:00 AM
|
#3
|
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:
|
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?
|
|
|
12-20-2005, 10:23 AM
|
#4
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
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.
|
|
|
12-27-2005, 02:38 AM
|
#5
|
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:
|
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..
|
|
|
12-29-2005, 06:08 PM
|
#6
|
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:
|
hmm.. this was solved..thanks
|
|
|
All times are GMT -5. The time now is 05:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|