On 9/28/05, Robin Lee Powell <[EMAIL PROTECTED]> wrote:
> On Wed, Sep 28, 2005 at 10:04:01AM +0200, chikh omar wrote:
> >
> > use a root_fs provided by VNUML project and it will work (i
> > tested)
>
> I can't find out from their information what OS the root FS is.  I
> have little interest in working with a machine that doesn't have apt
> or something comparable.  Do you know what OS it is?

I think it's not hard to crate your own Debian Sarge root_fs.
It might work for you.

# apt-get install debootstrap
# debootstrap sarge root-filesystem
# du -sh root-filesystem/
   144M    root-filesystem/

# A sparse root_fs of 2G.
# dd if=/dev/zero of=root_fs bs=1 count=0 seek=2097152000
# /sbin/mkfs.reiserfs --format=3.6 root_fs
# mkdir mnt-uml && mount root_fs mnt-uml/ -o loop
# cp -a root-filesystem/* mnt-uml/

# vim mnt-uml/etc/inittab

(comment the relevant lines, so you don't get a lot of virtual
consoles. Leave the rest untouched).
----------------------------------------------------------------------------
1:2345:respawn:/sbin/getty 38400 tty1
#2:23:respawn:/sbin/getty 38400 tty2
#3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 tty4
#5:23:respawn:/sbin/getty 38400 tty5
#6:23:respawn:/sbin/getty 38400 tty6
----------------------------------------------------------------------------

# vim mnt-uml/etc/inittab
----------------------------------------------------------------------------
# file system    mount point   type     options       dump pass
/dev/ubd0        /             reiserfs defaults                 0    0
proc                  /proc         proc     defaults             0    0
----------------------------------------------------------------------------

umount mnt-uml/

That should be all....
Boot with the UML, set up networking (slirp would be ok), and then do

# base-config

And begin a normal Debian installation. You can use apt to
install what you might need.

and later:
# apt-get install udev

It worked for me with this configuration.
http://geocities.com/arhuaco/post/user_mode_linux/config-uml-2.6.13.1-sept-18.txt

Regards,
Nelson.-

--
Homepage : http://geocities.com/arhuaco

The first principle is that you must not fool yourself
and you are the easiest person to fool.
     -- Richard Feynman.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to