关于如何设置下拉选项选项的求助

Grub-install失败 求助! 求可能原因!
Grub-install失败 求助! 求可能原因!一个amd sempron的机器hda1 安装windows xp hda6 安装 rhel4 2.6.95grub写在MBR里面的xp本来是中文vol版的后来格式化hda1重装en版结果用rhel4 disc1 进行linux rescue的时候chroot /mnt/sysimage之后grub-install /dev/hda6 失败装中文版的时候也曾经grub-install几秒钟就搞定了现在每次必须10min才能显示grub-install succeed而且重启之后直接进入xp 系统,并没有显示grub引导选项修改/boot/grub/menu.lst和grub.conf无效(其实并没有发现任何错误)后来干脆升级安装EL4选择gui模式升级然后一直下一步但是到了系统安装前准备的href=/gongsi/572.html&/& title=&兆福& target=&_blank &&兆福时候点击下一步系统提示安装不正常退出多次均如此最后只好格式化hda6请问,系统可能有什么问题??搞得我很郁闷,找人来看/guanyuwomen/641.html/gongsi/588.html的时候,人到了,学校停电....C++有一个朴素的思想:&简单的问题用简单的方法解决,当我们判断再没有更简单的工具来解决一个问题时,于是把手伸入机器猫的口袋,作为新型新闻的生产者,他们可以恪守事实,保持信息来源的透明性。很简单的,用面向过程可以非常漂亮地解决的问题,但在初学者面前,
请各位遵纪守法并注意语言文明20760人阅读
linux专区(15)
平时总是弄得grub出错进不来系统,给我来个grub-rescue,我用livecd的Ubuntu进入系统后,重新安装grub到mbr,方法如下:
grub-install --boot-directory=/mnt/boot /dev/sda
其中的boot目录就是挂载的boot分区,如果没有boot分区,那就是根目录
下面是安装文档的原文:
For information on where GRUB should be installed on PC BIOS platforms,see .
In order to install GRUB under a UNIX-like OS (suchas gnu), invoke the programgrub-install (see) as the superuser (root).
The usage is basically very simple. You only need to specify oneargument to the program, namely, where to install the boot loader. Theargument has to be either a device file (like ‘/dev/hda’). For example, under Linux
the following will install GRUB into the MBRof the first IDE disk:
# grub-install /dev/hda
Likewise, under GNU/Hurd, this has the same effect:
# grub-install /dev/hd0
But all the above examples assume that GRUB should put images underthe /boot directory. If you want GRUB to put images under a directoryother than/boot, you need to specify the
option--boot-directory. The typical usage is that you create a GRUBboot floppy with a filesystem. Here is an example:
# mke2fs /dev/fd0
# mount -t ext2 /dev/fd0 /mnt
# mkdir /mnt/boot
# grub-install --boot-directory=/mnt/boot /dev/fd0
# umount /mnt
Some BIOSes have a bug of exposing the first partition of a USB drive as afloppy instead of exposing the USB drive as a hard disk (they call it“USB-FDD” boot). In such cases, you need to install like this:
# losetup /dev/loop0 /dev/sdb1
# mount /dev/loop0 /mnt/usb
# grub-install --boot-directory=/mnt/usb/bugbios --force --allow-floppy /dev/loop0
This install doesn't conflict with standard install as long as they are inseparate directories.
Note that grub-install is actually just a shell script and thereal task is done bygrub-mkimage andgrub-setup. Therefore, you may
run those commands directly to install GRUB, withoutusinggrub-install. Don't do that, however, unless you are veryfamiliar with the internals of GRUB. Installing a boot loader on a runningOS may be extremely dangerous.
&&相关文章推荐
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:238567次
积分:2853
积分:2853
排名:第11359名
原创:56篇
评论:54条
(1)(4)(2)(1)(1)(1)(1)(1)(4)(1)(1)(1)(3)(10)(16)(6)(2)(5)(2)

我要回帖

更多关于 如何设置下拉选项 的文章

 

随机推荐