Flavio wrote:
> 2009/10/13 David Fernández <da...@dit.upm.es>:
>   
>> 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 1280000 (4k) blocks.
Begin pass 1 (max = 16)
Extending the inode table     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The filesystem on Debian-4.0-x86-root_fs is now 1280000 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
Filesystem            Size  Used Avail Use% Mounted on
tmpfs                  61M     0   61M   0% /lib/init/rw
tmpfs                  61M     0   61M   0% /dev/shm
rootfs                4.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

Reply via email to