![Ubuntu 6.06:安装 /root/sda1 /root 失败:没有这样的设备](https://linux22.com/image/1228616/Ubuntu%206.06%EF%BC%9A%E5%AE%89%E8%A3%85%20%2Froot%2Fsda1%20%2Froot%20%E5%A4%B1%E8%B4%A5%EF%BC%9A%E6%B2%A1%E6%9C%89%E8%BF%99%E6%A0%B7%E7%9A%84%E8%AE%BE%E5%A4%87.png)
我们办公室里有一台运行 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
你说它是一个较旧的系统...它可能是 ext2。