LinuxQuestions.org
Visit Jeremy's Blog.
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 09-25-2006, 11:54 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Rep: Reputation: 80
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
lavluda
Member
 
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)


Code:
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
Code:
$ gdm
hope works
 
  


Reply


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


All times are GMT -5. The time now is 06:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration