- This topic is empty.
October 19, 2009 at 1:49 pm #41983ecceMember
I’ve tried installing zeroshell, following the PDF on the homepage (basically: gunzip the image file and it will create partitions etc for you). This does not seem to work for me.
The file unzips without errors, and three partitions are made. However I cannot mount any of these partitions, it says “bad block device”.
Strange, but I reboot anyway. The bootloader seems OK, it reads the kernel but then fail on mounting the root filesystem. It just keeps trying to probe the root filesystem (nine times, then I get kernel panic: Unable to mount root fs on unknown-block(1,2)).
I’ve tried this with beta12 on a virtual machine in an ESX environment. Booting of the live CD works fine.
EDIT: I tried toggling the bootable flag – it makes no difference.October 21, 2009 at 8:52 am #48946ppaliasMember
Which command have you used to gunzip and copy?
did you gunzip it first and then copied it with dd?October 21, 2009 at 6:08 pm #48947ecceMember
gunzip -c zeroshell.img.gz>/dev/sda
(Following to the PDF)
Btw, the image file is not mountable on loopback either. But maybe it should not be? (
mount -o loop image.img
I’ve md5sum’ed the image and it’s correct.
I’m guessing this is a vmware ESX-thing or there is an error in the image file. Has anyone installed the beta12 image this way successfully? I’ll try on a physical machine this weekend, but it would be nice to hear from anyone who succeeded. If that works and we figure out the ESX problem you could do a ESX appliance version as well.October 22, 2009 at 6:53 am #48948ppaliasMember
I suppose you have downloaded the correct image meant for VMware.
I have tried twice to copy the image to a disk with the command
gunzip -c zeroshell.img.gz>/dev/sda
and works fine both on beta11 and beta12.October 23, 2009 at 5:20 pm #48949ingenriqueromeroMember
i Have the same problem install into a new HDD, i install the usB,IDe,SATA beta 12 version and put the bootable flag in 1, but it didn’t made a diference, i got the same kernel panic error, does someone have a idea? i have been trying for a lot of days without any result.
PLEASE HELP ME!!!!!!November 16, 2009 at 3:55 pm #48950
Same here, still looking for an explanation …November 16, 2009 at 4:22 pm #48951
Finally found the solution in some thread i don’t recall. The solution is easy once you’ve got it.
Basically the initrd created for your image doesn’t have the drivers you need for sata, so you have to copy them from the iso.
This steps should work:
#Plug you disk
mount /dev/sdb1 /tmp/image
gunzip -c /tmp/image/initrd.gz > /tmp/initrd.unzip
mount -t auto -o loop /tmp/initrd.unzip /tmp/initrdFolder
#Mount the iso downloaded from the website
mount -o loop /tmp/ZeroShell-1.0.beta12.iso /tmp/image2
find /tmp/image2 -name “ahci.ko”
#Copy the ahci.ko file into the right place
cp ahci.ko /tmp/initrdFolder/lib/sata/chipsets/ahci.ko
#Remount the system
gzip -c /tmp/initrd.unzip > /tmp/image/initrd.gz
After this it should work fine. It does for me at leastNovember 18, 2009 at 7:02 pm #48952bryanpopMember
OK so I noticed that there is some confusion when people install the IDE CF ver. of ZeroShell. I have found the easiest way to get it up and running in VMWare ESXi4 is to just make the disk IDE instead of SATA from the begining.
Here is a tutorial I use when setting it up…
Make ZeroShell Appliance in VMWare ESXi4
Make a 2GB disk in vmware
NOTE: Make the 2GB drive IDE and skip copying sata drivers over!!!
Edit your machine to boot off ubuntu desktop live cd & give it 512 ram to start (you have to have the iso in you data center, use Fast-SCP by Veeam to transfer iso – google it)
format disk ext3 with sudo gparted inside Ubuntu Desktop (It’s a Gnome GUI but start it from root command line)
Goto – Applications / Accessories / Terminal
Next mkdir and mount disk
mkdir /mnt/sda1 ; mount /dev/sda1 /mnt/sda1
Download the IDE Sata USB zeroshell.img.gz from zeroshell.net. Ubuntu will auto download the file to /home/ubuntu/Downloads
Write the zeroshell image to sda1
gunzip -c /home/ubuntu/Downloads/Zero*.img.gz>/dev/sda
You might have to use the full name of the zeroshell file, but notice that you write it to sda and not sda1!
Shutdown the system
shutdown -P now
or click the shutdown button in the Ubuntu GUI
Should now boot ZeroShell with no extra editing.
Make backups as you go in-case you foobar something. There is no reset to factory defaults button!!
Hope This Helps
:0)November 20, 2009 at 9:16 am #48953
Hi, this probably works with vmware, but in phisical hardware, sometimes the IDE emulation stuff doesn’t work as it should sometimes, mainly the order of the devices may get screwed.
So if anyone needs sata, you’ll have to use the ahci.ko patch
- You must be logged in to reply to this topic.