Amardeep Singh <[EMAIL PROTECTED]> writes: > i have ext2 but now i want to switch to reiserfs > i have an empty partition, which is not being used > now, i would like to copy the contents of /dev/hda5 (existing ext2 > partition) to /dev/hda8 (new empty reiserfs partition). but i donot know > what is the best way to do it.
Assuming that the /dev/hda partition you want to copy is mounted on /data: mount /dev/hda8 /mnt cd /data find . -xdev -print0 | cpio -pvdm0 /mnt If you want to move the / partition, do the same thing as above, then cd to /mnt/etc, and change fstab and lilo.conf to represent the new root disk. Then, do chroot /mnt lilo to install a new version of lilo. Alter instructions accordingly if you use a different boot loader. -- Dave Carrigan ([EMAIL PROTECTED]) | Yow! .. I feel.. JUGULAR.. UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | Seattle, WA, USA | http://www.rudedog.org/ |