Re: need help for compaq dl360 with smart array .

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

 



On Mon, 10 Dec 2001, pierre-yves.verdon wrote:

>
> > Did you try setting up ryou dl360 by hand first to determine the values to
> > put into the fdisk command in your %pre section?  If so, can you show us
> > your the system config and %pre sections of your ks.cfg file?
> http://www.redhat.com/mailing-lists/kickstart-list/msg01127.html
>
> i apologize, i don't understand the meaning of "echo |" in your %pre
> section, could you explain
>
>
>
> %pre
>
>      # create the disk device
>      mkdir /dev/ida
>      mknod /dev/ida/c0d0 b 72 0
>      mknod 660 /dev/ida/c0d0
>
>      # partition the disk
>      # don't erase existing Compaq diagnostics partition
>      echo | fdisk /dev/ida/c0d0 <<EOF


this line takes each of the following lines (up to but not including the
line "EOF") and echoes it to the fdisk command.  What you see in each line
is a command or argument to the fdisk command.  That is,
  - a line will tell fdisk to create a new partition
  - the next line will tell fdisk what partition to create
  - the next line will tell fdisk where the partition is to start
  - the next line will tell fdisk how big to make the partition
and so on.  There are also lines to create a swap partition and to write
out the partition table changes.

I determined the fdisk commands and arguments (sizes, etc.) by doing one
manual installation of a system and writing down every fdisk command.  I
then used that information to create my disk partitioning command in the
kickstart %pre section.

Carl G. Riches
Software Engineer
Department of Mathematics
Box 354350			voice:     206-543-5082 or 206-616-3636
University of Washington	fax:       206-543-0397
Seattle, WA  98195-4350		internet:  riches@xxxxxxxxxxxxxxxxx






[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