How to unpack zeroshell.img and install?

Forums Network Management ZeroShell How to unpack zeroshell.img and install?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #43963

    Greetings I am interested in trying Zeroshell however I have a box already running Linux with grub1, no usb boot in bios and no cdrom.
    I tried to use dd to put zeroshell on a logical partition and point grub to it but that did not work.
    Then I realized you probably have it partitioned already so unzipping the file and looking at it with fdisk I see there a are 4 partitions:

    Disk /root/zeroshell/ZeroShell-3.0.0-Disk-2GB.img: 2017 MB, 2017419264 bytes, 3940272 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xcf5090fb

    Device Boot Start End Blocks Id System
    /root/zeroshell/ZeroShell-3.0.0-Disk-2GB.img1 2048 432127 215040 83 Linux
    /root/zeroshell/ZeroShell-3.0.0-Disk-2GB.img2 432128 1087487 327680 83 Linux
    /root/zeroshell/ZeroShell-3.0.0-Disk-2GB.img3 1087488 1742847 327680 83 Linux
    /root/zeroshell/ZeroShell-3.0.0-Disk-2GB.img4 1742848 3940271 1098712 5 Extended
    /root/zeroshell/ZeroShell-3.0.0-Disk-2GB.img5 1744896 3842047 1048576 83 Linux

    Can I mount these from the img file to check them out? Is there any info/docs on what these are for or how to custom dual boot *nix?
    I would like to use the existing boot loader on the hdd and point it to a zero shell root partition, if thats possible.

    EDIT tuesday June 10th.
    Note to others following this path
    You can mount the iso on say /mnt/zer:

    mount -o loop ZeroShell-3.0.0.iso /mnt/zer/

    And look in

    ls isolinux/

    for the kernel info.

    Then in grub2 on your HDD:

    menuentry "ZeroShell (isoloop)" {
    set root=(hd1,1)
    search --fs-uuid --set=root your-uuid-ofhdd-here
    loopback loop /ZeroShell-3.0.0.iso
    linux (loop)/isolinux/vmlinuz isoloop=ZeroShell-3.0.0.iso root=?
    initrd (loop)/isolinux/initrd.img

    Assuming you can drop ZeroShell-3.0.0.iso at / on disk2 partition1
    EDIT 2 June 10th 14:10
    OK but what is the root device?
    I can get it to boot using my /dev/sda1 root device but that boots the OS on /dev/sda1

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.