LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1576|回复: 6

FreeBSD新的启动菜单!

[复制链接]
发表于 2003-6-5 16:51:38 | 显示全部楼层 |阅读模式
scott说是要在5.1 Release的光盘上使用该菜单!
大家先看一下吧!这是我在虚拟机上抓下来的(目前只支持FreeBSD 5.0以上版本)。


制作方法:
I've written a nice little bootloader front-end script that allows one
to enable/disable acpi, boot single users, etc. My primary motivation
was to allow users to easily disable ACPI, since so many problems are
popping up these days with it. Making the disabling of ACPI sticky is
not that hard to do, probably a few lines of sh scripts in rcNG, but I
haven't gotten to it yet. To use the new loader, grab it from

http://www.freebsd.org/cgi/cvswe ... ent-type=text/plain

and place it in /boot. Then copy frames.4th and screen.4th from
/usr/share/examples/bootforth into /boot. Then edit /boot/loader.rc
with the following diff. WARNING: if any mistakes are made and the
script cannot start, it might leave your loader unable to load the
kernel. In case of problems, either keep a fixit floppy handy, or
recompile your kernel with embedded hints (so that things like the
console will work) and load it from the boot1 loader.

I'm really hoping to have this be on at least the i386 bootcd for 5.1,
so any feedback is appreciated.

Scott

--- loader.rc.orig Sun May 25 22:10:03 2003
+++ loader.rc Sun May 25 22:10:47 2003
@@ -12,3 +12,14 @@

\ Unless set otherwise, autoboot is automatic at this point

+\ Load our little menu
+s" /boot/beastie.4th" O_RDONLY fopen dup fload fclose
+
+\ Initialize loader.4th stuff
+
+\ cr cr .( Initializing loader.4th...)
+initialize drop
+
+\ Show the menu
+\ cr
+beastie-start
 楼主| 发表于 2003-6-5 17:41:11 | 显示全部楼层
scott那个脚个是For 5.x Only的,所以4.x的朋友就不能用了,不过不用难过,现在4.x的朋友也可以用了,我在scott的脚本上改了一下,大家可以到这里下载For 4.x的beastie.4th:
http://www.cnfug.org/tmp/beastie.4th
我在4.5上的抓图:


其它设置方法是相同的,只是这个脚本不同。     
发表于 2003-6-12 13:03:26 | 显示全部楼层
请问beastie.4th这个东西放在哪个目录中呢?
发表于 2003-6-12 13:55:07 | 显示全部楼层
/boot
发表于 2003-6-20 19:45:54 | 显示全部楼层
freebsd好用吗?怎么感觉界面黑呼呼的:???
发表于 2003-6-20 20:01:49 | 显示全部楼层
其他操作系统在漂亮的引导画面下掩盖的也是黑呼呼的东西
发表于 2003-6-21 22:07:32 | 显示全部楼层
是啊,呵呵:)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表