• [Ubuntu] invalid environment block


    When starting the ubuntu with GRUB, that display some error below:

    error: invalid environment block
    Failed to boot
    default entries.
    Press any key to
    continue...

    Here is the way to fix the bug.

    1. Make sure that you have a live cd in your hand.

    2. Boot the computer, under the fixed model, insert the code below:

    cd /boot/grub
    rm grubenv
    grub
    -editenv grubenv create
    grub
    -editenv grubenv set default=0

    3. Now you can check whether the option is ok.

    grub-editenv grubenv list

    That will display:

    default=0

    Since then, we fix the bug! Reboot the computer, and...

    Have fun!

  • 相关阅读:
    highcharts
    iCheck
    MdiContainer
    wms-ssv数据字典
    hibernate 返回自定义对象
    XmlSerialize
    Db
    python groupby
    pom resource配置
    FastReport打印table
  • 原文地址:https://www.cnblogs.com/davidhhuan/p/1758102.html
Copyright © 2020-2023  润新知