Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LTSP - pivot_root: No such file or directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
robfish
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2002
Posts: 137
Location: New Zealand

PostPosted: Fri Dec 23, 2005 4:10 am    Post subject: LTSP - pivot_root: No such file or directory Reply with quote

I think that LTSP was recently updated and today I realised that my LTSP clients no longer worked.

Eventually I found the fixes at this page:-
http://www.spacejock.com/LTSP.html

Because I could not find the fixes on this forum I thought that I would copy it here.

pivot_root: No such file or directory
This one catches me out every time I install the Linux Terminal Server Project on Gentoo Linux - and possibly on other distros. Here's the problem: You install (or re-install) LTSP on your server, following the Gentoo/LTSP setup guide to the letter, and when you boot one of the terminals you get this message:

Doing the pivot_root
pivot_root: pivot_root: No such file or directory
Mounting the devfs filesystem
mount: Mounting /devfs on /dev failed: device or resource busy
Running /sbin/init
exec: /sbin/init: no such file or directory
(Followed by a kernel panic message & total lockup)

So, what's the cure? Simple: on your server, enter the /opt/ltsp-4.1/i386 folder (substitute ltsp-4.1 as required) Then, type mkdir oldroot ; mkdir proc ; mkdir dev and press enter. By default, Gentoo doesn't create these essential folders, and therefore the LTSP clients won't boot. Irritating? Took me ages to find and fix this last time around, and there's NOWHERE on the net detailing this solution.

Hope that helps someone. Note that the problem will re-occur if you emerge LTSP again, because it will delete the hand-created folders.


Another Gentoo LTSP Gotcha
I got an email from Bill Bill Arlofski from Reverse Polarity, who is setting up an LTSP server. He was glad to find the solution above, but was then hit by the following problem:

X fails to load on clients with an error message:
fatal server error: cannot open log file /var/log/Xorg.0.log

And he was also kind enough to supply the fix: Make sure that in /opt/ltsp-4.1/i386 there is a var symlink pointing to /tmp/var. Here's how:

cd /opt/ltsp-4.1/i386
ln -s /tmp/var var
_________________
RobFish
Back to top
View user's profile Send private message
KayZee
Apprentice
Apprentice


Joined: 15 Oct 2003
Posts: 200
Location: Arlington, VA

PostPosted: Sat Feb 18, 2006 11:34 pm    Post subject: Reply with quote

Can you post this on the LTSP wiki too, under the section for Gentoo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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