Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-25-2006, 11:54 AM   #1
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,458

Rep: Reputation: 85
Question chroot and run a pre existing Linux install from another one

Here is my setup. I have Debian Etch testing/unstable on a 320 gigabyte sata2 Seagate. I have Ubuntu 6.06 stable installed on a 120 gigabyte pata Seagate. Both each have a seperate / and /home partition except now I cannot remember if Ubuntu does, but please help me with that too because it will be good for everyone here to learn. I want to mount the Ubuntu partition on to a directory I create on the Etch desktop named a. That is easy. I can do that. Then I want to chroot it. After that I want to run it in a chrooted enviornment. The last part is tricky for me, and I don't know how to do it. Thanks for reading.
Old 09-25-2006, 12:43 PM   #2
Registered: Jan 2006
Location: Dhaka, Bangladesh
Distribution: Debian sid, Suse 9.3 pro, Mandrake 10.0, Redhat 7-9, FC-2,3, Gentoo 2006,2006.1
Posts: 89
Blog Entries: 2

Rep: Reputation: 15
here is procedure, i use debian sarge and sid both togather (also gentoo under debian)

mkdir /ubuntu
$ mount /dev/hdx /ubuntu
$ mount -o bind /proc /ubuntu/proc
$ mount -o bind /dev  /ubuntu/dev
$ chroot /ubuntu /bin/bash
**replace /dev/hdx with ur ubuntu installed drive.
now edit ur /etc/gdm/gdm.conf to start GUI on tty8 or tty9
then simple run gdm
$ gdm
hope works


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Run existing Winbloze under Linux QEMU? Randux Slackware 6 06-07-2006 01:24 PM
Installing Fedora on a pre-existing XP PC drizkol General 14 02-07-2006 04:53 PM
Setting up chroot with existing users qwerty Linux - Security 1 11-03-2005 04:29 PM
Installing Windows along with Pre-Existing Linux steyr Linux - Newbie 3 02-10-2004 06:49 AM
Installing Win98 on slave drive to pre-existing linux install on primary eliszka Linux - Software 8 11-07-2001 10:46 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:51 PM.

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