鐵之狂傲

 取回密碼
 註冊
搜尋

【教學主題】 用GNU/Linux備份和還原硬碟開機磁區MBR

[複製連結] 檢視: 10734|回覆: 2

201607247-1-MBRth-SuSE_Linux_7P-gnome2-GIMP-jpgQ86-thCOM-UIC.jpg

用GNU/Linux備份和還原硬碟開機磁區MBR,
在安裝多重開機新系統時,開機磁區都會被覆蓋掉,
可以用下面命令先把開機磁區備份起來,
dd if=/dev/hda of=/UIC/hda.mbr bs=512 count=1
With GNU/Linux backup and restore hard disk boot sector MBR,
When you install a new multi-boot system,
boot sector will be overwritten,
You can use the following command to back up first boot sector,
dd if=/dev/hda of=/UIC/hda.mbr bs=512 count=1

以下列命令還原開機磁區MBR
In the following command to restore boot sector MBR
dd if=/UIC/hda.mbr of=/dev/hda bs=512 count=1

其中/UIC/hda.mbr是儲存開機磁區MBR的檔案,
有時要記住是放在哪一個分割區,
必要時掛載分割區指定檔案位置,列如:
mkdir /mnt/hd4
mount /dev/hda4 /mnt/hd4
dd if=/mnt/hd4/UIC/hda.mbr of=/dev/hda bs=512 count=1
reboot
Wherein /UIC/hda.mbr boot sector MBR is to store files,
Sometimes to remember which one is on the partition,
If necessary, mount the partition specified file location,
such as columns:
mkdir /mnt/hd4
mount /dev/hda4 /mnt/hd4
dd if=/mnt/hd4/UIC/hda.mbr of=/dev/hda bs=512 count=1
reboot

可以在網路上搜尋"Linux備份MBR"就可以找到相關資料.
You can search for "Linux Backup MBR"
on the web you can find relevant information.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
In order unnecessary misunderstanding:
I do not know English
English is translated using google translate
If you need to translate,
please use Chinese to translate more accurate.
https://translate.google.com/
為了不必要的誤會:小皇不懂英文,
英文都是用google translate翻譯的,
若需要翻譯請用中文來翻譯比較準確.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

回覆 使用道具 檢舉

全世界最先進的跳動筆
2#
無效的樓層,該文章已經被刪除
3#
無效的樓層,該文章已經被刪除
你需要登入後才可以回覆 登入 | 註冊

存檔|手機版|聯絡我們|新聞提供|鐵之狂傲

GMT+8, 24-3-29 20:43 , Processed in 0.065943 second(s), 18 queries .

回頂部