Re: %post commands ignored

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

 



Charles Howse wrote:
Greetings,

I am doing a Kickstart install of RH 7.3 from /dev/hdc2, a partition
which holds the .iso images in addition to other files.

You should be able to put entries in the %post section (you don't want --nochroot) to create the /redhat directory, and add an entry to /etc/fstab to mount hdc2 on /redhat.

%post
mkdir /redhat
echo "/dev/hdc2  /redhat  ext2  defaults  1 2" >> /etc/fstab

If the %post section is not working, try looking on VT4 or VT5 for any errors (Ctrl+Alt+F4/F5).

Forrest

--







[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