MacUser2525:~$ ll /var/db/.AppleSetupDone
-r-------- 1 root wheel 0B 24 Dec 16:15 /var/db/.AppleSetupDone
sudo rm /var/db/.AppleSetupDone
Hi thanks for answer
The true story is, that imac is not empty.
I have replaced HD with new SSD disk and installed win10
So there is a OS on the imac.
Just not apple
But I think OS does'nt matter in this issue.
But maybe the HD replacement?
Is something stored on the HD or is terminal commands stored on the imac motherboard?
I thought terminal commands could work without a MAC OS on the imac?
I thought terminal was something that was built into bios or whatever![]()
The environment on the USB installer is much more limited than the full macOS installation. What are you really trying to do?Ok thanks... yes commands is in OS
terminal is from my USB with high sierra...
When booting from USB or install disc you get MAC help programs like terminal.
I hoped that terminal could find the commands on the installer disc.
And what command are you trying to run to do that?remove startup sound which still is there even I run clean windows10 on a SSD disk and have no MAC OS.
Hi
I have an imac with a new SSD disk.
I have installed WIN10 on the disk.
There is no MAC OS.
I boot up the mac from a USB where I have High Sierra.
When I get to the picture where I can install MAC OS i go to the top and open a Terminal.
When the original MAC 1 TB disk was in the imac, I had the same issue with terminal commands.
Commands was'nt working.
There was also no OS on the original disk.
I thought terminal commands could work without a MAC OS on the imac?
I thought terminal was something that was built into bios or whatever![]()
I boot up on my OS disk and open my terminal window
I get this
-bash-3.2#
But no mather what command I type I just get "command not found"
ex. sudo languagesetup
What do I do wrong?
-bash-3.2#
indicates that you are logged in as the root user (IIRC by convention the '#' character indicates root). So all is good./usr/sbin/nvram SystemAudioVolume=%01
should work fine if you're logged in as root, or /usr/bin/sudo /usr/sbin/nvram SystemAudioVolume=%01
if you logged in as an admin user.thanks for very good explanation
I don't know much about unix commands...
But if i'm logged on as root, then I assume the 4 directories commands should work and move me to that directories
And if not the directories is not there?
-bash-3.2# /bin
-bash-3.2# /sbin
-bash-3.2# /usr/bin
-bash-3.2# /usr/sbin
MacUser2525:~$ pwd
/Users/MacUser2525
MacUser2525:~$ cd Documents/
MacUser2525:~/Documents$ cd
MacUser2525:~$ pwd
/Users/MacUser2525
MacUser2525:/bin$ cd /bin/
MacUser2525:/bin$ ./rm
cd /bin
to go to the 'bin' folder, followed by /bin/ls
to see what files (commands) are there. If that doesn't work, try /usr/bin/cd /bin
instead -- but for some reason that I don't understand /usr/bin/cd doesn't seem to work for me.That's because 'cd' is a shell builtin.... If that doesn't work, try/usr/bin/cd /bin
instead -- but for some reason that I don't understand /usr/bin/cd doesn't seem to work for me.