death

gareth kickstart at lordcow.org
Fri Jun 3 13:36:47 UTC 2005


don't i need clearpart if i wanna override the existing partitions?

On Fri 2005-06-03 (09:15), Daniel Segall wrote:
> I usually just comment out the zero mbr and clearpart options in my 
> ks.cfg, then just use something like:
> / --fstype ext3 --onpart=hda1
> swap --fstype swap --onpart=hda2
> 
> That is from memory, so I'd verify the format in the kickstart manual.
> 
> -Dan
> 
> gareth wrote:
> >it's the same machine & disk i got the anaconda.cfg file off.
> >ok i commented out the partition steps & the installation
> >now runs fine, except i haveta key in the partitions.
> >so how do i go about getting the partitioning right in the
> >ks.cfg?
> >
> >On Thu 2005-06-02 (20:24), Derek Yeung wrote:
> >
> >>Looks like you're trying to use a kickstart configuration file and trying 
> >>to apply a partition spec for a disk with a different geometery/size. 
> >>Your partitioning scheme looks simple enough -- blank out all the 
> >>automatic partitioning lines and then try the configuration file again, 
> >>but manually configuring the partitions yourself.
> >>
> >>
> >>/dky
> >>
> >>
> >>
> >>On Thu, 2 Jun 2005, gareth wrote:
> >>
> >>
> >>>sure
> >>>
> >>>On Thu 2005-06-02 (22:05), Ajay Mulwani wrote:
> >>>
> >>>>Please post the anaconda.cfg file which was used for renstalling..
> >>>>
> >>>>Ajay
> >>>>
> >>>>
> >>>>On 6/2/05, gareth <kickstart at lordcow.org> wrote:
> >>>>
> >>>>>yo, i just installed fedora core 3, and then used the anaconda.cfg
> >>>>>created as the kickstart file (and uncommenting the partions etc.)
> >>>>>for reinstalling on the same machine. the install dies tho with:
> >>>>>
> >>>>>Traceback (most recent call last):
> >>>>>File "/usr/bin/anaconda", line 1165, in ?
> >>>>> intf.run(id, dispatch, configFileData)
> >>>>>File "/usr/src/build/475969-i386/install//usr/lib/anaconda/gui.py", 
> >>>>>line 705, in run
> >>>>> self.icw.run (self.runres, configFileData)
> >>>>>File "/usr/src/build/475969-i386/install//usr/lib/anaconda/gui.py", 
> >>>>>line 1449, in run
> >>>>> self.setup_window(runres)
> >>>>>File "/usr/src/build/475969-i386/install//usr/lib/anaconda/gui.py", 
> >>>>>line 1421, in setup_window
> >>>>> self.setScreen ()
> >>>>>File "/usr/src/build/475969-i386/install//usr/lib/anaconda/gui.py", 
> >>>>>line 1086, in setScreen
> >>>>> (step, args) = self.dispatch.currentStep()
> >>>>>File 
> >>>>>"/usr/src/build/475969-i386/install//usr/lib/anaconda/dispatch.py", 
> >>>>>line 276, in currentStep
> >>>>> self.gotoNext()
> >>>>>File 
> >>>>>"/usr/src/build/475969-i386/install//usr/lib/anaconda/dispatch.py", 
> >>>>>line 171, in gotoNext
> >>>>> self.moveStep()
> >>>>>File 
> >>>>>"/usr/src/build/475969-i386/install//usr/lib/anaconda/dispatch.py", 
> >>>>>line 239, in moveStep
> >>>>> rc = apply(func, self.bindArgs(args))
> >>>>>File 
> >>>>>"/usr/src/build/475969-i386/install//usr/lib/anaconda/autopart.py", 
> >>>>>line 1416, in doAutoPartition
> >>>>> doPartitioning(diskset, partitions, doRefresh = 0)
> >>>>>File 
> >>>>>"/usr/src/build/475969-i386/install//usr/lib/anaconda/autopart.py", 
> >>>>>line 1003, in doPartitioning
> >>>>> (ret, msg) = processPartitioning(diskset, requests, newParts)
> >>>>>File 
> >>>>>"/usr/src/build/475969-i386/install//usr/lib/anaconda/autopart.py", 
> >>>>>line 953, in processPartitioning
> >>>>> ret = fitSized(diskset, requests, 0, newParts)
> >>>>>File 
> >>>>>"/usr/src/build/475969-i386/install//usr/lib/anaconda/autopart.py", 
> >>>>>line 361, in fitSized
> >>>>> requestSectors = long((request.requestSize * 1024L * 1024L) / 
> >>>>> part.disk.dev.sector_size) - 1
> >>>>>TypeError: unsupported operand type(s) for *: 'NoneType' and 'long'
> >>>>>
> >>>>>any clues?
> >>>>>
> >>>>>_______________________________________________
> >>>>>Kickstart-list mailing list
> >>>>>Kickstart-list at redhat.com
> >>>>>https://www.redhat.com/mailman/listinfo/kickstart-list
> >>>>>
> >>>>
> >>>>_______________________________________________
> >>>>Kickstart-list mailing list
> >>>>Kickstart-list at redhat.com
> >>>>https://www.redhat.com/mailman/listinfo/kickstart-list
> >>>
> >
> >_______________________________________________
> >Kickstart-list mailing list
> >Kickstart-list at redhat.com
> >https://www.redhat.com/mailman/listinfo/kickstart-list
> >
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list




More information about the Kickstart-list mailing list