Step By Step How To Install Ubuntu Image
#41
(06-01-2016, 07:32 PM)jl_678 Wrote: It does take a while. A better way to do it is to install "screen" first. You can then start a screen session and run the install routine and then leave it running while you do other things.

I am not sure if there is a clean way to stop it. I think that ctrl-c will work, but it will not be a clean exit.

Sent from my XT1254 using Tapatalk

Turns out like 15 minutes after posting this it finished up and I'm up and running. 

Thanks everyone!!
  Reply
#42
Need some help.

I downloaded the image, with {code:bash}xzcat xenial-pine64-bspkernel-20160507-1.img.xz|sudo dd of=/dev/disk2s1 bs=1m{code} to flush to the sd card (32G) from my Mac. I have a raspberry pi microUSB power source (2Amp), and a HDMI cable. Pretty sure HDMI cable and SD card are working, as I basically pulled them off from my raspberry Pi.

And I think I finished the write, I have the output of:
0+59201 records in
0+59201 records out
3879731200 bytes transferred in 2984.895890 secs (1299788 bytes/sec)

Nothing happened except the red light was on after the power source was plugged in. No video output. Any ideas?

THANKS!
  Reply
#43
(06-05-2016, 09:52 AM)choral Wrote: Need some help.

I downloaded the image, with {code:bash}xzcat xenial-pine64-bspkernel-20160507-1.img.xz|sudo dd of=/dev/disk2s1 bs=1m{code} to flush to the sd card (32G) from my Mac. I have a raspberry pi microUSB power source (2Amp), and a HDMI cable. Pretty sure HDMI cable and SD card are working, as I basically pulled them off from my raspberry Pi.

And I think I finished the write, I have the output of:
0+59201 records in
0+59201 records out

3879731200 bytes transferred in 2984.895890 secs (1299788 bytes/sec)

Nothing happened except the red light was on after the power source was plugged in. No video output. Any ideas?

THANKS!

It seems dd didn't manage to write anything to your sd card, the numbers in red above should be the other way around. The first number indicates how many full blocks of data have been read or written, the second number shows the number of incomplete blocks. 

I don't know for certain how Macs assign device names but it seems you have used an existing partition on your sd card (dev/disk2s1) rather than the whole device (/dev/disk2s, excluding the 1 at the very end). Try using the entire command leaving out the final 1 in the device name.

Before dd'ing an image to a card I have a habit of wiping the card with fdisk to remove all partitions that might exist on the card. I don't know if it's necessary, it's probably not. Smile
Backer #16374 - KS funded January 23rd 2016 - Backerkit funded on March 10th 2016 - BOARD RECEIVED ON JUNE 29th - BACKERKIT ORDER FULFILLED ON SEPT 8th
  Reply
#44
(07-01-2016, 05:11 AM)bonterra Wrote:
(06-05-2016, 09:52 AM)choral Wrote: Need some help.

I downloaded the image, with {code:bash}xzcat xenial-pine64-bspkernel-20160507-1.img.xz|sudo dd of=/dev/disk2s1 bs=1m{code} to flush to the sd card (32G) from my Mac. I have a raspberry pi microUSB power source (2Amp), and a HDMI cable. Pretty sure HDMI cable and SD card are working, as I basically pulled them off from my raspberry Pi.

And I think I finished the write, I have the output of:
0+59201 records in
0+59201 records out

3879731200 bytes transferred in 2984.895890 secs (1299788 bytes/sec)

Nothing happened except the red light was on after the power source was plugged in. No video output. Any ideas?

THANKS!

It seems dd didn't manage to write anything to your sd card, the numbers in red above should be the other way around. The first number indicates how many full blocks of data have been read or written, the second number shows the number of incomplete blocks. 

I don't know for certain how Macs assign device names but it seems you have used an existing partition on your sd card (dev/disk2s1) rather than the whole device (/dev/disk2s, excluding the 1 at the very end). Try using the entire command leaving out the final 1 in the device name.

Before dd'ing an image to a card I have a habit of wiping the card with fdisk to remove all partitions that might exist on the card. I don't know if it's necessary, it's probably not. Smile

Looks like this is my problem as well. I've tried a few images and it's not working. I'll see what I can dig up. I guess I could try to find my old Windows laptop but needing Windows would be super disappointing.


$ sudo dd bs=1m if=xenial-pine64-bspkernel-20160716-1.img of=/dev/rdisk2
...
3700+0 records in
3700+0 records out
3879731200 bytes transferred in 94.039561 secs (41256373 bytes/sec)
$ diskutil list
/dev/disk0 (internal, physical):
...
/dev/disk1 (internal, virtual):
...
/dev/disk2 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *63.9 GB    disk2
   1:             Windows_FAT_32 BOOT                    52.4 MB    disk2s1
   2:                      Linux                         3.8 GB     disk2s2


Power -> Red Light only. Attached via power only cable from an Anker 5V 2.4A dedicated 60W power supply + HDMI-DVI to 1600x1200 Dell monitor.

EDIT: Probably actually a different problem - looks like my dd command was successful, but I'm getting the same symptoms.
  Reply
#45
(07-19-2016, 03:44 PM)mkocsis, bonterra, choral Wrote: ...

Power -> Red Light only. Attached via power only cable from an Anker 5V 2.4A dedicated 60W power supply + HDMI-DVI to 1600x1200 Dell monitor.

