- 鐵幣
- 4051 元
- 文章
- 602 篇
- 聲望
- 186 枚
- 上次登入
- 24-5-21
- 精華
- 8
- 註冊時間
- 04-11-17
- UID
- 66858
|
用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翻譯的,
若需要翻譯請用中文來翻譯比較準確.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
|
|