บทความนี้ใช้ประโยชน์มานานแล้วครับ เพื่อให้ส่วนตัวเองหาอ่านได้ง่าย ขออนุญาต จากคุณ Roony แห่ง www.ubuntuclub.com เอามาลงนะครับ
ทำยังงี้ครับ
 $sudo  gedit  /boot/grub/menu.lst   --->   เพื่อเปิดเมนูตอน boot เครื่องขึ้นมาแก้ไขครับ
พอเปิดขึ้นมาจะเจอไฟล์หน้าตาประมาณนี้ครับ
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default      0    --->    พระเอกของเรื่องที่ต้องทำการแก้
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      10
     .
     .
     .
     .
title      Ubuntu, kernel 2.6.15-23-386         --->         ลำดับที่ 0                   
root      (hd0,2)
kernel      /boot/vmlinuz-2.6.15-23-386 root=/dev/hda3 ro quiet splash
initrd      /boot/initrd.img-2.6.15-23-386
savedefault
boot
title      Ubuntu, kernel 2.6.15-23-386 (recovery mode)      --->     ลำดับที่ 1   
root      (hd0,2)
kernel      /boot/vmlinuz-2.6.15-23-386 root=/dev/hda3 ro single
initrd      /boot/initrd.img-2.6.15-23-386
boot
title      Ubuntu, memtest86+      --->      ลำดับที่ 2
root      (hd0,2)
kernel      /boot/memtest86+.bin
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Other operating systems:      --->      ลำดับที่ 3
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title      Microsoft Windows XP Professional      --->      ลำดับที่ 4
root      (hd0,0)
savedefault
makeactive
chainloader   +1
อยากให้เครื่องเรา boot เข้า windows เป็นค่า default ก็แก้ค่าตรงบรรทัดต้นๆไฟล์จาก default   0 ให้เป็นค่า  default   4  ครับ
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น