المشاركة الأصلية كتبت بواسطة Eng/ Ahmed
اممممممممممممممم ...
طيب انت جربت تحرر ملف ال grub
nano /etc/grub.conf
انسخ لنا محتويات ملف grub.conf هنا .
هلا اخوي
انا استخدم lilo مو grub
وهذي محتويات الاثنين
grub
كود PHP:
# 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,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.9-42.0.2.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-42.0.2.EL ro root=LABEL=/1
initrd /initrd-2.6.9-42.0.2.EL.img
title CentOS (2.6.9-42.0.2.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-42.0.2.ELsmp ro root=LABEL=/1
initrd /initrd-2.6.9-42.0.2.ELsmp.img
title CentOS (2.6.9-34.0.2.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-34.0.2.EL ro root=LABEL=/1
initrd /initrd-2.6.9-34.0.2.EL.img
title CentOS (2.6.9-34.0.2.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-34.0.2.ELsmp ro root=LABEL=/1
initrd /initrd-2.6.9-34.0.2.ELsmp.img
title CentOS-4 i386 (2.6.9-34.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-34.ELsmp ro root=LABEL=/1
initrd /initrd-2.6.9-34.ELsmp.img
title CentOS-4 i386-up (2.6.9-34.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-34.EL ro root=LABEL=/1
initrd /initrd-2.6.9-34.EL.img
lilo
كود PHP:
prompt
timeout=20
default=linux
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
image=/boot/vmlinuz-2.6.9-42.0.2.ELsmp
label=linux
initrd=/boot/initrd-2.6.9-42.0.2.ELsmp.img
read-only
append="root=LABEL=/1"
image=/boot/vmlinuz-2.6.9-34.ELsmp
label=linux-old
initrd=/boot/initrd-2.6.9-34.ELsmp.img
read-only
append="root=LABEL=/1"
image=/boot/vmlinuz-2.6.9-34.EL
label=linux-up
initrd=/boot/initrd-2.6.9-34.EL.img
read-only
append="root=LABEL=/1"