-
Notifications
You must be signed in to change notification settings - Fork 123
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
PINN can't mount boot partition to edit config.txt #150
Comments
Maybe I forgot to adapt 'edit config' to work with USB attached storage instead of just looking at the SD card...? I will take a look. |
Looking at your file dumps, it does seem that it would be looking at sdbX instead of sdaX. A quick workaround would be to edit the /settings/installed_os.json file and correct the partition references. (You should edit the boot/os_config.json files as well, but they are only used to rebuild the /settings/installed_os.json file in case it gets corrupted.) Longer term, I need to modify it to use partuuids instead, thus avoiding this issue. |
Works now after editing the "installed_os.json" and "os_config.json". |
Great! Could you please explain exactly how you used PINN to install the OSes to your SSD, so I can prevent this happening in the future? I think perhaps using partuuids will solve it in the future, but if you can remember what you did it would certainly help. |
-used microSD with raspbian to set the onetime programmable fuse to allow boot from usb After changing all sdbX to sdaX in the json-files editing config.txt files works. PartUUIDs would be great. I think my SSD is big enough for the moment and I can copy data via network shares, but it would be nice for the future to be able to use more then one usb storage device at the same time without breaking the dsi-hdmi-auto-switching. |
Thanks. |
Partuuids added to PINN v2.8, now released. |
Great. I updated PINN now. Do I need to edit config files to use partuuids instead of sdx or are OSs already installed fixed automatically? If not, what I need to edit? |
You don't NEED to edit them, unless it is causing you a problem. (They won't be fixed automatically). I think the latest Fix feature might do it, but I suggest you take s backup first! Select the installed os you want to change then in the fix option select "rerun partition_setup.sh". |
Hi,
I'm running PINN 2.6.2 from an USB3.1-to-SSD-Adapter on a Pi3B+ with 3 custom OSs (Kali2 2018.1a Re4son Next Kernel, RetroPie3 4.4 and a NTFS data partition) and if I try to edit the config.txt files from the PINN menu, PINN tells me it can't mount the boot partition.
Wouldn't be a big problem, because PINN boots fine into both OSs and boot and root are successfully mounted after that so I can edit them manually, but I need to switch between DSI and HDMI and I would think PINN can't switch between config.hdmi and config.dsi then neighter.
I tried PINNs fsck but that finished without problems.
Edit:
RetroPie:
/etc/fstab
/boot/os_config.json
fdisk -l:
Maybe PINN tries to mount sdb6 instead of sda6 to mount the boot partition for editing the config.txt from the PINN menu? I installed my OSs from an USB stick which might have been sda and the ssd sdb while installing but now I'm just using the SSD alone.
The text was updated successfully, but these errors were encountered: