使用专用于单个分区的GPT分区磁盘安装新系统,该分区为ext4格式,extlinux(版本4.05)作为引导加载程序,Ubuntu Core版本13.10 amd64作为rootfs,而Ubuntu linux-image-3.11.0-18-generic作为内核,和extlinux-update生成引导加载程序配置。
重新引导后(仍在基于KVM的虚拟机中)的结果是(initramfs)提示和以下消息:
mount: can't read '/etc/fstab': No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
The filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
BusyBox是v1.20.2。
回归:
- 文件系统已经过检查
fsck.ext4
检查根是否存在
(initramfs) ls -l /dev/[hs]da*
ls: /dev/[hs]da*: No such file or directory
根引导参数
(initramfs) cat /proc/cmdline
initrd=/boot/initrd.img-3.11.0-18-generic ro quiet BOOT_IMAGE=/boot/vmlinuz-3.11.0-18-generic
检查已加载的模块
(initramfs) cat /proc/modules
e1000 145368 0 - Live 0xffffffffa0000000
/ boot文件夹内容
$ sudo ls -l boot
-rw------- 1 root root 3296162 Feb 18 22:37 System.map-3.11.0-18-generic
-rw-r--r-- 1 root root 1007681 Feb 18 22:37 abi-3.11.0-18-generic
-rw-r--r-- 1 root root 163258 Feb 18 22:37 config-3.11.0-18-generic
drwxr-xr-x 2 root root 4096 Mar 17 20:13 extlinux
-rw-r--r-- 1 root root 4995000 Mar 16 23:35 initrd.img-3.11.0-18-generic
-rw------- 1 root root 5634192 Feb 18 22:37 vmlinuz-3.11.0-18-generic
如何使该系统引导至预期的默认bash提示符?