- 论坛徽章:
- 0
|
grub 文件损坏了怎么办
#fdisk -l
device system
/dev/hda1 unknown(这就是我原来的的windows)
/dev/hda2 hpfs/ntfs
paritition 2 does not end on cylinder boundary
phys=(1023.254.63) should be (1023.192.63)
/dev/hda3 linux
/dev/hda4 win95 extld(LBA)
vi /boot/grub/grub.conf
boot =/dev/hda
default =1
timeout=10
splashimage= (hd0,2)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
root (hd0,2)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda7
initrd /initrd-2.4.7 -10.img
*以下几行都是我自己加的*
title Mircrosoft Windows 2000
rootnoverify (hd0,1)
makeactive
chainloader +1 |
|