请教一个关于恢复主引导区的问题
时间:2005-03-07
来源:互联网
作者: jackybt 发布时间: 2005-03-07
And then type 'linux rescue', you will see a menu listing some functions about the changing bootloader.
Or, more easily but more time-wasted, you can update your system simply when installing the system.DrakX will do it for you!
As for the third***** tools, such as CDlinux or Knoppix, it ever occured to me that my partitions get chaos and kernel initials panic....therefore you can get former two methods as your priorities.
作者: lpknnkh 发布时间: 2005-03-07
作者: xemean 发布时间: 2005-03-07
作者: jackybt 发布时间: 2005-03-07
作者: fundawang 发布时间: 2005-03-07
作者: jackybt 发布时间: 2005-03-07
作者: fundawang 发布时间: 2005-03-07
作者: maramail 发布时间: 2005-03-07
作者: jackybt 发布时间: 2005-03-07
作者: jackybt 发布时间: 2005-03-07
作者: fundawang 发布时间: 2005-03-07
作者: jackybt 发布时间: 2005-03-07
作者: fundawang 发布时间: 2005-03-08
作者: jackybt 发布时间: 2005-03-08
作者: fundawang 发布时间: 2005-03-08
作者: jackybt 发布时间: 2005-03-08
备份和恢复 MBR
要制作您硬盘主引导记录的备份,请在软盘中插入一张空白磁盘,并执行下列命令:
# dd if=/dev/hda of=/dev/fd0/mbr.bin bs=512 count=1
如果您想要恢复您先前备份的 MBR,请插入存有该备份的软盘,然后执行下列命令:
# dd if=/dev/fd0/mbr.bin of=/dev/hda bs=512
注意
在上面的例子中,我们假定您第一块 IDE 硬盘(/dev/hda)的 MBR 备份到了您第一个软盘驱动器(/dev/fd0)中名为 mbr.bin 的文件中。以上命令应该以 root 用户身份运行。
作者: jackybt 发布时间: 2005-03-08
作者: fundawang 发布时间: 2005-03-08
再帮忙看看这样行不行?
从硬盘启动DOS后,直接运行grub.exe即可进入grub提示符;若是Win2000/NT/XP/2003系统,则在BOOT.INI中增加一行:c:\bootgrub="启动GRUB",然后重新启动机器,在菜单中选择“启动GRUB”,即可进入grub提示符。
在这种环境下输入:
# dd if=/dev/fd0/mbr.bin of=/dev/hda bs=512
行不行?
作者: jackybt 发布时间: 2005-03-08
dd是一个linux下的命令,grub下边是不能用的。
作者: fundawang 发布时间: 2005-03-08
timeout 10
default 0
fallback 1
title Mandrake Install
root (hd0,0)
kernel /cooker/isolinux/alt0/vmlinuz ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788 automatic=method:disk
initrd /cooker/isolinux/alt0/all.rdz
title Help
pause To display the help, press <space> until you reach "HELP END"
pause .
pause Please see http://qa.mandrakesoft.com/hd_grub.cgi for a friendlier solution
pause .
pause To specify the location where Mandrakelinux is copied,
pause choose "Mandrake Install", and press "e".
pause Then change "root (hd0,0)". FYI:
pause - (hd0,0) is the first partition on first bios hard drive (usually hda1)
pause - (hd0,4) is the first extended partition (usually hda5)
pause - (hd1,0) is the first partition on second bios hard drive
pause Replace /cooker to suits the directory containing Mandrakelinux
pause .
pause HELP END
是不是把
kernel /cooker/isolinux/alt0/vmlinuz ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788 automatic=method:disk
initrd /cooker/isolinux/alt0/all.rdz
里面的isolinux改成rescue?
作者: jackybt 发布时间: 2005-03-08
作者: fundawang 发布时间: 2005-03-09
作者: jackybt 发布时间: 2005-03-09
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28