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

Re: Mount cdrom in %post on 2.6 kernel



On 9/13/05, Panu Matilainen <pmatilai 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


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