SliTaz SliTaz Forum

You are not logged in.

#1 2019-08-03 21:01:47

guest_account
Member
Registered: 2011-11-27
Posts: 57

Booting slitaz-rolling with Memdisk

I'm trying to boot current Slitaz-rolling.iso from USB stick from an approach different from guide: memdisk.

I'm basing on these docs:

https://wiki.archlinux.org/index.php/Multiboot_USB_drive#Using_Syslinux_and_memdisk

https://mbusb.aguslr.com/howto.html

So I basically got ready a USB stick, installed grub2 on it, downloaded syslinux-6.03.tar.gz from kernel.org, extracted only the memdisk binary and copied it to USB.

Created menu entry for slitaz like this:

[CODE]

menuentry "slitaz-rolling" {

  iso_path="/path/to/slitaz-rolling.iso"

  bootoptions="iso raw"

  linux16 /path/to/memdisk $bootoptions

  initrd16 $iso_path

}

[/CODE]

Result:

Slitaz initial language menu does boot, but after selecting any language and hitting return one of 2 things happens: either next screen with just the kernel parameters but no "boot:" prompt, in fact, gets freezed here; or next screen doesn't enter at all and whole system reboots, as if a strange error...

How can I make memdisk work with Slitaz, if even possible?

Offline

#2 2019-08-04 07:22:09

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Booting slitaz-rolling with Memdisk

Hi,

Bootloader used in SliTaz is syslinux (aka isolinux, etc.). First, version is old (so I doubt, your new-version downloaded module can cope with it). Second, SliTaz (Pascal Bellard, to be precise) adds many patches to it since years, I think no one here have skills near to his to describe how this patched syslinux works.

http://hg.slitaz.org/wok/file/04ffefac5707/syslinux

As for me, sorry, I can't help you. Booting still like magic for me.

Offline

#3 2019-08-04 09:42:07

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Booting slitaz-rolling with Memdisk

I have never get memdisk working.

Can you try something like

[CODE]

menuentry "slitaz-rolling" {

loopback loop "/path/to/slitaz-rolling.iso"

chainloader ($loop)+1

}

[/CODE]

I use grub4dos (or grub4dos-linux) from linux iso.

[CODE]

title slitaz-rolling

    map --mem --heads=0 --sectors-per-track=0 /path/to/slitaz-rolling.iso (hd32)

    map --hook

    chainloader (hd32)

[/CODE]

Offline

#4 2019-08-14 18:51:42

guest_account
Member
Registered: 2011-11-27
Posts: 57

Re: Booting slitaz-rolling with Memdisk

Sorry for the late response.

Tried your code for memdisk, only got

"Error: no server specified. Press any key"

Then back to grub2 boot menu.

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.54 MiB (Peak: 1.77 MiB) ]