請益dd 備份 與 回復的問題 - Linux

By Adele
at 2015-12-11T13:57
at 2015-12-11T13:57
Table of Contents
我查了過往的文章. 有發現接近的案例但還是有一些不懂的地方
看舊文貌似已經解決了, 但還是看不太懂
我下
dd if=/dev/sda1 of=/home/image/sda1.img bs-4M /boot
dd if=/dev/sda2 of=/home/image/sda1.img bs-4M /var
dd if=/dev/sda3 of=/home/image/sda1.img bs-4M /
dd if=/dev/sda5 of=/home/image/sda1.img bs-4M /usr
還原的時候把各分區的檔案都倒回去,重開機的時候就進入無限迴圈了
dd if=/home/image/sda1.img of=/dev/sda1 /boot
dd if=/home/image/sda2.img of=/dev/sda2 /var
dd if=/home/image/sda3.img of=/dev/sda3 /
dd if=/home/image/sda4.img of=/dev/sda4 /usr
起因是我不應該在進入系統時做這個動作嗎?
應該是要用LiveCD操做這段還原?
我Google了大部份的網站都是這個說明, 有少部份提到要修改UUID
但這樣的內容都是A機備份, B機還原
可以請網友指點一下哪邊的操作有誤
謝謝
--
Tags:
Linux
All Comments

By Kyle
at 2015-12-14T02:32
at 2015-12-14T02:32

By Adele
at 2015-12-16T12:55
at 2015-12-16T12:55

By Sandy
at 2015-12-17T00:00
at 2015-12-17T00:00

By Eartha
at 2015-12-18T23:43
at 2015-12-18T23:43

By Agatha
at 2015-12-22T18:58
at 2015-12-22T18:58

By Connor
at 2015-12-24T08:37
at 2015-12-24T08:37

By Lily
at 2015-12-26T07:58
at 2015-12-26T07:58

By Jacky
at 2015-12-30T13:13
at 2015-12-30T13:13
Related Posts
有沒有linux程式軟體的教學?

By Vanessa
at 2015-12-10T22:11
at 2015-12-10T22:11
請問如何改多重資料夾內的特定檔案名稱

By Charlie
at 2015-12-09T20:18
at 2015-12-09T20:18
ld 指令問題

By Odelette
at 2015-12-09T19:01
at 2015-12-09T19:01
Re: 請問關於自由軟體的授權用

By Rebecca
at 2015-12-09T10:14
at 2015-12-09T10:14
Re: 請問關於自由軟體的授權用

By Kristin
at 2015-12-09T03:53
at 2015-12-09T03:53