LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   change root (https://www.linuxquestions.org/questions/linux-software-2/change-root-159284/)

alaios 03-18-2004 02:06 AM

change root
 
Hi there. My boss gave me a Linux pc that under a directory has another Linux. He told me that i must change the root directory for being able to boot the new linux. I have no idea how i can do such a thing.. Any idea?

vinay_s_s 03-18-2004 02:33 AM

Ur question is not very clear.
Can u give more details of ur problem ?

mossy 03-18-2004 02:41 AM

ask him to tell you what the story is and write it down the post it here.

taillefer 03-18-2004 04:16 AM

i wonder if the previous 216 posts were so clear...:)

Komakino 03-18-2004 05:37 AM

I think he means you need to enter a chroot environment...if the 'other linux' is under /path/to/linux then you need to do:
Code:

chroot /path/to/linux
which makes /path/to/linux become the new / (until you type exit)

alaios 03-18-2004 12:22 PM

yes..
 
the chroot...command. After this command everything will be used referencing to the new root directory?


All times are GMT -5. The time now is 10:25 AM.