linux GRUB içeriğinin düzenlenmesi

Posted on 07 Şubat 2010 in Programlama by

Öncelikle grup menusunun duzenlendiği dosyanın “yazılabilir” olması gerekmektedir.
sudo chmod +w /boot/grub/grub.cfg

Daha sonra içeriği düzenlenecek dosyamızı açalım.
sudo gedit /boot/grub/grub.cfg

Aşağıdaki şekilde menu içeriklerini silebilir veya düzenleyebilirsiniz.

### BEGIN /etc/grub.d/30_os-prober ###
menuentry “Windows 7 (loader) (on /dev/sda2)” {
insmod ntfs
set root=(hd0,2)
search –no-floppy –fs-uuid –set a6008dd7008daebd
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

En sonunda dosyamızdaki yazılabilir özelliği kaldıralım
sudo chmod -w /boot/grub/grub.cfg

Please give us your valuable comment

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image

This site uses Akismet to reduce spam. Learn how your comment data is processed.