Jump to content
8 posts in this topic

Recommended Posts

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? :angry: I have no idea what I do wrong. It should work?

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.

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.

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!

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.

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! :)

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).

×
×
  • Create New...