(+84) 236.3827111 ex. 402

CẤU HÌNH GRUB


CẤU HìNH GRUB

  • GRUB có một giao diện trình đơn để từ đó người dùng có thể chọn một mục (một hệ điều hành) bằng các phím mũi tên rồi nhấn phím ENTER để khởi động. Để dùng được các trình đơn đó bạn cần phải có một tập tin cấu hình menu.list nằm trong thư mục khởi động boot. Thông thường tập tin này được tạo ra khi cài đặt.
  • Dưới đây là 1 ví dụ :

# GRUB example configuration file on the teppi’s openSUSE system.

# Modified by YaST2. Last modification on Sun Sep 11 22:22:11 MSD 2011

kernel (hd0,0)/vmlinuz root=/dev/hda5 vga=0x31a selinux=0

splash=silent resume=/dev/hda7 showopts

initrd (hd0,0)/initrd

###Don’t change this comment - YaST2 identifier: Original name:

windows###

title Windows

map (hd0) (hd1)

map (hd1) (hd0)

rootnoverify (hd1,0)

makeactive

chainloader +1

###Don’t change this comment - YaST2 identifier: Original name: xen###

title XEN

kernel (hd0,0)/xen.gz dom0_mem=196608

module (hd0,0)/vmlinuz-xen root=/dev/hda5 vga=0x31a selinux=0

splash=silent resume=/dev/hda7 showopts

module (hd0,0)/initrd-xen

###Don’t change this comment - YaST2 identifier: Original name: floppy###

title Floppy