|
我在thinkpad R52 安装了xp和ubuntu 双系统,一键恢复的时候提示grub错误,然后两个系统都进不去了,于是我重新安装了xp,这样一来启动菜单就没有ubuntu了
搜索了一下网上提供的几种方法都试了还是不行
1,grub4dos ,启动选项里面没有ubuntu
2,rescue ,模式,邮寄过来的光盘不知如何才能进入rescue
3,用安装光盘进入ubuntu重新安装grub ,找不到linux启动分区,搜索不到stage1.
我觉得安装光盘进入ubuntu时,原有的ubuntu分区根本就没有被挂载,所以搜索stage1 当然也没有
以下安装光盘进入ubuntu时,在终端运行相关命令的结果
-
- 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
复制代码
应该怎么做请大家指点一下 |
|