两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
lapdfunsubuntu
帖子: 83
注册时间: 2009-04-25 19:32

两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#1

帖子 lapdfunsubuntu » 2009-04-28 16:50

两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘),Ubuntu安装后能正常启动,windows2003server进不去,应该怎么设置grub?
再发一次求助,哪位大侠能帮我解决这个问题?本人将感激涕零,泣求解决方案,感激不尽!
天行健,君子以自强不息;
地势坤,君子以厚德载物。
QQ:519943179,17953850
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#2

帖子 adagio » 2009-04-28 17:15

请描述详细情况
menu.lst贴上来
sudo fdisk -l 结果贴上来
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
lapdfunsubuntu
帖子: 83
注册时间: 2009-04-25 19:32

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#3

帖子 lapdfunsubuntu » 2009-04-28 21:23

大侠我现在在家,明天我第一时间把这两个内容刷上来,感谢

还有个问题想问您,R51的thinkpad装Ubuntu9.04网卡上不去,不知道能不能解决?网卡在windowsxp中的型号是:Intel(R)PRO/1000 MT Mobile Connection,在网上找不到合适的驱动程序,总是安装不成功,什么提示我记不大清了,好像在最后说道:“写入文件被禁止”,让您费心了!另外还有1394和无线网卡INTEL(R) PRO/WIRELESS 2200BG NETWORK CONNECTION。
我这只菜鸟不是专门等人喂,只是刚接触linux,真是不知道从何入手,模式从根本上改变了啊!
万分感谢您和其他大侠的帮助!!!
天行健,君子以自强不息;
地势坤,君子以厚德载物。
QQ:519943179,17953850
头像
lapdfunsubuntu
帖子: 83
注册时间: 2009-04-25 19:32

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#4

帖子 lapdfunsubuntu » 2009-04-29 7:37

sudo fdisk -l显示如下:

Disk /dev/sda: 36.7 GB, 36703934464 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc5274797

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1785 14337981 c W95 FAT32 (LBA)
/dev/sda2 1786 4169 19149480 f W95 Ext'd (LBA)
/dev/sda3 4170 4461 2345490 c W95 FAT32 (LBA)
/dev/sda5 1786 4169 19149448+ b W95 FAT32

Disk /dev/sdb: 18.3 GB, 18351959040 bytes
255 heads, 63 sectors/track, 2231 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf38cf38c



Device Boot Start End Blocks Id System
/dev/sdb1 1 2132 17125258+ 83 Linux
/dev/sdb2 2133 2231 795217+ 5 Extended
/dev/sdb5 2133 2231 795186 82 Linux swap / Solaris


menu.lst:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## 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=7eadc03b-a0d9-45ce-beab-546e3d6f5bef ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=7eadc03b-a0d9-45ce-beab-546e3d6f5bef

## 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

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect

## 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 9.04, kernel 2.6.28-11-generic
uuid 7eadc03b-a0d9-45ce-beab-546e3d6f5bef
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7eadc03b-a0d9-45ce-beab-546e3d6f5bef ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 7eadc03b-a0d9-45ce-beab-546e3d6f5bef
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7eadc03b-a0d9-45ce-beab-546e3d6f5bef ro single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid 7eadc03b-a0d9-45ce-beab-546e3d6f5bef
kernel /boot/memtest86+.bin
quiet

title WINDOWS`2003 SERVER
root (sda1,0)
chainloader +1

### END DEBIAN AUTOMAGIC KERNELS LIST


谢谢大侠了,万分感谢!
天行健,君子以自强不息;
地势坤,君子以厚德载物。
QQ:519943179,17953850
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#5

帖子 adagio » 2009-04-29 10:23

唉,sudo fdisk -l是关键啊,另外详细描述一下软、硬件情况,比如grub装在哪个盘等等

代码: 全选

sudo fdisk -l
结果贴上来
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
lapdfunsubuntu
帖子: 83
注册时间: 2009-04-25 19:32

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#6

帖子 lapdfunsubuntu » 2009-04-29 10:48

sudo fdisk -l显示如下:
Disk /dev/sda: 36.7 GB, 36703934464 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc5274797

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1785 14337981 c W95 FAT32 (LBA)
/dev/sda2 1786 4169 19149480 f W95 Ext'd (LBA)
/dev/sda3 4170 4461 2345490 c W95 FAT32 (LBA)
/dev/sda5 1786 4169 19149448+ b W95 FAT32

Disk /dev/sdb: 18.3 GB, 18351959040 bytes
255 heads, 63 sectors/track, 2231 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf38cf38c



Device Boot Start End Blocks Id System
/dev/sdb1 1 2132 17125258+ 83 Linux
/dev/sdb2 2133 2231 795217+ 5 Extended
/dev/sdb5 2133 2231 795186 82 Linux swap / Solaris


menu.lst:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## 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=7eadc03b-a0d9-45ce-beab-546e3d6f5bef ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=7eadc03b-a0d9-45ce-beab-546e3d6f5bef

## 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

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect

## 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 9.04, kernel 2.6.28-11-generic
uuid 7eadc03b-a0d9-45ce-beab-546e3d6f5bef
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7eadc03b-a0d9-45ce-beab-546e3d6f5bef ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 7eadc03b-a0d9-45ce-beab-546e3d6f5bef
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7eadc03b-a0d9-45ce-beab-546e3d6f5bef ro single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid 7eadc03b-a0d9-45ce-beab-546e3d6f5bef
kernel /boot/memtest86+.bin
quiet

title WINDOWS`2003 SERVER
root (sda1,0)
chainloader +1

