Re: Mount cdrom in %post on 2.6 kernel

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

 



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


[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