Reply To: Install to HDD fail. Bad block device?

Home Page Forums Network Management ZeroShell Install to HDD fail. Bad block device? Reply To: Install to HDD fail. Bad block device?

#48951

aseques
Member

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
umount /tmp/initrdFolder/
gzip -c /tmp/initrd.unzip > /tmp/image/initrd.gz
umount /tmp/image

After this it should work fine. It does for me at least