Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Lab: backing up mbr and recovery

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Experiment destroys backup

The first step is to back up, and the backup is complete.

Then clear the 64 of the disk.

Looking at the binary

Rebooting

Press the ESC key to enter the CD to start

Entering rescue mode

You can do it by default in language.

Then go to this page and select the network.

Select yes

Eth0 Select ok

Automatic access to the network

Let's just go on.

Enter this page and write shell

Next, download the backup through the network.

Overlay recovery is in progress

Re-exit

Select restart

It succeeded in the end.

Summary:

Lab: backing up mbr and recovery

Dd if=/dev/sda of=/app/mbr bs=1 count=512

Scp / app/mbr remoteip:/root

Dd if=/dev/zero of=/dev/sda bs=1 count=512

Rescue mode

Scp remoteip:/root/mbr /

Dd if=mbr of=/dev/sda

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report