QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 887|回复: 2

Grub跨盘引导的问题(郁闷)

[复制链接]
发表于 2006-3-8 15:53:12 | 显示全部楼层 |阅读模式
机子两块硬盘,hda和hab,FirstBoot为hd0
hda两系统:
WindowS2003
AS4
hdb三系统:
Windows2003 SP1
FreeBSD
FC4
现在的问题就是开机后用装在hda上的grub引导,其它系统都能引导,可到FC4就会
mount:error 6 mounting ext3
Error opening /dev/console !!!!:2
error dup2ling fd of 0 to 0
error dup2ling fd of 0 to 1
error dup2ling fd of 0 to 2
Switchroot:mount failed:22
Kernel panic-not syncing:Attemped to kill init!
附上分区及grub
fdisk -l

Disk /dev/hda: 82.3 GB, 82345098752 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 638 5124703+ 7 HPFS/NTFS
/dev/hda2 639 9586 71870654 f W95 Ext'd (LBA)
Partition 2 does not end on cylinder boundary.
/dev/hda3 9586 10011 3417968+ 83 Linux
/dev/hda5 639 1977 10755486 7 HPFS/NTFS
/dev/hda6 1978 3316 10755486 7 HPFS/NTFS
/dev/hda7 3317 4655 10755486 7 HPFS/NTFS
/dev/hda8 4656 5994 10755486 7 HPFS/NTFS
/dev/hda9 5995 7333 10755486 7 HPFS/NTFS
/dev/hda10 7334 8672 10755486 7 HPFS/NTFS
/dev/hda11 * 8673 8685 104391 83 Linux
/dev/hda12 8686 8750 522081 82 Linux swap
/dev/hda13 8751 9585 6707106 83 Linux

Disk /dev/hdb: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 653 5245191 7 HPFS/NTFS
/dev/hdb2 * 654 1958 10482412+ a5 FreeBSD
/dev/hdb3 1959 1975 136552+ 83 Linux
/dev/hdb4 1976 9729 62284005 5 Extended
/dev/hdb5 1976 4586 20972826 83 Linux
/dev/hdb6 4587 4651 522081 82 Linux swap
/dev/hdb7 4652 5957 10490413+ 7 HPFS/NTFS
/dev/hdb8 5958 7263 10490413+ b W95 FAT32
/dev/hdb9 7264 8569 10490413+ b W95 FAT32
/dev/hdb10 8570 9729 9317668+ b W95 FAT32

grub
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,10)
# kernel /vmlinuz-version ro root=/dev/hda13
# initrd /initrd-version.img
#boot=/dev/hda
default=1
color green/black
timeout=3
splashimage=(hd0,10)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core 4
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,2)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/LABEL=/ rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title FreeBSD 6.0-RELEASE
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,1,a)
kernel /boot/loader
boot
title RedHat Enterprise Linux AS4
root (hd0,10)
kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/1 rhgb quiet acpi=ht
initrd /initrd-2.6.9-5.EL.img
title Windows Server 2003 Web Edition SP1
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
title Windows Server 2003 Enterprise Edition
rootnoverify (hd0,0)
# makeactive
chainloader +1
# boot

顺便贴上AS4的fstab

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda12 swap swap defaults 0 0
/dev/hdc /media/cdrom auto pamconsole,fscontext=system_ubject_r:removable_t,exec,noauto,managed 0 0
/dev/hda3 /home/flanker/Flanker ext3 user 0 0

请教该怎么解决,折腾段时间,问题依旧.包括换为hdb的Grub引导还是不能引导FC4,其它四个系统还是可以引导.
 楼主| 发表于 2006-3-8 15:54:19 | 显示全部楼层
补充下,原来是这样配置的都可以引导
后来,AS4不能挂接/boot和swap
于是我就改了/boot和swap的label  上面也看的出来 /1和/boot1
怀疑是这的问题,后来改了FC4的label,问题还是依旧~~~
晕了~~~
回复

使用道具 举报

发表于 2006-3-8 16:00:19 | 显示全部楼层
楼主系统搞这么多
狂人啊
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-14 20:21 , Processed in 0.099866 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表