What could be done in %pre ?

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

 



What could be done in the %pre section? And how do you do it?

I had rebuilt the intial ram disk so it includes sfdisk, but when I 
attemt to use it in the %pre section it does nothing. 
Anaconda/kickstart continues on its merry way. It doesn't do what I want
(I don't even know if it attempts to or not, there are no errors or 
outputs anywhere).

The ram disk I rebuilt is the /Redhat/base/stage2.img . Is/was this the 
right one to add sfdisk too? I made hard paths to all files/dev, 
/usr/sbin/sfdisk, /tmp/sda, & /tmp/sdb . Here is the line I used in the 
%pre section:
/usr/sbin/sfdisk -d /tmp/sda | sfdisk /tmp/sdb

Any ideas or suggestions?

TIA

Steve





[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