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 10-04-2005, 10: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, 10: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-04-2005, 11:08 PM   #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-04-2005, 11:20 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
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, 10: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, 11:04 AM   #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 11:05 AM.
 
Old 10-05-2005, 11:23 AM   #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, 03:22 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
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



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 07:49 AM
Only 2.98GB space on /dev/hda...what do I do??? (installing Gentoo) TheMusicGuy Linux - General 12 10-08-2004 11:36 AM
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 05:11 AM
fdisk gives unable to read /dev/hda... mbr is gone... what can it be? slackie1000 Linux - Hardware 5 01-27-2004 04:29 AM
fdisk returns "unable to find /dev/hda" cfdisk crashes. cirofren Linux - Newbie 2 11-06-2003 12:03 AM

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

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