I'm having trouble finding a useful answer about this. But basically I need to edit a file manually (because I broke networking). I pulled out the sd card of my raspberry pi and injected it into my mac. The mac only picks up the boot partition but does not allow me access to any of the actually useful data.
$ diskutil list
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *63.9 GB disk4
1: Windows_FAT_32 system-boot 267.4 MB disk4s1
2: Linux 63.6 GB disk4s2
# Disk info
Volume type : Physical Device
BSD device node : disk4
Connection : USB
Device tree path : IODeviceTree:/arm-io/usb-drd2@2280000/usb-drd2-port-ss@02200000
Writable : No
Is case-sensitive : No
Volume capacity : 63,864,569,856
Available space (Purgeable + Free) : 0
Purgeable space : 0
Free space : 0
Used space : 63,864,569,856
Owners enabled : No
Is encrypted : No
Can be verified : No
Can be repaired : No
Bootable : No
Journaled : No
Disk number : 4
Media name : Generic MassStorageClass Media
Media type : Generic
Ejectable : Yes
Solid state : No
S.M.A.R.T. status : Not Supported
Basically, I want to be able to access and edit disk4s2
directly. Being able to access it via the terminal is fine, I need to change one line.