黑色男孩的引导问题~
语法错了吗?我以前没有用过GRUB~希望大家帮我~(目前MBR里是LILO~)# grub-install (hd0)
bash: syntax error near unexpected token `hd0'
而且进入GRUB以后连
grub> setup (hd0)
Error 12: Invalid device requested
不知道到底问题在哪里~ 我的grub.conf是这样的 ~错了吗?
default=2
timeout=10
splashimage=(hd0,8)/boot/grub/splash.xpm.gz
title RedHat 9
root (hd0,8)
kernel /boot/vmlinuz-2.4.20-8 root=/dev/hda9 ro
initrd /boot/initrd-2.4.20-8.img
title Windows 98
root(hd0,0)
chainloader +1 default=1
试一下 好像应该是使用grub-install hda(或者是/dev/hda) 不行哦~问题还是没有解决~
# grub-install hda
Format of install_device not recognized.
Usage: grub-install install_device
Install GRUB on your drive.
-h, --help print this message and exit
-v, --version print the version information and exit
--root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
--grub-shell=FILE use FILE as the grub shell
--force-lba force GRUB to use LBA mode even for a buggy
BIOS
--recheck probe a device map even if it already exists
INSTALL_DEVICE can be a GRUB device name or a system device filename.
Report bugs to <[email protected]>.
这个语法好象也有问题~而且我看文章上说应该是grub-install (hd0)呀~
还请大家多多帮我~谢谢~ 问题解决了 ~
语法应该是
grub-install /dev/hda
页:
[1]