Hi Mogens, Thank you so much for your help. With your suggestion I can mount CD to /dev/hda and copy files to hard drive successfully. I'm new to Fedora Core 4. Today another post installation problem bothers me a lot. In our ks.cfg file, we create an user account with /usr/bin/useradd user Then we try to use expect utility to create password for user account, as follows: echo '#!/usr/bin/expect' > passwd.expect echo 'set user [lindex $argv 0]' >> passwd.expect echo 'set newpass [lindex $argv 1]' >> passwd.expect echo 'spawn /usr/bin/passwd $user' >> passwd.expect echo 'expect word:' >> passwd.expect echo 'sleep 1' >> passwd.expect echo 'send $newpass\r' >> passwd.expect echo 'expect word:' >> passwd.expect echo 'sleep 1' >> passwd.expect echo 'send $newpass\r' >> passwd.expect echo 'expect success:' >> passwd.expect chmod a+x passwd.expect ./passwd.expect user 12345 After reboot, I found user account is created, but password for user account is not created, which means expect utility doesn't work properly during post installation. We install database during post installation, which is successful under RedHat9.0. But with Fedora Core 4, I found rm -Rf /var/nm2 >/dev/null 2>/dev/null mkdir /var/nm2 chmod -R 700 /var/nm2 chown -R postgres:postgres /var/nm2 su -l postgres -c "initdb -D /var/nm2" su -l postgres -c "initdb -D /var/nm2" doesn't work during post installation. What Can I do to make them work during Fedora Core 4 post installation? Thank you again for your help. jing # --- Mogens Kjaer <mk@xxxxxx> wrote: > 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 > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: > https://www.redhat.com/mailman/listinfo/fedora-list > __________________________________________ Yahoo! DSL ? Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com