I have TAILS 0.19 on a USB drive, and my main OS on my laptop HDD.
I have set the BIOS to boot from the flash drive. However, I would like to include the option in the bootloader on the USB drive to boot off the HDD. Is this possible ?
I found a file on my flash disk called '
live.cfg' inside the 'syslinux' directory of the flashdrive.
I used this as a reference:
http://kemovitra.blogspot.com.au/201...r-live-cd.html
and added to following to the file:
Code:
LABEL hd0
MENU LABEL First Hard Drive
LOCALBOOT 0x80
________________
Thus, now the contents of "live.cfg" look like:
Code:
label live
menu label Live
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live config live-media=removable nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash nox11autologin module=Tails quiet
label livefailsafe
menu label Live (failsafe)
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live config live-media=removable nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash nox11autologin module=Tails noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal
LABEL hd0
MENU LABEL First Hard Drive
LOCALBOOT 0x80
label live-686-pae
menu label Live 686-pae
kernel /live/vmlinuz2
append initrd=/live/initrd2.img boot=live config live-media=removable nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash nox11autologin module=Tails quiet
label live-686-paefailsafe
menu label Live 686-pae (failsafe)
kernel /live/vmlinuz2
append initrd=/live/initrd2.img boot=live config live-media=removable nopersistent noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash nox11autologin module=Tails noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal
#label floppy
# localboot 0x00
#label disk1
# localboot 0x80
#label disk2
# localboot 0x81
#label nextboot
# localboot -1
The option that I added never shows up, its in the file after I reboot, so its been saved....
tl;dr :
What do I need to do to edit a bootloader on a USB drive to have the option of booting off a HDD ?