RE: Problems partitioning 2 hard drives in the ks.cfg file

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

 





"Taylor, ForrestX" <forrestx.taylor@xxxxxxxxx>@redhat.com on 07/19/2001
03:20:51 PM

Please respond to kickstart-list@xxxxxxxxxx

Sent by:  kickstart-list-admin@xxxxxxxxxx


To:   "'kickstart-list@xxxxxxxxxx'" <kickstart-list@xxxxxxxxxx>
cc:

Subject:  RE: Problems partitioning 2 hard drives in the ks.cfg file


Looking back at your old mail, you used the format:


part /boot --size 16 --onpart hda1
part swap --size 512 --onpart hda2
part /usr --size 1000 --grow --maxsize 2000 --onpart hda5
part /usr/local --size 1000 --grow --maxsize 2000 --onpart hda6

If the partitions are pre-existing, don't put --size, --grow, or --maxsize.
Also, don't use clearpart.
You should be able to do:

part /boot --onpart hda1
part swap --onpart hda2
part /usr --onpart hda5
part /usr/local --onpart hda6
etc.

I know that several people have used the %pre section to partition their
disk before the installation starts, and then use --onpart to put the
partitions in place, so I think that the above will work.

Forrest



Forrest,

The current system does have pre-existing partitions so I tried as you
suggested above and received errors.  I saved them to a disk and pasted a
portion of the file called anacdump.txt below.

What do I do if I want to wipe out everything (whether it be windows or
existing linux partitions) and repartition the drive?


Traceback (innermost last):  File "/usr/bin/anaconda", line 520, in ?
intf.run(todo, test = test)  File
"/var/tmp/anaconda-7.1//usr/lib/anaconda/text.py", line 1126, in run    rc
= apply (step[1](), args)  File
"/var/tmp/anaconda-7.1//usr/lib/anaconda/textw/partitioning_text.py", line
123, in __call__    todo.instClass.clearParts)  File
"/var/tmp/anaconda-7.1//usr/lib/anaconda/fstab.py", line 159, in
attemptPartitioning    raise ValueError, "--onpart specified for mount
point %s on non-ext2 partition without --noformat option" %
mntpointValueError: --onpart specified for mount point /home on non-ext2
partition without --noformat option



__________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.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