[问题]安装xp和ubuntu 双系统的thinkpad R52,重装xp后,无法起动ubuntu

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
yaxis
帖子: 33
注册时间: 2006-07-06 18:05

[问题]安装xp和ubuntu 双系统的thinkpad R52,重装xp后,无法起动ubuntu

#1

帖子 yaxis » 2007-07-01 17:38

我在thinkpad R52 安装了xp和ubuntu 双系统,一键恢复的时候提示grub错误,然后两个系统都进不去了,于是我重新安装了xp,这样一来启动菜单就没有ubuntu了
搜索了一下网上提供的几种方法都试了还是不行
1,grub4dos ,启动选项里面没有ubuntu
2,rescue ,模式,邮寄过来的光盘不知如何才能进入rescue
3,用安装光盘进入ubuntu重新安装grub

代码: 全选

root@ubuntu:/# df -h
Filesystem            Size  Used Avail Use% Mounted on
unionfs               997M  699M  299M  71% /
varrun                375M   84K  375M   1% /var/run
varlock               375M  4.0K  375M   1% /var/lock
udev                  375M  132K  375M   1% /dev
devshm                375M     0  375M   0% /dev/shm
lrm                   375M  8.8M  366M   3% /lib/modules/2.6.15-23-386/volatile
tmpfs                 375M   12K  375M   1% /tmp
root@ubuntu:/# grub
Probing devices to guess BIOS drives. This may take a long time.
root@ubuntu:/# fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
240 heads, 63 sectors/track, 5168 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1324    10009408+   7  HPFS/NTFS
/dev/sda2            1325        4573    24562409    f  W95 Ext'd (LBA)
/dev/sda3            4575        5168     4490640   12  Compaq diagnostics
/dev/sda5            1325        2542     9208048+   7  HPFS/NTFS
root@ubuntu:/# grub
Probing devices to guess BIOS drives. This may take a long time.

root@ubuntu:/home/ubuntu# find /boot/grub/stage1
find: /boot/grub: No such file or directory
root@ubuntu:/home/ubuntu# find grub/stage1
find: grub: No such file or directory
用安装光盘进入ubuntu重新安装grub,此时我原有的ubuntu分区应该根本没有被挂载,所以找不到stage1对吗

应该怎么做请大家指点一下
yaxis
帖子: 33
注册时间: 2006-07-06 18:05

#2

帖子 yaxis » 2007-07-01 21:37

顶一下
难道linux的分区已经不见了吗
rem1x
帖子: 29
注册时间: 2007-02-01 13:18

#3

帖子 rem1x » 2007-07-01 22:46

用ubuntu的安装光盘引导ubuntu系统到桌面,打开终端
$ grub

grub> sudo su
grub>find /boot/grub/stage1
grub>root (hd0,x)
grub>setup (hd0)

这是比较简单的方法,重新安装grub到MBR
rem1x
帖子: 29
注册时间: 2007-02-01 13:18

#4

帖子 rem1x » 2007-07-01 22:57

抱歉,没仔细看你的问题

进入ubuntu之后,分区还能访问的吧?

磁盘里搜索下stage1文件还在不在?
yaxis
帖子: 33
注册时间: 2006-07-06 18:05

#5

帖子 yaxis » 2007-07-02 0:14

用ubuntu的安装光盘引导进入ubuntu后,看不到原先的ubuntu分区,桌面只有一个example ,一个install
可能根本就没挂载
搜索stage1当然也没有

看以下的命令结果,以前的ubuntu分区好像没有了

代码: 全选

root@ubuntu:/# fdisk -l 
Disk /dev/sda: 40.0 GB, 40007761920 bytes 
240 heads, 63 sectors/track, 5168 cylinders 
Units = cylinders of 15120 * 512 = 7741440 bytes 

   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1   *           1        1324    10009408+   7  HPFS/NTFS 
/dev/sda2            1325        4573    24562409    f  W95 Ext'd (LBA) 
/dev/sda3            4575        5168     4490640   12  Compaq diagnostics 
/dev/sda5            1325        2542     9208048+   7  HPFS/NTFS 

代码: 全选

root@ubuntu:/# df -h 
Filesystem            Size  Used Avail Use% Mounted on 
unionfs               997M  699M  299M  71% / 
varrun                375M   84K  375M   1% /var/run 
varlock               375M  4.0K  375M   1% /var/lock 
udev                  375M  132K  375M   1% /dev 
devshm                375M     0  375M   0% /dev/shm 
lrm                   375M  8.8M  366M   3% /lib/modules/2.6.15-23-386/volatile 
tmpfs                 375M   12K  375M   1% /tmp 
lxchn
帖子: 105
注册时间: 2005-05-13 0:41

#6

帖子 lxchn » 2007-07-02 5:38

一键恢复貌似就把整个硬盘格式化了,恢复到出厂的状态。 :wink:
yaxis
帖子: 33
注册时间: 2006-07-06 18:05

#7

帖子 yaxis » 2007-07-02 8:51

应该不会
我win下面D盘的东西还在
yaxis
帖子: 33
注册时间: 2006-07-06 18:05

#8

帖子 yaxis » 2007-07-02 10:52

同志们,指条路啊
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#9

帖子 skyx » 2007-07-02 10:59

由于楼主做过一键恢复,什么事情都可能发生,所以建议:

把硬盘取下接到移动硬盘盒中在其它电脑上用数据恢复软件把重要数据找回再说

还好,thinkpad的硬盘很好取下,我都会。。。
no security measure is worth anything if an attacker has physical access to the machine
yaxis
帖子: 33
注册时间: 2006-07-06 18:05

#10

帖子 yaxis » 2007-07-02 11:30

linux分区好像已经找不到了
我在win下启动Norton PartitionMagic 8.0时被提示磁盘有错误,第一磁道有问题,是否因为这个原因导致linux分区不可见,但实际上linux的数据还在呢

唉,难道没有办法只能重装吗ubuntu了??想到ubuntu里漫长的配置道路就恐惧,要配齐没有50个小时真搞不下来
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#11

帖子 skyx » 2007-07-02 11:39

可以用pq对新硬盘进行分区,但不要用pq 调整分区大小。否则很多莫名其妙的怪现象都会发生。

最好的调整分区大小的方法是: 备份分区----删除分区---再分区。  最好的工具是 M$或ubuntu自带的分区工具,不要用第三方分区工具,在win的基础上装了ubuntu后,最安全的分区工具是ubuntu自带的。
no security measure is worth anything if an attacker has physical access to the machine
回复