[DISCUSSION] Linux on LattePanda

A place to talk about all the Operating Systems, Software & Hardware
Forum rules

- Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting.

- Members should post in a way which is consistent with "normal writing". That is users should not post excessive numbers of emoticons, large, small or coloured text, etc. Similarly users should not SHOUT or use excessive punctuation (e.g. ! and ?) in topic titles or posts.

- Members should use an appropriate, descriptive subject when posting a new topic. Examples of bad subjects include; "Help me!", "I'm stuck!", "I've got an error!", etc. Examples of good subjects include; "Getting an TABLE FULL error upon login", "Cannot restore a backup".

- Members are asked to post in English only so that posts can be well received and properly monitored.

- Spam is not tolerated here under any circumstance. This includes offering hosting services (charged and free), installation services, solicitation etc. Recruiting members for your own projects (moderators, designers, professional MOD work, etc.) is not permitted and is also considered spam. Users posting spam will be warned and their post removed.

- Members should post in a way that is respectful of other users. Flaming or abusing users in any way will not be tolerated and will lead to a warning. Vulgar language and inappropriate material is not allowed and will be removed. We try to maintain a family friendly atmosphere whenever it is possible within the main subject matter of this community. Please keep this in mind when participating.

- Each user is allowed to create one account. If you would like to change your username, please contact us and, most likely, we can do it for you while you can keep all of your profile data, posts, and other content.

- If a user violates our guidelines and shows a disregard for them, our staff and our community, they run the risk of losing their account. We reserve the right to deactivate any account and to edit or remove any content without warning. These guidelines are subject to change at any time without notice.

Thank you for visiting LattePanda.com!
Post Reply
User avatar
dbones
Posts: 9
Joined: Sun May 22, 2016 6:26 pm

Fri May 27, 2016 11:56 pm

@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.

User avatar
getout
Posts: 2
Joined: Fri May 27, 2016 10:56 pm

Sat May 28, 2016 12:22 am

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...

User avatar
cyphergenetics
Posts: 17
Joined: Mon May 30, 2016 2:58 am

Mon May 30, 2016 8:48 am

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

User avatar
dbones
Posts: 9
Joined: Sun May 22, 2016 6:26 pm

Mon May 30, 2016 2:32 pm

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

User avatar
hoppertw
Posts: 6
Joined: Sun May 29, 2016 8:57 am

Mon May 30, 2016 2:33 pm

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.

User avatar
dbones
Posts: 9
Joined: Sun May 22, 2016 6:26 pm

Mon May 30, 2016 2:33 pm

BUMP - @LattePanda staff, please chime in

User avatar
dbones
Posts: 9
Joined: Sun May 22, 2016 6:26 pm

Mon May 30, 2016 2:47 pm

@cyphergenetics, this is epic, I would really appreciate if you could describe what you did to install this.

User avatar
cyphergenetics
Posts: 17
Joined: Mon May 30, 2016 2:58 am

Mon May 30, 2016 6:47 pm

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

User avatar
dbones
Posts: 9
Joined: Sun May 22, 2016 6:26 pm

Mon May 30, 2016 8:36 pm

+1, look forward to it.

User avatar
cyphergenetics
Posts: 17
Joined: Mon May 30, 2016 2:58 am

Tue May 31, 2016 9:06 am

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
Last edited by cyphergenetics on Sat Jun 04, 2016 4:38 am, edited 3 times in total.

Post Reply