### END DEBIAN AUTOMAGIC KERNELS LIST


谢谢大侠了,万分感谢!
天行健,君子以自强不息;
地势坤,君子以厚德载物。
QQ:519943179,17953850
头像
lapdfunsubuntu
帖子: 83
注册时间: 2009-04-25 19:32

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#7

帖子 lapdfunsubuntu » 2009-04-29 10:59

我用硬盘安装方式安装的,所需要的文件都放在windows2003的系统盘(/dev/sda1)里了,按照硬盘安装的方式安装成功了,Ubuntu也能正常启动,就是在grub启动菜单里选择自己设置的“windows2003server”时,提示23错误。

其他的就什么都没做过,看进不了windows2003server,就想感受一下Ubuntu,进了Ubuntu后更新了语言包和火狐浏览器的更新。其他的就什么也没做了。

不知道我说的这些对你解决这个问题有没有帮助。感谢大侠的帮助!
天行健,君子以自强不息;
地势坤,君子以厚德载物。
QQ:519943179,17953850
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#8

帖子 adagio » 2009-04-29 11:22

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1785 14337981 c W95 FAT32 (LBA)
/dev/sda2 1786 4169 19149480 f W95 Ext'd (LBA)
/dev/sda3 4170 4461 2345490 c W95 FAT32 (LBA)
/dev/sda5 1786 4169 19149448+ b W95 FAT32
天,这个盘怎么搞的?怎么全是 (LBA)?
你要那么多主分区干啥?
扩展分区里只有一个逻辑分区,太浪费了
另外你既然装了win2003,为什么全是fat32?
:em20 ……
nnd,我不敢乱说了,你等等billbear来看吧
表着急,他一般下午上来看
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#9

帖子 adagio » 2009-04-29 11:40

先说一个办法,你既然两个硬盘,干脆这样:
恢复第一块硬盘启动盘(windows2003)的mbr,让windows用自己的ntload引导自己
把grub装到第二块硬盘(Ubuntu)用于引导Ubuntu
先把问题避开,呵呵
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#10

帖子 adagio » 2009-04-29 12:12

该死,你这个写错了
title WINDOWS`2003 SERVER
root (sda1,0)
chainloader +1
应该是
title WINDOWS`2003 SERVER
root (hda1,0)
chainloader +1
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
wangzhe8193
帖子: 33
注册时间: 2009-04-23 8:20

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#11

帖子 wangzhe8193 » 2009-04-29 13:02

应该是这样的吧
title WINDOWS`2003 SERVER
root (sda0,0)
makeactive
chainloader +1
头像
lapdfunsubuntu
帖子: 83
注册时间: 2009-04-25 19:32

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#12

帖子 lapdfunsubuntu » 2009-04-29 17:09

大侠们,还是不行啊,天啊这可怎么办啊?大侠们救命啊!!!!!!!!!!
天行健,君子以自强不息;
地势坤,君子以厚德载物。
QQ:519943179,17953850
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#13

帖子 adagio » 2009-04-29 17:43

怎么个不行啊?
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
lapdfunsubuntu
帖子: 83
注册时间: 2009-04-25 19:32

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#14

帖子 lapdfunsubuntu » 2009-04-30 7:47

启动不起来啊!
我再试试别的方法吧,给你添麻烦了!
天行健,君子以自强不息;
地势坤,君子以厚德载物。
QQ:519943179,17953850
头像
lapdfunsubuntu
帖子: 83
注册时间: 2009-04-25 19:32

Re: 两块SCSI硬盘分别安装windows2003server(第一块硬盘启动盘)和Ubuntu(第二块硬盘)不能启动win

#15

帖子 lapdfunsubuntu » 2009-04-30 8:30

问题已经解决,谢谢各位大侠! :em05 :em05 :em05 :em05 :em05 :em05

你们真好啊!!!
天行健,君子以自强不息;
地势坤,君子以厚德载物。
QQ:519943179,17953850
回复