Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
stripping gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
igor92128
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 156
Location: California

PostPosted: Fri Jul 02, 2004 9:38 pm    Post subject: stripping gentoo Reply with quote

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
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Fri Jul 02, 2004 9:58 pm    Post subject: Re: stripping gentoo Reply with quote

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
View user's profile Send private message
igor92128
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 156
Location: California

PostPosted: Sat Jul 03, 2004 4:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
hadfield
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 308
Location: Vancouver, BC, Canada

PostPosted: Sat Jul 03, 2004 9:55 pm    Post subject: Reply with quote

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:
Code:
/usr/sbin/in.tftpd


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
View user's profile Send private message
igor92128
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 156
Location: California

PostPosted: Sun Jul 04, 2004 1:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum