Re: Working through this… Steps 2 – 4

Home Page Forums Network Management ZeroShell How To rebuild kernel 2.6.36.3 into b14 document Re: Working through this… Steps 2 – 4

#51580

SpeedD408
Member

rda,

First thank you very much. I’m sure this wasn’t easy.

Corrections

Step 2 –

Ok not really a correction, but you need tell people to change the IP address on your virtual ZeroShell config to match the segment of the PC you are running VirtualBOX on and set the default gateway or none of the wget commands are going to work.

Step 3 –

1) mkdir command is incomplete needs /DB/ or the rest of the instructions don’t work.

root@zeroshell root>fdisk /dev/hdb
root@zeroshell root>mke2fs –j /dev/hdb1
root@zeroshell root>mkdir hdb
root@zeroshell root>mount /dev/hdb1 hdb
root@zeroshell root>cd /DB/hdb

This needs to be:

root@zeroshell root>fdisk /dev/hdb
root@zeroshell root>mke2fs –j /dev/hdb1
root@zeroshell root>mkdir /DB/hdb
root@zeroshell root>mount /dev/hdb1 hdb
root@zeroshell root>cd /DB/hdb

Step 4 –

1) After you have rebooted to the CompactFlash image /DB/hdb no longer exists so you have to create it again.
2) there is an error on the tar line
3) cd opt/.. line is missing ../ and can be consolidated
4) what are we changing in smb.conf via vi???
5) cd ….tars has wrong slash
6) rc.d/init.d/ line needs correction

So far this should be:

root@zeroshell root> mkdir /DB/hdb
root@zeroshell root> mount /dev/hdb1 /DB/hdb
root@zeroshell root> cd /DB/hdb (you have an extra space here)
root@zeroshell hdb> wget http://www.orquideadesign.com/SMB12_beta1.tar.bz2
root@zeroshell hdb> cd /Database
root@zeroshell Database> tar xvjf /DB/hdb/SMB12_beta1.tar.bz2
root@zeroshell Database> cd SMB12/
root@zeroshell SMB12> ./install.sh
root@zeroshell Database> cd ../opt/1.0/beta12/packages/etc
root@zeroshell etc> vi smb.conf
root@zeroshell etc> cd ../../tars
root@zeroshell tars> tar zxvf SMB12-files.tar.gz
root@zeroshell tars> cd etc
root@zeroshell etc> cd rc.d/init.d/
root@zeroshell init.d> export LD_LIBRARY_PATH=”/Database/opt/1.0/beta12/packages/lib:$LD_L IBRARY_PATH”
root@zeroshell init.d> ./samba start
root@zeroshell init.d> cd /DB
root@zeroshell DB> chmod a+w hdb

Thanks,
John.