[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4779: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4781: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4782: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4783: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Gentoo Taiwan 討論區 • 檢視主題 - 請問GRUB的設定檔...^^"

請問GRUB的設定檔...^^"

什麼?Gentoo 裝不起來?核心怎麼編?安裝失敗等問題?來這裡求救吧!

版主: Forums Team

請問GRUB的設定檔...^^"

文章maxmafiona » 週四 1月 06, 2005 9:18 pm

maxmafiona
 
文章: 3
註冊時間: 週日 11月 21, 2004 1:39 pm
來自: Tainan

文章benny » 週四 1月 06, 2005 9:29 pm

GOT 討論區管理規則及使用指南

實行中!
加入 GOT 的郵件討論!
http://lists.linux.org.tw/cgi-bin/mailm ... nfo/gentoo
頭像
benny
 
文章: 1120
註冊時間: 週日 4月 06, 2003 7:03 pm
來自: 家裡

文章paar » 週四 1月 06, 2005 11:47 pm

叫我老帕好了!
圖檔
頭像
paar
 
文章: 1154
註冊時間: 週四 1月 30, 2003 10:53 am
來自: 打狗市

文章hata » 週五 1月 07, 2005 9:10 am

寄件者:老貢生 (letsgo@ms6.url.com.tw)
主旨:Re: [問題]floppy linux如何執行linuxrc?

View this article only
網上論壇:tw.bbs.comp.linux
日期:2003-04-09 18:19:42 PST

frank wrote:
> ※ 引述《letsgo@ms6.url.com.tw (老貢生)》之銘言:
>
>>frank wrote:
>>
>>>我用busybox做了一個floppy linux
>>>在/bin下讓init指向linuxrc
>>>ln -sf /linuxrc init
>>>但是開機時,卻不會去執行linuxrc
>>>請問是不是我的init ram disk有少了什麼東西?
>>>
>>跟你啟動參數 root=whatdevice 設定可能有關係,你說說看 root 怎設定的。
>>此外你 linuxrc 怎寫的也 post 上來看看。
>>
>
> 我的 root=/dev/ram0
> 我發現只要我把ln -sf /linuxrc init 換成
> ln -sf ../linuxrc init
> 它就會跑我的linuxrc
> 請問是為什麼?

還是我上篇 post 的觀念,如果 kernel 發覺了 root=device 的設定,
並且這個 device 被正確掛入,那他會執行 /sbin/init ,
而不是 /linuxrc ,要他執行 /linuxrc 很簡單,就是把你啟動時,
把 root=/dev/ram0 的設定拿掉,因為 initrd.img 用的就是 /dev/ram0,
所以 kernel 就拿你的 initrd fs 當 root fs ,而去執行 /sbin/init 了。

所以 /linuxrc 只有在缺乏 root 設定,或有 root 設定,但尚未被正確掛入時,
才會被執行。

至於你要以 initrd fs 當 root fs ,但又希望 /linuxrc 先執行時,
那就不要先給 root=/dev/ram0 參數,然後在 /linuxrc 的適當處加下面的敘述:
mount none /proc -t proc
echo 0x100 > /proc/sys/kernel/real-root-dev
去告訴 kernel ,真正的 root fs 是 0x100 (/dev/ram0 的 mknod 編號)。

總之你要有個概念,kernel 執行,一定要有個 root fs ,和一個 init ,
/linuxrc 只是 /sbin/init 的前置處理,/linuxrc 結束後,
kernel 還是會去找 /sbin/init 來執行的。所以你
ln -sf /linuxrc init
的結果,
在有 root=/dev/ram0
時會執行不到,而在沒有 root=/dev/ram0 時,/sbin/init 會執行兩次。
而 ln -sf ../linuxrc init,在有 root fs 設定時,/linuxrc 不執行,
執行 /sbin/init ,無 root fs ,執行 /linuxrc ,但 linuxrc 結束後,
kernel 會回應 panic 訊息。

要觀察上列現象,建議不要用 linuxrc 和 init 的連結方式,你把 linuxrc
改用個 shell script 代替,就看得出來了。
\bye
頭像
hata
 
文章: 17
註冊時間: 週一 9月 29, 2003 9:35 pm
來自: Third New Tokyo City

文章scsi » 週五 1月 07, 2005 3:22 pm

世界再大,不過是妳我之間的事
:111.gif: 欲使用GOT的ebuild請看
圖檔  
頭像
scsi
 
文章: 1326
註冊時間: 週二 10月 14, 2003 7:49 am

文章maxmafiona » 週四 1月 20, 2005 5:35 pm

最後由 maxmafiona 於 週四 1月 20, 2005 9:33 pm 編輯,總共編輯了 1 次。
maxmafiona
 
文章: 3
註冊時間: 週日 11月 21, 2004 1:39 pm
來自: Tainan

文章rudyboy » 週四 1月 20, 2005 6:48 pm

頭像
rudyboy
 
文章: 16
註冊時間: 週四 9月 23, 2004 4:45 pm
來自: Asteroid B-612


回到 Gentoo 安裝

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 5 位訪客

cron