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

How to repair MBR after ghost FreeBSD recovery

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

In this article, the editor introduces in detail "how to repair MBR after ghost FreeBSD recovery". The content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to repair MBR after ghost FreeBSD recovery" can help you solve your doubts.

Repair the startup of bsd

1. Launch FreeBSD's Fixit console through the FreeBSD boot CD, where you can use a variety of system tools, all of which are located on the boot CD, and the boot CD is automatically mounted to / mnt2, and the user does not need to modify the PATH environment variable, because the PATH environment variable is also automatically modified so that various system tools can be used without giving an absolute path. Of course, this also includes boot0cfg.

2. Use the following command to repair MBR (that is, the boot sector of the hard disk). This is only a brief description of these command line options for boot0cfg. The following command requires root permission (this is nonsense, and entering the system through the Fixit console is naturally a root user):

Boot0cfg-B-v-o noupdate-t 185 ad0

A brief explanation:

-B option: indicates that the bootstrap program is to be installed on the hard disk

-v option: give details

-o noupdate option: avoid problems on some platforms (these platforms have anti-virus hardware and are not allowed to modify MBR)

-t 185 option: pause for 10 seconds at startup (approximate) to allow the user to select the system to boot

It should be noted that the version of the restored system must be the same as the CD used when restoring the system. Just because we didn't take this problem into account, we wasted more than three hours.

After reading this, the article "how to repair MBR after ghost FreeBSD recovery" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself to understand it. If you want to know more about related articles, welcome to follow the industry information channel.

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