Re: [Vserver] can i install fedora core 4 in a vserver using the cds

From: Michael S. Zick <mszick_at_morethan.org>
Date: Thu 22 Dec 2005 - 18:12:44 GMT
Message-Id: <200512221212.44798.mszick@morethan.org>

On Thu December 22 2005 11:26, Herbert Poetzl wrote:
> On Thu, Dec 22, 2005 at 09:21:36PM +0500, Mustafa Abbasi wrote:
> > i have dowlaoded the cds of fedora core 4, but i can't figure out how
> > ito nstall it into a vserver running on debian.i am new so please easy
> > instrucion would be appreciated.
>
> well, as Linux-VServer does not do system emulation
> (i.e. you won't get a virtual CD drive and such), just
> system (and resource) isolation, you basically have to
> solve the problem:
>
> "How do I install FC4 from a bunch of CDs into a directory?"
>
Herbert,
A few more solutions...
First three questions:
1) Is one of the FC4 cds bootable?
2) Can you shutdown your target machine?
3) How old is your version of Bash?

Ans. 3) bash --version
If it is anything older than the 3.0 version that is in
Debian/Sarge, stop here and upgrade it.

Independent of your answer to #1 and #2 -
use the "vserver <name> build" command to build
the basic file structure on your system.
I think it has a framework for fc4

Quick info on the vserver build command enter:
vserver AnyName build --help

A detailed guide to building a generic vserver is at:
<http://www.spamviz.net/download/step_step.ps.gz>

There is a minimum chance of trashing your system
with those directions - play with it until you feel ready
to continue.

- - - If you do not want to shut down your machine - - - -

If you are running a linux kernel compatable with
version-2.6.14 plus the vserver-2.0.1 patch on at
least an Intel i686 box...

You can download a compressed version of that
generic vserver from:
<http://www.spamviz.net/download/baby01.bin.gz>

Unpack and follow the directions in section 6.7 of
the step by step instructions to wake up the baby.

Bingo - you are now in a virtual server that acts as
if you had booted your machine with the option:
init=/bin/bash

Follow the FC4 installation instructions from the point
where you are replacing a working system (if those exist)
with a network source of the FC4 stuff.
(I do not expect the current baby01.bin to support
cd/dvd device access.)

- - - - if you can boot from the FC4 install disk - - - -

Well, as Herbert said, find out how to make the
installer do the installation into the directory that
you created with the "vserver <name> build"
command rather than the entire disk system.

- - - -
Mike
- - -

> and the solutions could be:
>
> - use rpm with the --root= option to get the packages
> installed into a dir
>
> - use UML or QEMU or some full system emulator to
> install the CDs in a virtual machine and copy the
> resulting installing into a directory
>
> - adjust/adapt (or just trick) the CD installer into
> isntalling FC4 on a separate dir/partition
>
> - setup a repository (apt-rpm, yum) to install from
> and use the util-vserver tools to install a guest
> from scratch (which is the preferred way)
>
> HTH,
> Herbert
>
> > _______________________________________________
> > Vserver mailing list
> > Vserver@list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>
>
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Dec 22 18:13:12 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 22 Dec 2005 - 18:13:15 GMT by hypermail 2.1.8