2008年4月30日 星期三

Change boot loader of Slax to grub on a USB stick

1. downloadgrub4dos from https://gna.org/projects/grub4dos/ and grubinst from
http://download.gna.org/grubutil/

2. run grubinst_gui.exe to install grub into USB

3. extract grldr to root directory of USB

4. create a text file named menu.lst which lists boot menu

find --set-root /boot/vmlinuz

title Slax Graphics mode (KDE)
kernel /boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/
initrd /boot/initrd.gz

title Slax Always Fresh
kernel /boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4
initrd /boot/initrd.gz

title Slax Copy To RAM
kernel /boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;telinit~4
initrd /boot/initrd.gz

title Slax Graphics VESA mode
kernel /boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=telinit~4 changes=/slax/
initrd /boot/initrd.gz

title Slax Text mode
kernel /boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw changes=/slax/
initrd /boot/initrd.gz

title Run Memtest86 utility
kernel /boot/mt86p

沒有留言: