|
发表于 2003-7-15 15:59:10
|
显示全部楼层
是用啥BOOTLODAER? GRUB?
先看看自己的partition table,
例子如下:
[code:1]
Device Start End System
/dev/hda1 1 3 Linux
/dev/hda2 4 905 Extended
/dev/hda3 906 1222 Win95 FAT32 (LBA)
/dev/hda5 4 36 Linux swap
/dev/hda6 37 905 Linux
[/code:1]
在boot 区找到
grub.conf
[code:1]
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda6
initrd /initrd-2.4.7-10.img
title Windows 98
map (hd0,0) (hd0,2)
map (hd0,2) (hd0,0)
rootnoverify (hd0,2)
chainloader +1
title DOS Boot Disk
map (hd0,0) (hd0,2)
map (hd0,2) (hd0,0)
chainloader (fd0)+1
(下面加一行)
tiitle red-flag linux
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda4 <--RF的位置(例子而已)
initrd /initrd-2.4.7-10.img 镜像的档案名字
[/code:1] |
|