Re: Adding programs to %pre

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

 



James,

At %pre time, you can start mounting directories. I have successfully
mounted NFS directories in the %pre section to access tools I needed to
partition NTFS disks.

Before that, I used to create my own initrd.img, where I put all the
tools I needed (statically linked).

Both options worked fine for me.

You can also put the tools you need in a separate .img file, and mount
it at the first step in %pre :)

Marc


Le lun 08/03/2004 à 19:58, James_Martin@xxxxxxxxxxxxxxx a écrit :
> I need to add some programs that would run in the %pre section of 
> kickstart when booted from a cdrom.  From what I can guess, the %pre 
> environment is loaded from stage2.img.  I added some directories 
> (including /opt) to the stage2.img and re-burned the CD, but for whatever 
> reason, the new files I createddon't appear in /opt or /bin, but one of 
> the files does exist in /usr/sbin as I specified it.  Is stage2.img the 
> right one to modify? I also tried initrd.img, but that didn't work either. 
>  Thanks.
> 
> 
> James S. Martin, RHCE
> Contractor
> Administrative Office of the United States Courts
> Washington, DC
> (202) 502-2394
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list




[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