View previous topic :: View next topic |
Author |
Message |
igor92128 Apprentice
Joined: 27 Jun 2004 Posts: 156 Location: California
|
Posted: Fri Jul 02, 2004 9:38 pm Post subject: stripping gentoo |
|
|
I was wondering if there is a command that I can use to strip down Gentoo and basically start from the beginning -- how it was when I first installed it. The problem is the SSH and TFTP aren't working and they were working before, so maybe I emerged something that somehow conlicts with the daemons. 'emerge -C world' doesnt work BTW. |
|
Back to top |
|
|
scoon l33t
Joined: 23 Aug 2003 Posts: 747 Location: Philadelphia, PA
|
Posted: Fri Jul 02, 2004 9:58 pm Post subject: Re: stripping gentoo |
|
|
igor92128 wrote: | I was wondering if there is a command that I can use to strip down Gentoo and basically start from the beginning -- how it was when I first installed it. The problem is the SSH and TFTP aren't working and they were working before, so maybe I emerged something that somehow conlicts with the daemons. 'emerge -C world' doesnt work BTW. |
Hey there,
There are some other tools available that will help you track down dependency problems. Take a look at revdep-rebuild.
scoon _________________ Hope this helps........ |
|
Back to top |
|
|
igor92128 Apprentice
Joined: 27 Jun 2004 Posts: 156 Location: California
|
Posted: Sat Jul 03, 2004 4:44 pm Post subject: |
|
|
Well I now got ssh to work, but something is wrong with tftp. To start the tftp server, you need to run /etc/init.d/in.tftpd start
right?
Well, when I try to start it, I see 2 red !! and that's all, it wont start. I need it because I want to netboot a sparc, and it hangs on bootup...probably because of this. |
|
Back to top |
|
|
hadfield Retired Dev
Joined: 18 Mar 2003 Posts: 308 Location: Vancouver, BC, Canada
|
Posted: Sat Jul 03, 2004 9:55 pm Post subject: |
|
|
Well as far as stripping down your system, I've done this a couple times and all I used was the qpkg app. It comes with the gentoolkit. It allows you to view all of the packages installed on your machine. So generally I just look at the list, if there's something I don't think I need I run qpkg --query-deps to see if anything depends on it.
As for your tftp problem. The runlevel system, although very useful, is not very useful when it comes to error messages. Try starting the app yourself. Look into the /etc/init.d/in.tftpd file and see what commands are being run. You'll notice that it uses start-stop-daemon to start and stop tftpd. But you can also start it by hand with:
Hopefully it will print out some error messages.
Oh yeah, you might also get the !! if it died but the service didn't stop. Use /etc/init.d/in.tftpd zap to stop an improperly stopped service. |
|
Back to top |
|
|
igor92128 Apprentice
Joined: 27 Jun 2004 Posts: 156 Location: California
|
Posted: Sun Jul 04, 2004 1:53 am Post subject: |
|
|
well I tried that command and absolutely nothing appears. I also tried to zap it and start it afterwards, but still nothing. |
|
Back to top |
|
|
|