Ubuntu::kernel panicで起動不可

http://joojak.blogspot.com/2008/02/ubuntuvmsplice.html

先ほど作ったカーネルで起動を試みたがUuntuで使われてたconfigをそのまま利用していたため
やはりinitrdのイメージファイルが必要なんだろうか?
mkinitrdが無いためaptitudeでそれらしいのを探してみる。

$ aptitude search init
p adduser-plugin-bkdinit - Manage configuration of BKD-Init
p bootcd-mkinitramfs - With the installation of this bootcd exten
i busybox-initramfs - Standalone shell setup for initramfs
i initramfs-tools - tools for generating an initramfs
i initscripts - システムの初期化とシャットダウン用スクリプ
p initz - Emacsen の各種初期化ファイルの切り換え操作
p libset-infinite-perl - Sets of intervals
v linux-initramfs-tool -
p live-initramfs - Debian Live initramfs hook
p minit - 小規模だけれどもパワフルな init システム
i module-init-tools - Linux カーネルモジュール管理用ツール
p multipath-tools-initramfs - Support for booting Debian from a multipat
p pastebinit - command-line pastebin client
p png-definitive-guide - PNG: 決定版ガイド
p python-uncertainities - Python module for working with uncertain n
p sysvinit - System-V ライクな init ユーティリティ
i A xinit - X server initialisation tool
p xmms-infinity - XMMS 用のフルスクリーン版視覚効果


initramfs-toolsというのがインストールされていた。
deb系の鳥のapt-get,aptitude,dpkgの使いかたをマスターしてないためlocateでそれらしいのを探す。
"man aptitude"した後に"aptitude show initramfs-tools"して"locate initramfs"してみた。
関係ありそうなところだけを抜粋

/etc/initramfs-tools/initramfs.conf
/usr/share/initramfs-tools
/usr/sbin/mkinitramfs-kpkg
/usr/sbin/mkinitramfs
/usr/sbin/update-initramfs

これらと更にカーネルに付属してるドキュメントも読んだほうが良さそうだ。
/usr/src/linux-2.6.24.2/Documentation/filesystems/ramfs-rootfs-initramfs.txt

奇妙なのは/boot/grub/menu.lstを見た時に標準の設定では root=/dev/hda1などでは無くroot=UUID=英数字による長い文字列になっていたこと。Ubuntu面倒くさいなぁ orz

コメント

このブログの人気の投稿

米 トランス脂肪酸使用規制へ

手の平で操作する空中マウス OZUPAD

BusyBox HTTPD で Drupal を動かそう

Android の RUU から rom.zip を取り出す

radiko.jp の再生、録音で rtmpdump が Segmentation fault

Alpine LinuxのAPKBUILDに挑戦

VirtualBoxのキーリピート現象