I have two hdd's in one machine, as follows:
extra drive (backup)
mounted at /boot
mounted as root
I am trying to copy 3G worth of system files from hdb6 to hda1. The goal here, is that I can add an entry to lilo so that I can boot with either disk as my root drive. The reason being is that I need to use resize_reiserfs to shrink the size of hdb6's partition, and create a windows-readable partition using mtools with the newly created space. This can only be done, though, if hdb6 is not mounted. Live CD is not an option here.
I have tried dd, and got an input output error. dd dropped 1 record. I'm not sure if that was the exception, and it halted, or if there is more to it. The specific command I used was:
dd if=/dev/hdb6 of=/dev/hda1
I should also note, that I have tried just a normal copy+paste in a file manager, and it hangs at either /dev or /proc. Why is this? I understand that it may create a loop, especially when it gets to /dev/hda (being that I am writing to /dev/hda) How would you create the block devices on the new drive? Anyone seen any good info on the specifics of this?
Is this correct? Any suggestions?