KS won't partition drives

Keegan, Gordon Gordon.Keegan at FMR.COM
Wed Aug 11 14:39:15 UTC 2004


There isn't an ext3 filesystem or swap area on sda4.  Since it is the
last primary partition, sda4 becomes the Extended partition which then
contains sda5 thru sda8:


# fdisk /dev/sda

.....

Command (m for help): p

Disk /dev/sda: 255 heads, 63 sectors, 8908 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        16    128488+  83  Linux
/dev/sda2            17       277   2096482+  82  Linux swap
/dev/sda3           278       538   2096482+  83  Linux
/dev/sda4           539      8908  67232025    5  Extended
/dev/sda5           539       799   2096451   83  Linux
/dev/sda6           800       929   1044193+  83  Linux
/dev/sda7           930      1059   1044193+  83  Linux
/dev/sda8          1060      1189   1044193+  83  Linux

Command (m for help): q


# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda3              2063536    822132   1136580  42% /
/dev/sda1               124427     24143     93860  21% /boot
/dev/sda8              1027768     16600    958960   2% /export/home
/dev/sda7              1027768    103052    872508  11% /app1
none                   2317152         0   2317152   0% /dev/shm
/dev/sda6              1027768     16468    959092   2% /tmp
/dev/sda5              2063504     76748   1881936   4% /var


You're welcome!
Gordon


----- Original Message -----
thanx
and please can you tell me how the partitions were named any sda4 is
present

john

----- Original Message -----
From: "Keegan, Gordon" <Gordon.Keegan at FMR.COM>
To: "Discussion list about Kickstart" <kickstart-list at redhat.com>
Sent: Tuesday, August 10, 2004 11:08 PM
Subject: RE: KS won't partition drives


> Our slightly different experience is that for kickstaring Advanced
> Server 2.1, we specify "--asprimary" for the swap partition, then have
> ks.cfg create 6 additional parirtitions.  I can't say offhand if it's
> the --asprimary or something else, but we are kickstarting 7
(non-raid)
> partitions just fine.  The relevant section in our ks.cfg:
>
>    clearpart --all --initlabel
>    part  swap        --size 2047   --asprimary  --ondisk sda
>    part /boot        --fstype ext3 --size 128   --ondisk sda
>    part /            --fstype ext3 --size 2047  --ondisk sda
>    part /var         --fstype ext3 --size 2047  --ondisk sda
>    part /tmp         --fstype ext3 --size 1023  --ondisk sda
>    part /app1        --fstype ext3 --size 1023  --ondisk sda
>    part /export/home --fstype ext3 --size 1     --ondisk sda --grow
> --maxsize 1024
>





More information about the Kickstart-list mailing list