請問如何將Console弄得像安裝光碟的Console一模?

有關於X 環境當中所遇到的問題

Moderator: Forums Team

pahud
24hr 義工
Posts: 1251
Joined: Tue Nov 26, 2002 10:22 pm
Contact:

Post by pahud »

看起來gentoo-sources 2.4.20-r5無法使用splash=silent,

vanilla source 2.4.20 with patch 就可以。
paar
Posts: 1154
Joined: Thu Jan 30, 2003 10:53 am
Location: 打狗市
Contact:

Post by paar »

breaking wrote:p.s.跟各位大大報告一下,我7/15服役,所以會有一段時間看不到我囉.... 不是我不回文喔:oops:
放假時,我會常常上來看看的喔....大家加油喔
不知道到時會不會被遺忘.... :?
加油加油..!! 國家暫時挖你的時間訓練你..
不過, 怕的是你出來後, 你已經不知道 gentoo 為什麼長得那樣子了. :lol: :lol:
叫我老帕好了!
Image
wilson
Posts: 27
Joined: Mon Jun 09, 2003 11:19 am
Location: 下港

Post 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
Pinky, Pinky, Pinky 三種口味
寫個程式吃 Pinky
當機吃 Pinky
火氣更大想幹譙, 你要吃 Pinky
pahud
24hr 義工
Posts: 1251
Joined: Tue Nov 26, 2002 10:22 pm
Contact:

Post by pahud »

Wilson你這樣一講就清楚多了!原來滿簡單的!
kiko555
Posts: 152
Joined: Mon May 26, 2003 4:33 pm
Contact:

Post 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的流程.....
paar
Posts: 1154
Joined: Thu Jan 30, 2003 10:53 am
Location: 打狗市
Contact:

Post by paar »

kiko555 wrote:想請問一下~該如何patch呢?
我在emerge bootsplash時...中間有訊息要我們自己~
ebuild 某一個檔案....
是那一個嗎?

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

因此想了解一下~patch的流程.....
裝 bootsplash 的過程只有一個 patch..
回頭找一下長得像 patch -p0 < /usr/share/bootsplash/xxxxx 的東西
難一點的動作在後面編核心,和設定的部分..多試試
叫我老帕好了!
Image
kiko555
Posts: 152
Joined: Mon May 26, 2003 4:33 pm
Contact:

Post by kiko555 »

想請問一下~
在lilo.conf如何設定~
才能出現silent的模式呢?

我試過在lilo.con裡頭寫入splash=silent
結果是不行的 :(
kiko555
Posts: 152
Joined: Mon May 26, 2003 4:33 pm
Contact:

Post 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
Post Reply