2018/07/29

My Grub2 Menu Config

insmod png
insmod part_msdos
insmod fat
insmod ntfs
insmod ext2
set root='hd0,msdos1'
set timeout=10

if loadfont /boot/grub/fonts/unicode.pf2 ; then
    set gfxmode=1024x768
    insmod efi_gop
    insmod efi_uga
    insmod vbe
    insmod vga
    insmod gfxterm
    terminal_output gfxterm
fi

if background_image /boot/grub/sakura.png ; then
  set color_normal=light-gray/black
  set menu_color_normal=black/black
  set menu_color_highlight=green/dark-gray
else
  set color_normal=white/black
  set menu_color_normal=white/black
  set menu_color_highlight=green/dark-gray
fi

My Grub4Dos menu list v4.6a

color white/black white/black white/black white/black
timeout 10
default 0

color border=0x000000
graphicsmode -1 1024:768
splashimage /night.bmp

title [1]SPFDISK
find /IMG/SPFDISK.IMG
map /IMG/SPFDISK.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title [2]Ghost 3in1
find /IMG/GHOST.IMG
map /IMG/GHOST.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

2018/07/06

How to install MRBS on Ubuntu 16.04

1.Install LAMP (Ubuntu Installation Process)
2.sudo su
3.apt update
4.apt install -y phpmyadmin
5.cp /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
6.service apache2 restart
7.wget https://sourceforge.net/projects/mrbs/files/mrbs/MRBS%201.7.1/mrbs-1.7.1.tar.gz
8.tar zxvf mrbs-1.7.1.tar.gz
9.cd mrbs-1.7.1
10.cp -r web/ /var/www/html/mrbs/
11.nano /var/www/html/mrbs/config.inc.php (Check and modify config)

$timezone = "Asia/Taipei";
$dbsys = "mysql";
$db_host = "localhost";
$db_database = "mrbs";
$db_login = "dbuser";
$db_password = 'dbuserpassword';

12.mysql -uroot -p mrbs < tables.my.sql (import db tables)
13.Launch web browser and enter http://localhost/mrbs to go