LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-31-2008, 07:04 PM   #1
aviendha
LQ Newbie
 
Registered: Jul 2008
Location: Quebec
Distribution: Ubuntu 8.04. Finally dropped Windoze !!
Posts: 9

Rep: Reputation: 0
Switching distros, can I keep my old apps working


HI!

I have a P4 with 3 HDs: one windows 2000(just in case), one divided 5 ways:
2 fat32, 2 ext2 (root and /usr,(Ubuntu Hardy)) and my swap, and one disk ext3 just for trying new distros (now Puppy4.0); that disk is tiny (2 Gb).

I want to continue using my Ubuntu-installed applications (like OpenOfffice), since I cannot install a whole lot on that drive, and besides I'm confortable with them. Is this possible ? So far, said apps executables have not been recognized...I am not quite sure I am even in the right directories with all those strange names like bin, usr, and proc (!)

Thx!

come to think of it:
1- my complex mail configuration and Firefox goodies are important things to carry over into a new distro;

2- Am my reaching too far? Should I start with switching to something debian-based ,or with a same (Gnome) desktop, to ease the transition? Isn't it all Linux anyway?

3- where ARE my apps anyway?, if I have to reinstall them, will I be able to overwrite to the same directory, or will I have everything in double?

4-Once I'm done with a distro, will it quietly go with all its baggage, or will I be stuck with tons of laundry and dishes (yes, I'm a stay at home mom)

Hmmm...that should clarify my question(s). Thx for (any) answer!
Aviendha

Last edited by aviendha; 07-31-2008 at 08:01 PM. Reason: clarify points
 
Old 07-31-2008, 07:08 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
no.
you can install ubuntu packages for ubuntu only in other drives
 
Old 07-31-2008, 09:09 PM   #3
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
You can usually only use programs that you installed in one distro. If you have a separate /home partition then you can let other distros share it and keep all your settings. I think you should read more about how the linux filesystem is organized.
3. Your package manager keeps track off all your apps, so you don't have to worry about it usually
4. You can just format the partition and it will be gone
 
Old 07-31-2008, 09:46 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Maybe you can shrink one of your Ubuntu partitions a bit?
 
Old 07-31-2008, 10:50 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
The easiest way would be to try to do so on a chroot.

It will not be a trivial task, though. So be warned.

You first need to mount your ubuntu partitions somewhere. For example:

Code:
mount /dev/hda1 /mnt/ubuntu/
mount /dev/hda2 /mnt/ubuntu/usr
Those are example lines, you should be able to addapt them to your real layout. Make sure /mnt/ubuntu (or whatever mount point you use) is a existing directory.

Then do this:

Code:
cd /mnt/ubuntu
mount -obind /proc proc
mount -obind /sys sys
mount -obind /dev dev
mount -obind /tmp tmp
chroot .
Then you are into ubuntu. Now you probably should use su to change to your regular user into ubuntu (operating as root is not a smart idea). It might also be a good idea to run any initialization scripts like /etc/profile (or maybe not, an ubuntu user might have a better insight on that).

In any case, you should be able to run the ubuntu stuff now. You might need to run one of these on the host installation (not in ubuntu, but your test distro) to be able to run X stuff:

Code:
xhost local:localhost
or

Code:
xhost +
This might or might not work out of the box.
 
Old 07-31-2008, 11:42 PM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Chrooting is not everything, imho. Unmounting something incorrectly can have serious consequences. But most importanly, I think it beats the purpose of testing another distro. It would be running the same thing on a different kernel.
 
Old 08-02-2008, 07:03 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by jay73 View Post
Chrooting is not everything, imho. Unmounting something incorrectly can have serious consequences.
That's true for normal rooting as well.

Quote:
But most importanly, I think it beats the purpose of testing another distro. It would be running the same thing on a different kernel.
Which is exactly what the OP asked for.
 
Old 08-04-2008, 04:13 PM   #8
aviendha
LQ Newbie
 
Registered: Jul 2008
Location: Quebec
Distribution: Ubuntu 8.04. Finally dropped Windoze !!
Posts: 9

Original Poster
Rep: Reputation: 0
I get the point

Thank you for the answers,

I get the point about trying new apps with new distros... I mounted /usr on a different partition...am I to understand I should have mounted /home instead?

Since Puppy linux uses /root instead of /home, is that the way I should used chroot? I have not yet removed Ubuntu...(yes, now I triple-boot)will such a command affect it?

that's it for now,

A.
 
Old 08-04-2008, 05:08 PM   #9
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by aviendha View Post
Thank you for the answers,

I get the point about trying new apps with new distros... I mounted /usr on a different partition...am I to understand I should have mounted /home instead?

Since Puppy linux uses /root instead of /home, is that the way I should used chroot? I have not yet removed Ubuntu...(yes, now I triple-boot)will such a command affect it?

that's it for now,

A.
puppy doesn't use /root instead of /home, it justs logs you in as the root user by default
 
Old 08-05-2008, 02:45 AM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by AceofSpades19 View Post
puppy doesn't use /root instead of /home, it justs logs you in as the root user by default
A bad thing, in my opinion. However, that doesn't affect the chroot procedure at all, the steps are still the same.
 
Old 11-03-2008, 07:16 PM   #11
aviendha
LQ Newbie
 
Registered: Jul 2008
Location: Quebec
Distribution: Ubuntu 8.04. Finally dropped Windoze !!
Posts: 9

Original Poster
Rep: Reputation: 0
Well after many weeks, crashes, new disks, hours of reading and most importantly, conquering my fear of "the command line", I can say I've come a bit of a way. In conclusion:
-keep your /home in a separate partition.
-most apps will work with most files anyway (ie Abiword or Writer or Word or whatnot will all work with your docs.) It's the "little extra effort" that makes linux so great.
- stick with one distro 'till your comfortable with linux itself then you can check out other distros, or maybe just desktops.

that's it, thanks for the help,

A.
 
  


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
Switching Distros naraht Linux - Newbie 3 08-03-2005 04:37 AM
Switching distros..... AudioMechanic Linux - Distributions 5 09-05-2004 07:02 PM
Switching Distros claudius753 Linux - Newbie 1 02-19-2004 04:18 AM
Switching Distros thcmwz Linux - Software 1 11-27-2003 10:45 AM
Switching distros pmehta1613 Linux - Newbie 1 11-08-2003 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:50 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