LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-16-2005, 11:12 PM   #1
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440
Blog Entries: 1

Rep: Reputation: 30
mounted Operating System


Hi,
I have Dual Boot.... Both are Linux.
I have sorted out the dependencies problem in one OS so that I can build any damn RPM.....And now, I work in other OS,that means Can i use that OS mounting this one?
I mean If I am in X, can i use the system resources of Y?
How?
 
Old 10-17-2005, 02:15 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

Of course you can chroot command is done for that

Oliv'
 
Old 10-17-2005, 03:08 AM   #3
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Can u be more clear
chroot man page is not that clear
In between i will look for some other examples
 
Old 10-17-2005, 03:55 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Well in fact that's quite simple to use... Imagine that your other system, a redhat for example is mounted as /mnt/redhat... if you do /mnt/redhat/usr/bin/mozilla, it may complain 'cause it does not find the suitable libraries or things like that... Well simply do:
Code:
chroot /mnt/redhat
... Now in your shell where you have ran chroot, the new root dir is not / but /mnt/redhat, so if you do "mozilla" it will exec mozilla from your non booted OS and should run fine
Hope I'm clear enough

Oliv'
 
Old 10-17-2005, 04:39 AM   #5
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440

Original Poster
Blog Entries: 1

Rep: Reputation: 30
That was so helpful
Thank you so much
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Webserver operating system? djkoe Linux - General 4 05-12-2004 03:53 PM
Why Linux is best Operating System for Learning/Doing System Programming ? ubaid_t General 6 03-21-2004 02:10 PM
system with three operating systems lyonsd Linux - Software 8 03-10-2004 05:13 PM
name of the operating system emmanuelmathew Linux From Scratch 5 02-11-2003 09:14 AM
operating system name emmanuelmathew Linux - General 9 02-11-2003 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration