当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > GRUB安装方式

Unix/Linux
Ubuntu 8.04系统下Opera浏览器安装配置
Ubuntu系统软件安装方式
解决Ubuntu启动时的Routine check检查时间过长
Ubuntu系统下安装网络打印机
Ubuntu系统下zend for linux中文乱码解决
Ubuntu 8.04升级到Ubuntu 8.10
Ubuntu 8.04中使用fast-cgi搭建Apache2+PHP5环境
Ubuntu压缩/解压缩RAR文件的方法
64位ubuntu8.04 安装QQ
ubuntu关闭图形模式
解决ubuntu系统下vimtutor乱码
Ubuntu下安装KDE桌面环境
Ubuntu 8.10 Intrepid Ibex Alpha4 官方正式版下载
ubuntu8.04下源码安装wine 设置中文
ubuntu下设置共享目录
Ubuntu下Flash乱码的解决方法
Ubuntu 8.04中启用FrameBuffer
Ubuntu系统下升级内核的方法
ubuntu系统下播放mp3及中文乱码的解决
ubuntu 8.04.1 LTS 下的cpu温度监控软件lm-sensors

Unix/Linux 中的 GRUB安装方式


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 97 ::
收藏到网摘: n/a


GRUB安装方式:   (1)tar zxvf grub-0.5.96.1.tar.gz     (2)cd grub-0.5.96.1     (3)./configure     (4)make     (5)make check     (6)make install     (7)cp r /usr/local/share/grub/i386-pc/ /boot/grub/     (8)vi /boot/menu.lst (内容参考grub-0.5.96.1/docs/menu.lst)例参考如:     #     # /boot/grub/menu.lst - generated by Lizard     #     # options     timeout = 5     splashscreen = (hd0,0)/boot/message.col24       default = 0       title = Caldera OpenLinux eServer 2.3     root = (hd0,0)     kernel = /boot/vmlinuz-pc97-2.2.14-modular vga=274 noapic nosmp debug=2 root=/dev/hda1     (9)开一个terminal下grub command       grub     grub > root (hd0,0)     grub > find /boot/grub/stage1     grub > setup (hd0)     grub > quit     (10)reboot後可按下英文字母e 进入Grub画面加以编辑, 按下英文字母c进入command line;可输入command,例如grub > root (hd0,0) vga=274 noapic nosmp;按Esc回到Grub画面, 按下英文字母b可启动进入Linux。     其它注意事项   Caldera Distribution可直接从其安装片中之grub-0.5.94-5.rpm迳行安装;再建立/boot/grub目录下的相关档案及memu.lst档案之内容;或者从其原始码grub-0.5.94-5.src.rpm作rpm档如:(作法其他版本供参)     (1)rpm ivh grub-0.5.94-5.src.rpm     (2)检查在/usr/src/OpenLinux/SOURCES/目录下有无grub-0.5.94-initrd1G.patch、grub-0.5.94-nomeminfo.patch、grub- 0.5.94-splash.patch及grub-0.5.94.tar.gz四个档案;并将上述渠等档案与/usr/src/OpenLinux/SPECS/目录下之grub.spec档案比对编辑之。     (3)在/usr/src/OpenLinux/SPECS/目录下执行rpm ba grub.spec     (4)检视/usr/src/OpenLinux/SRPMS/有无grub-0.5.94-5.src.rpm档案;另/usr/src/OpenLinux/RPMS/有无grub-0.5.94-5.rpm档案供安装。