SliTaz SliTaz Forum

You are not logged in.

#1 2017-08-27 01:05:08

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Booting SliTaz from the ISO file with grub2

Hi,

Using GRUB4DOS, I can boot SliTaz from an ISO like this:

title SliTaz 5.0 Rolling core64 - LiveISO
   map --mem --heads=0 --sectors-per-track=0 (hd0,4)/slitaz/boot/slitaz-rolling-core64.iso (hd32)
   map --hook
   chainloader (hd32)
Is it possible to do the same with Grub2? The only solution I've found is:

menuentry "SliTaz Rolling core64 - LiveISO" {
        loopback myiso (hd0,4)/slitaz/boot/slitaz-rolling-core64.iso
        linux (myiso)/boot/bzImage64  rw root=/dev/null video=-32 kmap=fr-latin1 autologin
        initrd (myiso)/boot/rootfs.gz
}
I tried with [c]chainloader[/c]:

menuentry "SliTaz Rolling core64 - LiveISO" {
        chainloader (hd0,4)/slitaz/boot/slitaz-rolling-core64.iso
}
but this returns the error [c]cannot load image[/c]; I suppose [c]chainloader[/c] does not support the .iso

There isn't any possibility to run an ISO whithout to have to indicate the kernel and the rootfs?

Thanks.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]