Συντονιστής: adem1




sudo chmod 766 /boot/grub/grub.cfgsudo gedit /boot/grub/grub.cfgέγραψε:menuentry "Ubuntu, Linux 2.6.31-19-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set b49d49cb-b370-4506-afe9-f1c46fcf6004
linux /boot/vmlinuz-2.6.31-19-generic root=UUID=b49d49cb-b370-4506-afe9-f1c46fcf6004 ro quiet splash
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-19-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set b49d49cb-b370-4506-afe9-f1c46fcf6004
linux /boot/vmlinuz-2.6.31-19-generic root=UUID=b49d49cb-b370-4506-afe9-f1c46fcf6004 ro single
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set b49d49cb-b370-4506-afe9-f1c46fcf6004
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=b49d49cb-b370-4506-afe9-f1c46fcf6004 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set b49d49cb-b370-4506-afe9-f1c46fcf6004
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=b49d49cb-b370-4506-afe9-f1c46fcf6004 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
έγραψε:#menuentry "Ubuntu, Linux 2.6.31-19-generic" {
# recordfail=1
# if [ -n ${have_grubenv} ]; then save_env recordfail; fi
# set quiet=1
# insmod ext2
# set root=(hd0,5)
# search --no-floppy --fs-uuid --set b49d49cb-b370-4506-afe9-f1c46fcf6004
# linux /boot/vmlinuz-2.6.31-19-generic root=UUID=b49d49cb-b370-4506-afe9-f1c46fcf6004 ro quiet splash
# initrd /boot/initrd.img-2.6.31-19-generic
#}
#menuentry "Ubuntu, Linux 2.6.31-19-generic (recovery mode)" {
# recordfail=1
# if [ -n ${have_grubenv} ]; then save_env recordfail; fi
# insmod ext2
# set root=(hd0,5)
# search --no-floppy --fs-uuid --set b49d49cb-b370-4506-afe9-f1c46fcf6004
# linux /boot/vmlinuz-2.6.31-19-generic root=UUID=b49d49cb-b370-4506-afe9-f1c46fcf6004 ro single
# initrd /boot/initrd.img-2.6.31-19-generic
#}
#menuentry "Ubuntu, Linux 2.6.31-14-generic" {
# recordfail=1
# if [ -n ${have_grubenv} ]; then save_env recordfail; fi
# set quiet=1
# insmod ext2
# set root=(hd0,5)
# search --no-floppy --fs-uuid --set b49d49cb-b370-4506-afe9-f1c46fcf6004
# linux /boot/vmlinuz-2.6.31-14-generic root=UUID=b49d49cb-b370-4506-afe9-f1c46fcf6004 ro quiet splash
# initrd /boot/initrd.img-2.6.31-14-generic
#}
#menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
# recordfail=1
# if [ -n ${have_grubenv} ]; then save_env recordfail; fi
# insmod ext2
# set root=(hd0,5)
# search --no-floppy --fs-uuid --set b49d49cb-b370-4506-afe9-f1c46fcf6004
# linux /boot/vmlinuz-2.6.31-14-generic root=UUID=b49d49cb-b370-4506-afe9-f1c46fcf6004 ro single
# initrd /boot/initrd.img-2.6.31-14-generic
#}
έγραψε:### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
έγραψε:fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi


