Kickstart installation. Access to cdrom in %post
Hello
For my previous kickstart installation (Red Hat 9) i have used the updfstab program (part of kudzu) to update fstab and thereby get access to /dev/cdrom. I just upgraded my kickstart installation to FC 4 and now it seems that updfstab is removed, and I am unable to access my cdrom. At the end of the installation (Congratulations... etc) I press Ctrl-Alt-F2 to get to the command prompt. If I try to mount the CD-ROM (tried /dev/hda-d) it fails. The /dev directory doesn't contain any hdx-entries and I have now run out of options. I know the CD-ROM will come up as /dev/hdc if I reboot, but it doesn't seem like it is available at the end of the installtion. Any clues? Johnny Ljunggren |
In fedore theres a similar command for updfstab
fstab-sync Updates the /etc/fstab file in response to HAL events Try this and see if it works Also in fedora they have moved out of /mnt/ and cd drives get mounted in /media/ directory by default. Correct me if I am wrong Cheers Z |
zulfilee
I added the fstab-sync to my post installation for kickstart and still seem to get a error mounting the cdrom. This is my script please could someone advise ad to what I am doing wrong. %post --nochroot fstab-sync mount -t iso9660 /tmp/cdrom /mnt/source cd / mkdir -p /mnt/source cp -f /mnt/source/custom.tar /mnt/sysimage/root cd /mnt/sysimage/root tar -xf custom.tar rm custom.tar cp /mnt/sysimage/root/resource/rootprofile /mnt/sysimage/root/.bash_profile -f touch /mnt/sysimage/root/firstboot.flag Thanks in advance |
All times are GMT -5. The time now is 12:20 PM. |