LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-04-2005, 11:14 PM   #1
jonnyblinux
Member
 
Registered: Oct 2005
Location: Maine
Posts: 51

Rep: Reputation: 15
fdisk /dev/hda not enough space


I think I know why this is doing this but I want to make sure. I have a SATA-0 in my bios which is a 160gig harddrive.
-I've booted from slackware iso cd,
-logged in as root

However when I do fdisk /dev/hda1 it will say when trying to make a 2nd primary partition .. not enough space. What should be the label for that 160 gig harddrive , in bios its listed as SATA-0 and this is a 64bit Pentium D system. Is it hda2 hda3 etc
Confused
 
Old 10-04-2005, 11:53 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
What should be the label for that 160 gig harddrive
Try
Code:
fdisk -l
for details on the disk and its partitions.

Quote:
However when I do fdisk /dev/hda1
Is that a typo? You want to refer to the device, not the partition. (So in your example it should be /dev/hda.)
 
Old 10-05-2005, 12:08 AM   #3
jonnyblinux
Member
 
Registered: Oct 2005
Location: Maine
Posts: 51

Original Poster
Rep: Reputation: 15
instead of hda ?

Yeah thats just a typo, trying to figure out what a SATA-0 harddrive should be called .. the place its specified for.. like /dev/hda or /dev/sda etc.. know which one ? Right now if I do fdisk/dev/hda and partition, it gives me a space error like .. not enough space in drive.

Heres what she says..

print
Disk /dev/hda: 664 MB, 664741888 bytes
255 heads, 63 sectors/track, 80 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

So im pretty sure thats not partitioning the 160 gig harddrive that I want, guessing its something else. 1st full month of linux slackware bare with me. What should I use instead of hda ?
 
Old 10-05-2005, 12:20 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,062

Rep: Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672
You were asked to do a "fdisk -l" (ell as in list).
If you expect help please provide the info requested so we can.
 
Old 10-05-2005, 11:45 AM   #5
jonnyblinux
Member
 
Registered: Oct 2005
Location: Maine
Posts: 51

Original Poster
Rep: Reputation: 15
nothing

Hey.. I tried the fdisk -l all it does it bring me to the same prompt

root@slackware:/# fdisk -l
root@slackware:/#

Thats it.
 
Old 10-05-2005, 12:04 PM   #6
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Maybe a slackware expert can help you. It does not appear to be seeing your SATA drive.

To doublecheck you can try the
Code:
hwinfo > hw-log
command. Then review the hw-log file for clues.

Good luck.

Last edited by anomie; 10-05-2005 at 12:05 PM.
 
Old 10-05-2005, 12:23 PM   #7
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
Have you seen this? http://www.bitbenderforums.com/vb22/...?postid=311808

I'm not sure if this will help with your current problem but there is some excellent advice about partitioning for slackware in that post.
 
Old 10-05-2005, 04:22 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,062

Rep: Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672Reputation: 3672
Re: nothing

Quote:
Originally posted by jonnyblinux
Hey.. I tried the fdisk -l all it does it bring me to the same prompt

root@slackware:/# fdisk -l
root@slackware:/#

Thats it.
Yeah but you didn't tell us. Might appear that the command didn't tell you anything, but that in itself is useful. You can't partition what the hardware can't see.
Which Slack kernel are you booting from the CD ??? - try sata.i instead
Hopefully should work, although some people have had problems with it as well.

BTW, I'd be betting that the /dev/hda you are having trouble with is a CD drive.
 
  


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: unable to open /dev/hda andykerouac Linux - Newbie 7 07-18-2008 08:49 AM
Only 2.98GB space on /dev/hda...what do I do??? (installing Gentoo) TheMusicGuy Linux - General 12 10-08-2004 12:36 PM
How can I boot either one of my hard drives /dev/hda or /dev/hdb, I have RH9 and FC2 omogunkristi Linux - General 1 06-21-2004 06:11 AM
fdisk gives unable to read /dev/hda... mbr is gone... what can it be? slackie1000 Linux - Hardware 5 01-27-2004 05:29 AM
fdisk returns "unable to find /dev/hda" cfdisk crashes. cirofren Linux - Newbie 2 11-06-2003 01:03 AM

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

All times are GMT -5. The time now is 02:04 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