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 - 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-06-2004, 09:49 AM   #1
SeanatIL
LQ Newbie
 
Registered: Jun 2004
Location: IL
Posts: 24

Rep: Reputation: 15
Unable to write /dev/hda--during installation


Hi folks,
I have a problem when I tried to install a Embedix(embedded linux version) on to my PC. Here is what I happened.

My colleague made a bootable CD for me and I boot my PC from CD-rom. When I run /mnt/cdrom/boot/deploy, it asked me to do "fdisk".
After I ran fdisk /dev/hda and setup disk configuration, I tried to write the disk setup. The error message was "Unable to write /dev/hda"
Then I 'df' the system, the output is
>df
/dev/ram0 ... 54% /
/dev/hda ...100% /mnt/cdrom

It seems /dev/hda is mounted to cdrom, how can I handle it? Thanks
 
Old 07-06-2004, 01:23 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
That's backwards, somehow it detected the cdrom as /dev/hda but you're saying you were able to fdisk /dev/hda?

dmesg | grep hd

See what's where...

Cheers,

Finegan
 
Old 07-06-2004, 03:54 PM   #3
SeanatIL
LQ Newbie
 
Registered: Jun 2004
Location: IL
Posts: 24

Original Poster
Rep: Reputation: 15
By the way, I notice that there are two CD-drive physically on my desktop--does that cause problem?
No, I can't fdisk the /dev/hda because it's a CDROM. I want to fdisk my harddisk and install embedix (a small linux) on it.

>dmesg |grep hd

hda: Lite-On LNT486 48x Max ATAPI CDROM drive
hda: ATAPI 48x CDROM drive 120KB Cache

Thanks,
 
Old 07-06-2004, 06:13 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
From that it doesn't look like its seeing your harddrive at all... Is the drive attached to anything odd? ata100 controller? raid controller?

Cheers,

Finegan
 
Old 07-07-2004, 05:22 PM   #5
SeanatIL
LQ Newbie
 
Registered: Jun 2004
Location: IL
Posts: 24

Original Poster
Rep: Reputation: 15
ata100 controller. Is it possible my colleague gave me a 'bad' bootable CD? But it does boot the Linux



Quote:
Originally posted by finegan
From that it doesn't look like its seeing your harddrive at all... Is the drive attached to anything odd? ata100 controller? raid controller?

Cheers,

Finegan
 
Old 07-08-2004, 01:40 AM   #6
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Nah, most likely it looks like the boot kernel didn't have support for that compiled in. Embeddix I've never heard of, and if its for embedded devices will it even work on x86 hardware? If its just got a funny name and prides themselves on smallness, then that's most likely the problem, they cut support for a lot of stranger devices out of the kernel... yeah, including ata100 controllers.

Cheers,

Finegan
 
  


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
unable to zero /dev/hda fgnoser Linux - Software 5 05-04-2005 09:07 AM
Installing Slackware (Unable to read dev/hda mickx27 Slackware 7 03-13-2004 09:49 PM
fdisk gives unable to read /dev/hda... mbr is gone... what can it be? slackie1000 Linux - Hardware 5 01-27-2004 04:29 AM
Lilo installation -> /dev/hda is read only ThePlague Linux - Hardware 6 06-05-2003 09:51 AM

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

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