EDIT: Probably actually a different problem - looks like my dd command was successful, but I'm getting the same symptoms.

Video output is default off and there is no X server installed so log in with SSH and run:

Things to do after you dd image to your sd card:
1. resize the second partition (rootfs) to span the card
2. resize the file system to span the partition
3. sudo apt-get update
4. sudo apt-get upgrade
5. sudo apt-get install xubuntu-desktop
6. wait for 2.6gb
7. reboot in the graphical environment

for 1&2 run simply "sudo bash /usr/local/sbin/resize_rootfs.sh"

( grabbed from http://forum.pine64.org/showthread.php?t...62#pid2862 )

(07-01-2016, 05:11 AM)bonterra Wrote:
(06-05-2016, 09:52 AM)choral Wrote: Need some help.

I downloaded the image, with {code:bash}xzcat xenial-pine64-bspkernel-20160507-1.img.xz|sudo dd of=/dev/disk2s1 bs=1m{code} to flush to the sd card (32G) from my Mac. I have a raspberry pi microUSB power source (2Amp), and a HDMI cable. Pretty sure HDMI cable and SD card are working, as I basically pulled them off from my raspberry Pi.

And I think I finished the write, I have the output of:
0+59201 records in
0+59201 records out

3879731200 bytes transferred in 2984.895890 secs (1299788 bytes/sec)

Nothing happened except the red light was on after the power source was plugged in. No video output. Any ideas?

THANKS!

It seems dd didn't manage to write anything to your sd card, the numbers in red above should be the other way around. The first number indicates how many full blocks of data have been read or written, the second number shows the number of incomplete blocks. 

I don't know for certain how Macs assign device names but it seems you have used an existing partition on your sd card (dev/disk2s1) rather than the whole device (/dev/disk2s, excluding the 1 at the very end). Try using the entire command leaving out the final 1 in the device name.

Before dd'ing an image to a card I have a habit of wiping the card with fdisk to remove all partitions that might exist on the card. I don't know if it's necessary, it's probably not. Smile

It means, that everything was transfered - for better view of transfer, try to use xzcat <...> |pv| sudo dd <...> or use xzcat <...> | sudo dcfldd -bs=1M statusinterval=100 of=/dev/sdxxx
If I posted something helpful, please rate +
  Reply
#46
(04-12-2016, 12:18 PM)damikeh Wrote: Steps to install Ubuntu
 
Hello
I'm a french guy and not a geek. I have the 2Go pine64. It's great.
I installed the ubuntu image (Ubuntu Linux Image [20160530] based on Longsleep build, updated by Pine64) but I can't go on the website like deezer , photobox... because flash player is not installed. If I try to install with the link adobe flash player, I don't know what I have to do after. And if I search on Ubuntu software center I don't find what I have to install. 
I try to install Firefox but the system failed. And chromium is not avaible.

What can I do?
Thanks
  Reply
#47
(08-04-2016, 03:41 PM)JJ PetitBrun Wrote:
(04-12-2016, 12:18 PM)damikeh Wrote: Steps to install Ubuntu
 
Hello
I'm a french guy and not a geek. I have the 2Go pine64. It's great.
I installed the ubuntu image (Ubuntu Linux Image [20160530] based on Longsleep build, updated by Pine64) but I can't go on the website like deezer , photobox... because flash player is not installed. If I try to install with the link adobe flash player, I don't know what I have to do after. And if I search on Ubuntu software center I don't find what I have to install. 
I try to install Firefox but the system failed. And chromium is not avaible.

What can I do?
Thanks

try to follow these instructions - it's for mainline ubuntu, but it should help =)
https://help.ubuntu.com/community/Restri...mats/Flash
If I posted something helpful, please rate +
  Reply
#48
Ahh..the desktop doesn't come with the Ubuntu build..... That explains why I couldn't start an x-session.....

I guess I'll try again...
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Ubuntu server 20.04 request phi0x 2 5,286 12-30-2020, 08:02 PM
Last Post: phi0x
  Xenial Minimal Image (PINE A64(+)) 0.6.2-77 pineadmin 4 21,486 08-30-2020, 10:35 AM
Last Post: jrronimo
  Install Telegram Desktop in KDE Neon podcastlinux 2 6,160 01-26-2020, 01:43 AM
Last Post: giga
  Kickstarter P64 with LCD, working image? MostHated 1 4,433 01-04-2020, 10:32 AM
Last Post: igorp
  Allwinner A64 RTC bug fix on bionic image? tkaivola 1 4,773 02-01-2019, 05:09 AM
Last Post: tllim
  SPI on ubuntu IlyaM 4 9,091 07-16-2018, 03:00 AM
Last Post: kingflab
  Ubuntu password not working joemassimino 4 8,514 05-18-2018, 03:33 PM
Last Post: Luke
  After flashing Ubuntu- how to get graphical desktop Partymack711 6 10,842 02-01-2018, 09:45 AM
Last Post: Partymack711
  (ARCHIVED) Ubuntu Xenial Image (BSP Kernel) longsleep 337 633,810 01-31-2018, 11:58 AM
Last Post: Luke
  PPTP doesnt work with ubuntu escovedo 2 8,660 08-23-2017, 09:28 AM
Last Post: gilbertotcc

Forum Jump:


Users browsing this thread: 1 Guest(s)