Page 5 of 27

Re: Will not install linux

Posted: Fri May 27, 2016 11:56 pm
by dbones
@all thanks for the feedback sofar. (my Question still stands), I have emailed LattePanda and hope for a positive response soon.
acasta wrote: @dbones:
why do you need 64bit-versions? i have to admitt, that i didn't yet have a look at the actual cpu specs, but the fact, that the 2GB/32GB-LP comes with windows 32bit, seems to be hinting, that 32bit-linux is the way to go.
-ac
I am looking to run 64bit software :) (I'm a developer and some of my software is 64 bit)

the LP (both 2Gb and 4Gb versions) make use of the Atom Cherry Trail, which is a 64 Bit CPU. So I'm confused that I cannot (easily) run a 64 Bit Linux OS.

Re: Will not install linux

Posted: Sat May 28, 2016 12:22 am
by getout
Hi dbones,

you will find that the UEFI requires the same bit depth of OS. ie 64bit UEFI will boot 64bit OS etc 2/32 LP may only have a 32bit UEFI?.. Good source for UEFI info:

http://www.rodsbooks.com/linux-uefi/

quote: "you should use a 64-bit distribution on a computer with a 64-bit EFI"

Also, as I've posted above I'm surprised that there is no Legacy BIOS option in the 2/32 LP UEFI. I have also emailed LP and hope to get some assistance with this, if not then I guess the LP will be useless for my Legacy Linux OS install...

Kali Linux working perfectly

Posted: Mon May 30, 2016 8:48 am
by cyphergenetics
Got kali working. Again, thank you lattepanda for the awesome job on this machine! LCD works out of the box is a plus :) x64 nix on 2gb panda :3

Image
Image
Image
Image

Re: Will not install linux

Posted: Mon May 30, 2016 2:32 pm
by dbones
getout wrote:Hi dbones,

you will find that the UEFI requires the same bit depth of OS. ie 64bit UEFI will boot 64bit OS etc 2/32 LP may only have a 32bit UEFI?.. Good source for UEFI info:

http://www.rodsbooks.com/linux-uefi/

quote: "you should use a 64-bit distribution on a computer with a 64-bit EFI"

Also, as I've posted above I'm surprised that there is no Legacy BIOS option in the 2/32 LP UEFI. I have also emailed LP and hope to get some assistance with this, if not then I guess the LP will be useless for my Legacy Linux OS install...
I read the link, this may be the case that the UEFI is 32 BIT (if this is true this should have been made explicit).

+1 for legacy boot, or is there is a way to upgrade the bios

Re: Kali Linux working perfectly

Posted: Mon May 30, 2016 2:33 pm
by hoppertw
Do you try to recover the win10 by image?
The compressed image seems not a bootable image. That means, the boot section still has the win 10 boot manager. If the other OS is installed, the LP can only be re-installed a clean win10 but not the image. Then, I don't know whether all the drivers can be installed correctly.

Re: Will not install linux

Posted: Mon May 30, 2016 2:33 pm
by dbones
BUMP - @LattePanda staff, please chime in

Re: Kali Linux working perfectly

Posted: Mon May 30, 2016 2:47 pm
by dbones
@cyphergenetics, this is epic, I would really appreciate if you could describe what you did to install this.

Re: Kali Linux working perfectly

Posted: Mon May 30, 2016 6:47 pm
by cyphergenetics
hoppertw wrote:Do you try to recover the win10 by image?
The compressed image seems not a bootable image. That means, the boot section still has the win 10 boot manager. If the other OS is installed, the LP can only be re-installed a clean win10 but not the image. Then, I don't know whether all the drivers can be installed correctly.
The bootable image provided in the docs (http://www.lattepanda.com/docs/#How_do_ ... anda_is_on?) was easy as pie. Download the rar, format your usb stick to fat32, extract the contents and drag everything to that stick, boot panda with the usb plugged in to it and everything will go on auto from there once you power it on. Doesn't really matter you got the x32 or x64 since the processor itself does x64 bit addressing. Hence with the 32 bit panda it's your choice to use 32bit or 64bit OS. 64bit OS (operating system) utilizes all of your ram and so forth which is why Cherry Trail was able to go from 2gb to 4gb ram which wasn't stated/supported by Intel.. (http://liliputing.com/2015/11/intels-ch ... r-all.html)
dbones wrote:@cyphergenetics, this is epic, I would really appreciate if you could describe what you did to install this.


Will soon as i find more time to write, currently having assignments for my games programming classes. :)

P.S: It's currently multibooting between OSes, both Win 10 and Linux. Might do a hackintosh but not sure if it's worth the time

Re: Kali Linux working perfectly

Posted: Mon May 30, 2016 8:36 pm
by dbones
+1, look forward to it.

Re: Kali Linux working perfectly

Posted: Tue May 31, 2016 9:06 am
by cyphergenetics
Ok.. So i try not to reinvent the wheel. Most of what is done has already been written in a tut from here (https://forums.kali.org/showthread.php? ... -8-1-10%29). I just tweaked it here and there. Personally i used the gparted live cd as a sandbox and not mess my triple boot laptop settings (https://sourceforge.net/projects/gparte ... o/download).

Do note to use "dd" command in linux incase Rufus on windows wasn't able to make your Kali Sana Live CD bootable. P.S - I hate windows :D

To make things simpler, go get drivedroid XD (https://play.google.com/store/apps/deta ... roid&hl=en)

Do note to use Kali Sana instead of Kali Rolling Live CD in CMS mode for installation to a USB Stick in reference to the guide on Kali forums as Kali Rolling Live CD EFI files might not even make the image bootable on your system as it did with mine. We will do an upgrade later.

Also in any case you need, your system/grub detects disks by UUID even if unplugged/replugged. UUID of harddisks only resets/renew if you format your harddrives. You can execute "blkid" command and edit /etc/fstab or /boot/grub/grub.conf later on.

Step 7. Use fdisk to figure out which partition contains your Kali Linux installation. It's ext4 filesystem. You just have to note the current total size of your usb drive. Type the following to figure it out or use gparted. Mine was /dev/sda2

Code: Select all

fdisk -l
Step 8. Mount the Kali Linux partition to /mnt. Also mount (in bind mode) /dev /dev/pts /proc /sys

Code: Select all

mount /dev/sda2 /mnt

Code: Select all

for i in /dev /dev/pts /proc /sys ; do mount -B $i /mnt/$i ; done
Step 9. Create the directory /mnt/boot/efi

Code: Select all

mkdir -p /mnt/boot/efi
Step 10. Mount the EFI partition (either your windows EFI partition for permanent solution or EFI fat32 partition that you make on your USB) to the newly created directory. For me, it was /dev/sda1

Code: Select all

mount /dev/sda1 /mnt/boot/efi
Step 11. Chroot into /mnt.

Code: Select all

chroot /mnt
Step 12. Add kali rolling repository, using the command:

Code: Select all

echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list

Code: Select all

echo "deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
Step 13. Update and install grub-efi package.

Code: Select all

apt update && apt-get install -y grub-efi-ia32
Step 15. Setup grub.

Code: Select all

grub-install --target=i386-efi --recheck --root-directory /

Code: Select all

grub-mkconfig -o /boot/grub/grub.cfg
Step 16. Reboot, boot into Kali, and run the following again:

Code: Select all

grub-mkconfig -o /boot/grub/grub.cfg
Step 17. Upgrading your current kali is as easy as pie

Code: Select all

apt update && apt upgrade -y && apt dist-upgrade -y

If everything went smooth you could now plug and boot it on Lattepanda or plug it in on Step 16 before make config