Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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:
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.
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?
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.