<div dir="ltr"><div><div><div><div><div><div>I am in the middle of trying to figure out how the installation of allstar can be put on anyone of the following distros that are available to me in my VPS<br></div>Debian 7 *Preferred install if possible*<br></div>Centos 7<br></div>Ubuntu 14.04LTS<br></div>Ubuntu 14.10<br><br></div>I have tried many different methods including replacing zaptel with Dahdi not sure i did things right or not but still no luck with the installation here is what I found out so far my Linode has custom Kernal headers this is very bad for any type of installation like this so here is the tutorial i found to change the linux headers.<br><a href="https://www.linode.com/docs/tools-reference/custom-kernels-distros/run-a-distributionsupplied-kernel-with-pvgrub#debian-7-wheezy">https://www.linode.com/docs/tools-reference/custom-kernels-distros/run-a-distributionsupplied-kernel-with-pvgrub#debian-7-wheezy</a><br><br></div>My current installation is Debian 7 But i have tried all of the above listed distributions with no success..<br><div><br><div>So here so far is my command line step by step on this machine roughly<br><br></div><div>First step was to change Linux Headers to generic headers<br><ol><li><pre>apt-get update<br></pre></li><li><pre>apt-get upgrade --show-upgraded</pre></li><li><pre>apt-get install linux-image-amd64</pre></li><li><pre>mkdir /boot/grub</pre></li><li><pre>apt-get install grub-legacy</pre></li><li><pre>grub-set-default 1 (Generates <code>/boot/grub/menu.lst )</code></pre></li><li><pre>update-grub</pre></li><li>nano /boot/grub/menu.lst Edited some timer to 10 and updated kopt= <br><pre> kopt=root=/dev/xvda console=hvc0 ro quiet Double check groot=(hd0)</pre></li><li><pre>update-grub</pre></li><li>In the Linode Manager, edit your Linode’s configuration profile to use either <strong>pv-grub-x86_32</strong> or <strong>pv-grub-x86_64</strong> as the kernel, depending on the version of Debian you have deployed (32-bit or 64-bit). (My host only offers x86_64</li><li>reboot from dashboard after adjusting some minor settings in the profile.</li><li>In Console uname -a</li><li>Response from uname -a Linux (none) 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux<br><br></li></ol></div><div><br></div><div>Ok now we first installed asterisk just regular using <br>apt-get install asterisk-dahdi<br></div><div>Not exactly sure what it did things at this point have now become sketchy because i am unsure where the config files for allstar should be also i am use to the centos based acid and so I think i am getting confused some where in the installation but here is my history so far on this machine..<br>1 apt-get update<br> 2 apt-cache search dahdi<br> 3 apt-get install asterisk-dahdi<br> 4 cd /tmp<br> 5 wget <a href="http://dl.allstarlink.org/installcd/zsync-0.6.1.tar.bz2">http://dl.allstarlink.org/installcd/zsync-0.6.1.tar.bz2</a><br> 6 tar -jxvf zsync-0.6.1.tar.bz2<br> 7 cd zsync-0.6.1<br> 8 ./configure<br> 9 make<br> 10 make install<br> 11 cd /etc/init.d<br> 12 wget <a href="http://dl.allstarlink.org/installcd/rc.updatenodelist">http://dl.allstarlink.org/installcd/rc.updatenodelist</a><br> 13 mv rc.updatenodelist updatenodelist<br> 14 chmod 755 updatenodelist<br> 15 ./updatenodelist &<br> 16 nano /etc/init.d/asterisk<br> 17 ./updatenodelist &<br> 18 ./asterisk start<br> 19 nano /etc/init.d/asterisk<br> 20 ./asterisk start<br> 21 ./asterisk restart<br> 22 ./updatenodelist &<br> 23 ./asterisk restart<br> 24 ./updatenodelist &<br> 25 ls<br> 26 cd /etc/asterisk<br> 27 nano rpt.conf<br> 28 nodesetup.sh<br> 29 ls<br> 30 nano /var/lib/asterisk/keys/allstar.pub <br> 31 clear<br> 32 apt-get install <br> 33 apt-get install curl<br> 34 cd /usr/src<br> 35 wget <a href="http://x.allstarlink.org/svn-trunk.tar.gz">http://x.allstarlink.org/svn-trunk.tar.gz</a> -O- | tar xzv<br> 36 mv trunk astsrc<br> 37 cd astsrc<br> 38 make upgrade-acid<br> 39 menuselect.makeopts<br> 40 service asterisk restart<br> 41 cd ..<br> 42 apt-get install git-core<br> 43 git clone <a href="https://github.com/KD8EYF/squeezeterisk.git">https://github.com/KD8EYF/squeezeterisk.git</a><br> 44 ./squeezeterisk/scripts/allstar-install.sh<br> 45 apt-get update<br> 46 apt-get upgrade --show-upgraded<br> 47 apt-get install linux-image-amd64<br> 48 mkdir /boot/grub<br> 49 apt-get install grub-legacy<br> 50 grub-set-default 1<br> 51 update-grub<br> 52 nano /boot/grub/menu.lst<br> 53 nano /boot/grub/menu.lst<br> 54 update-grub<br> 55 history<br><br></div><div>---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br></div><div>Another thought on installation was to take the current Acid Distro and install it on linode.. So here is my steps so far to this one however I will tell you that for some reason we are stuck on a grub boot loader and not getting anywhere at the moment with the installation of acid.<br><span style><a href="https://www.linode.com/docs/tools-reference/custom-kernels-distros/running-a-custom-linux-distro-on-a-linode-vps">https://www.linode.com/docs/tools-reference/custom-kernels-distros/running-a-custom-linux-distro-on-a-linode-vps</a><br><br></span><br><span style="font-family:monospace;white-space:pre-wrap">Ok I followed the directions and wound up with the below attached below the line the kernal in my Virtualized vm shows this..<br><br>The
attachment is a screen shot of the vm information what is the thoughts
of being able to make this work really would like this one to be
successful if possible..<br><br><br><br><br>-----------------------------------------------------------------<br><br><br><br><br> GNU GRUB version 0.97 (1048576K lower / 0K upper memory)<br><br> [ Minimal BASH-like line editing is supported. For<br> the first word, TAB lists possible command<br> completions. Anywhere else TAB lists the possible<br> completions of a device/filename. ]<br><br>grubdom> <br> Possible commands are: background blocklist boot bootp border cat chainloader <br>clear cmp color configfile debug dhcp find foreground fstest geometry halt help<br> hide ifconfig initrd kernel lock makeactive map module modulenounzip pager par<br>tnew parttype password pause print rarp read reboot root rootnoverify savedefau<br>lt shade splashimage terminal terminfo tftpserver unhide viewport<br><br>grubdom> boot <br><br>Error 8: Kernel must be loaded before booting<br><br>grubdom><br><br></span><br><span style>Hello,<br><br>It looks like your Linode is loading GRUB,
the bootloader, but doesn't know about any distributions it can boot.
Could you provide the contents of the following file in the image you
uploaded to your Linode?<br><br>/boot/grub/menu.lst<br><br>Thanks in advance!<br><br>Regards,<br>Jon F.<br>Linode Support</span></div><div><br><span style="font-family:monospace;white-space:pre-wrap"># grub.conf generated by anaconda<br>#<br># Note that you do not have to rerun grub after making changes to this file<br># NOTICE: You do not have a /boot partition. This means that<br># all kernel and initrd paths are relative to /, eg.<br># root (hd0,0)<br># kernel /boot/vmlinuz-version ro root=/dev/hda1<br># initrd /boot/initrd-version.img<br>#boot=/dev/hda<br>default=0<br>timeout=5<br>splashimage=(hd0,0)/boot/grub/splash.xpm.gz<br>hiddenmenu<br>title CentOS (2.6.18-402.el5)<br> root (hd0,0)<br> kernel /boot/vmlinuz-2.6.18-402.el5 ro root=LABEL=/<br> initrd /boot/initrd-2.6.18-402.el5.img<br>title CentOS (2.6.18-274.el5)<br> root (hd0,0)<br> kernel /boot/vmlinuz-2.6.18-274.el5 ro root=LABEL=/<br> initrd /boot/initrd-2.6.18-274.el5.img<br><br></span><br><span style>Hello there,<br><br>Lets see if your kernel exists.
Please boot into Rescue Mode, then mount the affected disk [0][1] -
after you have done so provide the output of the following:<br><br>ls /media/xvda/boot/<br><br>Thanks in advance!<br><br>Regards,<br> Jonathan<br><br>[0] <a href="https://www.linode.com/docs/troubleshooting/rescue-and-rebuild#booting-into-rescue-mode">https://www.linode.com/docs/troubleshooting/rescue-and-rebuild#booting-into-rescue-mode</a><br>[1] <a href="https://www.linode.com/docs/troubleshooting/rescue-and-rebuild#mounting-disks">https://www.linode.com/docs/troubleshooting/rescue-and-rebuild#mounting-disks</a></span></div><div><br></div><div><br><span style>oot@hvc0:~# ls /media/xvda/boot/<br>ls: cannot access /media/xvda/boot/: No such file or directory</span><br><span style="font-family:monospace;white-space:pre-wrap">nano /etc/fstab shows this<br><br># /etc/fstab: static file system information.<br>#<br># Lines containing "Added by Finnix" are managed by rebuildfstab.<br>/dev/xvdh1 /media/xvdh1 iso9660 noauto,ro 0 0 # (Finnix 109$<br>/dev/xvda /media/xvda ext4 noauto 0 0 # Added by Fi$<br>/dev/xvdb /media/xvdb ext4 noauto 0 0 # Added by Fi$<br><br></span><span style="font-family:monospace;white-space:pre-wrap">On the Virtual machine i imported the information over on has this in the fstab<br>nano /etc/fstab<br>LABEL=/ / ext3 defaults 1 1<br>tmpfs /dev/shm tmpfs defaults 0 0<br>devpts /dev/pts devpts gid=5,mode=620 0 0<br>sysfs /sys sysfs defaults 0 0<br>proc /proc proc defaults 0 0<br>LABEL=SWAP-hda2 swap swap defaults 0 0<br><br></span><br><span style>I realized a big problem going to redo the swap and try again look at ext4 it should be ext3<br><br></span><br><span style>Is your /media/xvda/boot/ showing your kernel? Were you able to adjust your fstab?<br><br></span><br><span style="font-family:monospace;white-space:pre-wrap">root@hvc0:/media/xvda# ls<br>lost+found sda1<br>root@hvc0:/media/xvda# ls<br>lost+found sda1<br>root@hvc0:/media/xvda# cd sda1<br>root@hvc0:/media/xvda/sda1# ls<br>bin dev halt lib media mnt proc sbin srv tmp var<br>boot etc home lost+found misc opt root selinux sys usr<br>root@hvc0:/media/xvda/sda1#<br><br></span><span style="font-family:monospace;white-space:pre-wrap">Hi there, <br><br>I'm sorry to hear you're having issues! <br><br>Unfortunately,
Linode does not provide support for software installation,
configuration, or troubleshooting. In this case, we always recommend you
reach out to either the developer that you are working with, or our
fantastic user community over either our forums or IRC. <br><br>Our community forum can be found at the following url:<br><br> <a href="https://forum.linode.com/">https://forum.linode.com/</a><br><br>We apologize for any inconvenience this issue has caused. If there is anything else we can do for you, please let us know.<br><br>Regards,<br>Joel<br><br><br><br></span></div><div><span style="font-family:monospace;white-space:pre-wrap">Ok I will be eventually posting this thorough out some forums but is there a Repository for installing Allstars custom software that would probably make things easier if there was repos and what in Allstar is hanging up the installation.. <br></span></div><div><div><div><div><div><div><br><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Loren Tedford (KC9ZHV) <br>Email: <a href="mailto:lorentedford@gmail.com" style="color:rgb(17,85,204)" target="_blank">lorentedford@gmail.com</a><br></div><div style="font-family:arial;font-size:small">Email: <a href="mailto:lorentedford@live.com" style="color:rgb(17,85,204)" target="_blank">lorentedford@live.com</a></div><div style="font-family:arial;font-size:small">Email: <a href="mailto:lorentedford@aol.com" style="color:rgb(17,85,204)" target="_blank">lorentedford@aol.com</a></div><div style="font-family:arial;font-size:small">Email: <a href="mailto:LorenCS@Ltcraft.net" style="color:rgb(17,85,204)" target="_blank">LorenCS@Ltcraft.net</a></div><div style="font-family:arial;font-size:small">Email: <a href="mailto:lorentedford@yahoo.com" style="color:rgb(17,85,204)" target="_blank">lorentedford@yahoo.com</a></div><div style="font-family:arial;font-size:small">Email:<a href="mailto:loren@lorentedford.com" style="color:rgb(17,85,204)" target="_blank"> loren@lorentedford.com</a><br></div><div style="font-family:arial;font-size:small">Email: <a href="mailto:loren@richlandcountycomputers.com" style="color:rgb(17,85,204)" target="_blank">loren@richlandcountycomputers.com</a></div><div style="font-family:arial;font-size:small">Email: <a href="mailto:loren@newwavesucks.com" target="_blank">loren@newwavesucks.com</a><br>Phone: <br></div><div style="font-family:arial;font-size:small"><a href="http://www.lorentedford.com/" style="color:rgb(17,85,204)" target="_blank">http://www.lorentedford.com</a><br></div><div style="font-family:arial;font-size:small"><a href="http://www.ltcraft.net/" style="color:rgb(17,85,204)" target="_blank">http://www.Ltcraft.net</a></div><div style="font-family:arial;font-size:small"><a href="http://www.richlandcountycomputers.com/" style="color:rgb(17,85,204)" target="_blank">http://www.richlandcountycomputers.com</a></div><div style="font-family:arial;font-size:small"><a href="http://kc9zhv.lorentedford.com/" style="color:rgb(17,85,204)" target="_blank">http://kc9zhv.lorentedford.com</a></div><div><a href="http://newwavesucks.com" target="_blank">http://newwavesucks.com</a><br></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div>