[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:28554] Re: unable to root fs!
ä½é‡Žï¼ æµœæ¾ (舞鶴出張ä¸ã€‚ホテルã®é›»è©±ã‚’使ã†ã¨ãƒ¢ãƒ‡ãƒ ㌠3 分ã§åˆ‡ã‚Œã‚‹
謎ã®ã‚¦ãƒ«ãƒˆãƒ©ãƒžãƒ³ã‚«ãƒ©ãƒ¼ã‚¿ã‚¤ãƒžãƒ¼ç—‡ã‚’経験ä¸) ã§ã™ã€‚
In <002001c0e6c6$b2010be0$6600a8c0@xxxxxxxxxxxxxxxxxxxx>,
on "Mon, 28 May 2001 00:57:28 +0900',
with "unable to root fs!",
"kenuke higuchi" <shiena@xxxxxxxxxxxxx> ã•ã‚“ wrote:
> testingを使ã£ã¦ã„ãŸã‚‰ã€çªç„¶ã€xーwinndowãŒè½ã¡ã¦ã€
> 何ã‹é‡å¤§ãªãƒ•ã‚¡ã‚¤ãƒ«ãŒãªã„ã€ã¨ã„ã†ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸã€‚
「後悔先ã«ç«‹ãŸãšã€ã§ã¯ã‚ã‚Šã¾ã™ãŒã€ã‚ã¨ã‚ã¨ã®ãŸã‚ã«ã“ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’
ã¡ã‚ƒã‚“ã¨è¨˜éŒ²ã—ã¦ãŠãã¨è‰¯ã‹ã£ãŸã§ã™ã。
> ã¨ã‚Šã‚ãˆãšã€exitã—ã¦å†ãƒã‚°ã‚¤ãƒ³ã—よã†ã¨ã—ã¾ã™ã¨ã€
> åŒã˜ã‚¨ãƒ©ãƒ¼ã§ãƒã‚°ã‚¤ãƒ³ã•ãˆã§ããªããªã‚Šã¾ã—ãŸã€‚
> #ã™ã¿ã¾ã›ã‚“。慌ã¦ã¦ã„ãŸãŸã‚エラーを記録ã—ã¾ã›ã‚“ã§ã—ãŸã€‚
ã¾ã‚ã€æ…Œã¦ã‚‹ã®ã¯ä»•æ–¹ç„¡ã„ã“ã¨ã§ã™ãŒã€æ¬¡ã‹ã‚‰ãªã‚‹ã¹ã記録ã—ã¾ã—ょã†ã€‚
> ã—ょã†ãŒãªã„ã®ã§é›»æºã‚’切ã£ã¦å†èµ·å‹•ã™ã‚‹ã¨ã€
シャットダウンã›ãšã«é›»æºã‚’切ã£ãŸã®ã§ã™ã ?
/etc/inittab ã®
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
を無効ã«ã—ã¦ã„ãªã‘ã‚Œã°ã€æ¨™æº–㧠Ctrl+Alt+Del ã§å†èµ·å‹•ã™ã‚‹è¨å®šã«
ãªã£ã¦ã„ã‚‹ã¨æ€ã†ã®ã§ã€ä»Šåº¦ã‹ã‚‰ã¯ã“れを使ã†ã¨ã„ã„ã§ã™ã€‚ã‚‚ã—æ—¢ã«
試ã—ã¦ã¿ãŸãŒãƒ€ãƒ¡ã ã£ãŸã¨ã„ã†ã“ã¨ãªã‚‰ã€ä»Šå¾Œã®ãŸã‚ã« Kernel ã®
Magic SYSRQ key を有効ã«ã—ã¦ãŠãã¨ã„ã„ã§ã—ょã†ã€‚
> NET4: Unix Domain sockets 1.0/smp
> fatfs:bogus cluster size
> kernel panic:vfs: Unable to mount root fs on 03:46
ã‚‚ã¨ã‚‚ã¨ã¯ /dev/hdb6 ã« root ãŒã‚ã£ãŸã®ã§ã™ã‹ ?
> ã¨ãªã£ã¦ã€rootãŒmountã§ããšã«é€”ä¸ã§ãƒ‘ニクリã¾ã™ã€‚
> ãƒãƒ¼ãƒ‰ãƒ‡ã‚¤ã‚¹ã‚¯ã¯ã¡ã‚ƒã‚“ã¨èªè˜ã•ã‚Œã¦ã„ã¾ã—ãŸã€‚
ãƒãƒ¼ãƒ‰ãƒ‡ã‚£ã‚¹ã‚¯ã‚’èªè˜ã™ã‚‹ã¨ã“ã‚ã§ãƒ‘ãƒ¼ãƒ†ã‚£ã‚·ãƒ§ãƒ³æƒ…å ±ã‚‚ãƒªã‚¹ãƒˆ
ã•ã‚Œã¦ã„ã‚‹ã¨æ€ã„ã¾ã™ãŒã€ãã‚Œã¯ã©ã®ã‚ˆã†ã«è¡¨ç¤ºã•ã‚Œã¦ã„ã¾ã™ã‹ ?
> ãã“ã§ã€é•ã†ãƒ‘ソコンã«ãƒãƒ¼ãƒ‰ãƒ‡ã‚£ã‚¹ã‚¯ã‚’繋ãŽã‹ãˆã¦èª¿ã¹ã¦ã¿ã¾ã—ãŸã€‚
>
> fdiskã§å•é¡Œã®ãƒ‡ã‚£ã‚¹ã‚¯ã‚’調ã¹ã‚‹ã¨ã€
>
> Command (m for help): p
>
> Disk /dev/hdf: 255 heads, 63 sectors, 1662 cylinders
ã“ã® C/H/S ã¯ã‚‚ã¨ã‚‚ã¨ã® PC ã§ã®è¨å®šã¨åŒã˜ ?
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdf1 * 1 2 16033+ 83 Linux
> /dev/hdf2 3 1662 13333950 5 Extended
> /dev/hdf5 3 18 128488+ 82 Linux swap
> /dev/hdf6 19 261 1951866 83 Linux
> /dev/hdf7 262 626 2931831 83 Linux
> /dev/hdf8 627 869 1951866 83 Linux
> /dev/hdf9 870 1234 2931831 83 Linux
> /dev/hdf10 1235 1662 3437878+ 83 Linux
>
> ã¨ãªã‚Šã€ã¡ã‚ƒã‚“ã¨ext2å½¢å¼ã§èªè˜ã•ã‚Œã¦ã„るよã†ãªã‚“ã§ã™ãŒã€
ã“ã‚Œã¯ãƒ‘ãƒ¼ãƒ†ã‚£ã‚·ãƒ§ãƒ³æƒ…å ±ã§ã™ã。ã“ã“ã§ã€Œext2 ã§èªè˜ã€ã¨ã„ã†ã®ã¯
å˜ã«ãƒ‘ーティション ID ãŒãã†ãªã£ã¦ã„ã‚‹ã€ã¨ã„ã†ã ã‘ã®æ„味ã§ã™ã€‚
> hdf1ã€7ã€10以外ã¯ã€æ¬¡ã®ã‚ˆã†ã«ãªãœã‹ãƒžã‚¦ãƒ³ãƒˆã§ãã¾ã›ã‚“。
>
> elisis:/# mount -t ext2 /dev/hdf8 /mnt
> mount: wrong fs type, bad option, bad superblock on /dev/hdf8,
> or too many mounted file systems
filesystem ãŒå£Šã‚Œã¦ã„ã¾ã™ã。superblock ãŒãŠã‹ã—ã„ã¿ãŸã„。
e2fsck -n -b 8192 /dev/hdf8 ã ã£ãŸã‹ãª ? -n ã§å®Ÿéš›ã«ã¯ä½•ã‚‚ã—ãªã„ã€
-b 8192 ã§ä»£æ›¿ã‚¹ãƒ¼ãƒ‘ーブãƒãƒƒã‚¯ã‚’使ã†ã€ã¨ã„ã†ã‚ªãƒ—ションã®ã‚ˆã†ãªæ°—ãŒã€‚
詳細㯠man e2fsck を。(-n ã¯ã“れ以上ディスクを壊ã—ã¦ã—ã¾ã‚ãªã„ãŸã‚ã«)
> dmesgã¯
> VFS: Can't find an ext2 filesystem on dev ide2(33,72).
> ã¨ã§ã¾ã™ã€‚#ãªã‚“ã§ide2??
ide0 (hda, hdb)
ide1 (hdc, hdd)
ide2 (hde, hdf)
...
ã¨ãªã£ã¦ã„ã‚‹ã®ã ã¨æ€ã„ã¾ã™ã€‚
> 一方ã€hdf1ã®booté ˜åŸŸã¨ã€ï¼ˆautomountã—ã¦ã„ãªã‹ã£ãŸï¼‰æœªä½¿ç”¨é ˜åŸŸ
> ã®hdf10ã¯ã€ã¡ã‚ƒã‚“ã¨mountã•ã‚Œã€ä¸èº«ã‚‚大丈夫ãªã®ã§ã™ãŒã€
> hdf7ã¯ext2ã§èªè˜ã•ã‚Œã€ä¸èº«ã¯rootパーティションã§ã—ãŸã€‚
>
> ã‚ã‚rootã‚ã‚‹ã˜ã‚ƒã‚“ã€ã¨æ€ã£ãŸã®ã‚‚ã¤ã‹ã®é–“ã€hdf7ã«ã¯/etcãŒã‚ã‚Šã¾ã›ã‚“ï¼
> ãã‚Œã«ã€rootパーティションã£ã¦ã‚‚ã¨ã‚‚ã¨hdf6ã ã£ãŸã‚ˆã†ãª!?
謎ã§ã™ã。dmesg ã§ã®ãƒ‘ãƒ¼ãƒ†ã‚£ã‚·ãƒ§ãƒ³æƒ…å ±ã®ãƒªã‚¹ãƒˆã‚’確èªã—ãŸã„ã¨ã“ã‚。
> ã‚‚ã¨ã®ãƒ‘ーティション構æˆã¯ã‚ˆã覚ãˆã¦ã„ã¾ã›ã‚“ãŒã€
> hdf6>root
> hdf7>usr
> hdf8>var
> hdf9>home
> ã ã£ãŸæ°—ãŒã—ã¾ã™ã€‚
>
> ã‚‚ã†æœ€æ‚ªã€homeディレクトリã®ãƒ‡ãƒ¼ã‚¿ã ã‘ã§ã‚‚
> å–り出ã›ã‚Œã°ã„ã„ã‚“ã§ã™ã‘ã©ã€ã€ã€ã€
> #一週間ã‹ã‘ã¦èª¿ã¹ã¦æ›¸ã„ãŸç™ºè¡¨ã®è³‡æ–™ãŒã€ã€ã€ã€
ã¨ã‚Šã‚ãˆãšã¯ dd ã§ã¾ã‚‹ã”ã¨ãƒãƒƒã‚¯ã‚¢ãƒƒãƒ—ã—ã¦æ“ä½œã‚’åŠ ãˆã¦ã‚‚å…ƒã«
復帰ã§ãるよã†ã«ã™ã‚‹ã€ã§ã™ã‹ã ? ãã®ã‚㨠e2fsck ã‚’ã†ã¾ã
使ãˆã°ã‚る程度救ãˆã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。
--
# (ã‚ãŸã—ã®ãŠã†ã¡ã¯æµœæ¾å¸‚ã€ã€Œå¤œã®ãŠè“åã€ã§æœ‰åã•ã€‚)
<kgh12351@xxxxxxxxxxx> : Taketoshi Sano (ä½é‡Žã€€æ¦ä¿Š)