LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2004, 04:58 PM   #1
andykerouac
LQ Newbie
 
Registered: Jan 2004
Posts: 11

Rep: Reputation: 0
fdisk: unable to open /dev/hda


I got my hands on a P2 laptop that has been sitting around. I am trying to install Slackware Linux. however, I can't create any partitions using fdisk. I get a "Unable to open /dev/hda" message when I try to. Is this machine hosed or what?

Thanks
 
Old 02-04-2004, 05:18 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Maybe it's setup incorrectly in the bios. Normally, you would want it to be primary master.
 
Old 02-04-2004, 05:38 PM   #3
andykerouac
LQ Newbie
 
Registered: Jan 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Interestingly enough, when I go into BIOS setup, it indicates I don't have a built in hard drive but I do have a Int Selectable Bay. (Weird?) I have a Toshiba Tecra 8000 P2 laptop. The following is the BIOS info.

Built-in HDD = No Drive
Int Selectable Bay = Secondary IDE(170H/IRQ15)

What do I do now?
 
Old 02-04-2004, 05:39 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
try /dev/hdb, or actually if it's secondary ide, /dev/hdc. what does it show for the cdrom?

Last edited by Peacedog; 02-04-2004 at 05:43 PM.
 
Old 02-04-2004, 05:49 PM   #5
andykerouac
LQ Newbie
 
Registered: Jan 2004
Posts: 11

Original Poster
Rep: Reputation: 0
fdisk /dev/hda => Unable to open /dev/hda
fdisk /dev/hdb => Unable to open /dev/hdb
fdisk /dev/hdc => (This runs the CDROM) So it sees this, and of course it indicates that "You will not be able to write the partition table .."

This is what I have tried.
 
Old 02-04-2004, 05:55 PM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
Built-in HDD = No Drive
This may seem a little to obvious but is the hard drive actually in your computer? If so, it sounds like it's not seated properly or just plain bad.
 
Old 07-17-2008, 02:50 AM   #7
tester^_^
Member
 
Registered: Apr 2006
Location: somewhere in malaysia
Distribution: redhat
Posts: 78

Rep: Reputation: 15
hi. why i got this result?

Disk /dev/hda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 5099 40957686 7 HPFS/NTFS
/dev/hda2 5100 5112 104422+ 83 Linux
/dev/hda3 5113 9726 37061955 8e Linux LVM
[root@firdaus ~]# parted /dev/hda3
GNU Parted 1.8.1
Using /dev/hda3
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Error: Unable to open /dev/hda3 - unrecognised disk label.
(parted)
 
Old 07-18-2008, 07:49 AM   #8
FranDango
Member
 
Registered: Jun 2008
Posts: 101

Rep: Reputation: 15
As for the original question:

Run 'fdisk -l' to see what available disks the system can find. If the disk is there physically, but not shown in the list, then it's either corrupted or unsupported.

You could still use the laptop with a LiveCD, if you do not want to buy another HDD.


As for the new-thread-in-a-thread by 'tester ^ ^':
your /dev/hda3 partition is a logical volume, that's the reason why gparted doesn't deal with it.

Linux Archive

Last edited by FranDango; 09-20-2008 at 05:33 AM.
 
  


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 /dev/hda not enough space jonnyblinux Linux - Software 7 10-05-2005 03:22 PM
unable to zero /dev/hda fgnoser Linux - Software 5 05-04-2005 09:07 AM
Unable to write /dev/hda--during installation SeanatIL Linux - Hardware 5 07-08-2004 01:40 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 - Newbie

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