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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx Homepage: http://www.crc.dk


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux