ubuntu无法引导,造成XP无法进入,现重装XP系统,改写mbr,不想重装Ubuntu,有什么好的方法吗?【已经解决】
-
- 帖子: 34
- 注册时间: 2009-11-23 15:57
ubuntu无法引导,造成XP无法进入,现重装XP系统,改写mbr,不想重装Ubuntu,有什么好的方法吗?【已经解决】
自从给笔记本安装Ubuntu后,和xp形成了双系统,
Ubuntu默认的Grub引导器安装在mbr,
经常第一次进入不到Ubuntu的图形界面,
最近重启一直进入不到Ubuntu界面,
好像是Grub引导除了问题,然后再livecd下重装Grub,
重启XP和Ubuntu都进不去了,
现在重新安装了xp,不想在重装Ubuntu,因为重装设置的太多可,
请问各路高手,有办法能解决吗?
Ubuntu默认的Grub引导器安装在mbr,
经常第一次进入不到Ubuntu的图形界面,
最近重启一直进入不到Ubuntu界面,
好像是Grub引导除了问题,然后再livecd下重装Grub,
重启XP和Ubuntu都进不去了,
现在重新安装了xp,不想在重装Ubuntu,因为重装设置的太多可,
请问各路高手,有办法能解决吗?
上次由 tianhang 在 2010-04-05 22:35,总共编辑 1 次。
- wangdu2002
- 帖子: 13284
- 注册时间: 2008-12-13 19:39
- 来自: 物华天宝人杰地灵
Re: ubuntu无法引导,造成XP无法进入,现重装XP系统,改写mbr,不想重装Ubuntu,有什么好的方法吗?
瞧下苹果法师的pdf,引导无忧也。
viewtopic.php?f=139&t=150541#grub4dos简介和使用方法
http://download.gna.org/grub4dos/#下载gru ... 版本0.4.4正式版
viewtopic.php?f=139&t=225669&p=1448778# ... 典基础教程和故障修复,有PDF教程可下载。
viewtopic.php?f=139&t=150541#grub4dos简介和使用方法
http://download.gna.org/grub4dos/#下载gru ... 版本0.4.4正式版
viewtopic.php?f=139&t=225669&p=1448778# ... 典基础教程和故障修复,有PDF教程可下载。
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
海内生明月,天涯共此夕。
--------------------吾本独!
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: ubuntu无法引导,造成XP无法进入,现重装XP系统,改写mbr,不想重装Ubuntu,有什么好的方法吗?
下载download/file.php?id=79193中的己修改的grldr文件,解压后把 g2ldr.mbr 和 g2ldr 放在winxp的启动分区根目录 。
XP系统或XP/Win7双系统的,修改boot.ini 在最后加一行
C:\g2ldr.mbr="Grub4Dos"
viewtopic.php?f=139&t=229387
XP系统或XP/Win7双系统的,修改boot.ini 在最后加一行
C:\g2ldr.mbr="Grub4Dos"
viewtopic.php?f=139&t=229387
-
- 帖子: 34
- 注册时间: 2009-11-23 15:57
Re: ubuntu无法引导,造成XP无法进入,现重装XP系统,改写mbr,不想重装Ubuntu,有什么好的方法吗?
修改后,出现Grub4dos,选择任何一项都出现:onshoestring 写了:下载download/file.php?id=79193中的己修改的grldr文件,解压后把 g2ldr.mbr 和 g2ldr 放在winxp的启动分区根目录 。
XP系统或XP/Win7双系统的,修改boot.ini 在最后加一行
C:\g2ldr.mbr="Grub4Dos"
viewtopic.php?f=139&t=229387
>grub
我原来安装Ubuntu的Grub在mbr,现在出现的Grub是grub4dos的吗,需要修改什么啊?
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
-
- 帖子: 34
- 注册时间: 2009-11-23 15:57
Re: ubuntu无法引导,造成XP无法进入,现重装XP系统,改写mbr,不想重装Ubuntu,有什么好的方法吗?
选XP直接进入系统
编辑lst文件内容:
timeout 3
default 0
title Ubuntu 9.10
root (hd0,9)
kernel /boot/vmlinuz-xxx-generic root=/dev/sda9
initrd /boot/initrd.img-xxx-generic
到XP系统盘,好像我的
root (hd0,9)
root=/dev/sda9
有错误,无法引导
编辑lst文件内容:
timeout 3
default 0
title Ubuntu 9.10
root (hd0,9)
kernel /boot/vmlinuz-xxx-generic root=/dev/sda9
initrd /boot/initrd.img-xxx-generic
到XP系统盘,好像我的
root (hd0,9)
root=/dev/sda9
有错误,无法引导
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: ubuntu无法引导,造成XP无法进入,现重装XP系统,改写mbr,不想重装Ubuntu,有什么好的方法吗?
小苹果g4d菜单内置的,不需要菜单文件,删除你在c:\的menu.lst。
-
- 帖子: 34
- 注册时间: 2009-11-23 15:57
Re: ubuntu无法引导,造成XP无法进入,现重装XP系统,改写mbr,不想重装Ubuntu,有什么好的方法吗?
删除之后,启动菜单选“grub4dos”onshoestring 写了:小苹果g4d菜单内置的,不需要菜单文件,删除你在c:\的menu.lst。
出现:
find /boot/grub/core.img
find /grub/core.img
find menu.lst
command line
reboot
halt
选前面几项都会出现:
Grub>
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
Re: ubuntu无法引导,造成XP无法进入,现重装XP系统,改写mbr,不想重装Ubuntu,有什么好的方法吗?
grub>
下输入
root (hd0,
按 Tab,看看能识别linux不
下输入
root (hd0,
按 Tab,看看能识别linux不
-
- 帖子: 34
- 注册时间: 2009-11-23 15:57
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
- wangdu2002
- 帖子: 13284
- 注册时间: 2008-12-13 19:39
- 来自: 物华天宝人杰地灵
Re: ubuntu无法引导,造成XP无法进入,现重装XP系统,改写mbr,不想重装Ubuntu,有什么好的方法吗?
910是哥伦布2代的1.97版本,而1004LTS的哥伦布2代是1.98版本,比1.97有改进,找不到分区的情况较少见了。
不过楼主可以在Live状态下把fdisk -lu的输出结果贴出来看下。
不过楼主可以在Live状态下把fdisk -lu的输出结果贴出来看下。
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
海内生明月,天涯共此夕。
--------------------吾本独!
-
- 帖子: 34
- 注册时间: 2009-11-23 15:57
Re: ubuntu无法引导,造成XP无法进入,现重装XP系统,改写mbr,不想重装Ubuntu,有什么好的方法吗?
输出的结果:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xf1d5f1d5
Device Boot Start End Blocks Id System
/dev/sda1 * 63 40965749 20482843+ c W95 FAT32 (LBA)
/dev/sda2 40965750 312576704 135805477+ f W95 Ext'd (LBA)
/dev/sda5 40965813 122897249 40965718+ b W95 FAT32
/dev/sda6 225311688 312576704 43632508+ 7 HPFS/NTFS
/dev/sda7 122897313 152199809 14651248+ 83 Linux
/dev/sda8 152199873 160200179 4000153+ 82 Linux swap / Solaris
/dev/sda9 160200243 225311624 32555691 83 Linux
Partition table entries are not in disk order
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xf1d5f1d5
Device Boot Start End Blocks Id System
/dev/sda1 * 63 40965749 20482843+ c W95 FAT32 (LBA)
/dev/sda2 40965750 312576704 135805477+ f W95 Ext'd (LBA)
/dev/sda5 40965813 122897249 40965718+ b W95 FAT32
/dev/sda6 225311688 312576704 43632508+ 7 HPFS/NTFS
/dev/sda7 122897313 152199809 14651248+ 83 Linux
/dev/sda8 152199873 160200179 4000153+ 82 Linux swap / Solaris
/dev/sda9 160200243 225311624 32555691 83 Linux
Partition table entries are not in disk order
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
-
- 帖子: 34
- 注册时间: 2009-11-23 15:57
Re: ubuntu无法引导,造成XP无法进入,现重装XP系统,改写mbr,不想重装Ubuntu,有什么好的方法吗?
ubuntu@ubuntu:~$ sudo fdisk /dev/sda
The number of cylinders for this disk is set to 19457.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): sudo fdisk -lu
Expert command (m for help): sudo parted /dev/sda print
Number of sectors (1-63, default 63):
The number of cylinders for this disk is set to 19457.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): sudo fdisk -lu
Expert command (m for help): sudo parted /dev/sda print
Number of sectors (1-63, default 63):