V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
wintersun
V2EX  ›  问与答

阿里云 Ubuntu 14.04,想安装个 haproxy1.5,结果手贱点了确认升级,现在好怕升级完启动不了……肿么办

  •  
  •   wintersun · 2016-12-28 22:52:51 +08:00 · 2199 次点击
    这是一个创建于 2918 天前的主题,其中的信息可能已经有所发展或是发生改变。
    现在已经升级完成,提示我安装 GRUB ,可我不知道怎么选……

    ┌───────────────────────────┤ Configuring grub-pc ├───────────────────────
    │ The GRUB boot loader was previously installed to a disk that is no longer present, or whose unique identifier has changed for some reason. It is important to make sure that the installed GRUB core image stays in sync with GRUB modules and grub.cfg. Please check again to make sure that GRUB is written to the appropriate boot devices. │

    │ If you're unsure which drive is designated as boot drive by your BIOS, it is often a good idea to install GRUB to all of them. │

    │ Note: it is possible to install GRUB to partition boot records as well, and some appropriate partitions are offered here. However, this forces GRUB to use the blocklist mechanism, which makes it less reliable, and therefore is │
    │ not recommended.
    │ │
    │ GRUB install devices: │ │
    │ [ ] /dev/vda (21474 MB; ???) │
    │ [ ] /dev/vdb (53687 MB; ???) │
    │ [ ] /dev/vda1 (21472 MB; ???)
    ---------------------------------------------------

    如果不安装,则提示如下:

    --------------------------------------------------
    You chose not to install GRUB to any devices. If you continue, the boot loader may not be properly configured, and when this computer next starts up it will use whatever was previously in the boot sector. If there is an earlier │
    │ version of GRUB 2 in the boot sector, it may be unable to load modules or handle the current configuration file. │
    │ If you are already using a different boot loader and want to carry on doing so, or if this is a special environment where you do not need a boot loader, then you should continue anyway. Otherwise, you should install GRUB │
    │ somewhere. │
    │ Continue without installing GRUB?


    我该怎么办? Linux 不熟不熟不熟啊!
    2 条回复    2016-12-29 15:04:32 +08:00
    duola
        1
    duola  
       2016-12-29 12:36:20 +08:00
    我都是在本地虚拟机测试一次后,再在服务器操作。
    wintersun
        2
    wintersun  
    OP
       2016-12-29 15:04:32 +08:00
    @duola 我头脑发热我手贱,现在已经安装到 /dev/vda 了,这是阿里云 ECS ,本地虚拟机恐怕也难以模拟其环境吧,郁闷!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5896 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 06:20 · PVG 14:20 · LAX 22:20 · JFK 01:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.