Secondary linux dist WITHIN primary one


 
Thread Tools Search this Thread
Operating Systems Linux Secondary linux dist WITHIN primary one
# 1  
Old 04-29-2010
Secondary linux dist WITHIN primary one

Hi

New here so forgive my ignorance and inability to express myself in an informative manner Smilie

I have a Fedora distribution installed on my development computer. The system we build is meant to run on a slackware dist which is all fine and well. But due to our flow of deployment I would have to create a new tag in svn each time I would like one of our slackware servers to build the system, even for testing minor fixes. This will ofcourse create an enormous ammount of tags if this approach were to be used. My predecessor apperently managed to get a secondare ROOT in his system in which he had a slackware distribution installed. He had it placed in a folder in /32 and changed to it just by typing "32" in the terminal. Does ANYONE have an idea of how this is accomplished? Beacuse then I would be able to switch to that environment, compile and test locally without having to ditch my entire Fedora installation.
He didn't quite remember himself how he got it working but he said that I could try to install slackware on a usb and just copy the entire thing to a folder in my Fedora installation after that. But to me it seems like the system somehow would have to read a lot of env variables etc from the slackware dist when I change and I don't get how to get that to work at all. I have been using Linux on and off for quite a few years, but I don't know the ins and outs of how everything works, so please explain in a kindergarten way if you can Smilie

Thanx in advance!
# 2  
Old 04-29-2010
Without further info, I can think of 2 ways he could have done that: User-mode Linux or a chroot environment.

Or you can build yourself a small Slackware VM using qemu/VirtualBox/VMware/Xen/KVM/...
# 3  
Old 04-29-2010
Sounds to me like he was just chroot-ing. It runs a new shell that thinks /path/to/fedora/files is / . This means it'll load programs and libraries from inside there and nowhere else. It's a good way to test programs but doesn't actually boot it... UML would be closer but it's a kernel, not a flat-out virtual machine like vmware -- it doesn't emulate a computer screen for you or anything.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

DNS Primary and Secondary

hi there, i using salaris 10 as my DNS server. i have 2 dns server primary and secondary. if primary dns server i edit/update, the other secondary dns server must be sync too. How can i configure if dns server (primary) can sync the secondary? (1 Reply)
Discussion started by: tappetmus
1 Replies

2. AIX

How to find Primary & Secondary VIOS?

Hi, In a Dual VIOSs setup having 4 SEA adapters each, how to find which one is Primary and Secondary.? Regards, Siva (2 Replies)
Discussion started by: ksgnathan
2 Replies

3. Shell Programming and Scripting

List ALL users in a Unix Group (Primary and Secondary)

Is there a command or better combination of cmds that will give me the list of Unix users in a particular Unix group whether their primary group is that group in question (information stored in /etc/passwd) or they are in a secondary group (information stored in /etc/group). So far all I got... (5 Replies)
Discussion started by: ckmehta
5 Replies

4. UNIX for Dummies Questions & Answers

Synchronizing primary and secondary name servers

Hello All, Does some one know how to synchronize the primary name server with the secondary without knowing the domains on which synchronization failed. I have just done /usr/sbin/ndc reload Alternatively how do i find out the domains on which synchronization failed? (4 Replies)
Discussion started by: a2z1982
4 Replies

5. Filesystems, Disks and Memory

shift hard disk from primary IDE channel to secondary IDE channal

Wellcomes All, some times ago I 've installed a Debian ditribution on an Hard Disk who was set as Primary Master. Few days ago, I 've decided to install another Hard Disk with a different Operating System. When I did that, I turned off the old hard disk, and I mouted the new one on the Primary IDE... (1 Reply)
Discussion started by: thekarsillo
1 Replies

6. UNIX for Advanced & Expert Users

Passing the values to the secondary script when it invoked by primary script

Hi, When I invoke a script s1.sh it will call an another script s2.sh by itself. This script s2.sh will call some java files, so while running the script it asks for a file name to be processed. Which we can see in the screen. The file name to be processed is present in script s1.sh Now I... (2 Replies)
Discussion started by: venu_eie
2 Replies

7. Shell Programming and Scripting

Passing the values to the secondary script when it invoked by primary script

Hi, When I invoke a script s1.sh it will call an another script s2.sh by itself. This script s2.sh will call some java files, so while running the script it asks for a file name to be processed. Which we can see in the screen. The file name to be processed is present in script s1.sh Now... (1 Reply)
Discussion started by: venu_eie
1 Replies

8. UNIX for Dummies Questions & Answers

Which Linux dist?

I'm working from what I believe is a server based implementation of Unix and Linux. I access terminals and a Red Hat desktop through Sun Global Desktop from a windows PC. Recently I have been doing much more complicated activities (than usual). I needed to use cmake, make and gcc (version 4.0.3... (1 Reply)
Discussion started by: seroppi
1 Replies

9. UNIX for Advanced & Expert Users

primary-secondary sync problem

hi guys, i am new to this DNS business and i'm having a problem. the setup is bind 9.2.3 is installed on a sun solaris 8 server and is the primary DNS. men and mice suite is installed on another sun solaris 8 and that is our secondary DNS server. problem is recently the secondary DNS stopped... (0 Replies)
Discussion started by: mbannout
0 Replies

10. UNIX for Dummies Questions & Answers

How to find All Primary and Secondary Group ID's for a user

Is there any command which can list me all the Group ID's (Primary, Secondary ) assocaited with a single user. Thanks Sanjay (2 Replies)
Discussion started by: sanjay92
2 Replies
Login or Register to Ask a Question