Re: sfdisk in %pre

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

 



On Wed, 19 Mar 2003 James_Martin@xxxxxxxxxxxxxxx wrote:

>I know it's possible to use fdisk in %pre to pre-create partitions, is
>sfdisk available as well?  I'm using RHAS 2.1.

Yes (at least on RHL 7.3).

>Also, where can you find which utilities are available during %pre?

Find RedHat/base/stage2.img from your installation media, and mount it
like this:

# mount -o loop,ro stage2.img /mnt/somewhere

usr/bin and usr/sbin contain most of the goodies.

>James S. Martin, RHCE
>Contractor
>Administrative Office of the United Sates Courts
United States Courts


Cheers,
Phil





[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