免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3774 | 回复: 10
打印 上一主题 下一主题

[FreeBSD] 原来安装FreeBSD XP双系统,现在重装XP,FreeBSD无法引导了,原来试用的是GRUB [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-09-04 10:26 |只看该作者 |倒序浏览
从网上找了一些资料,可是还是不得要领,怎么才能重装GRUB?

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
2 [报告]
发表于 2006-09-04 10:53 |只看该作者
可以用NTLoader来引导FB,翻一下旧贴.

论坛徽章:
0
3 [报告]
发表于 2006-09-04 11:36 |只看该作者
晕死,我前几天刚发的帖子啊,《小窍门:巧用Grub修复BSD》,自己找一下吧,要不看我的原文也行

http://bao3.blogspot.com/2006/09/grubfreebsd.html

论坛徽章:
0
4 [报告]
发表于 2006-09-04 11:47 |只看该作者
哈!看了congli的提示之后从网上找到这个了:

The general idea is that you copy the first sector of your native root FreeBSD partition into a file in the DOS/NT partition. Assuming you name that file something like c:\bootsect.bsd (inspired by c:\bootsect.dos), you can then edit the c:\boot.ini file to come up with something like this:


源码:--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows NT"
C:\BOOTSECT.BSD="FreeBSD"
C:\="DOS"
--------------------------------------------------------------------------------


If FreeBSD is installed on the same disk as the NT boot partition simply copy /boot/boot1 to C:\BOOTSECT.BSD However, if FreeBSD is installed on a different disk /boot/boot1 will not work, /boot/boot0 is needed.


Warning: DO NOT SIMPLY COPY /boot/boot0 INSTEAD OF /boot/boot1, YOU WILL OVERWRITE YOUR PARTITION TABLE AND RENDER YOUR COMPUTER UN-BOOTABLE!


/boot/boot0 needs to be installed using sysinstall by selecting the FreeBSD boot manager on the screen which asks if you wish to use a boot manager. This is because /boot/boot0 has the partition table area filled with NULL characters but sysinstall copies the partition table before copying /boot/boot0 to the MBR.


When the FreeBSD boot manager runs it records the last OS booted by setting the active flag on the partition table entry for that OS and then writes the whole 512-bytes of itself back to the MBR so if you just copy /boot/boot0 to C:\BOOTSECT.BSD then it writes an empty partition table, with the active flag set on one entry, to the MBR.

现在正在看linuxbao3的文章,谢谢各位了!!!

我和linuxbao3的原因是一样的,着了病毒,我着的是老老是访问3yyy.cn网站的下载病毒gif的病毒,卡巴只能报警,但是死活杀不出来,别的杀软什么提示也没有,就是蓝屏,NND,一气之下重装,这不是找在那么恢复BSD么,郁闷!!

论坛徽章:
0
5 [报告]
发表于 2006-09-04 11:51 |只看该作者
既然进不了BSD,那GRUB又是如何运行的呢??

论坛徽章:
0
6 [报告]
发表于 2006-09-04 11:51 |只看该作者
笔记本没有软驱了,倒是有BSD的安装盘,哈!

论坛徽章:
0
7 [报告]
发表于 2006-09-04 16:45 |只看该作者
原帖由 ihere 于 2006-9-4 11:51 发表
既然进不了BSD,那GRUB又是如何运行的呢??

晕,不是说重装XP了么,难道Grub不能在Xp下运行??

论坛徽章:
0
8 [报告]
发表于 2006-09-04 17:47 |只看该作者
哦,刚知道,谢谢

论坛徽章:
0
9 [报告]
发表于 2006-09-05 10:37 |只看该作者
如果你手上有一张linux的安装光盘的话,可以用这张光盘修复嘛。

论坛徽章:
0
10 [报告]
发表于 2006-09-05 10:52 |只看该作者
可以用xp的引导程序来引导fb的
搜索一下,,老问题了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP