问候,
我有一台带有 120GB ATA 驱动器的机器,上面有一些我认为不是必需的数据。我还有一个 320GB SATA 硬盘,里面有操作系统/应用程序/文件(我想保留的好数据)。我认为我的 120GB ATA 出现故障,因为我的电脑一直慢到停止。但是,当我从 BIOS 中移动驱动器时,我的电脑无法启动,显示“GRUB 硬盘错误”。
我知道我的 Fedora 系统有一个 LVM 设置。我只想从“混合”中移除 120GB 驱动器,并且只保留一个硬盘。我该如何恢复?
谢谢。我现在可以使用 Linux Live CD,并且可以进行任何更改。但是,它无法启动我的操作系统 - 它失败了。
更新:这是我的 Grub.Conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda1
default=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.30.10-105.2.23.fc11.i686.PAE)
root (hd1,0)
kernel /vmlinuz-2.6.30.10-105.2.23.fc11.i686.PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.30.10-105.2.23.fc11.i686.PAE.img
title Fedora (2.6.30.9-102.fc11.i686.PAE)
root (hd1,0)
kernel /vmlinuz-2.6.30.9-102.fc11.i686.PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.30.9-102.fc11.i686.PAE.img
title Fedora (2.6.27.24-170.2.68.fc10.i686.PAE)
root (hd1,0)
kernel /vmlinuz-2.6.27.24-170.2.68.fc10.i686.PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.24-170.2.68.fc10.i686.PAE.img
title Fedora (2.6.27.24-170.2.68.fc10.i686)
root (hd1,0)
kernel /vmlinuz-2.6.27.24-170.2.68.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.24-170.2.68.fc10.i686.img
title Fedora (2.6.27.21-170.2.56.fc10.i686)
root (hd1,0)
kernel /vmlinuz-2.6.27.21-170.2.56.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.21-170.2.56.fc10.i686.img
title Fedora (2.6.27.19-170.2.35.fc10.i686)
root (hd1,0)
kernel /vmlinuz-2.6.27.19-170.2.35.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.19-170.2.35.fc10.i686.img
title Upgrade to Fedora 10 (Cambridge)
kernel /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade stage2=http://chi-10g-1-mirror.fastsoft.net/pub/linux/fedora/linux/releases/10/Fedora/i386/os/images/install.img ks=hd:UUID=f11769ba-29bc-46de-8c40-a949720a438e:/upgrade/ks.cfg
initrd /upgrade/initrd.img
title Win
rootnoverify (hd0,0)
chainloader +1
答案1
我会尝试这个:
- 移除坏驱动器
- 启动 livecd
重新安装 grub
grub-install --root-directory=/media/你的/硬盘/dev/yourhdd