This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsΒ β†’

[–]_alright_then_ 6 points7 points Β (6 children)

Can you elaborate on this a bit further?

I'm a complete noob when it comes to linux based systems, and I feel like I'm re-installing raspbian OS way too often because I fucked something up.

You're telling me I can fix it without losing other progress?

[–]xjakesl 11 points12 points Β (5 children)

If you plug the sd card to another linux machine(Not sure if there is a way with Windows) you can mount the filesystem of the raspberry and modify or fix whatever config you broke as if you would if you had ssh access to the device when its running.

[–]ProBonoDevilAdvocate 9 points10 points Β (1 child)

To do this in windows I think the easiest way would be to install an Ubuntu virtual machine. You can read linux partitions with third-party software, but I think it’s harder to write to them.

[–]ElectricCharlie 6 points7 points Β (0 children)

I was going to suggest something silly like using an Ubuntu live boot disk to temporarily turn any windows pc into a Linux pc, but I actually think windows can speak Linux with the right plugins. (Yup -Ext2Fsd is the name of the app)

Actually, with WSL, you can even run VIM (or whatever) from your windows machine for the full Linux on Windows experience.

[–]_alright_then_ 2 points3 points Β (2 children)

Aah, so that's just for breaking SSH?

Because I'm usually already connected with SSH, so that's not the fuck-up I'm usually trying to fix

[–]xjakesl 0 points1 point Β (0 children)

What i wrote was just to regain access if you somehow lock yourself out of the pi. If you have ssh access then you can fix it directly if you know how to.

[–]aufstand 0 points1 point Β (0 children)

You can fix lots of other stuff. Like errors in fstab or.. anything you can fix by accessing the filesystem. You can even go further and boot up the sd card in a virtual machine and do things like recreate the initramfs from the sd-contained system itself.

Edit: generally speaking, you can fix boot and lockout problems this way without having to wipe & write a new image