QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 766|回复: 2

重装win xp后,如何恢复linux?

[复制链接]
发表于 2006-1-6 08:26:01 | 显示全部楼层 |阅读模式
装有win xp 与linux centos,重装win xp后,如何恢复可以启动linux?
发表于 2006-1-6 08:38:30 | 显示全部楼层
瞅瞅置顶帖
回复

使用道具 举报

发表于 2006-1-6 14:00:38 | 显示全部楼层
cd1,光盘启动
linux rescue
chroot /mnt/sysimage
grub
grub>root (hd0,X)
grub>setup (hd0)
grub>reboot
exit
exit


说明:
X是你的linux /boot分区所在分区,如hda7则root (hd0,6)
即hdaN对应root (hd0,N-1)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-23 17:16 , Processed in 0.058737 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表