Re-partitioning a disk during Kickstart.

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

 



I would like to create a specific disk layout...

I want specific filesystems on specific partitions in a specific order
 on specific cylinders.

What is the best way to do this?

I was going to use "--onpart" option in the kickstart config file,
 but the filesystem must already be created in order to use that.

For example....

Disk /dev/hda: 5005 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls   #blocks   Id  System
/dev/hda1   *      0+      4       5-    40131   83  Linux
/dev/hda2          5     642     638   5124735    c  Win95 FAT32 (LBA)
/dev/hda3        643     708      66    530145   83  Linux
/dev/hda4        709    4864    4156  33383070    5  Extended
/dev/hda5        709+   1346     638-  5124703+  83  Linux
/dev/hda6       1347+   1412      66-   530113+  82  Linux swap

I want to recreate this layout on several machines using Kickstart.

Is the %pre-install directive the best way to do this?

Does anyone have any suggestions?

 - dlb

-- 

+----------------------+-----------------------+-----------------------+
| Dave Bartlett        | Phone: (919) 392-2442 | Pager: (800) 796-7363 |
| ESE Lab              | Fax  : (919) 392-2116 | Pin  : 104-0576       |  
| System Administrator | Email: dlb@xxxxxxxxx  | Cisco Systems, Inc.   |
+----------------------+-----------------------+-----------------------+





[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