我一块硬盘安装的是XP
另外一块安装了ubuntu
但是
启动系统后直接进入了XP
该怎么办?
双硬盘安装的问题
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
-
- 帖子: 172
- 注册时间: 2006-08-10 16:01
请参考:
-----------------------------------------------------------
使硬盘能启动
看到grub菜单时按“c”进入grub命令行界面
grub> cat (hd 按tab键 当启动时无论是硬盘/移动硬盘/优盘设备名称都是hd没有sd的
Possible disks are: hd0 hd1
grub> cat (hd1 , 按tab键)这里的Partition num是从零开始,而fdisk和设备名称都是从一开始,所以设备名称-1=Partition num
Possible partitions are:
Partition num: 0, Filesystem type is fat, partition type 0xc
Partition num: 1, Filesystem type is ext2fs, partition type 0x83
Partition num: 4, Filesystem type unknown, partition type 0x82
Partition num: 5, Filesystem type is ext2fs, partition type 0x83
Partition num: 6, Filesystem type is ext2fs, partition type 0x83
grub> cat (hd1,1)/boot/grub/按tab键
Possible files are: minix_stage1_5 default e2fs_stage1_5 jfs_stage1_5 installed-version stage1 xfs_stage1_5 menu.lst~ menu.lst reiserfs_stage 1_5 stage2 device.map fat_stage1_5 menu.lst.hd
看看是不是你修改过的内容
grub> cat (hd1,1)/boot/grub/menu.lst
确定了ubuntu硬盘根分区在(hd1,1) ,设定移动硬盘的根分区
grub> root (hd1,1)
看到grub菜单是按“e”修改你的root (hd0,1) 为root (hd1,1)
-----------------------------------------------------------
grub命令行下输入help,得到帮助。quit是退出。
-----------------------------------------------------------
使硬盘能启动
看到grub菜单时按“c”进入grub命令行界面
grub> cat (hd 按tab键 当启动时无论是硬盘/移动硬盘/优盘设备名称都是hd没有sd的
Possible disks are: hd0 hd1
grub> cat (hd1 , 按tab键)这里的Partition num是从零开始,而fdisk和设备名称都是从一开始,所以设备名称-1=Partition num
Possible partitions are:
Partition num: 0, Filesystem type is fat, partition type 0xc
Partition num: 1, Filesystem type is ext2fs, partition type 0x83
Partition num: 4, Filesystem type unknown, partition type 0x82
Partition num: 5, Filesystem type is ext2fs, partition type 0x83
Partition num: 6, Filesystem type is ext2fs, partition type 0x83
grub> cat (hd1,1)/boot/grub/按tab键
Possible files are: minix_stage1_5 default e2fs_stage1_5 jfs_stage1_5 installed-version stage1 xfs_stage1_5 menu.lst~ menu.lst reiserfs_stage 1_5 stage2 device.map fat_stage1_5 menu.lst.hd
看看是不是你修改过的内容
grub> cat (hd1,1)/boot/grub/menu.lst
确定了ubuntu硬盘根分区在(hd1,1) ,设定移动硬盘的根分区
grub> root (hd1,1)
看到grub菜单是按“e”修改你的root (hd0,1) 为root (hd1,1)
-----------------------------------------------------------
grub命令行下输入help,得到帮助。quit是退出。
螺钉头虽然愚笨但总想在坚实的生活里钻出自己的天地来。
-
- 帖子: 4
- 注册时间: 2007-09-07 9:32
-
- 帖子: 44
- 注册时间: 2007-07-07 17:58