Questions tagged [unix]

UNIX is both the underlying code and architecture that makes up Mac OS X / iOS as well as a way of interacting with a Mac using the terminal app, X11 app, and various shells like `bash` or `zsh`. Whether you're logging into a mac using `ssh`, using `mdfind` or `tmutil` or using other open source software, you are doing things very much in common with other UNIX operating systems and toolsets such as Linux, GNU, and many, many others too numerous to list.

92 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
3k views

MacOS Startup Disk error: “Running Bless to Place Boot Files Failed” (triple boot, MacPro 4,1 -> 5,1)

My question is, how do I add a (properly-booting) Ubuntu volume to High Sierra's "Startup Disk" Menu? Running MacOS High Sierra, Windows 10 (Legacy, not EFI), and Ubuntu 18.04 (triple-booting on a ...
3
votes
0answers
2k views

Need an external Linux with hardware driver and support for MacBook Pro 2016 or newer

What Linux support hardware drivers for screen / trackpad and optionally all keys? Core requirements: no state changes to the original hard disk (this qualifies it as "external" ) drivers for Apple ...
3
votes
0answers
1k views

Dia on macOS Sierra

I'm trying to run Dia on macOS Sierra (MacBookPro, Retina). It crashed searching for libdia.dylib. Exporting Display=:0, as recommended here, does not help. Any ideas?
3
votes
0answers
2k views

custom ringtone on iphone5s using linux?

I have an iPhone 5s. I want to have my own custom ringtone on my iPhone. But is there any way to do this without the (really time consuming) way of starting up computer, start iTunes, connect iPhone ...
3
votes
0answers
4k views

What is a “stuck” process?

Using the top command in Terminal, and ordering the list by state, I see a number of processes on Yosemite 10.10.1 whose state is stuck. I've looked through man ps and man top for an explanation, and ...
3
votes
0answers
428 views

How to make a bootable (encrypted) copy in an external drive from a FileVault 2 encrypted boot partition

I configured my MacbookPro (Retina) as follows: /dev/disk0 (GUID partition scheme) EFI 200 MiB Apple CoreStorage 128 GiB <- FileVault 2 encrypted Apple Boot 650 MiB <- ...
3
votes
1answer
186 views

Missing 'man' entries after upgrade

Having upgraded from Snow Leopard to Mountain Lion a few days ago, I find that most of the 'man' entries from section 3 (programming functions) are missing. For example: phillip-millss-macbook-pro:...
3
votes
2answers
2k views

How can I install es_AR locale on OSX El Capitan?

I'm trying to install a locale on OSX (El Capitan) and I can't figure it out. I've been googling for hours now. In Ubuntu is as simple as locale-gen and dpkg-reconfigure. I'm coding a PHP ...
2
votes
0answers
91 views

UBUNTU on MacOS, windows already installed

I am installing UBUNTU on my MACOS Mojave while windows 10 is already installed through bootcamp. I've tried the instructions in Installing Ubuntu on Mac with macOS and Windows already installed but ...
2
votes
0answers
89 views

Recovering SSD after Ubuntu live USB corrupted partition table?

I'm running a mid-2012 MBP with a WD green SSD inside. I needed to install Ubuntu for university so I tried to do so via a live USB. While doing the installation I accidentally clicked on the option ...
2
votes
0answers
1k views

How to change current JRE on mac?

I would like to change the current JRE from Version 10.0.1 to some previous versions like 1.8 for instance. At the moment Im confused about my current setting. Basically, Java Panel in System ...
2
votes
0answers
895 views

How to access a fusion drive from ubuntu linux by mounting apple core storage

my iMac with 3TB fusion drive won't boot anymore. even when booting to recovery it crashes with kernel panic. the stack trace says com.apple.driver.Corestorage dependency com.apple.iokit....
2
votes
0answers
527 views

Mac OS not appearing on option boot after installing Ubuntu on separate partition

I'm a beginner at Linux OS's and thought I'd start learning. To do so I decided to install Ubuntu on a partition on my late 2013 15" mbpr, currently running mac os 10.13. I followed this guide: ...
2
votes
0answers
29 views

Mount partitions/images with Linux filesystems

I've created a local image of the drive of a hosted VPS by using dd over ssh (ssh user@123.45.67.89 "dd if=/dev/vda " | dd of=/Volumes/Backup/droplet.img). mount shows that macOS supports afs, hfs, ...
2
votes
0answers
220 views

Keyboard not working during boot

My Mac keyboard is not working during EFI startup, so I can’t press option to select the boot device. I am dual booting Archlinux, so my EFI binary is from systemd-boot. I configured timeout in loader....
2
votes
0answers
920 views

Installing High Sierra on a Linux machine

