Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libsandbox move causing kernel panic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
chardros
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 136
Location: Andromeda

PostPosted: Fri Apr 19, 2002 3:20 pm    Post subject: libsandbox move causing kernel panic Reply with quote

Not sure if I would clasify this as a bug, I guess it depends on why it's happening - bu I posted this in "All things Gentoo", and am also posting it here after little advice there:

I initially installed everything into one partition (/). I normally wouldn't think of doing this, but it was just a test run. After getting the system up and running, I realized I wanted some more space to play around in so I did te following:

1) created another virtual drive
2) formatted it and copied the contents of /usr to it
3) edited /etc/fstab to have it moun the new partition as /usr
4) went to single user mode and rm -rf /usr

At this point, the system was completely broken, which I thought was strange since I've done this on other flavors of linux plenty. I thought it was no big deal and rebooted since I already updated fstab.

Upon a reboot, th system kernel paniced saying it could not load libsandbox.so or something to that affect. I booted to the gentoo cd, mounted my stuff, took a peak at the new /usr partition - and it was certainly there. So I copied libsandbox.so to it's full path on the root (/) partition and restarted the system.

The system came up fine and monuted the /usr partition over the /usr dir on the root partition and it's contents as expected. It seems as though /usr is not being mounted in time or something.

I see a few poblems here:
1) With my current configuration, the libsandbox.so will not be update on the root partition when upgradin, thus the older vesion will continue to be used at boot time.
2) If this library is critical to the boot of the system, should it not be located in /lib? (I could certainly be wrong)

Does anyone have any thoughts or suggestios on this matter?
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Fri Apr 19, 2002 9:03 pm    Post subject: Re: libsandbox move causing kernel panic Reply with quote

chardros wrote:

1) created another virtual drive
2) formatted it and copied the contents of /usr to it
3) edited /etc/fstab to have it moun the new partition as /usr
4) went to single user mode and rm -rf /usr


By virtual drive you mean partition right? I'm assuming that's what you are referring to, but I'm not sure if there is some new something that I'm not aware of (yet :)).

What command did you use to copy /usr? Did you use the -p flag with cp to preserve file attributes?
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
chardros
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 136
Location: Andromeda

PostPosted: Thu May 23, 2002 2:39 am    Post subject: libsandbox cp Reply with quote

Yeah, it was a new partition. By virtual drive I was referring to the fact that I was doing this inside of VMWare (i created a new "disk" within it, and then formatted that as another partition within gentoo).

When I did the cp, I used "cp -a"

Thanks for replying - playing with it in VMWare impressed me enough. I'm starting the painful process of re-installing my primary box here at home this very evening.

Which is why I finally checked back to see if anyone had thoughts on this ;)
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Aug 18, 2002 6:54 pm    Post subject: Reply with quote

From Bugs to Other Things Gentoo, where presumably it can be reunited with its crosspost sibling.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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