LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-25-2007, 09:51 PM   #1
ep103
LQ Newbie
 
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
new Linux user, major cfdisk confusion


Hey guys,
I just dug up an old, beaten up dell inspiron (7500), and have been attempting to install damn small linux on the machine. The issue is that when I attempt to partition the hard drive, I've had absolutely no success, and am already in a bit over my head.
running cfdisk /dev/hda or cfdisk /dev/sda both return Fatal Error: Cannot open disk drive.

the only two commands I've gotten any response from are
sbin/fdisk -l /dev/hda0 which gives me :
Disk /dev/hda0: 0 MB, 0 bytes
255 heads, 63 sectlrs/track, 0 cylinders
Units = cyldinders of 16065 * 512 = blah bytes

followed by

Disk doesn't contain a valid partition table

and

cfdisk /dev/hda0
which returns: Opened disk read-only - you have no permission to write, Fatal Error cannot get disk size.


I'm googling furiously, but am in way over my head. Little help please?
(sorry for the long post, any response appreciated)

I should mention that I know this drive was working A-OK, maybe a few days before I got it, so I'd put a lot of money on the idea that he just did some sort of wipe on it before giving it to me. Point is, it wasn't a bad disk.
 
Old 07-25-2007, 10:18 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Try "cfdisk -Ps /dev/hda"
 
  


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
user/group confusion.. Shioni Linux - General 1 03-06-2007 07:51 AM
Mount NTFS user and group confusion. smudge|lala Linux - Hardware 10 10-21-2006 12:56 PM
Postfix User forwarding confusion rbonafied Linux - Networking 9 11-20-2005 10:30 AM
major printing confusion shellcode Linux - General 3 04-02-2004 08:29 PM
Major Confusion--Help Needed mooreted Linux - Software 2 06-17-2003 07:46 AM

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

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