钱不久刚刚安装了Windows server 2008 sp2 。也陶醉了一番,今天想进入Ubuntu时,发现启动时没有了Ubuntu的选择项了。
好了,现在来谈谈如何修护这个问题。
需要的软件有grub4dos .
下载了grub4dos后解压,把menu.lst、grub.exe、grldr.mbr、grldr这几个文件copy到c盘根目录。
以前的XP和server 2003 可以直接在c:\boot.ini中添加引导项, 2008中没有,好像从vsita之后的Windows系统中就都没了。在C盘中新建一个TXT文件改名为boot.ini。在中间写上如下内容:
[operating systems]
c:\grldr="GHOST 11.2"
修改menu.lst文件 ,内容如下:
color blue/green yellow/red white/magenta white/magenta
default 2
timeout 10
title ☆ 重阳系统维护 Powered by grub4dos ☆
clear
#..
title ──────────────────────────────────
clear
title 返回C盘启动菜单
rootnoverify (hd0,0)
makeactive
chainloader +1
title ──────────────────────────────────
clear
title find and load NTLDR of Windows NT/2K/XP
fallback 6
find –set-root –ignore-floppies –ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map –rehook
find –set-root –ignore-floppies –ignore-cd /ntldr
chainloader /ntldr
savedefault –wait=2
title ──────────────────────────────────
clear
title find and load BOOTMGR of Windows VISTA
fallback 8
find –set-root –ignore-floppies –ignore-cd /bootmgr
map () (hd0)
map (hd0) ()
map –rehook
find –set-root –ignore-floppies –ignore-cd /bootmgr
chainloader /bootmgr
savedefault –wait=2
title ──────────────────────────────────
clear
title GRUB命令行
commandline
title ──────────────────────────────────
clear
title 重启计算机
reboot
title 关闭计算机
halt
重启后就可以看到启动中有了“grub4dos”的选项了,tab键选择它后进入menu.lst菜单,选择“GRUB命令行”, 屏幕中出现grub>符号,就可以用命令来修复了。
grub>root (hd0,3) #其中的 0 和 3 这两值因个人电脑而异。可以输入root (hd 后按tab查看linux系统所在分区。
grub>setup (hd0)
再次重启电脑,可以看见屏幕中提示按ESC键进入LINUX的引导项了。
Tags: 标签:server 2008, vsita, 修复LINUX引导项[重阳博客:http://www.99xunle.com/archives/751]
| 随机文章 | 相关文章 |
|---|---|

啊……需要这个,我都快被Ubuntu和Win的启动项给搞死了,准备重新装过系统了,到时候来找你哦~嘿嘿
Reply
重阳 2009-12-09 回复:
很乐意为你帮忙哦
Reply
如果你知道ub的BOOT在哪里应该可以直接修改MENULST引导UB吧
Reply
重阳 2009-11-14 回复:
@天缘博客, linux的grub引导已经损坏,要先修复才行
Reply
没用过,以后学习
Reply
重阳 2009-11-12 回复:
@小枫, 希望对你有帮助
Reply
装双系统麻烦很多的,所以最好还是在虚拟机上玩玩
Reply
重阳 2009-11-12 回复:
@zhukun, 我就是在虚拟机上玩烦了才装双系统的,呵呵
Reply
这个号,我收藏了,正有这个需要呢,呵呵。
Reply