Page 4 of 4

Posted: Fri Jul 11, 2003 7:09 am
by pahud
看起來gentoo-sources 2.4.20-r5無法使用splash=silent,

vanilla source 2.4.20 with patch 就可以。

Posted: Fri Jul 11, 2003 1:39 pm
by paar
breaking wrote:p.s.跟各位大大報告一下,我7/15服役,所以會有一段時間看不到我囉.... 不是我不回文喔:oops:
放假時,我會常常上來看看的喔....大家加油喔
不知道到時會不會被遺忘.... :?
加油加油..!! 國家暫時挖你的時間訓練你..
不過, 怕的是你出來後, 你已經不知道 gentoo 為什麼長得那樣子了. :lol: :lol:

Posted: Sat Jul 26, 2003 2:14 am
by wilson
paar wrote:
breaking wrote:p.s.這樣bar就會動囉,只是2849是怎得來的.....我不是很懂的說.....
因為我不知道如何得知number_of_scripts???
我猜這個數字可能每個機器不一樣..
我在我的 NB 上試了好幾次的數字是 5944, 看起來那個 bar 才有跑到滿..
這個 progressbar 的值從 0 至 65535
要跑的話 echo "show 數值" > /proc/splash
將它加在開機的自動執行檔中
例如, 跑完 inetd 之後, 就
echo "show 30000" > /proc/splash
跑完 apache 之後, 就
echo "show 42000" > /proc/splash
醬可以知道大約跑到哪個行程, 這才是王道
若是用程式在背景跑, 雖然很順累加, 但不知有沒有在開機時當掉

要是真的想用程式來跑, 這兒有完整的說明
http://hints.netservice-neuss.de/hints/bootsplash.txt

Posted: Sat Jul 26, 2003 11:40 am
by pahud
Wilson你這樣一講就清楚多了!原來滿簡單的!

Posted: Mon Jul 28, 2003 1:10 pm
by kiko555
pahud wrote:看起來gentoo-sources 2.4.20-r5無法使用splash=silent,

vanilla source 2.4.20 with patch 就可以。
想請問一下~該如何patch呢?
我在emerge bootsplash時...中間有訊息要我們自己~
ebuild 某一個檔案....
是那一個嗎?

可是當我在vaillna這個版本的kernel執行這一個動作時....
卻會跟我說失敗.....會有錯誤.....

因此想了解一下~patch的流程.....

Posted: Mon Jul 28, 2003 3:37 pm
by paar
kiko555 wrote:想請問一下~該如何patch呢?
我在emerge bootsplash時...中間有訊息要我們自己~
ebuild 某一個檔案....
是那一個嗎?

可是當我在vaillna這個版本的kernel執行這一個動作時....
卻會跟我說失敗.....會有錯誤.....

因此想了解一下~patch的流程.....
裝 bootsplash 的過程只有一個 patch..
回頭找一下長得像 patch -p0 < /usr/share/bootsplash/xxxxx 的東西
難一點的動作在後面編核心,和設定的部分..多試試

Posted: Wed Aug 13, 2003 10:11 pm
by kiko555
想請問一下~
在lilo.conf如何設定~
才能出現silent的模式呢?

我試過在lilo.con裡頭寫入splash=silent
結果是不行的 :(

Posted: Thu Aug 14, 2003 8:35 am
by kiko555
kiko555 wrote:想請問一下~
在lilo.conf如何設定~
才能出現silent的模式呢?

我試過在lilo.con裡頭寫入splash=silent
結果是不行的 :(
解決方案如下:
A progress bar for the bootsplash
Difficulty: Hard
How: Add the following append to /etc/lilo.conf

Code: Select all

append="splash=silent"

This will show the 'silent' bootsplash graphic on boot, pressing F2 changes it to verbose mode.
Add the following code to the eerror() section in /sbin/functions.sh

Code: Select all

echo "verbose" > /proc/splash
This will change to verbose mode if there's an error
This forum thread seems to be trying to figure out how to get progress bars working. And micha has made a patch package, available on his site, to try and make things easy for everyone.
If anyone knows any other information about this, please contribute.

原文出自:http://forums.gentoo.org/viewtopic.php?t=57781&highlight=bootsplash+lilo+silent