This is the old SliTaz forum - Please use the main forum.slitaz.org

[SOLVED] Unable to boot SliTaz 3.0 from iso
  • lmartlmart April 2010
    contents of menu.lst follows. SliTaz 2.0 boots from the iso. SliTaz 3.0 does not, Error 62 message; number of heads must be specified. Unfamiliar with heads option.

    title slitaz-2.0.iso
    find --set-root /slitaz-2.0.iso
    map --mem /slitaz-2.0iso (hd32)
    map --hook
    map --status
    kernel (hd32)/boot/bzImage rw root=/dev/null vga=normal
    initrd (hd32)/boot/rootfs.gz
    boot

    title slitaz-3.0.iso
    find --set-root /slitaz-3.0.iso
    map --mem /slitaz-3.0.iso (hd32)
    map --hook
    map --status
    kernel (hd32)/boot/bzImage rw root=/dev/null vga=normal
    initrd (hd32)/boot/rootfs.gz
    boot

  • marquiticomarquitico April 2010
    I offer you my solution, bearing in mind that I'm no expert.

    I'm doing this from a Grub4Dos boot floppy, and I simply enter them at the Grub4Dos command prompt, instead of editing the menu.lst file.

    map --heads=0 --sectors-per-track=0 (hd0,0)/PathToThe/slitaz-3.0.iso (0xFF)
    map --hook
    chainloader (0xFF)
    boot

    A few observations:

    I have the slitaz-3.0.iso on my harddrive, which is referenced by the "(hd0,0)" in the path. This makes the find --set-root command unnecessary (at least, on my computer).

    The --mem option makes no practical difference, but it does use up more RAM that cannot be freed after bootup, so I leave it out.

    I believe with my setup (0xFF) and (hd32) have produced the same result, but I've become used to (0xFF), so I stick to it :-).

    You didn't include the chainloader command. On my system, this is critically important. If you find that (hd32) works for you, then it should be:

    chainloader (hd32)

    The chainloader must be located after the --hook, not before.

    Good luck!
  • lmartlmart April 2010
    Thanks marquitico; still doesn't work.

    I took the following code from Slitaz-1.0, which worked correctly and then made the changes for 2.0, which work.

    title slitaz-2.0.iso
    find --set-root /slitaz-2.0.iso
    map --mem /slitaz-2.0iso (hd32)
    map --hook
    map --status
    kernel (hd32)/boot/bzImage rw root=/dev/null vga=normal
    initrd (hd32)/boot/rootfs.gz
    boot


    My hdd boots from Grub4Dos. Based on your suggestions, here's the revised menu.lst;

    title slitaz-3.0.iso [marquitico]
    map --heads=0 --sectors-per-track=0 (hd0,0)/slitaz-3.0.iso (0xFF)
    map --hook
    chainloader (0xFF)
    boot

    Some progress with your method, but not a successful boot.
    Get Boot Baby Boot screen, hit return after book, system hangs at: [] kernel_thread-helper+0x7/0x10
  • lmartlmart April 2010
    RESOLVED

    title slitaz-3.0.iso [marquitico]
    map --heads=0 --sectors-per-track=0 /slitaz-3.0.iso (0xFF)
    map --hook
    map --status
    kernel (0xFF)/boot/bzImage rw root=/dev/null vga=normal
    initrd (0xFF)/boot/rootfs.gz
    boot
  • marquiticomarquitico April 2010
    Oh, congratulations! And thanks for posting the solution.
  • jozeejozee April 2010
    Imart,

    Please change the title to [Solved] and please also add this to Slitaz guides: How to boot from Iso : http://doc.slitaz.org/en:guides:start
  • lmartlmart April 2010
    jozee,
    happy to oblige, however, don't know how to do either
    ps-happy to beta slitaz on my pda, hp h1910
  • jozeejozee April 2010
    Imart,

    Add wiki page here: http://doc.slitaz.org/en:guides:start
    In http://doc.slitaz.org , there is help and playground for you to practice.

    I have changed it to Solved. Hope its fine with you.
  • lmartlmart April 2010
    jozee,
    thanks
    went to: http://doc.slitaz.org/en:guides:startin-http:doc.slitaz.org
    received the message: This topic does not exist yet
    You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by using the Create this page button.

    there was no Create this page button
  • erniaernia April 2010
    Maybe you should register yourself in the wiki and login?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social