[玄箱T4] lennyからビジバシdist-upgrade

無事に再セットアップまでいけた玄箱T4ですが
サポート終了済のlennyということもあり、dist-upgradeをビジバシ

目指す最新はずーっと先だ。

  1. lenny ←今ココ
  2. squeeze
  3. wheezy
  4. jessie
  5. stretch
  6. buster ←これは未リリース

squeezeは過去もそれで動かしてたので問題なく。
wheezyにしたところ、udevの動作が怪しくなる事象が発生。

起動時にエラーチェックが実施できないよー的なエラー。(最下段*1)
少し見てみると、/dev/sda~/dev/sddが作成されない!
(但し、マウントはできていて、システムは起動する)
どうもudevの扱いが変わったらしい?
調べたところによると、squeezeからみたいだけど、それで動かしてたしな…前。
影響範囲が割とでかくて(当然ですね)、mdadmやparted、その他ディスク周りがダメ。

mknodでブロックファイル作ってあげれば、とりあえず何とかなるっぽいので
http://www.dt8.jp/cgi-bin/adiary/adiary.cgi/0526
を参考にして、mknodスクリプトを作成。

/sys/block/sda/devに始まり、sda1やsda2のdevから
メジャー番号やら取得して、mknodで自動作成する簡単なお仕事。
再起動が問題ないことを確認して、jessieへのアップグレードにトライ。

…udevが現状のカーネルバージョンをサポートしていない…。
ということで、カーネルコンパイルが必要な事が判明しました。
うーん…一気に敷居が上がってしまったので、lennyに戻して本日は終了。

スマートホームのサーバとしても使いたいし最新にしたいんだけどなぁ…

*1:エラーチェックメッセージ
/dev/sda1:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193

fsck died with exit status 8
failed (code 8).
File system check failed. A log is being saved in /var/log/fsck/checkfs if that location is writable. Please repair the file system manually. … failed!
A maintenance shell will now be started. CONTROL-D will terminate this shell and resume system boot. … (warning).

Press enter for maintenance(or type Control-D to continue):

コメント

タイトルとURLをコピーしました