- Start in Single User Mode by holding down Command-S when starting the Mac.
- Commands can also be typed via Terminal app when OS X is running.
![Mac commands list Mac commands list](/uploads/1/3/4/1/134183503/558310587.png)
This works like Linux’s single-user mode—rather than getting multi-user operating system, you boot directly to a root shell. Press Command+S as your Mac boots to enter single-user mode. To leave this mode, type reboot at the prompt and press Enter. See More Detailed Information with Verbose Mode. In verbose mode, you’ll see normally.
https://downsup219.weebly.com/canon-laser-shot-lbp-1210-driver-for-windows-10.html. See also: https://support.apple.com/en-us/HT201573
More tips: http://www.tekrevue.com/tip/mac-startup-options/
More tips: http://www.tekrevue.com/tip/mac-startup-options/
![For For](/uploads/1/3/4/1/134183503/503675561.jpg)
Terminal Command Workflow
- Holding down Command + S during startup will boot your Mac into Single User Mode. This is a terminal interface that allows you to login and interact with your computer via text input only.
- Running fsck from Single User Mode. Fsck is a powerful utility, but macOS won’t let you run it from inside the operating system. You might think you can run fsck on a non-booting disk, but you’d be wrong: fsck is basically non-functional while in macOS’s userland.
- Type
diskutil list
to view available drives - Type
diskutil mount /dev/disk1s2
(Disk 1, Partition Scheme 2 - may be different on your Mac) to gain read/write access on that disk. - Type
cd /Volumes
to switch current folder to Volumes where Mac OS lists all mounted drives. - Type
ls
to list contents of Volumes folder. - Type
mkdir
to create a new folder (on the USB drive) - The
cp -a
command copies files/folders from one path to another.
Walkthrough
Start in Single-User Mode by holding Command-S as mentioned aboveYou type ->
diskutil list
/dev/disk0
(Physical Disk #1: Macintosh HD)/dev/disk1
(Physical Disk #2: PIZZA_PIZZA_256GB)You type ->
diskutil mount /dev/disk1s2
Mac Os Single User Mode
You type ->
cd /Volumes
You type ->
ls
You type ->
You type ->
You type ->
You type ->
cd /Volumes/PIZZA_PIZZA_256GB
You type ->
mkdir RecoveredFiles
You type ->
cd RecoveredFiles
You type ->
cp -a ~/Photos Photos
Which should copy the entire Mac Photos folder to /Volumes/PIZZA_PIZZA_256GB/RecoveredFiles/Photos
- An empty line after running the
cp
command indicates success - Copy folder and contained files together using
cp -a /Source/FolderName /Destination/FolderName
- Copy single files without the -a using
cp /Source/file.jpg /Destination/file.jpg
- ~/Photos is the same as /Users/alex/Photos
More copying examples
Commands For Single User Mode Macbook Pro
You type ->
You type ->
You type ->
cp ~/Photos/myphoto.jpg Photos/myphoto.jpg
You type ->
cp -a ~/Documents /Volumes/PIZZA_PIZZA_256GB/RecoveredFiles/Documents
You type ->
cp -a ~/Desktop /Volumes/PIZZA_PIZZA_256GB/RecoveredFiles/Desktop
Exit Single User Mode
You type ->
reboot
Mac Single User Mode Repair
Mac will reboot normally
Commands For Single User Mode Mac Os
Hi!
Does anyone know how to boot into single user mode and mount the root filesystem in read write mode?
Somehow my system got messed up and I'd like to change back some configs I made in /etc/..
Why does single user mode mount the file system read-only at all????? This is kind of stupid isn't it? On 'normal' unices you uses single user mode for system updates and emergency repair, all things that require write access to the hard disk..
Also, how so you enable verbose mode during boot?
I tried option-v but it boots into single user mode as well as pressing option-s..
Also how do I cahnge init modes? Trying init 3, 5 or whatever gives an error init already running.
And another question:
When I enter single user mode, I get the following message:
init: single user shell terminated, restarting
Followed by the root promt #
Is this normal?
any help appreciated-
Kusako
Does anyone know how to boot into single user mode and mount the root filesystem in read write mode?
Somehow my system got messed up and I'd like to change back some configs I made in /etc/..
Why does single user mode mount the file system read-only at all????? This is kind of stupid isn't it? On 'normal' unices you uses single user mode for system updates and emergency repair, all things that require write access to the hard disk..
Also, how so you enable verbose mode during boot?
I tried option-v but it boots into single user mode as well as pressing option-s..
Also how do I cahnge init modes? Trying init 3, 5 or whatever gives an error init already running.
And another question:
When I enter single user mode, I get the following message:
init: single user shell terminated, restarting
Followed by the root promt #
Is this normal?
any help appreciated-
Kusako