I currently have (Arch) Linux on my MacBook Air (2012), and I want to install High Sierra on an external drive, so I can run the new eficheck. How do I do that, and without disturbing my existing ...
2
votes
0answers
1k views

Bootable USB with Ubuntu does not show in boot sequence options

I followed this question (How to create a bootable Ubuntu USB stick Using OS X 10.10.2) to turn the Ubuntu 14.04 ISO to a bootable USB. I have a MBP (with touchbar) running 10.12.5. After rebooting ...
2
votes
0answers
1k views

Find devices informations (/dev path, …) and debug usb devices in CLI

I recently moved from Linux to Mac OS, and I'm quite a bit lost in some situations. I'm looking for the /dev name of my USB device (which is listed in the system_profiler SPUSBDataType). On Linux I ...
2
votes
0answers
70 views

MacBook Pro : Dual-boot

I need to dual boot on CleanOS on a MacBook Pro I installed ClearOS but at the boot I only boot on the Grub, when Command key is pressed I also have OSX I tried to install rEFIt, but without success,...
2
votes
0answers
60 views

Too strict permissions checking in Mac OS

After long debugging, I found why I can not login to my MacOS machine with ssh: Authentication refused: bad ownership or modes for directory /Users/myuser/projects The problem is that I track my ....
2
votes
0answers
672 views

Using lsof to find which process is connected to a unix file socket

I have a server application that binds a unix file socket on /var/run/appsocket. I have multiple clients which connect to this unix file socket, and I want to be able to determine which PID is ...
2
votes
0answers
41 views

Disabling Two Factor from Trusted IP

I use two-factor authentication on my Mac for ssh connections, and Google Authenticator app on my iPhone. This works well, but I have back-up scripts running off cronjobs on my Linux servers, and ...
2
votes
0answers
111 views

How do international users use readline shortcuts in the Terminal?

Readline is a library that enables Emacs-style shortcuts in the terminal (and other programs), such as Ctrl-A to jump to the start of the line, Meta-W to jump a word, Meta-B to jump a word back, etc. ...
2
votes
0answers
386 views

Is there a “findmnt” equivalent for OS X?

I find findmnt's output much easier for a quick scan of the filesystem status than the traditional mount command. Is there an equivalent for it on Mac? It's part of util-linux package. HomeBrew doesn'...
2
votes
0answers
43 views

Is there a programmatic way to identify built-in applications?

I'm trying to keep an inventory of where each application in my Mac came from (context: I'm trying to be disciplined and install things only through the App Store, Homebrew or Caskroom). Apps that ...
2
votes
0answers
451 views

Unable to mount SMB share using Snow Leopard

I have a Linux box (Raspberry Pi) with Samba set up, and when I try to mount the shares on a MacBook Pro (Snow Leopard, 10.6.8) it just stalls. I have an Applescript that runs at login, which I use to ...
2
votes
0answers
165 views

Poor X Windows performance

I use Macs a lot to host applications running on Linux boxes via X Windows, but tend to find that, after some period of time, I can no longer open new X Windows clients on the Mac - I get messages ...
2
votes
0answers
335 views

Boot Linux from USB drive

I've installed Fedora on a new SATA SSD drive for my MacBook Pro, and when installed into the laptop, it boots perfectly (and runs wonderfully!). However, I want to boot from it externally until I'm ...
2
votes
0answers
151 views

Is there a virtualization program that will let me run a Linux vm and use a whole disk in a supported way?

I'd like to run a linux VM that let's me treat a disk exactly the same way a real Linux installation would - i.e.: I want to use it to prep disks that will then be transferred to and used on Linux ...
1
vote
0answers
26 views

Booting linux from usb on macbook pro 2019

I've got linux iso installed on a bootable usb and boot it from refind which works fine. But when I choose to install ubuntu in the grub menu I get a black screen. After some digging online I read ...
1
vote
0answers
25 views

Wake on LAN (WOL) on Mac Pro 3,1 WITHOUT MacOS

I've been re-purposing my Mac Pro 3,1 (2008) to be a server using docker and Ubuntu Server 18.04.2. I'm trying to get wake on lan to work, as this is a really power-hungry machine and I would rather ...
1
vote
0answers
47 views

Bootable USB stick trying to install on USB instead of hard drive

So I‘m trying to install Ubuntu for Dual Boot on my MacBook Pro. I‘m running macOS 10.14 with APFS, created a new partition formatted as FAT32. Created bootable USB stick with Etcher and so forth. So ...
1
vote
0answers
53 views

How can I enable graphics on local macOS from remote Linux using SSH?

host: Ubuntu 64-bit local: macOS 10.13 64-bit I'm attempting to run a program on a remote Linux machine through ssh, and I want the GUI to appear on my local macOS laptop. When I execute ssh -v -X ...
1
vote
0answers
504 views

