分页: 1 / 1

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

发表于 : 2007-07-01 17:38
yaxis
我在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对吗

应该怎么做请大家指点一下

发表于 : 2007-07-01 21:37
yaxis
顶一下
难道linux的分区已经不见了吗

发表于 : 2007-07-01 22:46
rem1x
用ubuntu的安装光盘引导ubuntu系统到桌面,打开终端
$ grub

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

这是比较简单的方法,重新安装grub到MBR

发表于 : 2007-07-01 22:57
rem1x
抱歉,没仔细看你的问题

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

磁盘里搜索下stage1文件还在不在?

发表于 : 2007-07-02 0:14
yaxis
用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 

发表于 : 2007-07-02 5:38
lxchn
一键恢复貌似就把整个硬盘格式化了,恢复到出厂的状态。 :wink:

发表于 : 2007-07-02 8:51
yaxis
应该不会
我win下面D盘的东西还在

发表于 : 2007-07-02 10:52
yaxis
同志们,指条路啊

发表于 : 2007-07-02 10:59
skyx
由于楼主做过一键恢复,什么事情都可能发生,所以建议:

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

还好,thinkpad的硬盘很好取下,我都会。。。

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

唉,难道没有办法只能重装吗ubuntu了??想到ubuntu里漫长的配置道路就恐惧,要配齐没有50个小时真搞不下来

发表于 : 2007-07-02 11:39
skyx
可以用pq对新硬盘进行分区,但不要用pq 调整分区大小。否则很多莫名其妙的怪现象都会发生。

最好的调整分区大小的方法是: 备份分区----删除分区---再分区。  最好的工具是 M$或ubuntu自带的分区工具,不要用第三方分区工具,在win的基础上装了ubuntu后,最安全的分区工具是ubuntu自带的。