• 5 Posts
  • 715 Comments
Joined 3 years ago
cake
Cake day: July 4th, 2023

help-circle

  • If you can see how the other machines on the network access the drives, like with net use in the windows command prompt, then you will know the protocol and address and share name to connect to.

    If it’s something like \\computername\a\path\here that’s a windows file share which you can connect to with samba. On modern Linux desktop systems you can sometimes get away with opening a file browser and typing in a location like smb://computername/a/path/here and it may just work

    Keep in mind computername could be an IP address instead, and some file browsers are sneaky about letting you type in a path (nautilus/gnome, which I think is Ctrl+L) if smb://… Doesn’t work smbfs:// may be worth a try




  • I don’t know of any project to do this, but it’s an interesting idea.

    For most/all phones, you would need to break the phone’s software security to boot another OS. To boot via USB the phone’s firmware would need to support that, or a sufficient USB vulnerability could be used to take over a running system and boot into a new OS. This would almost certainly be unreliable and only work on specific devices.

    Note that if part of your goal is to extract data from the phone, only old phones store data unencrypted these days. One advantage of using a vulnerability to hijack the current os would be the availability of the keys to decrypt the phone’s storage if the storage is already unlocked.

    Although it’s not as interesting, you certainly can load firmware on an android device that will boot from USB. Not sure if this already exists or would need to be built.











  • I get paid by the hour! 😅 But for real though it’s a struggle. Mostly I try to use msys2 for everything but. I still have native git. There are some long standing bugs that make the vim excruciatingly slow to open or close, really I should go try to fix it but it doesn’t feel like a fun problem.



  • Don’t be afraid of the command line, breaking Linux is how you end up learning how to use it!

    I haven’t done this tutorial but if that kind of thing helps you this one looks pretty good.

    My best guess is you need to do something like:

    (In the shell, one line at a time, enter runs the command)

    mkdir /mnt/tmp
    mount /dev/sda2 /mnt/tmp
    nano /mnt/tmp/etc/fstab
    

    Nano is a text editor that uses your whole terminal, so you will see the contents of /mnt/tmp/etc/fstab (the file that controls where disks are mounted) and replace ‘sdb’ with ‘sda’ on the line starting with /dev/sdb2. The bottom of nano’s screen shows you the keyboard shortcuts, I think Ctrl W will make it write the file, asking for confirmation of the filename, which should stay the same. Exit nano (Ctrl+x maybe?) then reboot with the command ‘reboot’

    If you get any errors about access denied or permissions, run ‘sudo bash’ to get a shell with more power and try again.

    Good luck!

    What most likely happened is your disk order switched and, as others have mentioned, using /dev/sda1 or something similar to point to partitions is unstable and can’t be trusted. Once your system is back up, look up how to specify partitions in /etc/fstab using UUID (something like /dev/disks/by-uuid/xxxx-xxxxxxxxxx-xxxx instead of /dev/sda2)