how to mount cdrom in postinstall?

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

 



Hi,

Does anyone have a solution to mounting the cdrom in postinstall?
Initially I thought /dev/cdrom was available (thought I tested it and saw
that it DID exist during postinstall).  How does /dev/cdrom get created
for you?  Because immediately following a kickstart installation,
/dev/cdrom exists after you first boot into linux. 

Regardless; I need a way to mount the cdrom in postinstall (be it /dev/hda
on a scsi/ide system, /dev/sdb on a scsi or what have you).  I know
anaconda has it's own way of testing each device, depending on local
install type, to see which device is the cdrom, but how might I achieve
reliable identification of the cdrom device during postinstall on an
arbitrary system each and every time regardless of hardware type.  I need
this piece in place in order to make running python based postinstall
scripts directly off the cdrom.  And NO I don't want to install them on
the system as an RPM during phase 2. 

Thanks in advance,

Mike





[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