PINE64
Step By Step How To Install Ubuntu Image - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Ubuntu (https://forum.pine64.org/forumdisplay.php?fid=27)
+---- Thread: Step By Step How To Install Ubuntu Image (/showthread.php?tid=622)

Pages: 1 2 3 4 5


RE: Step By Step How To Install Ubuntu Image - Milkman - 04-17-2016

(04-16-2016, 04:28 AM)damikeh Wrote:
(04-15-2016, 10:51 PM)ztoti Wrote: Hi there,
I've installed Ubuntu, expand the SD card, installed desktop environment, all success.
The issue is that I don't know how to start GUI. I tried startx, ctrl+alt+F7...doesn't work.
Any solution for it?
Oh yes - I have no experience with Linux

Hi ztoti, 
https://www.youtube.com/watch?v=mGBSGaGteAc here is a video

For my MATE desktop testing, once the MATE desktop downloaded, which took around 10-12mins, I just started it with startx - was there any errors in the download? what error (if any) does startx display?

dm



RE: Step By Step How To Install Ubuntu Image - PDXMike - 04-18-2016

I followed your guide, and tried to expand the disk using sudo, I thought it worked.. I think did a sudo on the install mate script, and there was tons of 404 errors, but it seemed to download and install.. however I tried startx and it didn't run.. I can't tell if I was supposed to go to a different directory or what.. also after the mate install, I issued a reboot command, it hung on restart with some errors around devices not being attached or something.. not sure.. could you please detail out the mate install?

I don't mind reimaging the sd card if I need to that only took a few minutes.. So close to having this up and running yet so far.. lol this thing seems way faster then my B+ pi..

thanks for your help by the way!


RE: Step By Step How To Install Ubuntu Image - Hanysolh@gmail.com - 04-18-2016

(04-18-2016, 12:39 AM)PDXMike Wrote: I followed your guide, and tried to expand the disk using sudo, I thought it worked.. I think did a sudo on the install mate script, and there was tons of 404 errors, but it seemed to download and install.. however I tried startx and it didn't run.. I can't tell if I was supposed to go to a different directory or what.. also after the mate install, I issued a reboot command, it hung on restart with some errors around devices not being attached or something.. not sure.. could you please detail out the mate install?

I don't mind reimaging the sd card if I need to that only took a few minutes.. So close to having this up and running yet so far.. lol this thing seems way faster then my B+ pi..

thanks for your help by the way!

Same! I am trying startx and it says command not found.


RE: Step By Step How To Install Ubuntu Image - hayrikaya - 04-18-2016

Can you upload a video for Ubuntu installation? I am e newbie in Linux side and I want to use Ubuntu as a desktop like PC. If I understand correctly above, that I will not get a desktop environment at first opening right? I will need another installation and then will get a virtual desktop?


RE: Step By Step How To Install Ubuntu Image - Terra854 - 04-18-2016

(04-18-2016, 06:35 AM)hayrikaya Wrote:
(04-12-2016, 12:18 PM)damikeh Wrote: Steps to install Ubuntu
I am using a Windows Desktop, so the steps covered here will show that.
 
Pre-Install setup

  1. Download the latest image from longsleeps folder (https://www.stdin.xyz/downloads/people/longsleep/pine64-images/ubuntu/)
  2. Download Win32Imager (https://sourceforge.net/projects/win32diskimager/files/latest/download)
  3. Have some kind of extraction capabilities (May i suggest 7zip - http://www.7-zip.org)
  4. Have a Micro SD card (and adapter to enable it to plug into a USB port) ready, at least 8GB (Class 10 if you can)
  5. Have a decent power supply (at least 2a) and shorter cables are better.
Note: Some other images that I’ve tested with (Android and RemixOS) require Phoenix Card to write the image, which isn’t covered here. Please see the other forum/wiki posts.

Setup

  1. Extract the image, and Install the Win32Imager somewhere (preferably the same folder!)
  2. Open Win32imager and write the image to the SD card (ensure you have the SD card selected!)
  3. Once the write has completed, MAKE SURE you safely remove the USB drive from the PC – not doing so may harm the write process.
  4. Remove the SD card and put in the Pine64. Ensure you only have the REQUIRED peripherals connected, Keyboard, HDMI, and I would say LAN too, THEN connect the power.
  5. Let the Pine64 boot. When completed, use username: ubuntu and password: ubuntu to login; it’s also worth mentioning that once you see the login screen, you CAN ssh into the pine64 also, if you so prefer.
  6. Once logged in, run the following:  /usr/local/sbin/resize_rootfs.sh
    this will resize the / partition to fill the SD card.
  7. Profit!
Congratulations, you should now have a working system.
From here you can install MATE (for a desktop) or carry on in term mode and get using.
I would change the default password asap, and secure it with a ssh key.

If this is helpful to anyone, please let me know. 
I may have a look at doing a video tomorrow if I get time, showing the steps above - if that would be helpful to anyone.

Cheers
dm

Hello, when I try to extract the iso file with Power ISO, there appears 2 options one is Fat32 (50MB) the other is Linux (7316 MB) so how will I extract this file? When I try with Winrar it gives error.

It's not a .iso file, it is a .img file. Which means it cannot be extracted. Just burn the file with Win32DiskImager to a SD card.


RE: Step By Step How To Install Ubuntu Image - hayrikaya - 04-19-2016

(04-18-2016, 06:39 AM)Terra854 Wrote:
(04-18-2016, 06:35 AM)hayrikaya Wrote:
(04-12-2016, 12:18 PM)damikeh Wrote: Steps to install Ubuntu
I am using a Windows Desktop, so the steps covered here will show that.
 
Pre-Install setup

  1. Download the latest image from longsleeps folder (https://www.stdin.xyz/downloads/people/longsleep/pine64-images/ubuntu/)
  2. Download Win32Imager (https://sourceforge.net/projects/win32diskimager/files/latest/download)
  3. Have some kind of extraction capabilities (May i suggest 7zip - http://www.7-zip.org)
  4. Have a Micro SD card (and adapter to enable it to plug into a USB port) ready, at least 8GB (Class 10 if you can)
  5. Have a decent power supply (at least 2a) and shorter cables are better.
Note: Some other images that I’ve tested with (Android and RemixOS) require Phoenix Card to write the image, which isn’t covered here. Please see the other forum/wiki posts.

Setup

  1. Extract the image, and Install the Win32Imager somewhere (preferably the same folder!)
  2. Open Win32imager and write the image to the SD card (ensure you have the SD card selected!)
  3. Once the write has completed, MAKE SURE you safely remove the USB drive from the PC – not doing so may harm the write process.
  4. Remove the SD card and put in the Pine64. Ensure you only have the REQUIRED peripherals connected, Keyboard, HDMI, and I would say LAN too, THEN connect the power.
  5. Let the Pine64 boot. When completed, use username: ubuntu and password: ubuntu to login; it’s also worth mentioning that once you see the login screen, you CAN ssh into the pine64 also, if you so prefer.
  6. Once logged in, run the following:  /usr/local/sbin/resize_rootfs.sh
    this will resize the / partition to fill the SD card.
  7. Profit!
Congratulations, you should now have a working system.
From here you can install MATE (for a desktop) or carry on in term mode and get using.
I would change the default password asap, and secure it with a ssh key.

If this is helpful to anyone, please let me know. 
I may have a look at doing a video tomorrow if I get time, showing the steps above - if that would be helpful to anyone.

Cheers
dm

Hello, when I try to extract the iso file with Power ISO, there appears 2 options one is Fat32 (50MB) the other is Linux (7316 MB) so how will I extract this file? When I try with Winrar it gives error.

It's not a .iso file, it is a .img file. Which means it cannot be extracted. Just burn the file with Win32DiskImager to a SD card.

No sorry, it's an .iso file and needs to be extracted. .img file coming inside the .iso. I could extract with 7-Zip and burned to the micro sd card, but I got nothing when I have installed to the Pine64. I don't know how to fix the problem. I will try another micro sd card today, let's see if it will work this time. If not, that means the problem is about image file.


RE: Step By Step How To Install Ubuntu Image - jl_678 - 04-19-2016

Hi,

I just did this yesterday in preparation for my Pine's arrival.

I used 7-zip and unzipped the img.xz file. The result was an img file. I then used win32diskimager to write it the SD. The process went smoothly.

You should NOT try to extract from the img file. That will mess up the resulting image.

Sent from my XT1254 using Tapatalk


RE: Step By Step How To Install Ubuntu Image - PineyPenguin - 04-19-2016

I initially had difficulty trying to get Mate to install. Had a few 404 errors. All I did to resolve was run sudo apt-get update. Then I was able to download the remaining files and begin installation of Mate. I am currently installing it now. If anything goes wrong with it I'll post here.


RE: Step By Step How To Install Ubuntu Image - hayrikaya - 04-19-2016

(04-19-2016, 05:00 AM)jl_678 Wrote: Hi,

I just did this yesterday in preparation for my Pine's arrival.

I used 7-zip and unzipped the img.xz file. The result was an img file. I then used win32diskimager to write it the SD. The process went smoothly.

You should NOT try to extract from the img file. That will mess up the resulting image.

Sent from my XT1254 using Tapatalk

Sure friend, I did not try to extract .img file. The original file downloaded from Google drive is an .iso file. I extracted it and got the .img file. And burned it to Micro SD but did not work.


RE: Step By Step How To Install Ubuntu Image - jl_678 - 04-19-2016

Okay, sorry that was my misunderstanding then. I downloaded the image from Longsleep's repository which is linked below. Is that where you got it?

https://www.stdin.xyz/downloads/people/longsleep/pine64-images/ubuntu/