yinznet
V2EX  ›  问与答

求助:开机出现grub

  •  
  •   yinznet · Jul 20, 2013 · 3105 views
    This topic created in 4702 days ago, the information mentioned may be changed or developed.
    之前装了windowsxp和centos6.4双系统,刚才用硬盘分区工具合并了两个分区后,开机无法自动引导到linux,出现grub命令行界面,现在只能进入windows,怎样才能修复linux的引导分区进入linux,求支招!!
    6 replies    1970-01-01 08:00:00 +08:00
    yinznet
        1
    yinznet  
    OP
       Jul 20, 2013
    现在系统可以引导了,但进入centos时显示no such partition,怎么办?
    thedevil5032
        2
    thedevil5032  
       Jul 20, 2013   ❤️ 1
    找一个类似于 ArchLinux/Gentoo Linux 安装 USB 盘的东西(假设你找到了).
    用这个启动电脑之后, 尝试挂载电脑里 CentOS 的 /, 然后, 有可能是 /etc/fstab 里面对应的硬盘的号码因为你合并分区变了, 例如 sda4 -> sda3. 找到对应的改了就好.
    还有问题的话, 提供具体一点的日志吧.
    yinznet
        3
    yinznet  
    OP
       Jul 20, 2013
    找一个类似于 ArchLinux/Gentoo Linux 安装 USB 盘的东西,这个是类似于windows下的U盘PE么?刚搜了一下没搜到,能不能给一个下载地址。另外你说的硬盘号码具体是在哪个文件夹里的哪个文件上改?
    sorcerer
        4
    sorcerer  
       Jul 20, 2013
    @yinznet 搜索livecd
    detailyang
        5
    detailyang  
       Jul 20, 2013
    汗..一般都用UUID的
    yinznet
        6
    yinznet  
    OP
       Jul 20, 2013
    uuid是啥?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1726 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 16:25 · PVG 00:25 · LAX 09:25 · JFK 12:25
    ♥ Do have faith in what you're doing.