Skip to content
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

SSD USB arch boot fails #178

Open
lsswizard opened this issue Jul 31, 2018 · 12 comments
Open

SSD USB arch boot fails #178

lsswizard opened this issue Jul 31, 2018 · 12 comments
Labels

Comments

@lsswizard
Copy link

Ive installed PINN using SSD without sd card, but when i try to boot Arch2 Os i get this error.

Not a valid Partition: PARTUUID=55463d29-0a

but the boot partion is the above, Raspbian boots fine.

@procount
Copy link
Owner

procount commented Jul 31, 2018

You only mentioned 2 OSes - Raspbian and Arch2, but I guess you also have another installed, otherwise that PARTUUID looks a bit wrong to me.
Have you tried installing them on an SD card to see if you get the same behaviour?

EDIT: Arch is a rolling release so it gets downloaded directly from the Arch website. It could be that latest updates have broken installation to USB. I will have to test it.

@lsswizard
Copy link
Author

yes i have OSMC installed also and that works fine,

Here's my partition list
/dev/sda1: SEC_TYPE="msdos" LABEL="RECOVERY" UUID="0092-A07D" TYPE="vfat" PARTUUID="55463d29-01" /dev/sda5: LABEL="SETTINGS" UUID="441fc03b-600f-4968-8d72-3552e12c4181" TYPE="ext4" PARTUUID="55463d29-05" /dev/sda6: LABEL="boot" UUID="C3C4-BE48" TYPE="vfat" PARTUUID="55463d29-06" /dev/sda7: LABEL="root" UUID="af4585f8-ff6e-4973-9cdf-e12e84bc7c7f" TYPE="ext4" PARTUUID="55463d29-07" /dev/sda8: LABEL="boot-rbp2" UUID="33DF-0277" TYPE="vfat" PARTUUID="55463d29-08" /dev/sda9: LABEL="root-rbp2" UUID="7898d3da-4a25-4d87-9b96-30946a9b3800" TYPE="ext4" PARTUUID="55463d29-09" /dev/sda10: LABEL="boot_arch" UUID="98A3-A232" TYPE="vfat" PARTUUID="55463d29-0a" /dev/sda11: LABEL="root_arch" UUID="3101583d-25d1-466b-88c2-c72690afd337" TYPE="ext4" PARTUUID="55463d29-0b"

and yes it works fine on micro sd.

@procount
Copy link
Owner

Well, it sounds like the current Arch2 is no longer compatible with the PARTUUID partition numbering scheme that is used on USB devices. I will test it out when I get a chance to confirm it.

PARTUUID is used for USB devices because it provides a consistent way of identifying the device, rather than the /dev/sdX format that may change on each boot.

If that is the problem, one way round it is to revert the PARTUUID reference to the other format and HOPE that your USB SSD is always /dev/sda. You'll need to edit cmdline.txt in the boot partition and /etc/fstab in the root partition. Replace all occurrences of PARTUUID_55463d29-XX with /dev/sdaYY as given in your partition list

@lsswizard
Copy link
Author

Changed cmdline with root=/dev/sde11 and FSTAB Changed to /dev/sde10 which is boot partition and same error.
Not a valid Partition: PARTUUID=55463d29-0a

@procount
Copy link
Owner

procount commented Aug 1, 2018

Odd. Those are the only 2 references. I don't think there are any others. Check your edits took effect - you did do a sync afterwards, didn't you?

/dev/sde10 - You have a lot of USB devices there!

@procount
Copy link
Owner

procount commented Aug 1, 2018

Not a valid Partition: PARTUUID=55463d29-0a

When/where did that message come up?

@lsswizard
Copy link
Author

lsswizard commented Aug 1, 2018

Yep did a sync, i always do and just 3 things installed, its how it was setup with PINN.

Just gets to boot screen and i select Arch2 to boot and that messages appears.

Edit: It works fine if i use Micro SD to boot by the way but realized that's cause it installs arch_boot on SD first.

i see my mistake i need a coffee lol, wrong partitons.

@lsswizard
Copy link
Author

OK i used proper partitions and added /dev/sda11 for cmdline and /dev/sda10 for fstab and same error when i try to boot.

@lsswizard
Copy link
Author

lsswizard commented Aug 1, 2018

got it working i changed installed_os.json ARCH2 partitions aswell and it boots fine now.

@procount
Copy link
Owner

procount commented Aug 1, 2018

Ah! There's one more place....
In PINN's settings partition (/dev/sda5) you need to edit the installed_os.json file.
Replace the partuiids with the appropriate /dev/sdaX partitions for Arch2.
Be careful to respect the JSON formatting!

@procount
Copy link
Owner

procount commented Aug 1, 2018

You beat me to it!

@procount
Copy link
Owner

procount commented Aug 6, 2018

NOTE to self: Check behaviour of Arch on USB boot/root support.

@procount procount added the bug label Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants