how to install 2nd debian instance from .deb file, showing up as separate grub entry
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.
how to install 2nd debian instance from .deb file, showing up as separate grub entry
I want to install Debian Linux from a .deb file. Ok would be either a fresh install, with this as the sole Linux instance, or an installation in which this .deb instance appears as a 2nd, completely separate Linux instance in a grub entry.
The point is to run a snapshot install, and it alone without sharing libraries with any other Debian version.
How would I achieve either the fresh install, or a 2nd install, creating a separate grub2 entry.
Incidentally, the version I wish to install is a Debian Squeeze snapshot from 2011-06-14, linux-image-2.6.32-5-xen-amd64_2.6.32-35_amd64.deb
To perform a second Linux installation you only need to set aside one or more partitions to use (making room, creating partitions and labeling them using say Gparted makes identification easier) and ensure the second installations bootloader is installed in one of the new partitions. Finish installing Linux in the new partitions, then just add the entry for the new installation in the "old" GRUB configuration file. On the other hand, if you've got enough CPU power, RAM and disk space you could also use virtualization (VMware, QEmu, Virtualbox) to "play" with Linux installations.
Thank you very much for this info. I will give this a try. In fact, I am installing Debian on one of 2 nodes that will make a redundant cluster serving virtual machines. The nodes will need straight Linux installs. (but, wait a minute--maybe, at least for testing, maybe I could load a vm with the desired snapshot squeeze version on one of the nodes, and serve vms from the node vm? funky and weird-but maybe it would work. I had not thought of that).
I will to install from an added partition as you recommend.
In fact, I am installing Debian on one of 2 nodes that will make a redundant cluster serving virtual machines. The nodes will need straight Linux installs. (but, wait a minute--maybe, at least for testing, maybe I could load a vm with the desired snapshot squeeze version on one of the nodes, and serve vms from the node vm?
(Why is it ppl don't post complete information up front an always add crucial details that change things as they go...) No, I wouldn't do that. IMHO virtualization inside virtualization doesn't sound OK. Unless you're using something tuned to perform that task the host OS needs CPU cycles, disk I/O and RAM to run and maintain itself, the virtualization "subsystem" takes CPU cycles, disk I/O and RAM from the host to run and maintain itself and any virtualization guests ultimately take CPU cycles, disk I/O and RAM from the host too in a way I doubt it'll provide you with the level of performance you're looking for.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.