重裝windows後無法進入ubuntu的四种解决方法2

时间: 2009-02-16 / 分类: 文摘转载, 电脑网络 / 浏览次数: 410 Views / 0个评论 发表评论

2,使用ubuntu安裝cd恢复

ubuntu desktop-cd可能用不起来。你可能需要6。06的alternative cd。

1. 用 Ubuntu 安装 CD 开机
2. 在 “boot:” 提示号出现时, 键入 “rescue” 当作开机参数

boot: rescue

3. 顺着屏幕上的指示跟着作
4,例如 假设 /boot 磁碟分区位在 /dev/hda
代码:
#grub-install /dev/hda

下面是另外一种方法
1. 启动系统到 Ubuntu 安装CD
2. 沿着屏幕上的命令直到 (千万不要超过这一步)
[!!] Fdisk disks
3. 按 ‘Ctrl + Alt + F2′
4. 按 ‘Enter’ 进入终端
5.

~ # mkdir /ubuntu
~ # fdisk -l /dev/discs/disc0/disc
~ # mount <你的Ubuntu根设备所在位置> /ubuntu/
~ # chroot /ubuntu/
sh-2.05b#
6. 假设 /dev/hda1 是 /boot 分区的地址
7. sh-2.05b# grub

grub> root (hd0,0)
grub> setup (hd0)
grub> quit

2,使用ubuntu安裝cd恢复 ubuntu desktop-cd可能用不起来。你可能需要6。06的alternative cd。 1. 用 Ubuntu 安装 CD 开机 2. 在 “boot:” 提示号出现时, 键入 “rescue” 当作开机参数 boot: rescue 3. 顺着屏幕上的指示跟着作 4,例如 假设 /boot 磁碟分区位在 /dev/hda 代码: #grub-install /dev/hda 下面是另外一种方法。

发表评论

您的昵称 *

您的邮箱 *

您的网站