EagleFlight Posted September 7, 2009 Share Posted September 7, 2009 Hello! I'm trying to access my USB stick from the DVD Terminal when booting iPC 10.5.6. But when I type cd /Volumes/<my USB name>, nothing happens. No error messages, no response. Nothing happens. cd /Volumes/Hackintosh doesn't help either. So, what is the problem? I have no idea what I do wrong. It should work? Link to comment https://www.insanelymac.com/forum/topic/184796-using-terminal-when-booting-from-dvd/ Share on other sites More sharing options...
geiman Posted September 7, 2009 Share Posted September 7, 2009 My guess is it doesn't auto mount in the installer; I've never tried it so I can't tell you, but if you open the Disk utility, you should be able to mount it there. If not, try mounting something like /dev/sda1 that is the actual path to the drive, as in Linux, etc. Link to comment https://www.insanelymac.com/forum/topic/184796-using-terminal-when-booting-from-dvd/#findComment-1255478 Share on other sites More sharing options...
EagleFlight Posted September 7, 2009 Author Share Posted September 7, 2009 I wish it was, but I can't even access my Hackintosh drive. No commands are accepted! It only says "-bash-3.2#" everytime. Link to comment https://www.insanelymac.com/forum/topic/184796-using-terminal-when-booting-from-dvd/#findComment-1255598 Share on other sites More sharing options...
srs5694 Posted September 7, 2009 Share Posted September 7, 2009 In OS X, the device identifier would be /dev/disk1, /dev/disk2, etc., rather than the Linux-style /dev/sda, /dev/sdb, etc. Thus, "mount /dev/disk1 /Volumes/whatever". I believe that /Volumes/whatever must exist beforehand. You might also need to change "mount" to match your filesystem, as in "mount_msdosfs" for FAT, but I'm not positive of that. (My OS X systems are all powered down at the moment, so I can't check.) I wish it was, but I can't even access my Hackintosh drive. No commands are accepted! It only says "-bash-3.2#" everytime. In Unix (including OS X), many commands only produce output when they encounter problems. This is true of the mount command, so if you type a mount command and it succeeds, you'll see no indication of that fact, just another shell prompt. Type "df" to see a list of mounted volumes. If the mount command succeeded, you'll see it in the list. Link to comment https://www.insanelymac.com/forum/topic/184796-using-terminal-when-booting-from-dvd/#findComment-1255602 Share on other sites More sharing options...
EagleFlight Posted September 7, 2009 Author Share Posted September 7, 2009 Tried everything you recommended. I typed "df", and my Hackintosh partition was showed as "Mounted on: /Volumes/Hackintosh" So i tried cd /Volumes/Hackintosh/Library , but nothing happened. I can't access any directory on my disk. I really hope you know what the problem could be And, thank you so much for your fast answers! Link to comment https://www.insanelymac.com/forum/topic/184796-using-terminal-when-booting-from-dvd/#findComment-1255625 Share on other sites More sharing options...
srs5694 Posted September 7, 2009 Share Posted September 7, 2009 Tried everything you recommended. I typed "df", and my Hackintosh partition was showed as "Mounted on: /Volumes/Hackintosh" So i tried cd /Volumes/Hackintosh/Library , but nothing happened. I can't access any directory on my disk. I really hope you know what the problem could be Typing a cd command will not produce any obvious change (although the command prompt might change to show the current working directory, depending on your account and settings). Try typing "ls" before and after the cd command, to see what files are present; or type "pwd" to see your present working directory. If the file list doesn't change or if pwd doesn't show a change, then you've got a problem. So far I'm not convinced you've got a problem, though. Link to comment https://www.insanelymac.com/forum/topic/184796-using-terminal-when-booting-from-dvd/#findComment-1255988 Share on other sites More sharing options...
EagleFlight Posted September 7, 2009 Author Share Posted September 7, 2009 Great! When I types "pwd", I could see that I in fact was in the directory I had changed to. Now I'll try to do some installing and copying later with terminal from the DVD, I hope I get everything to work. But, one more question I was hoping you may know the answer to. Is it possible to set the Present Working Directory as "default"? When I'm working with the terminal inside OS X, I can always see which folder I'm working in. Is this possible from the DVD terminal? I'm talking about the OS X DVD Terminal. That would be really great! Thank you once again for your great help! Link to comment https://www.insanelymac.com/forum/topic/184796-using-terminal-when-booting-from-dvd/#findComment-1256057 Share on other sites More sharing options...
srs5694 Posted September 8, 2009 Share Posted September 8, 2009 You can try playing with the PS1 environment variable. It takes various options that can stand in for information such as your current directory. Check out this page for details, or Google on "bash PS1" for other pages on the topic. One caveat: I've not tried booting an OS X installer to check that this works. It's conceivable the installer uses a shell that does things differently than the usual Mac OS shell (a shell called bash on my system). Link to comment https://www.insanelymac.com/forum/topic/184796-using-terminal-when-booting-from-dvd/#findComment-1256545 Share on other sites More sharing options...
Recommended Posts