Install new OS without USB Adapter for eMMC Module?
#8
(03-04-2020, 09:50 PM)ab1jx Wrote: That looks right to me but I'm no authority.  I don't get why your SD doesn't boot, mine does.  I tried the Debian Bullseye debootstrap on the SD and it booted and ran.  Then there was a problem with the files it uses preventing it from working again.

Use a bs=1M in your dd line, it'll speed it up.

I'd be very nervous about overwriting the only thing that boots, in fact I think the OS won't let you do that.  Don''t know if you have spare SDs or a reader and space on another machine, but you could back up your eMMC first.  While booted from the eMMC be sure the SD is mounted and formatted.  Then do a dd of the eMMC (both partitions at once like /dev/mmcblk1) to a new file on the SD, use an img extension.  When that's done shut down and take it out, set it aside if you have spares or move the file off onto some other machine if not.  

You might be able to just clone your eMMC onto the SD with dd, then after you see that it can boot copy your new image onto it as a file.  Boot from the SD and dd the image to the eMMC.  Shut down, take out the SD, it should now boot from the new image on the eMMC.  It's better if you have a backup so you can restore your original eMMC if needed.  Or you could write the new image to the SD, test that it boots, and dd it to the eMMC.  Maybe.  I think you can't overwrite your boot drive, you need to be booted from the SD to overwrite the eMMC.

I have a new SSD sitting here, I'm waiting for the adapter, then I'll be doing something similar.
----------------------------------------------------------------------------------

ab1jx, thank you for your thoughts and suggestions.

I take to heart your advice to clone/backup the emmc before proceeding.

I will do just that before I go further.

My situation is not dire at this point as my PBP still boots from both the emmc or the SD card when present but the default Debian system has developed enough problems I'd like to refresh it.

I should have (as you are recommending) cloned it in the past so it could have been simply restored to the original state but unfortunately I did not.

Now I'd like to do a fresh install of Debian to the emmc but not lose the ability to boot from an SD card which from various accounts appears to be
a risk when DD'ing to the emmc. However I don't have a good sense of what the level of risk is or the best way to mitigate such risk.

Therefore I wanted to get feedback from others on the best way to proceed.

Like you I have an SSD and plan to install it when the time presents itself.

Thank you again for your advice.


Messages In This Thread
RE: Install new OS without USB Adapter for eMMC Module? - by PineFan - 03-04-2020, 10:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cellular module for Pinebook Pro Lotech 1 401 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... Paulie420 42 60,393 11-20-2023, 06:22 PM
Last Post: wdt
  Does latest Tow-Boot install/work correctly for everyone? tophneal 4 1,889 08-03-2023, 03:30 PM
Last Post: tophneal
  Followed the blog post to install Fedora: PBP not booting anymore koenigs 6 1,890 06-01-2023, 10:58 AM
Last Post: wdt
  I'm booting from NVME but I want to switch back to eMMC acruhl 4 1,499 04-23-2023, 06:58 AM
Last Post: acruhl
  Doesn’t power on after flashing emmc badguru 3 1,262 02-25-2023, 09:00 PM
Last Post: badguru
  eMMC problem with Tow-Boot/u-boot on SPI repa 3 1,729 02-21-2023, 01:49 AM
Last Post: repa
  Partial boot after installing Manjaro on emmc regivanx 11 3,200 02-06-2023, 09:11 AM
Last Post: wdt
  Unable to Boot anything (emmc or SDcard) line72 5 2,033 01-17-2023, 12:07 PM
Last Post: nfms
  What OS have you recently flashed onto PBP eMMC? jcun4128 6 2,391 11-26-2022, 09:39 AM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 1 Guest(s)