Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

4
votes
0answers
2k 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
69 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,...
3
votes
0answers
59 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 ....
3
votes
0answers
616 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 ...
3
votes
0answers
40 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 ...
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
425 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 <- ...
2
votes
0answers
75 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
844 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
787 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
477 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
28 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
209 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
899 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
981 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
103 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
341 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
42 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
431 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
164 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
332 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
28 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
33 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
254 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
804 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
226 views

su -fm nobody asks for “Old Password”

Why would "su -fm nobody" prompt to change the nobody password on one MacOS system but not on others? I am curious about this because system scripts such as locate.updatedb that run as the ...
1
vote
0answers
460 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
0answers
82 views

Is there a way to run Linux partition as virtual machine through VMWare?

VMWare Fusion allows its users to install/run the Bootcamp partition as a VM on OSX, which is super awesome. I recently not only created a Bootcamp partition with Windows 10 and successfully used ...
1
vote
0answers
26 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
42 views

What could cause a huge spike in Unix System Calls for a process and how to debug

Computer Stats Mac mini (Late 2014) 2.8 GHz i5 8 GB RAM 10.13.5 High Sierra (upgraded from Sierra this week while debugging this issue) Background I recently noticed that a certain tab in Chrome ...
1
vote
0answers
30 views

How to boot some Windows LiveCD iso on Macbook?

I have a mid-2012 Macbook and got curious how do I boot a Windows-based rescue LiveCD from a USB stick? There are some projects like "Mac Linux USB Loader" - it loads a UEFI bootstrap on your USB, ...
1
vote
0answers
30 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
31 views

Mac OS X El Capitan - SSH to Amazon Linux server keeps asking for my .ppk password, but no password is set for .ppk file

I have Amazon Linux server setup. I am unable to access it via my MacBook Pro (El Capitan). It keeps asking me for the password for my .pem file. Please find attached screenshot. Below are the ...
1
vote
0answers
306 views

Ubuntu: Can't boot Mac, only shows a Folder with a Question Mark?

Bodhi Linux and Ubuntu 18.04 install fine -- but whenever I try to install Ubuntu Server onto this older Macbook it doesn't boot. Instead I get a question mark: Wouldn't even know where to begin to ...
1
vote
0answers
60 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
313 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
299 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
84 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
850 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 ...
1
vote
0answers
225 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
707 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
442 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
147 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
107 views

Finder not updating immediately nfs share content

We share the content of multiple linux servers through NFS. It's then mounted on a few macs (OSX Yosemite 10.10.5) by an automount map using Freeipa. Everything works properly except that sometimes, ...
1
vote
0answers
142 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 ...