硬盘上装了winxp,移动硬盘装了10.04,现在不插移动硬盘就进不了win [已解决]
-
- 帖子: 24
- 注册时间: 2008-12-10 1:40
硬盘上装了winxp,移动硬盘装了10.04,现在不插移动硬盘就进不了win [已解决]
如果我不插移动硬盘,就进不了win,只显示grub rescue:。
插上了移动硬盘,在ubuntu的启动选项选最下面的那个Windows professional,倒是可以正常启动win。
求助如何解决?
插上了移动硬盘,在ubuntu的启动选项选最下面的那个Windows professional,倒是可以正常启动win。
求助如何解决?
上次由 vsprrr 在 2010-11-01 10:58,总共编辑 1 次。
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 硬盘上装了winxp,移动硬盘装了10.04,现在不插移动硬盘就进不了win
sudo fdisk -l
结果贴上来,看看那个是移动硬盘。
结果贴上来,看看那个是移动硬盘。
-
- 帖子: 24
- 注册时间: 2008-12-10 1:40
Re: 硬盘上装了winxp,移动硬盘装了10.04,现在不插移动硬盘就进不了win
Disk /dev/sda: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0defc2af
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2783 21039448+ 7 HPFS/NTFS
/dev/sda2 2784 10337 57108240 f W95 Ext'd (LBA)
/dev/sda5 2784 5566 21039448+ 7 HPFS/NTFS
/dev/sda6 5567 10337 36068728+ 7 HPFS/NTFS
Disk /dev/sdb: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x21f63ce8
Device Boot Start End Blocks Id System
/dev/sdb1 1 3824 30716248+ 7 HPFS/NTFS
/dev/sdb2 3825 5069 9999360 83 Linux
/dev/sdb3 5070 7296 17887233 5 Extended
/dev/sdb5 5070 5252 1464320 82 Linux swap / Solaris
/dev/sdb6 5252 7296 16421888 83 Linux
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0defc2af
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2783 21039448+ 7 HPFS/NTFS
/dev/sda2 2784 10337 57108240 f W95 Ext'd (LBA)
/dev/sda5 2784 5566 21039448+ 7 HPFS/NTFS
/dev/sda6 5567 10337 36068728+ 7 HPFS/NTFS
Disk /dev/sdb: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x21f63ce8
Device Boot Start End Blocks Id System
/dev/sdb1 1 3824 30716248+ 7 HPFS/NTFS
/dev/sdb2 3825 5069 9999360 83 Linux
/dev/sdb3 5070 7296 17887233 5 Extended
/dev/sdb5 5070 5252 1464320 82 Linux swap / Solaris
/dev/sdb6 5252 7296 16421888 83 Linux
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 硬盘上装了winxp,移动硬盘装了10.04,现在不插移动硬盘就进不了win
1.
2.修改bios启动顺序从移动硬盘启动。
3.http://bbs.wuyou.com/viewthread.php?tid=57675
下载bootice把sda的mbr重写一下。
目标磁盘(/dev/sda: 80.0 GB)-主引导记录(nt5对应xp等,nt6对应win7等)-安装配置。
代码: 全选
sudo grub-install /dev/sdb
3.http://bbs.wuyou.com/viewthread.php?tid=57675
下载bootice把sda的mbr重写一下。
目标磁盘(/dev/sda: 80.0 GB)-主引导记录(nt5对应xp等,nt6对应win7等)-安装配置。
上次由 onshoestring 在 2010-10-31 11:17,总共编辑 1 次。
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 硬盘上装了winxp,移动硬盘装了10.04,现在不插移动硬盘就进不了win
以后要进ubuntu要从移动硬盘启动,要改bios启动顺序。
- 冲浪板
- 论坛版主
- 帖子: 7513
- 注册时间: 2007-05-06 8:19
Re: 硬盘上装了winxp,移动硬盘装了10.04,现在不插移动硬盘就进不了win
这个正是某人需要的限制小孩超量玩电脑的技巧啊,呵呵。
能破解就让她玩,否则等周末
能破解就让她玩,否则等周末
-
- 帖子: 24
- 注册时间: 2008-12-10 1:40
Re: 硬盘上装了winxp,移动硬盘装了10.04,现在不插移动硬盘就进不了win
那个bootice下载下来我解压发现是空的....虽然在压缩包里看得到有个exe。onshoestring 写了:1.2.修改bios启动顺序从移动硬盘启动。代码: 全选
sudo grub-install /dev/sdb
3.http://bbs.wuyou.com/viewthread.php?tid=57675
下载bootice把sda的mbr重写一下。
目标磁盘(/dev/sda: 80.0 GB)-主引导记录(nt5对应xp等,nt6对应win7等)-安装配置。
另外,我exe用wine来重写mbr么?
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 硬盘上装了winxp,移动硬盘装了10.04,现在不插移动硬盘就进不了win
做完第一步,从移动硬盘重启,进xp用bootice。
-
- 帖子: 24
- 注册时间: 2008-12-10 1:40
Re: 硬盘上装了winxp,移动硬盘装了10.04,现在不插移动硬盘就进不了win
做完第一步了,但是这回进windows那个进度条走完就黑屏了,无法进入win登录界面....onshoestring 写了:做完第一步,从移动硬盘重启,进xp用bootice。
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 硬盘上装了winxp,移动硬盘装了10.04,现在不插移动硬盘就进不了win
找个xp安装光盘,去掉移动硬盘,进故障恢复控制台:fixmbr。
至少这样可以把xp和ubuntu的启动分开。
或用下面帖子3楼billbear方法3
viewtopic.php?f=139&t=189240&start=0
从移动硬盘启动进xp,这个问题不太清楚如何解决。
试着在/etc/grub.d/40_custom文件中加入如下菜单
至少这样可以把xp和ubuntu的启动分开。
或用下面帖子3楼billbear方法3
viewtopic.php?f=139&t=189240&start=0
从移动硬盘启动进xp,这个问题不太清楚如何解决。
试着在/etc/grub.d/40_custom文件中加入如下菜单
menuentry “Windows XP on sdb1, by chainloader” {
drivemap (hd0) (hd1)
drivemap (hd1) (hd0)
set root=(hd0)
chainloader (hd1,1)+1
}
代码: 全选
sudo update-grub
-
- 帖子: 24
- 注册时间: 2008-12-10 1:40
Re: 硬盘上装了winxp,移动硬盘装了10.04,现在不插移动硬盘就进不了win
onshoestring 写了:找个xp安装光盘,去掉移动硬盘,进故障恢复控制台:fixmbr。
至少这样可以把xp和ubuntu的启动分开。
或用下面帖子3楼billbear方法3
viewtopic.php?f=139&t=189240&start=0
从移动硬盘启动进xp,这个问题不太清楚如何解决。
试着在/etc/grub.d/40_custom文件中加入如下菜单menuentry “Windows XP on sdb1, by chainloader” {
drivemap (hd0) (hd1)
drivemap (hd1) (hd0)
set root=(hd0)
chainloader (hd1,1)+1
}代码: 全选
sudo update-grub
多谢。事实上我重新启动了一下就又莫名的可以从ubuntu的启动菜单顺利启动WinXP了。
然后如前所述用bootice更改mbr,一切恢复正常。