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
  swap eMMC advice jceaser 2 462 10-23-2025, 09:59 PM
Last Post: Der Geist der Maschine
  Need new eMMC Karsten1 2 2,557 10-23-2025, 09:38 AM
Last Post: jceaser
  Use SD to install new OS over pinebook debian Rudy558 10 22,898 03-09-2025, 11:17 AM
Last Post: davisthomas
  Cellular module for Pinebook Pro Lotech 1 1,974 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... Paulie420 42 89,046 11-20-2023, 06:22 PM
Last Post: wdt
  Does latest Tow-Boot install/work correctly for everyone? tophneal 4 5,483 08-03-2023, 03:30 PM
Last Post: tophneal
  Followed the blog post to install Fedora: PBP not booting anymore koenigs 6 5,457 06-01-2023, 10:58 AM
Last Post: wdt
  I'm booting from NVME but I want to switch back to eMMC acruhl 4 4,543 04-23-2023, 06:58 AM
Last Post: acruhl
  Doesn’t power on after flashing emmc badguru 3 3,750 02-25-2023, 09:00 PM
Last Post: badguru
  eMMC problem with Tow-Boot/u-boot on SPI repa 3 3,983 02-21-2023, 01:49 AM
Last Post: repa

Forum Jump:


Users browsing this thread: 1 Guest(s)