双系统启动不了。

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
udb6688
帖子: 1
注册时间: 2009-01-14 16:09

双系统启动不了。

#1

帖子 udb6688 » 2009-01-14 16:18

我的硬盘分区如下:
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引导不了,请问各位要怎么做?

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
头像
pcbird
帖子: 2337
注册时间: 2008-12-19 13:44
来自: 东8区

Re: 双系统启动不了。

#2

帖子 pcbird » 2009-01-14 17:00

root (sda,0)改成root (hd0,0) 这个是XP在C盘的做法。
不行再换(hd0,1)或者(hd0,2)...

代码: 全选

 
       \   ,__,
        \  (oo)____
           (__)    )\
              ||--|| *  
 
头像
TeliuTe
论坛版主
帖子: 7668
注册时间: 2007-11-25 13:29
系统: 16/18/20/w7
来自: 新疆博乐
联系:

Re: 双系统启动不了。

#3

帖子 TeliuTe » 2009-01-14 19:29

Ubuntu 自带的 gnu grub 似乎不能识别NTFS分区,你可以试试 grub.exe
我是用 grub4dos 来引导 winxp ,并且xp 安装在 sda1

代码: 全选

title Windows XP/Windows 2000
kernel (hd0,5)/g4d/grub.exe
quiet

title Windows 95/98/NT/2000

root (hd0,0)
makeactive
chainloader +1

 
回复