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

Unix/Linux
vi的命令
如何判断Zend Optimizer安装成功
Linux常用的日志文件和常用命令
linux如何修改主机名
linux如何删除非空文件夹|linux怎么删除非空文件夹
gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpect
vsftpd 配置例子
vsftpd 配置
vsftpd如何配置虚拟用户:PAM + PgSQL + FreeBSD-4
vsftp中文说明
VSFTP配置实例
vsftpd 配置(中)
怎么使用户能访问ftp,但不能远程登录
httpd: Could not determine the servers fully qualified domain name, using 127.0.
测试apache是否安装成功
apache 80端口无法打开|连接
make_sock: could not bind to address 0.0.0.0:443
kernel-headers下载
kernel-headers-2.2.1-4
找不到config.inc.php 没有config.inc.php这个文件

Unix/Linux 中的 GRUB安装方式


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 44 ::
收藏到网摘: 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档案供安装。