昨天重装了windows发现进不了linux--suse10.1版本的,手上只有ubuntu desktop 版的安装光盘,我想进入linux rescue 修复,选择"挽救已损坏的系统",一路next ,到了
/dev/discs/disc0/part1
/dev/discs/disc0/part2
/dev/discs/disc0/part3
/dev/discs/disc0/part5
/dev/discs/disc0/part6
/dev/discs/disc0/part7
选择/dev/discs/disc0/part3,再选"在/dev/discs/disc0/part3 中运行shell",出现
sh-3.1#
终端,输入grub --batch 进入grub终端,
grub>
这里顺便说下,修改前看了些帖子,说进入安装时,按F4可进入linux rescue,ubuntu desktop安装盘似乎不行.
输入
grub>root (hd1,8 )
Error: Select disk does not exist
我的硬盘情况:
Devic Boot System
/dev/hda1 * HPFS/NTFS
/dev/hda2 W95 Ext'd
/dev/hda5 HPFS/NTFS
/dev/hda6 HPFS/NTFS
/dev/hda7 Linux swap
/dev/hda8 Linux
我奇怪 root (hd1,8 ) 错在哪?
还有,ubuntu 安装盘可以修改suse对应的MBR吗?
如果不行,用grub4dos如何修复?原先硬盘引导安装suse的vmlinuz和intrid.gz还在.
ubuntu安装光盘可修复损坏的suse系统吗?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 20
- 注册时间: 2006-09-09 0:11
ubuntu安装光盘可修复损坏的suse系统吗?
上次由 qingquansmart 在 2006-11-05 18:31,总共编辑 1 次。
-
- 帖子: 20
- 注册时间: 2006-09-09 0:11
- juanzhewudi
- 帖子: 1114
- 注册时间: 2006-01-19 11:55
- 来自: HUST
- 联系:
用desktop盘进了后chroot到你的suse再安grub
用desktop盘进了后chroot到你的suse再安grub,
也可以windows版本的grub好些,,,,
可以参考一下:
http://wiki.ubuntu.org.cn/RecoveringUbu ... ingWindows
也可以windows版本的grub好些,,,,
可以参考一下:
http://wiki.ubuntu.org.cn/RecoveringUbu ... ingWindows
- lyreopera
- 帖子: 771
- 注册时间: 2005-05-23 13:38
- 来自: gdsz
-
- 帖子: 20
- 注册时间: 2006-09-09 0:11
-
- 帖子: 20
- 注册时间: 2006-09-09 0:11
-
- 帖子: 20
- 注册时间: 2006-09-09 0:11
可以用了 ,但还是觉得有点怪,以下是我的分区
root@ubuntu:/# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1275 10241406 c W95 FAT32 (LBA)
/dev/sda2 1276 6516 42098332+ f W95 Ext'd (LBA)
/dev/sda3 6517 9729 25808422+ 83 Linux
/dev/sda5 1276 3825 20482843+ 7 HPFS/NTFS
/dev/sda6 3826 6375 20482843+ 7 HPFS/NTFS
/dev/sda7 6376 6516 1132551 82 Linux swap / Solaris
进入grub
grub> root (hd0,7)
Error 22: No such partition
grub> root (hd0,6)
Filesystem type unknown, partition type 0x82
grub> setup (hd0)
setup (hd0)
Error 17: Cannot mount selected partition
grub> root (hd0,2)
Filesystem type is reiserfs, partition type 0x83
grub> setup (hd0,2)
setup (hd0,2)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd0,2)"... 18 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0,2) (hd0,2)1+18 p (hd0,2)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub>
grub> setup (hd0)
setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd0)"... 18 sectors are embedded.succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,2)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub>
123主分区,567扩展分区,
我奇怪的是照理说应该是
root (hd0,7 )
setup (hd0)
但为什么
root (hd0,2 )
set (hd0)
才用得了??
?????
root@ubuntu:/# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1275 10241406 c W95 FAT32 (LBA)
/dev/sda2 1276 6516 42098332+ f W95 Ext'd (LBA)
/dev/sda3 6517 9729 25808422+ 83 Linux
/dev/sda5 1276 3825 20482843+ 7 HPFS/NTFS
/dev/sda6 3826 6375 20482843+ 7 HPFS/NTFS
/dev/sda7 6376 6516 1132551 82 Linux swap / Solaris
进入grub
grub> root (hd0,7)
Error 22: No such partition
grub> root (hd0,6)
Filesystem type unknown, partition type 0x82
grub> setup (hd0)
setup (hd0)
Error 17: Cannot mount selected partition
grub> root (hd0,2)
Filesystem type is reiserfs, partition type 0x83
grub> setup (hd0,2)
setup (hd0,2)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd0,2)"... 18 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0,2) (hd0,2)1+18 p (hd0,2)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub>
grub> setup (hd0)
setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd0)"... 18 sectors are embedded.succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,2)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub>
123主分区,567扩展分区,
我奇怪的是照理说应该是
root (hd0,7 )
setup (hd0)
但为什么
root (hd0,2 )
set (hd0)
才用得了??
?????