Contribute
Register

[Solved] How to execute fsck command for another disk in single-user mode?

Status
Not open for further replies.
Joined
May 3, 2017
Messages
138
Motherboard
Lenovo Flex 2 15inch
CPU
i7-4510U
Graphics
HD 4400 + GT 840M, 1920x1080
Mobile Phone
  1. iOS
Hi guys

Bye defualt the command will be executed on the boot volume. Could you please help me to execute FSCK -FK on another disk/drive?
 
Hi guys

Bye defualt the command will be executed on the boot volume. Could you please help me to execute FSCK -FK on another disk/drive?

Read about 'diskutil repairVolume' via 'man diskutil'.
 
Read about 'diskutil repairVolume' via 'man diskutil'.

Thanks RehabMan

For anybody willing to use diskutil command in single-user mode:

Code:
/sbin/fsck -fy
mount -uw /

launchctl load /System/Library/LaunchDaemons/com.apple.notifyd.plist
launchctl load /System/Library/LaunchDaemons/com.apple.configd.plist
launchctl load /System/Library/LaunchDaemons/com.apple.diskmanagementd.plist
launchctl load /System/Library/LaunchDaemons/com.apple.securityd.plist
launchctl load /System/Library/LaunchDaemons/com.apple.diskarbitrationd.plist
sudo diskutil
 
Status
Not open for further replies.
Back
Top