免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3147 | 回复: 7
打印 上一主题 下一主题

双系统启动不了。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-01-14 16:25 |只看该作者 |倒序浏览
我的硬盘分区如下:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 7295 58597056 83 Linux
/dev/sda2 7296 16048 70308472+ 5 Extended
/dev/sda3 16049 19452 27341824 7 HPFS/NTFS
/dev/sda5 7296 10942 29294496 83 Linux
/dev/sda6 10943 15805 39062016 83 Linux
/dev/sda7 15806 16048 1951866 82 Linux swap / Solaris


ubuntu8.10安装在主分区上能正常引导,win安装在sda3引导不了,请问各位要怎么做?

论坛徽章:
0
2 [报告]
发表于 2009-01-14 16:30 |只看该作者
什么状况 通过grub shell不行吗?
什么 bootloader

论坛徽章:
0
3 [报告]
发表于 2009-01-14 16:36 |只看该作者
是grub,能正常到ubuntu桌面,位不能启动win
menu.lst文件内容如下:

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=ad0aa0f7-0e0f-4d5a-881d-b625365c9761 ro locale=zh_CN

## default grub root device
## e.g. groot=(hd0,0)
# groot=ad0aa0f7-0e0f-4d5a-881d-b625365c9761

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title                Ubuntu 8.10, kernel 2.6.27-9-generic
uuid                ad0aa0f7-0e0f-4d5a-881d-b625365c9761
kernel                /boot/vmlinuz-2.6.27-9-generic root=UUID=ad0aa0f7-0e0f-4d5a-881d-b625365c9761 ro locale=zh_CN quiet splash
initrd                /boot/initrd.img-2.6.27-9-generic
quiet

title                Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
uuid                ad0aa0f7-0e0f-4d5a-881d-b625365c9761
kernel                /boot/vmlinuz-2.6.27-9-generic root=UUID=ad0aa0f7-0e0f-4d5a-881d-b625365c9761 ro locale=zh_CN  single
initrd                /boot/initrd.img-2.6.27-9-generic

title                Ubuntu 8.10, kernel 2.6.27-7-generic
uuid                ad0aa0f7-0e0f-4d5a-881d-b625365c9761
kernel                /boot/vmlinuz-2.6.27-7-generic root=UUID=ad0aa0f7-0e0f-4d5a-881d-b625365c9761 ro locale=zh_CN quiet splash
initrd                /boot/initrd.img-2.6.27-7-generic
quiet

title                Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid                ad0aa0f7-0e0f-4d5a-881d-b625365c9761
kernel                /boot/vmlinuz-2.6.27-7-generic root=UUID=ad0aa0f7-0e0f-4d5a-881d-b625365c9761 ro locale=zh_CN  single
initrd                /boot/initrd.img-2.6.27-7-generic

title                Ubuntu 8.10, memtest86+
uuid                ad0aa0f7-0e0f-4d5a-881d-b625365c9761
kernel                /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
title       Microsoft Windows XP Professional
root        (sda,0)
savedefault
makeactive
chainloader +2

论坛徽章:
0
4 [报告]
发表于 2009-01-14 22:53 |只看该作者
### END DEBIAN AUTOMAGIC KERNELS LIST
title       Microsoft Windows XP Professional
root        (sda,0)
savedefault
makeactive
chainloader +2

改为:
root (hd0,0)试试

grub不认识什么sda,只知道hd

论坛徽章:
0
5 [报告]
发表于 2009-01-14 23:28 |只看该作者
原帖由 emmoblin 于 2009-1-14 22:53 发表
### END DEBIAN AUTOMAGIC KERNELS LIST
title       Microsoft Windows XP Professional
root        (sda,0)
savedefault
makeactive
chainloader +2

改为:
root (hd0,0)试试

grub不认识什么sda ...


应该是这样,我的也是 sda2 起不了作用,换成 hd0,0 就OK了

论坛徽章:
0
6 [报告]
发表于 2009-01-15 10:26 |只看该作者
这个是我系统的引导   楼上说的是对的,呵呵,块,去试试!
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title                Windows 7/Longhorn (loader)
root                (hd0,1)
savedefault
makeactive
chainloader        +1

论坛徽章:
0
7 [报告]
发表于 2009-01-15 10:48 |只看该作者
不應是 root (hd0,0) 吧! lz 的windows 在第三個分區呢
應是 root (hd0,3)  在對吧! root (hd0,0)是linux 的分區了

论坛徽章:
0
8 [报告]
发表于 2009-01-15 10:53 |只看该作者
原帖由 luo118 于 2009-1-15 10:48 发表
不應是 root (hd0,0) 吧! lz 的windows 在第三個分區呢
應是 root (hd0,3)  在對吧! root (hd0,0)是linux 的分區了


应该是root (hd0,2)或root (sd0,2)
grub是从0开始
linux从1开始
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP