Ubuntu 12.04(カーネル3.2.0-53)がインストールされているシステムで、3.11.1カーネルイメージから起動しようとしています。
その後、コンパイルしてmake defconfig
イメージを挿入し、/boot
GRUBを更新して再起動します。
再起動すると、次のメッセージが表示されます。
EXT4-fs (sda1) : couldnt mount as ext3 due to feature incompatibilities
EXT4-fs (sda1) : couldnt mount as ext2 due to feature incompatibilities
init : unable to create device: /dev/kmsg
Root filesystem check failed
何が間違っていますか?
カーネルがファイルシステムがext4であることを知っている場合(私はそうすると仮定します)EXT4-fs (sda1)
、なぜext3/2でマウントされますか?
/etc/fstab
:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=7be51edc-99ae-4e6e-b863-2bef9e4adb22 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda4 during installation
UUID=e4b936e5-e1c5-4146-9710-03b0d6dfdea2 /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=10d012d1-bbba-43f4-8e8a-8aa493435acb none swap sw 0 0
# Move /tmp to RAM
tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0
grub.cfg
画像アイテム:
menuentry 'Ubuntu, with Linux 3.11.1' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7be51edc-99ae-4e6e-b863-2bef9e4adb22
linux /boot/vmlinuz-3.11.1 root=/dev/sda1 ro quiet splash $vt_handoff
}
menuentry 'Ubuntu, with Linux 3.11.1 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 7be51edc-99ae-4e6e-b863-2bef9e4adb22
echo 'Loading Linux 3.11.1 ...'
linux /boot/vmlinuz-3.11.1 root=/dev/sda1 ro recovery nomodeset
}
ベストアンサー1
initramfsなしで起動しようとしています。を使用してupdate-initramfs -c -k 3.11.1
から1つを作成する必要がありますupdate-grub
。