PINE64
Restore default Debian system - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Restore default Debian system (/showthread.php?tid=8229)

Pages: 1 2 3 4 5


RE: Restore default Debian system - markh66509 - 01-01-2020

Hi...
just to follow up with my original issue:

>sudo dd if=pinebookpro-debian-desktop-mrfixit-191123.img of=/dev/mmcblk1 status=progress
>dd: failed to open 'dev/mmcblk1' : No such file or directory

I unmounted the partitions first:   umount mmcblk1p1 and mmcblk1p2
>ref: http://forum.banana-pi.org/t/how-to-use-dd-command-burn-image-to-emmc-and-boot-from-emmc/874

looking at my original post and the error indicating the failure to open 'dev/mmcblk1' I also wonder if I actually had dev/mmcblk1 vs /dev/mmcblk1 ...newbie error.
At this point the new OS is loaded on the emmc and the Pinebook Pro boot correctly.


RE: Restore default Debian system - bcnaz - 01-01-2020

*
 Is it Possible :  Using (Pine store accessory)   "usb to eMMC adapter"   and   load mrfixits OEM Debian on to the eMMC drive  ?

    Thanks  !


RE: Restore default Debian system - bcnaz - 01-02-2020

>  Can I preload a working OEM Debian operating system onto an eMMC     using the usb to eMMC adapter I purchased from the Pine store

 This could possibly simplify the whole process.

 Originally I got the adapter so I could upgrade my PBP to the 128gb eMMC  with a fresh copy of the OEM Debian.

But  It also looks like this could be very helpful for many of the problems in this thread  !   ?


RE: Restore default Debian system - xircledev - 01-06-2020

I was having the same issues and was very frustrated with the process. I posted my work-around that fixed all my issues in this post https://forum.pine64.org/showthread.php?tid=8714


RE: Restore default Debian system - pmb_nl - 01-26-2020

With my restore I used the mentioned DD command to transfer the image file "pinebookpro-debian-desktop-mrfixit191226.img " to the emmc.
This finished successfully but when I shutdown and remove the SD card to boot from emmc the laptop seems in a loop (perhaps similar loop as mentioned).

To get access to the laptop again, I rebooted from the SD card using the image mentioned above and this works.
Any suggestions how I can proceed towards a successful emmc install?

Best regards,

Peter


RE: Restore default Debian system - binholz - 01-28-2020

I currently have Android installed on my emmc and I want to replace it with the mrfixit build.  

Currently when I boot it up with the UART connected, the pinebook pro runs a continuous boot loop with both the emmc enabled and a working Linux on the SD card (manjaro) in inserted.  

Both systems boot properly; emmc when no SD card is inserted and the SD card when the emmc is disabled.

I don't have an emmc USB adapter and can't get one for a while.  I'm including my logs from the UART if anyone has an idea of how to solve the problem. 

 I do have a 16gb emmc from the original pinebook 

Thanks


RE: Restore default Debian system - binholz - 01-28-2020

I managed to get a copy of manjaro with KDE to boot from a newer SD card. I held the power button longer than normally. I didn't capture a UART output, but I managed to erase Android with a copy of Manjaro


RE: Restore default Debian system - MIchael - 01-28-2020

I ordered an eMMC to microSD from Amazon and managed to reflash the system back to factory in just a couple of minutes.

It's super simple using the instructions in the OP.

Now I have Netflix in Chromium which is great, not in Firefox though.


RE: Restore default Debian system - FeMike - 02-01-2020

(11-08-2019, 06:33 AM)zaius Wrote:
(11-08-2019, 05:15 AM)perceg Wrote:
(11-08-2019, 12:17 AM)xircledev Wrote: I was looking for instructions like this. Everything worked as planned until I tried to reboot. Now the machine is stuck in a loop trying to boot. It never makes it to the boot screen. I can't even run the desktop from the SD now. Any clue as to what I can do?
Thanks.

Same thing here. In order to boot from the SD I needed to switch off the eMMC using the onboard switch. In order to do that you need to open up the bottom cover, look for the white switch to the left of eMMC (numbered 24 on the Pinebook Pro Internal Layout photo at https://wiki.pine64.org/index.php/Pinebook_Pro_Main_Page) and push it sideways into the off position. 

Now I can boot from the SD, but obviously still looking for the way to successfully flash default Debian system back to eMMC.

It's a known problem.


https://forum.pine64.org/showthread.php?tid=8162
https://forum.pine64.org/showthread.php?tid=8163
https://forum.pine64.org/showthread.php?tid=8031

You can edit the SD card so that it boots with Debian installed on the eMMC.

You could switch the eMMC off, boot SD, then switch the eMMC back on.  However, opening up a computer that is powered up is generally a bad idea.

You could boot Ubuntu off SD, follow the instructions in the tutorial section to install it to eMMC, then boot Debian off SD, then install it to eMMC.
I too just recently followed the steps from cristobalhdez and it wont boot from emmc. Though I can boot debian from sdcard unlike the others. You mention in your last tip to follow the instructions in the tutorial section to install it to eMMC, where is this? The wiki? I cant find that there, just the link to MrFixit's Debian image. Mind sharing link or steps to do this if it's different from the steps that I followed in post #7? Thank you.

Edit: So I'm not sure what went wrong the first time but I tried it a second time and all is working.


RE: Restore default Debian system - uby89 - 02-03-2020

I am a little bit confused, as many others I might have corrupted uboot on the emmc with Debian.
I can boot into the Debian emmc, without sd inserted. It doesn't shutdown completely anymore though, I have to use the power button to power it off.

I can't boot from sd, even if I disable emmc from the switch. I tried to boot Manjaro and the default debian distro from sd without luck.
With the emmc disabled it doesn't turn on at all. With emmc enabled and micro sd inserted it just gets to a black screen.

I also tried to remove and re-attached the ribbon cable to the micro-sd.


Any ideas please?

I ordered the usb to emmc adaptor, but I know it will take a while to come down.