Author Topic: GRUB 2 USB Boot  (Read 15130 times)

Offline quiddi

  • Newbie
  • *
  • Posts: 1
« on: 2013/09/08, 20:15:41 pm »
Hello together,

i want to take some iso-Images on my USB PenDrive. I have read the manual on pendrivelinux, her ist the link

It works perfectly for the grub.cfg which can be downloaded from pendrivelinux. On my USB PenDrive I want to take Gparted and Knoppix, not the iso-Images which are in the tutorial. What is the problem that i can not boot from any iso image? Why I can't take any iso-Image, copy it in the root directory from the PenDrive, and name it ubuntu.iso, and boot it?
Grub then shows Error: File not Fount Please boot the kernel first
Here the grub.cfg, i have added the Gparted:
Code: [Select]
# This grub.cfg file was created by Lance
# Suggested Entries and the suggestor, if available, will also be noted.

set timeout=10
set default=0

menuentry "Ubuntu Desktop ISO" {
 loopback loop /ubuntu.iso
 linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu.iso noeject noprompt splash --
 initrd (loop)/casper/initrd.lz

menuentry "Linux Mint ISO" {
 loopback loop /linuxmint.iso
 linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper initrd=/casper/initrd.lz iso-scan/filename=/linuxmint.iso noeject noprompt splash --
 initrd (loop)/casper/initrd.lz

menuentry "DBAN ISO" {
 loopback loop /dban.iso
 linux (loop)/DBAN.BZI nuke="dwipe" iso-scan/filename=/dban.iso silent --

menuentry "Tinycore ISO" {
 loopback loop /tinycore.iso
 linux (loop)/boot/bzImage --
 initrd (loop)/boot/tinycore.gz

menuentry "Memtest 86+" {
 linux16 /memtest86+.bin

menuentry "SystemRescueCd" {
 loopback loop /systemrescuecd.iso
 linux (loop)/isolinux/rescuecd isoloop=/systemrescuecd.iso setkmap=us docache dostartx
 initrd (loop)/isolinux/initram.igz
menuentry "GParted" {
   loopback loop /boot/iso/gparted.iso
   linux (loop)/live/vmlinuz boot=live config noswap nosplash noprompt ip=frommedia gfxpayload=1024x768x16,1024x768 i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes$
   initrd (loop)/live/initrd.img

Thanks for your Help
« Last Edit: 2013/10/28, 23:45:27 pm by adrian15 »

Offline adrian15

  • Administrator
  • Hero Member
  • *****
  • Posts: 833
  • Please test Rescatux and report back feedback...
    • El blog de adrian15
Re: GRUB 2 USB Boot
« Reply #1 on: 2013/10/28, 23:55:40 pm »
Booting an ISO is not as easy as selecting it. You don't boot ISOs. You boot kernels instead.

Take a look at: Super Grub Disk - Wiki - Loopback.cfg page for some more technical details. Not sure if useful for your case but that might help you understand why it isn't as easy as just renaming Ubuntu entries.

If you have liked this piece of advice please consider donating to the Super Grub Disk project.