Copied USB stick does not boot correctly
October 11, 2020 10:53AM
Startingpoint is the latest U-boot for OXNAS. Using a pogoplug pro (so hardware does not change). I have a perfectly working USB which I would like to copy/archive.

So I used the suggested procedure as attached (create archive)... But I still don't understand (and I would like to understand that) why the copied stick is not booting.
Attachments:
open | download - create archive.jpg (158.9 KB)
open | download - boot of installed USB rootfs.txt (19.6 KB)
open | download - boot of copied USB rootfs.txt (16.6 KB)
Re: Copied USB stick does not boot correctly
October 11, 2020 04:55PM
myhobby,

> So I used the suggested procedure as attached
> (create archive)... But I still don't understand
> (and I would like to understand that) why the
> copied stick is not booting.

You probably did not label the copied stick partition with rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Copied USB stick does not boot correctly
October 12, 2020 12:29AM
Bodhi,

If you check the log of the copied stick, you see that it is finding the usb stick and the boot directory. I even checked the label before I started my copy action via e2label /dev/sdb? which resulted in rootfs as a label.

Nevertheless I tried another approach where I copied the original to the copy USB via Midnight commander, while booting from a 3rd usb stick. That resolved my problem.



Edited 1 time(s). Last edit at 10/12/2020 02:54AM by myhobby.
Re: Copied USB stick does not boot correctly
October 12, 2020 10:25AM
myhobby Wrote:
-------------------------------------------------------
> Bodhi,
>
> If you check the log of the copied stick, you see
> that it is finding the usb stick and the boot
> directory. I even checked the label before I
> started my copy action via e2label /dev/sdb? which
> resulted in rootfs as a label.
>
> Nevertheless I tried another approach where I
> copied the original to the copy USB via Midnight
> commander, while booting from a 3rd usb stick.
> That resolved my problem.

I recently had your above issue as well when trying to create a tarball. Nothing I tried worked. I ended up using the copy method as you describe.
Re: Copied USB stick does not boot correctly
October 12, 2020 02:00PM
As usual, I need to see the log of what a user did during rootfs creation to spot any error. Sometime we forgot to be root (must be root user the whole time), sometime we did not sync, ... Things like that would cause the rootfs label problem.

-bodhi
===========================
Forum Wiki
bodhi's corner
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: