<div dir="ltr">Heya guys,<div><br></div><div style>I am working on installing my pogo plugs with kali linux and have got to the point of just needing to install a kernel and create the vmlinux and initramfs but i am getting this error and not really finding much. Here is some background on the situation.</div>
<div style><br></div><div style>The Device boots a micro sized debian linux. Then I add a usb stick for the root filesystem. Using a script I made it mounts, and starts a debootstrap of Kali linux. Problem is that no kernel shows up that I know of. So I copy over a .deb of a working kernel and the headers, That I made for prior installs wheezy, ( it works on wheezy ). So here are the important parts -- i will attach the script.</div>
<div style><br></div><div style>mount /dev/sda1 /tmp/kali</div><div style><br></div><div style>#Run the debootstrap</div><div style><br></div><div style>/usr/sbin/debootstrap --verbose --include=$EXTRA_PACKAGES --arch=$ARCH $RELEASE $ROOT $DEB_MIRROR<br>
</div><div style><p class="" style>#Then chroot in to install the kernel .debs</p><p class="" style><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(32,96,160);white-space:nowrap">mount</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)"> </span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">-t</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)"> proc proc /tmp/kali</span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">/</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)">proc</span><br style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">
<span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(32,96,160);white-space:nowrap">mount</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)"> </span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">-o</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)"> </span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,128,128);white-space:nowrap">bind</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)"> </span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">/</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)">dev</span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">/</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)"> /tmp/kali</span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">/</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)">dev</span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">/</span><br style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">
<span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(32,96,160);white-space:nowrap">mount</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)"> </span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">-o</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)"> </span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,128,128);white-space:nowrap">bind</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)"> </span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">/</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)">dev</span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">/</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)">pts /tmp/kali</span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">/</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)">dev</span><span class="" style="font-size:13px;line-height:18.1875px;font-family:Monaco,'Lucida Console',monospace;color:rgb(0,0,0);white-space:nowrap">/</span><span style="color:rgb(0,0,0);font-family:Monaco,'Lucida Console',monospace;font-size:13px;line-height:18.1875px;white-space:nowrap;background-color:rgb(241,241,241)">pts</span><br>
</p></div><div style><br></div><div style>#copy the .debs to the device and then run the .deb installer</div><div style><br></div><div style>dpkg -i linux-image-3.1.10-pineapplepie_0.1_armel.deb<br></div><div style><br></div>
<div style># which ends in this error</div><div style><br></div><div style><div>Running depmod.</div><div>Examining /etc/kernel/postinst.d.</div><div>run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.1.10-pineapplepie /boot/vmlinuz-3.1.10-pineapplepie</div>
<div>update-initramfs: Generating /boot/initrd.img-3.1.10-pineapplepie</div><div>Warning: root device /dev/root does not exist</div><div><br></div><div style>I think that I get a working vmlinuz-3.1.10-pineapplepie</div>
<div style>
<br></div><div style>but initrd.img-3.1.10-pineapplepie.new seems to be no good. it should not be a .new that I know of.</div><div style><br></div><div style>Any Ideas on where to go next would be great google is just giving me a lot not related problems like your hard drive is missing and other stuff.<br>
<br></div><div style>Thanks</div><div style><br></div><div style>Just Josh</div></div></div>