[uml-user] Can i increase the hard disk of virtual mashine
Hello, I'm new in user mode Linux. I have setuped UML with networking sucessfully, fixed network IP address and manual port forwarding. Everything was good until I saw the size of virtual HDD which is only 1GB. So I need more space, what can I do to increase the size of the root partition?? Thanks K.Kirilov -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] Can i increase the hard disk of virtual mashine
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 > > Flavio > > -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ___ > User-mode-linux-user mailing list > User-mode-linux-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > Hello again, I have created new image with dd command with 5GB size, then i have setuped ext3 file system and debian lenny with debootstrap. I have downloaded http://user-mode-linux.sourceforge.net/linux-2.6.24-rc7.bz2 from the web to test my new filesystem, but when i try to boot i receive this error: INIT: Entering runlevel: 2 Starting enhanced syslogd: rsyslogd. Starting periodic command scheduler: crond. xterm_open: $DISPLAY not set. Failed to open console 1, err = -19 xterm_open: $DISPLAY not set. Failed to open console 2, err = -19 xterm_open: $DISPLAY not set. Failed to open console 3, err = -19 xterm_open: $DISPLAY not set. Failed to open console 4, err = -19 xterm_open: $DISPLAY not set. And system is busy, the command line which i use is: ./linux-2.6.24-rc7 ubda=debian_lenny_fs mem=128M debian_lenny_fs is the name of my new root partiton, i just installed fresh debian lenny filesystem with debootstrap. Can somebody help to me to fix this problem? Thanks -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] Can i increase the hard disk of virtual mashine
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. > # resize2fs -p rootfs > resize2fs 1.41.3 (12-Oct-2008) > The filesystem is already 384000 blocks long. Nothing to do! > > Flavio > The filesystem is already 384000 blocks long. Nothing to do!. This not working for me. Can somebody tell to me how to make my own file system? I want Debian Lenny. Thanks -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] Can i increase the hard disk of virtual mashine
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:~/debian-lenny# ls Debian-4.0-x86-root_fs kernel32-2.6.31.3 r...@debian:~/debian-lenny# r...@debian:~/debian-lenny# dd if=/dev/zero of=Debian-4.0-x86-root_fs bs=1 count=1 seek=5000M conv=notrunc 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.000426031 s, 2.3 kB/s r...@debian:~/debian-lenny# e2fsck -f Debian-4.0-x86-root_fs e2fsck 1.41.3 (12-Oct-2008) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information ROOT: 13076/393216 files (1.3% non-contiguous), 79407/768000 blocks r...@debian:~/debian-lenny# resize2fs -p Debian-4.0-x86-root_fs resize2fs 1.41.3 (12-Oct-2008) Resizing the filesystem on Debian-4.0-x86-root_fs to 128 (4k) blocks. Begin pass 1 (max = 16) Extending the inode table The filesystem on Debian-4.0-x86-root_fs is now 128 blocks long. r...@debian:~/debian-lenny# ls -lh total 1.2G -rw-r--r-- 1 root root 4.9G 2009-10-13 21:03 Debian-4.0-x86-root_fs -rwxr-xr-x 1 root root 65M 2009-10-13 13:46 kernel32-2.6.31.3 r...@debian:~/debian-lenny# Booting .. Debian GNU/Linux 4.0 (none) tty0 (none) login: root Last login: Tue Oct 13 17:58:59 2009 on tty0 Linux (none) 2.6.31.3 #2 Tue Oct 13 11:34:33 BST 2009 i686 (none):~# df -h FilesystemSize Used Avail Use% Mounted on tmpfs 61M 0 61M 0% /lib/init/rw tmpfs 61M 0 61M 0% /dev/shm rootfs4.9G 263M 4.4G 6% / tmpfs 768M 0 768M 0% /tmp (none):~# Thanks to all :)) -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user