planetwatt.com

Help and Support => Archives => wattOS R10 => Topic started by: Peterle on July 15, 2017, 01:44:15 PM

Title: boot the iso file from the hdd - grub parameters
Post by: Peterle 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
}

Title: Re: boot the iso file from the hdd - grub parameters
Post by: leenie 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?
Title: Re: boot the iso file from the hdd - grub parameters
Post by: Peterle 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.
Title: Re: boot the iso file from the hdd - grub parameters
Post by: leenie 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?
Title: Re: boot the iso file from the hdd - grub parameters
Post by: Peterle 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
}
Title: Re: boot the iso file from the hdd - grub parameters
Post by: Peterle 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?