Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am having compressed file for / (root) of Ubuntu OS. It contains all subdirectories except /media. Is it possible to restore the system using that archive file? (I've tried just unpacking archive, but partitions have different IDs and I got "you need to load kernel first" GRUB message.)

share|improve this question
    
Thanks, I'll try. tar -cvpzf backup.tar.gz --exclude=/backup.tar.gz --exclude=/proc --exclude=/lost+found --exclude=/sys --exclude=/mnt --exclude=/media --exclude=/dev / actually I did not excluded /sys and some more. If I unpack them manually and exclude them while unpacking, it may work too, isn't it? –  erik1001 Dec 29 '12 at 23:24
    
They should have failed to copy in the first place. Just saying. Try it and find out –  hbdgaf Dec 29 '12 at 23:28
    
I was super user while creating the archive. I'll try to manually extract them and I'll share the result. –  erik1001 Dec 29 '12 at 23:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.