パピーの初回(RAMモード)起動のとき、CPUが非力なパソコンの場合
Updating... network-drivers-list
の表示の後がずいぶん長く感じられます。
これは /etc/rc.update から呼ばれる /usr/sbin/updatenetmoduleslist.sh が /etc/networkmodules を作成している時間です。
/etc/networkmodules はたかだか 11kB程度のファイルです。ハードには依らないようですし、あらかじめ .isoファイルに含めておいても支障は無いように思えますが……。
起動時間の短縮 (networkmodules ほか)
起動時間の短縮 (networkmodules ほか)
The bar master, Shino's Bar
http://shinobar.net/
http://shinobar.net/
Live CD 同梱の追加SFS
とりわけ初回の起動時間についてしらべていたところ、
goffice を追加SFSにして初回起動時に自動的に組み込んでいる部分の処理に、けっこう時間がかかっている模様。
571JPに限ったことと思われる
goffice を追加SFSにして初回起動時に自動的に組み込んでいる部分の処理に、けっこう時間がかかっている模様。
571JPに限ったことと思われる
The bar master, Shino's Bar
http://shinobar.net/
http://shinobar.net/
起動スクリプトの修正
本家版 5.7.1-retro に対し、571JPでは起動スクリプトと rc.update に修正を加えています。Live CDに同梱の 追加SFSを自動的に読み込む修正ですが、あまりうまく無いようです。これらの修正はなくとも、起動後に sfs_loadが自動的に読み込んでくれます。シノバー さんが書きました:とりわけ初回の起動時間についてしらべていたところ、
goffice を追加SFSにして初回起動時に自動的に組み込んでいる部分の処理に、けっこう時間がかかっている模様。
571JPに限ったことと思われる
そこで、571JPでのこれらの修正を破棄。代わりに
1. networkmodules をあらかじめ Live CDに組み込んでおく修正と、
2. Live CDから起動したときに USBメモリ上のメインSFSを呼んでくれない問題( viewtopic.php?f=40&t=2471&p=19123#p19113 )
2つの修正を加えてみました。
そのテスト .iso をアップしました。 PAE版なので、 PAE機能の無いCPUでは起動しませんので注意ください。
viewtopic.php?f=27&t=2595&p=19426#p19426
16b9f12c47f6816eb1db4647355d7162 precise-5.7.1-JP-01-PAE.iso
http://shino.pos.to/party/bridge.cgi?pu ... cise/test/
変更部分詳細
571JPではなく、本家版 Precise Puppy 5.7.1 からの差分です。
# diff rc.update.org rc.update
コード: 全て選択
38a39
> #140426 shinobar: networkmodules in the main sfs
128,129c129,133
< echo -n " network-drivers-list" >/dev/console
< /usr/sbin/updatenetmoduleslist.sh
---
> #140426 shinobar: networkmodules in the main sfs
> if [ ! -s /etc/networkmodules ]; then
> echo -n " network-drivers-list" >/dev/console
> /usr/sbin/updatenetmoduleslist.sh
> fi
コード: 全て選択
147a148
> #140427 shinobar: search on usb if PUPSFS is on cd, again EXTRASFSLIST in the main sfs.
808a810,815
> #140427 shinobar: search on usb if PUPSFS is on cd
> PUPSFS_OPT=""
> if [ "$PUPSFS" ]; then
> FS=$(echo $PUPSFS | cut -s -f2 -d',')
> echo $FS | grep -q -E 'iso9660|udf' && PUPSFS_OPT=$PUPSFS && PUPSFS=""
> fi
811a819,820
> [ "$PUPSFS" ] || PUPSFS=$PUPSFS_OPT
> #140427 shinobar END
The bar master, Shino's Bar
http://shinobar.net/
http://shinobar.net/