Re: Two Swap Partitions

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

 



Thanks for the response, Michael.

I learned that it is possible to have two swap lines in the partitioning
scheme.  I have the following lines in my ks.cfg:

part swap --size 2000
part swap --size 2000

The kernel panic was caused by some things I do in the post section.



|---------+------------------------------->
|         |           Michael Blandford   |
|         |           <mlblandf@xxxxxxxxxx|
|         |           intel.com>          |
|         |           Sent by:            |
|         |           kickstart-list-admin|
|         |           @redhat.com         |
|         |           No Phone Info       |
|         |           Available           |
|         |                               |
|         |           11/26/2003 11:16 AM |
|         |           Please respond to   |
|         |           kickstart-list      |
|         |                               |
|---------+------------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       kickstart-list@xxxxxxxxxx                                                                                    |
  |       cc:                                                                                                                    |
  |       Subject:  Re: Two Swap Partitions                                                                                      |
  >------------------------------------------------------------------------------------------------------------------------------|




Rebecca.R.Hepper@xxxxxxxxxxx wrote:

>I am working with RedHat 7.1.  I have one 80GB drive in my system.  I want
>4GB of swap.  On the internet, I read that a Linux swap partition is
>limited to 2GB, so I want to make 2 2GB swap partitions.  My current
>partitioning scheme in my ks.cfg file looks like the following:
>
>clearpart --all
>part /boot --size 16
>part swap --size 2000
>part / --size 250
>part /usr --size 4000
>part /var --size 4000 --grow
>part /usr/local --size 4000
>part /home --size 4000
>
>If I add another line for swap identical to the first one, when my system
>tries to boot after kickstart I get a kernel panic:  "kernel panic: VFS:
>Unable to mount root fs on 03:0a".  What is the syntax for creating a 2nd
>swap partition in 7.1 kickstart?
>
>
Here is an example I have on one of my boxes ( with a lot of ram ).  It
is redhat 7.1 but is using the 7.2 installer.

part / --size 400 --grow --maxsize 500
part /usr --size 2500
part /tmp --size 512 --grow --maxsize 1024
part /var --size 500

part raid.01 --size 1 --grow --ondisk sda
part raid.02 --size 1 --grow --ondisk sdb
raid /scratch --level 0 --device md0 raid.01 raid.02

part swap --size 2047 --ondisk sdb
part swap --size 2047 --ondisk sda
part swap --size 2047 --ondisk sdb
part swap --size 2047 --ondisk sda
part swap --size 2047 --ondisk sdb
part swap --size 2047 --ondisk sda
part swap --size 2047 --ondisk sdb
part swap --size 2047 --ondisk sda
part swap --size 2047 --ondisk sdb
part swap --size 2047 --ondisk sda
part swap --size 2047 --ondisk sdb
part swap --size 1850 --ondisk sda


_______________________________________________
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