www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

How to unpack zeroshell.img and install?

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
turtle



Joined: 08 Jun 2014
Posts: 3

PostPosted: Sun Jun 08, 2014 5:25 am    Post subject: How to unpack zeroshell.img and install? Reply with quote

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:
Code:
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.
thanks
turtle


EDIT tuesday June 10th.
Note to others following this path
You can mount the iso on say /mnt/zer:
Code:
mount -o loop ZeroShell-3.0.0.iso /mnt/zer/

And look in
Code:
ls isolinux/
for the kernel info.

Then in grub2 on your HDD:
Code:
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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group