Making Uninitialized APFS Volume Bootable

Recently I installed Ubuntu on my MacBook Pro (Mid 2012) on a second volume. I wanted to change to the Ubuntu Volume through Startup Manager and used this tutorial to do so: Installing Ubuntu on Mac ...
1
vote
0answers
868 views

Linux on Mac, dual-boot without rEFind EFI issues

So I followed the instructions here This actually worked great. I was able to install ubuntu and the dual boot is working, however, in my startup window I have a dummy Windows option that boots to ...
1
vote
0answers
527 views

hfs-bless / Booting into MacOS / Windows directly from Ubuntu (triple boot, MacPro 4,1 -> 5,1)

Currently I have MacOS High Sierra, Windows 10 (Legacy, not EFI), and Ubuntu 18.04 triple-booting on a 2009 MacPro 4,1 (firmware upgraded to 5,1). I installed Ubuntu after Windows using the procedure ...
1
vote
1answer
101 views

*Persistently* disable password authentication in SSHD

I want to be able to SSH in to my mac. I do not want to be able to use passwords to authenticate. I know how to configure this, what to put in /etc/ssh/sshd_config. But every time I install even a ...
1
vote
0answers
32 views

Importing Linux and Windows Dual Boot from Parallels

I am looking at triple booting my Mac soon with macOS, Linux and Windows. I also want Linux and Windows available as a virtual machine. At the moment, I have Windows dual booted and have imported it ...
1
vote
0answers
32 views

Remove Problematic File from Drobo5N (NAS)

For some reason I have some files on a Drobo5N, which is a NAS, that were copied over from my Mac. They have a filename issue: alpha:bravo:charlie.txt That filename structure messes with all of the ...
1
vote
0answers
70 views

Unable to login to iMac after successful ARD/VNC connection

I enabled Apple Remote Desktop on an iMac, and I'm trying to use it from a Ubuntu machine with Remmina Remote Desktop Client. I configured the connection to use SSH tunneling. I can connect ...
1
vote
0answers
366 views

How do I access a CD drive on a Linux machine from my Mac?

I used this question: https://superuser.com/questions/316745/how-to-access-a-cd-dvd-drive-over-the-network to install nbd-server on my linux machine and share the CD drive. But installing nbd-client ...
1
vote
0answers
324 views

keyboard shortcuts on parallels desktop running ubuntu

I am running: MacOS High Sierra on a 2016 TB MBP. >> App: Parallels Desktop 12. >> VM: Ubuntu Linux 16.04. I only use the terminal of the Linux VM to communicate with robotic hardware. When I use ...
1
vote
0answers
88 views

Recovering free disk space to expand Ubuntu partition

I have a dual boot MacBook with Retina Display running macOS and Ubuntu, and I need to give more space to the Ubuntu OS. I've already reduced the macOS partition but I don't know how to expose the ...
1
vote
0answers
1k views

sendmail for mac

Is there a sendmail port for Mac that I can install? Mac already has a sendmail process. But that is not what I am looking for. The summary in its doc says: sendmail - Postfix to Sendmail ...
1
vote
0answers
241 views

AppleScript to rename subfolders

I have a file structure for photos which is Year >Date, then within each date folder I have RAW images plus a folder named 'jpg', which contains jpg copies of the RAW files. I need to move the jpg ...
1
vote
0answers
796 views

Can't ping host osx from guest Ubuntu 16.04

I created an Ubuntu-16.04 VM via VirtualBox on my osx machine. I'm using 2 network adapters: Bridged Adapter [en0: Wi-Fi (Airport)] and Host-only Adapter (vboxnet0). This is the ifconfig o/p from ...
1
vote
0answers
487 views

macOS alternative for /proc/net/dev

Can we have an exact alternative (for macOS) to the output for /proc/net/dev on Linux systems? There's a slightly similar question at OS X equivalent of linux /proc dir but I'm looking specifically ...
1
vote
0answers
153 views

Ubuntu won't boot on PowerMac G5 without the CD

I have managed to install Ubuntu onto my PowerMac G5 by changing the graphics card, but it will not start up again unless I use the CD. Any suggestion on how to make Ubuntu boot without the CD?
1
vote
0answers
148 views

How do I insert LaTeXiT images in Inkscape without losing the quality of the image?

On a Mac, if one uses Inkscape, one cannot write equations directly (as far as I know). To go around this what I've done is write the equations in LaTeXiT and then import the PDF in Inkscape and then ...
1
vote
0answers
1k views

How can I mount an OS X shared folder from Linux with smbmount?

I've tried searching this question in multiple ways, but it always seems to turn up results for mounting from OS X either from the Finder or from command line. However, what I'm trying to do is mount ...