How to install openSUSE inside openSUSE chrooted

Hello, i’d like to have openSUSE 11.4 installed to a directory on my HDD inside my current openSUSE installation so that i can chroot into it and try software there without modifying my underlaying system… Anybody knows how can i do that? thanks :slight_smile:

What about installing it in a virtual machine?

On 2011-07-07 08:06, jcp27 wrote:
>
> Hello, i’d like to have openSUSE 11.4 installed to a directory on my HDD
> inside my current openSUSE installation so that i can chroot into it and
> try software there without modifying my underlaying system… Anybody
> knows how can i do that? thanks :slight_smile:

A full install, no, that is not possible, AFAIK. A separate, normal, full
install, into which now and then you chroot to run some things (CLI), yes,
that is possible. You can run things that do not need running services on
the “guest”.

I remember time ago seeing an option to install into a directory, but
perhaps it was YaST1 (not 2).


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

@robin_listas: hablas español? :slight_smile: por las dudas escribo en inglés…

that’s what i want, i want to be able to run “normal” applications (i.e. non system applications) inside this chroot enviorment, and also GUI applications running on the “host’s” X11… how can i do that?.. a virtual machine isn’t that great of an idea due to performance issues… but i might as well look into that…
The chroot thing would also be interesting for educational purposes :wink:

And by the way… what does AFAIK mean?

On Thu, 07 Jul 2011 17:06:03 +0000, jcp27 wrote:

> @robin_listas: hablas español? :slight_smile: por las dudas escribo en inglés…
>
> that’s what i want, i want to be able to run “normal” applications (i.e.
> non system applications) inside this chroot enviorment, and also GUI
> applications running on the “host’s” X11… how can i do that?.. a
> virtual machine isn’t that great of an idea due to performance issues…
> but i might as well look into that… The chroot thing would also be
> interesting for educational purposes :wink:
>
> And by the way… what does AFAIK mean?

AFAIK = As Far As I Know : http://preview.tinyurl.com/65pjd3a

What you want to do is look at XEN or a virtualization solution. You can
run X applications so they display on the host.

You can’t install the OS in a chroot enviroment because it’ll try to
create partitions on real physical devices. That’s what virtualization
is used for - virtualization creates fake physical devices.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2011-07-07 19:06, jcp27 wrote:
>
> @robin_listas: hablas español? :slight_smile: por las dudas escribo en inglés…

Sip :slight_smile:

Hay un foro en español, pero no participo: no tienen interfase nntp <-> web.

(there is a forum in Spanish, but I do not participate: they don’t have
nntp <-> web gateway)

> that’s what i want, i want to be able to run “normal” applications
> (i.e. non system applications) inside this chroot enviorment, and also
> GUI applications running on the “host’s” X11… how can i do that?..

Only in part.

You have to install the other system normally, for dual boot. Later, when
one is running, you can chroot to the partition of the other, and run some
CLI commands. Some will fail. I’ve no success with GUI tools: yast, for
instance, does not work; zypper does - with some tricks.

> a
> virtual machine isn’t that great of an idea due to performance issues…
> but i might as well look into that…

It is the only known method to do what you want.

> And by the way… what does AFAIK mean?

As far as I know :slight_smile:

There is an internet listing for such acronyms, but I don’t have the link
handy.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Ok, thanks for your quick answers :)… i’ll stick to VirtualBox for the time being then…