Hello,
to answer your question.
Sure, you can easily access your cdrom during the post stage.
The easiest way to accomplish this, or atleast the way I do it is like this.
After the %post declaration, simply add these lines:
mkdir /mnt/cdrom
mount /tmp/cdrom /mnt/cdrom
The cdrom device file is located at /tmp/cdrom.
On a side note, the cdrom is mounted in /mnt/source during pre.
Good luck with your project and don't hesitate to post more questions.
Quote:
Originally posted by tuppe
I am building a custom install CD of redhat 9 and I have a few questions:
I there a way to access the install CD to copy files from it from within the post_install script?
Cheers,
Tuppe.
|
Edit: Typo