Gentooを初期化しようとしたときにinit ramdiskの読み込み中にエラーが発生しました。

Gentooを初期化しようとしたときにinit ramdiskの読み込み中にエラーが発生しました。

マニュアルに従ってgentoをインストールしましたが、システムを再起動したときにエラーが発生し、次の内容しか表示されませんでした。

Loading init ramdisk...

それはすべてです。

私の問題は私の設定にあると思います。 /etc/fstab/home、/boot用に1つのパーティションを作成していないので、すべて同じパーティションに入れて、次のように設定してみました/etc/fstab

/dev/sda6       /           ext4        noatime     0 1
/dev/SWAP       none        swap        sw          0 0
/dev/cdrom      /mnt/cdrom  auto        noauto,ro   0 0
/dev/sda5       /mnt/disco5 auto        noatime     0 0

修正する:

これが私のgrub2設定です。/boot/grub/grub.cfg

menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-72d88d2d-9090-4aee-b18d-a02e09514a4d' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos6'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  72d88d2d-9090-4aee-b18d-a02e09514a4d
    else
      search --no-floppy --fs-uuid --set=root 72d88d2d-9090-4aee-b18d-a02e09514a4d
    fi
    echo    'Loading Linux 3.14.14-gentoo ...'
    linux   /boot/vmlinuz-3.14.14-gentoo root=UUID=72d88d2d-9090-4aee-b18d-a02e09514a4d ro  
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-genkernel-x86_64-3.14.14-gentoo
}
submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-72d88d2d-9090-4aee-b18d-a02e09514a4d' {
    menuentry 'Gentoo GNU/Linux, with Linux 3.14.14-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14.14-gentoo-advanced-72d88d2d-9090-4aee-b18d-a02e09514a4d' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  72d88d2d-9090-4aee-b18d-a02e09514a4d
        else
          search --no-floppy --fs-uuid --set=root 72d88d2d-9090-4aee-b18d-a02e09514a4d
        fi
        echo    'Loading Linux 3.14.14-gentoo ...'
        linux   /boot/vmlinuz-3.14.14-gentoo root=UUID=72d88d2d-9090-4aee-b18d-a02e09514a4d ro  
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-genkernel-x86_64-3.14.14-gentoo
    }
    menuentry 'Gentoo GNU/Linux, with Linux 3.14.14-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14.14-gentoo-recovery-72d88d2d-9090-4aee-b18d-a02e09514a4d' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  72d88d2d-9090-4aee-b18d-a02e09514a4d
        else
          search --no-floppy --fs-uuid --set=root 72d88d2d-9090-4aee-b18d-a02e09514a4d
        fi
        echo    'Loading Linux 3.14.14-gentoo ...'
        linux   /boot/vmlinuz-3.14.14-gentoo root=UUID=72d88d2d-9090-4aee-b18d-a02e09514a4d ro single 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-genkernel-x86_64-3.14.14-gentoo
    }
}

もしそうなら、誰かがシステムローディングの問題を解決する方法とfstabの設定が良いかどうか教えてください。

ベストアンサー1

問題が発生すると、Loading init ramdisk...ハードドライブがひどく損傷して使用できなくなりました。

ハードドライブに問題があるようです。

initramコマンドラインが起動したら、fsck /dev/sda6コマンドを試しdpkg-reconfigure grub-pcてからupdate-grub

そうでない場合は、次のパーティションを使用してシステム全体を再インストールします。

/ <== primary partition, 10gb root partition with **boot flag** /usr <== logical partition, 24gb read-only user data /var <== logical partition, 26gb variable files swap <== logical partition, 15gb used when psysical RAM memory is full /tmp <== logical partition, 12gb temporary files /home <== logical partition, 400gb home directories the rest <== free space

おすすめ記事