- 论坛徽章:
- 0
|
本帖最后由 netstree 于 2010-02-05 17:04 编辑
grub
grub>root ( hd0 , 1 )
grub>setup ( hd0 )
和
grub-install /dev/sda
有啥本质区别?不都是安装grub到mbr吗?
1,Installing GRUB natively
grub> root (hd0,0)
grub> setup (hd0)
2,Installing GRUB using grub-install
# grub-install /dev/hda
Note that @command{grub-install} is actually just a shell script and the real task is done by the grub shell @command{grub} (see section Invoking the grub shell). Therefore, you may run @command{grub} directly to install GRUB, without using @command{grub-install}. Don't do that, however, unless you are very familiar with the internals of GRUB. Installing a boot loader on a running OS may be extremely dangerous.
参考:
http://www.linuxselfhelp.com/gnu/grub/html_chapter/grub_3.html |
|