Author Topic: boot the iso file from the hdd - grub parameters  (Read 122 times)

Peterle

  • Newbie
  • *
  • Posts: 4
    • View Profile
boot the iso file from the hdd - grub parameters
« on: July 15, 2017, 01:44:15 PM »
Hi,
I can boot several iso files stored in the hdd, like ubuntu, mint, arch etch, but I cannot find a 'recipe' to boot the wattOS-R10-32.iso
Do you know a way to accomplish this? i love being able to try a distro without burning a CD or writing an USB key;
I've already used the second option, but it was slow and with the  mouse freezing bug.

When I try to boot the iso, I receive the error: << can't find  /dev/sr0>>, or something similar.

Thanx

testing config:

menuentry "Try wattOS-R10-32bit without installing" {
    set isofile="/ISOS/wattOS-R10-32.iso"
    loopback loop (hd0,2)$isofile
   linux   (loop)/casper/vmlinuz  file=/cdrom/preseed/custom.seed boot=casper iso-scan/filename=${isofile} quiet splash --
   initrd   (loop)/casper/initrd.gz
}

« Last Edit: July 16, 2017, 09:20:46 AM by Peterle »

leenie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 124
    • View Profile
Re: boot the iso file from the hdd - grub parameters
« Reply #1 on: July 15, 2017, 08:59:59 PM »
Did you see this? http://planetwatt.com/newforum/index.php?topic=911.0 Also are you using virtual box?
« Last Edit: July 15, 2017, 09:02:33 PM by leenie »

Peterle

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: boot the iso file from the hdd - grub parameters
« Reply #2 on: July 16, 2017, 09:17:16 AM »
Yes, I saw this, but it is of little use in a live system since I would have to unplug the mouse. Rebuilding the iso file would be a better option.
The main problem, though, is the lack of information regarding the possibility to boot the iso from grub.

It works only with a wattos or mint live dvd inside the /dev/sr0  (the cdrom) .

In fact, the process keep seeking for the /dev/sr0 and seems to be happy even with a mint live dvd.

I need a parameter that tells grub what to do with /dev/sr0.
A light distro needs to be bootable from the iso file, possibly along with a persistence file, and a sort of 'remastersys' like puppy linux does.
No virtualbox involved.

Thanx.
« Last Edit: July 16, 2017, 09:27:50 AM by Peterle »

leenie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 124
    • View Profile
Re: boot the iso file from the hdd - grub parameters
« Reply #3 on: July 16, 2017, 04:00:49 PM »
I forgot to ask, what are specs of your PC? I usually boot from usb with unetbootin. Also I keep my iso collection on a slaved hard drive. Do you have separate partition set up for your isos?

Peterle

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: boot the iso file from the hdd - grub parameters
« Reply #4 on: July 17, 2017, 07:09:09 PM »
I use sda2, then (hd0,2),

I need an entry like this:

menuentry "Try wattOS-R10-32bit without installing" {
    set isofile="/ISOS/wattOS-R10-32.iso"
    loopback loop (hd0,2)$isofile
   linux   (loop)/casper/vmlinuz  file=/cdrom/preseed/custom.seed boot=casper iso-scan/filename=${isofile} quiet splash --
   initrd   (loop)/casper/initrd.gz
}

Peterle

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: boot the iso file from the hdd - grub parameters
« Reply #5 on: July 22, 2017, 09:09:40 AM »
So, is  there no way of booting WattOS R10 from an ISO stored in a HDD partition, using a regular grub entry?
« Last Edit: July 22, 2017, 09:13:59 AM by Peterle »