Ubuntu 6.06:安装 /root/sda1 /root 失败:没有这样的设备

Ubuntu 6.06:安装 /root/sda1 /root 失败:没有这样的设备

我们办公室里有一台运行 Ubuntu 6.06 的老机器突然无法启动。启动时我收到以下信息:

Uncompressing Linux... Ok Booting the kernel
mount: Mounting /root/sda1 /root failed: No such device
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
mount: Mounting /sys /root/sys failed: No such file or directory
mount: Mounting /pro /root/pro failed: No such file or directory
Target filesystem doesn't have /sbin/init


Busybox v1.01 (debian 1:1.01-4ubuntu3) Built-in shell (ash)

Enter 'help' for a list of built-in commands
/bin/sh: can't access tty; job control turned off
#

据我所知,我没有对系统进行任何更改,并且我运行了一些高清诊断程序,一切似乎都很好。

经过谷歌搜索后,我发现了这个帖子:http://ubuntuforums.org/showthread.php?t=246895这看起来与我的问题非常相似,但是当我尝试使用以下命令挂载驱动器时:

sudo mount -t ext3 -o rw /dev/hda1 /mnt

我收到以下错误:

mount:错误的 fs 类型、错误的选项、/dev/sda1 上的错误超级块、缺少代码页或辅助程序或其他错误在某些情况下,在 syslog 中发现有用的信息 - 尝试 dmesg | tail 等

我运行了 fdisk -l,它说分区类型是 Linux。

运行 dmesg | tail 后的输出:

[12207.483801] init_special_inode: bogus i_mode (101)
[12207.483809] EXT2-fs: corrupt root inode, run e2fsck
[12260.427078] init_special_inode: bogus i_mode (101)
[12260.427086] EXT2-fs: corrupt root inode, run e2fsck
[13716.998799] e100: eth0 NIC Link is Up 100 Mbps Full Duplex
[13716.998923] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[13727.061967] eth0: no IPv6 routers present
[13896.700449] kjournald starting.  Commit interval 5 seconds
[13896.700458] init_special_inode: bogus i_mode (101)
[13896.700465] EXT3-fs: corrupt root inode, run e2fsck

运行 e2fsck -p /dev/sda1 后,我得到以下信息:

/dev/sda1: clean, 142449 / 9584640 files, 5402711 / 19161520 blocks

现在我真的不知道该怎么做 :x

感谢您的关注

答案1

大多数情况下,e2fsck 不会运行,除非它认为应该运行。在这种情况下,您可以强制运行它。尝试添加标志-f,例如e2fsck -fp /dev/sda1

相关内容