[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving Debian installation to another partition.


Roman Khomasuridze wrote:
I'll try to move unmounted /dev/sda2 from live-CD, that sounds more reasonable to me.

thanks a lot for suggestions!!

You are welcome, but please read a little further below ....

    For parts 1 and 2, I would boot from a livecd of some kind and do
    the following:

    1. /sbin/mkfs.ext3 /dev/sda5
    2. mkdir /mnt/sda5
    3. mount /dev/sda5 /mnt/sda5
    4. aptitude install dump
    5. cd /mnt/sda5
    6. dump 0f - /dev/sda|restore rf -

   6. dump 0f - /dev/sda2|restore rf -

Uggh, watch out for the typo!  Was missing the 2 in the source partition.


Reply to: