LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Unable to write /dev/hda--during installation (https://www.linuxquestions.org/questions/linux-hardware-18/unable-to-write-dev-hda-during-installation-201726/)

SeanatIL 07-06-2004 09:49 AM

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

finegan 07-06-2004 01:23 PM

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

SeanatIL 07-06-2004 03:54 PM

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,

finegan 07-06-2004 06:13 PM

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

SeanatIL 07-07-2004 05:22 PM

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


finegan 07-08-2004 01:40 AM

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


All times are GMT -5. The time now is 06:45 AM.