-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy trusty from SD card to eMMC doesnt' work (beaglebone black) #33
Comments
Incorrect... dd is not able to preserve the "UUID", i found this personally (1) when i switched my card script to use uuid's and ran into issues with my *.img generation. uEnv.txt is under /boot/ (on the rootfs) |
I checked the equality of the UUID with "blkid" and both boot and root parititions had the same UUID. Only to be sure I changed the UUID of the root parition at eMMC with tune2fs. Now both root partitions (one on the SD card and the new one on eMMC) have a different UUID.
Last I updated the initramfs with: But the problem still exits. Is there anything else to modifiy? |
pastebin.com your serial boot log |
At the moment I have no TTL-USB cable. I ordered now a cable to get the serial boot log. So hopefully in a few days I can pastebin the boot log. If you have some additional hints during the meantime let me know. Thanks for your help! |
I got it finally working: After poweroff the system and remove the SD card, the system booted successfully from the eMMC and mounted the root-parition of eMMC. |
Hello!
I tried a netinstall of trusty on a beaglebone black using your script. First of all a tried to directly install it on the internal eMMC. During the ubuntu installation process the internal eMMC isn't detected anymore.
After some research with google I found out that the netinstall script doesn't work for installations directly on eMMC. (#17)
So I did a "normal" installation on my sd card. Afterwards I booted from eMMC and did a "dd if=/dev/mmcblk1 of=/mnt/netinstall.img" to a mounted network share at /mnt. (/mnt/mmcblk1 is my SD card in this case)
In the next step I booted from SD card again and copied the image on my network share back to eMMC with the help of dd.
I thought now I'm done, but when I remove my SD card and boot directly from eMMC my boot partition is detected but the kernel is looking for the wrong root-partition.
The following message comes up:
"Waiting for root device /dev/mmcblk1p2..."
It looks like the kernel is waiting for the wrong partition, because the root parition is now /dev/mmcblk0p2.
When I insert the sd card the boot process continues. But now the beaglebone is using the boot parition from eMMC and the root parition from SD card.
In this situation I tried to do a update-initramfs -u, but this doesn't help.
How can I fix this wrong path?
Remarks:
Thank you for help!
The text was updated successfully, but these errors were encountered: