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

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

 



> -----Original Message-----
> From: Rebecca.R.Hepper@xxxxxxxxxxx 
> [mailto:Rebecca.R.Hepper@xxxxxxxxxxx]
> Sent: Thursday, July 19, 2001 1:46 PM
> To: kickstart-list@xxxxxxxxxx
> Subject: RE: Problems partitioning 2 hard drives in the ks.cfg file
> 
> 
> 
> 
> 
> 
> "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?

Do you want to have kickstart do the partitioning, or do it manually?  For
kickstart, check the archives of this list (June or July), and see if you
can find reference to %pre partitions or something similar.   If you want to
do it manually, you don't need to put in anything.  Just use disk druid to
delete all partitions (except the ones that will remain the same), and
create new ones.  You must edit the ones that you don't create, and give
them a mount point (except swap).  If you find that info, let me know, and
I'll help you.  If you have any other problems, let me know.


> 
> 
> 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_te
> xt.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

This means that /home is not an ext2 partition, and it wants you to format
it.  How did you create these partitions originally?  You may need to just
use that same method to format them as ext2.

Forrest





[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