Okay, I was able to cp (this time I used the command "cp -dpRvx") my
data from my ext2 partition to the ReiserFS one. After doing a du on
both partitions, I noticed that the ReiserFS files take up less room
than the same files on ext2. Is this an error (e.g. only part of the
files were copied) or is it due to ReiserFS's superior efficiency?
On Thu, 8 Feb 2001 01:35, Sridhar Dhanapalan wrote:
> Hey everybody,
>
> I got most of the way to converting my Linux ext2 partition (which
> contains /, /usr, /home, et cetera) to ReiserFS, but then I ran into
> a few snags. I used PartitionMagic to copy my Linux ext2 partition
> (/dev/hda1) to another drive (/dev/hdc1). I then ran mkreiserfs on
> /dev/hda1 to wipe it clean and convert it to ReiserFS. I know the
> data on /dev/hdc1 is intact as I am running Linux from it now. Now I
> wish to transfer my data back from /dev/hdc1 to /dev/hda1. I have
> tried copying the data using both Konqueror and by typing "cp -a /
> /mnt/disk/" (where /dev/hda1 is mounted), as root, after mounting
> /dev/hda1 of course. Both times, however, all the file ownerships
> change to root, even files in user directories, and it seems that
> not all files are copied. How would be be the best way to transfer
> my data intact and have the drive bootable? I understand that I need
> to change my /etc/fstab and /etc/lilo.conf (and run lilo)
> afterwards. Which directories do I need to copy? Of course, there
> are obvious ones like /bin, /home, /boot, /etc, /lib, /sbin, /usr,
> and /var, but do I need to copy ones like /dev, /var/ and /proc?
>
> Please, I need some help since my system is (and will be) in a very
> messed-up state until this is rectified. I have considered doing a
> fresh install, but I've modified my system so much that this would
> be impractical.
>
> Thanks in advance.
--
Sridhar Dhanapalan.
"There are two major products that come from Berkeley:
LSD and UNIX. We don't believe this to be a coincidence."
-- Jeremy S. Anderson