grubconfig-expert
GrubConfig-Expert
under devel........
Sebelum memulai, mungkin Anda ingin melihat grubconfig-simple lebih dulu ? Spesifikasi yang digunakan sama dengan contoh grubconfig-simple.
Karena mode Expert, saya langsung ajadech point2nya :) Upload gambar ternyata buat sengsara ! Hehehe
Begin
- Frame Buffer Console - Standart ?
- Grub target Location - MBR ?
- Grub Partition - /dev/sda1
Linux
- Posible Linux Partition - /dev/sda1
- Partition Name - Slackware 12
- Kernel Location - /boot/vmlinuz
- Kernel Option - Nothing todo
- Initrd Found - Yes !
- ------Creating Menu.lst
Other
- Possible DOS/WIN/OS2/BSD/etc - kosong atau /dev/sda3 ?
Install
-
Installing GRUB bootloader.......
........Grub was succesfully instaled on the MBR of /dev/sda
Silahkan dicoba2 sendiri :)
Ini hasil menu.lst :
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Tue Dec 11 21:25:29 2007
#
# The backup copy of the MBR for drive '/dev/sda' is
# here '/boot/grub/mbr.sda.11922'. You can restore it like this.
# dd if=mbr.sda.11922 of=/dev/sda bs=512 count=1
#
# Start GRUB global section
#timeout 30
#color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
title Slackware12 on (/dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal
# Linux bootable partition config ends
# Linux bootable initrd config begins
title Linux initrd /boot/initrd.gz on (/dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ramdisk_size=1001 root=/dev/ram0$
initrd /boot/initrd.gz
# Linux bootable initrd config ends
title --- For help press 'c', type: 'help'
root (hd0)
title --- For usage examples, type: 'cat /boot/grub/grub.txt'
root (hd0)
Sedikit Hacking :) Karena hanya ingin Slackware saja (initrd.gz)
Jadi isinya seperti ini :
title Linux Slackware (/dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ramdisk_size=1001 root=/dev/ram0$
initrd /boot/initrd.gz
Jadi dech :)
Kesimpulan :
-
Meskipun mode expert, Grub masih menyisakan pilihan yang gagal dalam kasus saya :) Kecuali saya memasukkan pada pilihan 'Option' untuk initrd.gz.
Yang terbaik, lakukan sedikit modifikasi langsung pada menu.lst.