LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 900|回复: 3

FC5 & FC4 ?

[复制链接]
发表于 2006-6-21 09:27:35 | 显示全部楼层 |阅读模式
[root@localhost ~]# fdisk -l
Disk /dev/sda: 72.8 GB, 72839168000 bytes
255 heads, 63 sectors/track, 8855 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2550    20482843+   7  HPFS/NTFS
/dev/sda2            2551        3825    10241437+   f  W95 Ext'd (LBA)
/dev/sda3            3826        8725    39359250   83  Linux
/dev/sda4            8726        8855     1044225   82  Linux swap / Solaris
[color="Blue"]#FC4 install /dev/sda3
/dev/sda5            2551        3825    10241406    7  HPFS/NTFS

Disk /dev/sdb: 72.8 GB, 72839168000 bytes
255 heads, 63 sectors/track, 8855 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1020     8193118+   b  W95 FAT32
/dev/sdb2   *        1021        4000    23936850   83  Linux
[color="Blue"]#FC5 install /dev/sdb2
/dev/sdb3            4001        4150     1204875   82  Linux swap / Solaris
[root@localhost ~]#

#vi /boot/grub/menu.lst
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd1,1)
#          kernel /boot/vmlinuz-version ro root=/dev/sdb2
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd1,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5smp)
        root (hd1,1)
        kernel /boot/vmlinuz-2.6.15-1.2054_FC5smp ro root=LABEL=/1 rhgb quiet
        initrd /boot/initrd-2.6.15-1.2054_FC5smp.img
[color="Red"]#under these lines ,I manual to write
title Fedora Core (2.6.11-1.1369_FC4smp)
        root (hd0,2)
        kernel /boot/vmlinuz-2.6.11-1.1369_FC4smp ro root=LABEL=/1 rhgb quiet
        initrd /boot/initrd-2.6.11-1.1369_FC4smp.img
title windows2000
        rootnoverify (hd0,0)
        chainloader +1
[color="Red"]FC5 & windows2000 is OK!
FC4 can not start ! please tell me WHY?
发表于 2006-6-21 09:51:50 | 显示全部楼层
你的/dev/sda4分区根本就不是linux安装的分区,是个swap分区
回复 支持 反对

使用道具 举报

发表于 2006-6-21 12:46:34 | 显示全部楼层
Fc4 和 Fc5 怎么能用同一个/分区呢?还有你的硬盘 sda 怎么可以用 hd 呀?
root=LABEL=/1 换掉 root=/dev/sda3 (你装Fc4的地方)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-21 16:09:40 | 显示全部楼层
Post by zt2620zt
Fc4 和 Fc5 怎么能用同一个/分区呢?还有你的硬盘 sda 怎么可以用 hd 呀?
root=LABEL=/1 换掉 root=/dev/sda3 (你装Fc4的地方)


感谢,楼上的兄弟!
虽然原理不太懂,可是FC4可以启动了.
回复 支持 反对

使用道具 举报

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

本版积分规则

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