[Revisor-users] missing swapon, swapoff, top, vmstat on install media

Jörn Rink j.rink at freenet.de
Tue Nov 20 07:19:42 UTC 2007


Am Fri, 16 Nov 2007 14:14:28 -0500
hat "G. Michael Carter" <mikey at carterfamily.ca> (G. Michael Carter)
folgendes geschrieben:

> > I'm not sure. The error about 'swapoff' not existing occured to me
> > once, but when I tried to reproduce I couldn't.
> 
> > I verified on another console while still keeping the failed 
> > installation process running, and swapoff was there (as well as
> > swapon and the other tools you mention).
> 
> > Now regarding your email I'm confused what your results were. Are
> > you missing swapon/swapoff/vmstat/top on the installed system once
> > the installation was complete, or are you missing them while
> > running the installation process?
> 
> > Kind regards,
> 
> > Jeroen van Meeuwen
> > -kanarip
> 
> 
> 
> I built the disk.   Put it in my laptop.   Got the error just as it
> was about to format the drive.  So I did a CTRL-ALT-F3 with the error
> still on the screen.   type top, vmstat, swapon, swapoff.  none of
> them are there.  
> 
> sh-3.2# which swapoff
> sh: which: command not found
> sh-3.2# swapoff
> sh: swapoff: command not found
> sh-3.2# top
> sh: top: command not found
> sh-3.2# find . -name "swapoff"
> sh-3.2#
> 

Hi,
same here.

But it seems to be an anaconda problem. I had this problem when the
host (revisor) machine was a fedora 7 and i want to build fedora 8.

Then i do 2 things, update the host to fedora 8, and then found out,
where mount, swapon swapoff is in, and include it into the initrd
(somewhere in the anaconda py scripts is a list, i append util-linux).

The there was a revisor bug (on the fedora 8 system) in an if statement
(.install -> .installation)

After that fixes i was able to build a kickstart 2 disk and a respin
dvd.

Regards

-- 
Nine (not 9)
Never trust a hippie


More information about the Revisor-users mailing list