Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread Kristian Kirilov
Flavio wrote: > 2009/10/13 Jonas Meyer : > >> Three steps. >> >> 1) dd if=/dev/zero of=root_fs bs=1GB count=0 seek=150 >> 2) mkfs.ext3 root_fs >> 3) mount -o loop root_fs mount_point/ >> > 4) debootstrap > 5) configure the guest system through a chroot (fstab, locales etc.) > 6) enjoy > > F

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread Jay Shah
These are the instructions I use to resize the UML filesystems: http://user-mode-linux.sourceforge.net/old/resize.html Jay 2009/10/13 Kristian Kirilov : > Flavio wrote: >> 2009/10/13 Jonas Meyer : >> >>> Three steps. >>> >>> 1) dd if=/dev/zero of=root_fs bs=1GB count=0 seek=150 >>> 2) mkfs.ext3

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread Flavio
2009/10/13 Jay Shah : > These are the instructions I use to resize the UML filesystems: > > http://user-mode-linux.sourceforge.net/old/resize.html > > Jay Hi! This method never worked to me. When I do the resize2fs step, it terminates with an error actually. # resize2fs -p rootfs resize2fs 1.41.3 (

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread Kristian Kirilov
Flavio wrote: > 2009/10/13 Jay Shah : > >> These are the instructions I use to resize the UML filesystems: >> >> http://user-mode-linux.sourceforge.net/old/resize.html >> >> Jay >> > Hi! > This method never worked to me. > When I do the resize2fs step, it terminates with an error actually.

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread Flavio
2009/10/13 Flavio : > Once UML is started, I get the following: > Starting periodic command scheduler: crond. > No protocol specified > Warning: This program is an suid-root program or is being run by the root > user. > The full text of the error or warning message cannot be safely formatted > in

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread Flavio
2009/10/13 Flavio : > Now you are able to login, but another issue arise! -_- > > When I try to login as root, I'm not able to do it!!! I found a workaround, not a solution. In the host system, make a chroot to the lenny filesystem mounted as loop. Create a new user with the following command: 1) u

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread Flavio
2009/10/13 Kristian Kirilov : > Can somebody tell to me how to make my own file system? I want Debian Lenny. OK, These are the instructions to make your own debian lenny image filesystem using debootstrap: Note: you are in a directory containing a directory named loop (it's empty now) 1) dd if=/d

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread Flavio
Errata corrige Step 18: Another fix: If the network doesn't work, configure the /etc/network/interface file in the guest system, as follows: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.42 network 192.168.1.0 netmask 255.255.255.0 broadcast 192.1

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread andy baxter
Flavio wrote: > 2009/10/13 Flavio : > >> Now you are able to login, but another issue arise! -_- >> >> When I try to login as root, I'm not able to do it!!! >> Are you logging in using ssh? If so, this might be the problem - the ssh server is often configured by default to refuse the root

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread Flavio
2009/10/13 andy baxter : > Are you logging in using ssh? If so, this might be the problem - the ssh > server is often configured by default to refuse the root user. No Andy, I would like to login as root in the classic way start uml, get the login prompt and type root as username. This is what

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread andy baxter
Flavio wrote: > 2009/10/13 andy baxter : > >> Are you logging in using ssh? If so, this might be the problem - the ssh >> server is often configured by default to refuse the root user. >> > No Andy, > I would like to login as root in the classic way start uml, get > the login prompt > a

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread Flavio
2009/10/13 andy baxter : > The only thing I can think of is to mount the filesystem as a loopback > (without uml running, or you will trash the filesystem), and have a look at > /etc/passwd and /etc/shadow. > > Look to see if anything is different between the root user and the one you > created. I

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread Flavio
2009/10/13 David Fernández : > We use that recipe for resizing VNUML rootfilesystems since long without > problem. See http://www.dit.upm.es/vnumlwiki/index.php/Resize-rootfs It works like a charm!!! Thanks a lot! Flavio

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread David Fernández
Hi, > -Mensaje original- > De: Kristian Kirilov [mailto:d3v1...@d3v1ous.info] > Enviado el: martes, 13 de octubre de 2009 16:53 > Para: Flavio; user-mode-linux-user@lists.sourceforge.net > Asunto: Re: [uml-user] Can i increase the hard disk of virtual > mashine > >

Re: [uml-user] Can i increase the hard disk of virtual mashine

2009-10-13 Thread Kristian Kirilov
Flavio wrote: > 2009/10/13 David Fernández : > >> We use that recipe for resizing VNUML rootfilesystems since long without >> problem. See http://www.dit.upm.es/vnumlwiki/index.php/Resize-rootfs >> > It works like a charm!!! > Thanks a lot! > > Flavio > I have success :)) r...@debian:~/

[uml-user] Kernel Version doesn't match with filesystem

2009-10-13 Thread Jan Oetting
Hello, currently i am beginning with user mode linux. I always experienced a lot of error messages, telling me about missing modules.dep files. i use following kernel linux-2.6.24-x86_64 and following filesystem:Debian-4.0-AMD64-root_fs both are downloaded from the uml-page in the filesystem ex

Re: [uml-user] Network not longer working

2009-10-13 Thread Jay Shah
Hi Flavio, How are the permissions of /dev/net/tun? Jay 2009/9/30 Flavio : > Hi all, > > I have some networking problem. > Networking inside UML is always worked, but today it suddenly stopped to work. > > The command line is the same I've always used: > linux ubd0=rootfs.debian.etch ubd1=swapfs

Re: [uml-user] Network not longer working

2009-10-13 Thread Jay Shah
Hi Flavio, No worries. You help me get setup, so I'm hoping to help you fix this :) What user are you running UML as? If it's not root, can you try setting it to 0777 and if that doesn't work just change the permissions back. Any errors on the UML boot command (if you can paste a full log right