Re: how to mount cdrom in postinstall?

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

 



Erik Troan <ewt@xxxxxxxxxx> wrote:

> Run "updfstab" in the %post, and the cdrom stuff will get created.

So there is a way to mount the cdrom in %post ? I was under the
impression that the cdrom couldn't be mounted in the %post chrooted
enviroment, because it was allready mounted in the non-chrooted
enviromnet.

So, correct me if I'm wrong, but you could the following in &post, and
it will work:

# updfstab
# mount -t iso9660 /dev/cdrom /mnt/cdrom
# cp /mnt/cdrom/?whatever? /?wherever?

this will simiplfy some of the ks.cfg cripts and make it much easier for
me to write a company manual on how to create a self-install disk.

tia

Steve





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux