I forgot to mention that you have to change /etc/fstab on the new_filesystem...

change any ext2 to reiserfs


Rio Martin wrote:
On Wednesday 23 June 2004 02:11, Ali wrote:
How did you try to convert the RootFS from ext2 to ReiserFS??
I was converting those images using this way...
(for 100MB image) write anysize larger than the total image usage.
# dd if=/dev/zero of=new_filesystem seek=100 count=1 bs=1M
# mkreiserfs new_filesystem
# mount -o loop root_fs /mnt/old
# mount -o loop new_filesystem /mnt/new
# cd /mnt/old
# tar cf - . | (cd /mnt/new; tar xf -)
Once you are finished, you have converted the ext2 filesystem to
reiserfs, and you can convert it to anything else using the same procedure.
just umount /mnt/old and /mnt/new
and use the new_filesystem as a root_fs

Hi Ali,
Thanks for replying my post to this list.
Perhaps my previous post confused you all. I ve successfull moving the rootfs 
into bigger rootfs under ReiserFS. But when i tried to boot UML, i got 
failure message due to my UML loaded with EXT2. It should be booted with 
ReiserFS. Any command parameters to boot this UML with ReiserFS ?


Rio Martin.

This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
User-mode-linux-user mailing list