Mount cdrom in %post on 2.6 kernel
Michael Boman
michael.boman at gmail.com
Tue Sep 13 23:58:25 UTC 2005
On 9/13/05, Panu Matilainen <pmatilai at laiskiainen.org> wrote:
> On Mon, 12 Sep 2005, Robert Wehner wrote:
>
> > Anyone have any ideas on how to get the CD mounted during %post in RHEL 4
> > kickstarts?
>
> Run '/sbin/udevstart' at beginning of %post which will create the
> necessary devices, worked for me at least.
I was having the same problem, and this thread helped me resolve it.
What I did was:
--8<--
%post
{
/sbin/start_udev
mkdir -p /media/cdrom
mount /dev/cdrom /media/cdrom
--8<--
This is under CentOS 4 (RHEL 4 clone)
Best regards
Michael Boman
--
IT Security Researcher & Developer
http://proxy.11a.nu
More information about the Kickstart-list
mailing list