Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Diskless install copy - won't boot
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
fuzzybee
Apprentice
Apprentice


Joined: 09 May 2005
Posts: 159

PostPosted: Mon Dec 24, 2012 12:25 am    Post subject: Diskless install copy - won't boot Reply with quote

I recently had a root drive failure, so I decided to go ahead and replace my aging motherboard at the same time as I put in the new drive. I did my new install, and thing on the main PC worked fine.

This computer is also the serve for two diskless installs. I copied over the existing directories to the new drive, and the diskless clients boot, but have issues:

- sshd won't start (/etc/init.d/sshd[1926]: ERROR: sshd failed to start)
- cron doesn't work ( cron[1961]: (*system*) BAD FILE MODE (/etc/crontab) )
- I can't login as root.

Any suggestions as to how to fix this? Did I mess up the copy (I just did a plain cp)? I'd rather try to fix the problem if it's a quick fix than have to reinstall.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43213
Location: 56N 3W

PostPosted: Mon Dec 24, 2012 12:57 am    Post subject: Reply with quote

fuzzybee,

You need cp -a See the man page.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fuzzybee
Apprentice
Apprentice


Joined: 09 May 2005
Posts: 159

PostPosted: Mon Dec 24, 2012 12:58 am    Post subject: Reply with quote

Sounds good - I figured I would give that a shot, so that's what I'm halfway through. I'll post here if I get any other errors.

Thanks!
Back to top
View user's profile Send private message
fuzzybee
Apprentice
Apprentice


Joined: 09 May 2005
Posts: 159

PostPosted: Mon Dec 24, 2012 1:05 am    Post subject: Reply with quote

Worked! Thanks again.
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