Super Grub Disk Main Webpage. Página principal de Super Grub Disk.

Support Free Software. Donate to Super Grub Disk. Apoya al Software Libre. Dona a Super Grub Disk.

You are visiting Super Grub Disk wiki. Most of these webpages suppose that you have a Super Grub Disk and that you know how to boot SGD. If you have a boot problem and you are lost do not hesitate to visit Boot problems page. After that you can visit: Super Grub Disk site where you can find the SGD forum and the SGD mailing list among other resources.

SGD BootScript Linux Usb Boot

From Super Grub Disk Wiki

Jump to: navigation, search

Boot your Usb's linux from the same usb.

Contents

Purpose

This menu.lst lets you boot your Usb's Linux from the same USB drive.

Example 1 - Findf approach

title            Linux on usb
findf /boot/grub/mydeviceidfile.txt # This sets out_hd to the device id of the USB drive
root            $(out_device)
kernel          /boot/vmlinuz-2.6.26 root=LABEL=wd80_0jd-60.06 
initrd          /boot/initrd.img-2.6.26
boot

Example 2 - fstabroot approach

title            Linux on usb
findf /boot/grub/mydeviceidfile.txt # This sets out_hd to the device id of the USB drive
fstabroot $(out_device)/etc/fstab
root            $(out_device)
kernel          /boot/vmlinuz-2.6.26 root=$(fstabroot)
initrd          /boot/initrd.img-2.6.26
boot

See also

Boot Script for autodetection of a USB script.

Personal tools