With Fedora Core 4 ---- how to access CD during post installation

Mogens Kjaer mk at crc.dk
Wed Dec 7 07:56:09 UTC 2005


jing han wrote:
...
> mounta.log shows: mount: special device /dev/hda does
> not exist
...

This is your problem.

During the %post phase, you're chroot'ed into your
new installation.

In RH9, you would have a fully populated /dev
folder with thousands of files for all possible
devices.

In FC4, this is handeled by udev, i.e.
the nodes are created when needed. However, in
the installation phase, udev isn't started, so
/dev is empty.

So you would have to create the node manually:

If your cdrom drive isn't named hda, you'll have
to change accordingly:

mknod /dev/hda b 3 0
mount /dev/hda ...
...
...
umount /dev/hda
rm /dev/hda

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk




More information about the fedora-list mailing list