Re: Invisible Boot Drive?
- From: Tom Stiller <tomstiller@xxxxxxxxxxx>
- Date: Mon, 18 Feb 2008 11:15:03 -0500
In article <fpc9b70e93@xxxxxxxxxxxxxxxxx>,
John Drako <jbravo556@xxxxxxxxxxxxxxxxxxxx> wrote:
On Mon, 18 Feb 2008 04:50:29 -0500, David Empson wrote
(in article <1icj304.5lr0wjiq13oN%dempson@xxxxxxxxxxxxx>):
John Drako <jbravo556@xxxxxxxxxxxxxxxxxxxx> wrote:
System: Leopard 10.5.1 and 10.5.2, iMac 2.8 Ghz boot drive 750 GB
A couple of weeks before 10.5.2 came out, something weird happened:
My boot drive became invisible. It doesn't show in the finder's
sidebar and when I click on the computer's name in the sidebar, the
drive is not listed.
The only way to see it in the Finder is to go my home directory and
hit command-up arrow until I get to the top level. Only then I could
see the drive. But, it's greyed out and it has a time machine drive
icon.
That icon is odd, but it might be a red herring.
The most likely explanation is that the root directory of your hard
drive has somehow been marked as Hidden, and Finder is obediently
hiding it.
You can check whether this is the case using Terminal, and fix it if
necessary.
Launch Terminal (from /Applications/Utilities).
Enter the following command, exactly as shown here (copy and paste
it). It is case sensitve.
ls -ldO /
This does a directory listing of the root directory of your startup
volume (/), only looking at the directory itself, not its contents (d
option), in long form (l option) with flags displayed (O option).
A normal root directory should report something like this:
drwxrwxr-t 40 root admin - 1428 13 Feb 14:24 /
If the hidden flag is set, you will see this:
drwxrwxr-t 40 root admin hidden 1428 13 Feb 14:24 /
If it says "hidden" after the group name, then you can use the
following command to unhide it. You will need to be an admin user for
this one. Again, this is case senstive, so I suggest copying and
pasting.
sudo chflags nohidden /
It will ask for your password, which is your normal one for your user
account. (If you have never used sudo before, it will also display a
brief lecture about the dangers of dabbling with sudo.)
The "sudo" command means "do the following command as the super user"
(i.e. root). The "chflags" command changes flags on files, "nohidden"
means you want to remove the hidden flag, and "/" refers to the root
directory of the startup volume.
Hope this helps!
It sure did; Thanks.
That solved the problem, except for the time machine icon on the drive.
The root directory was indeed hidden. Weird.
The number after the dash (that replaced the word 'hidden') is 1360.
What is the significance of this number?
drwxrwxr-t 38 root admin - 1360 11 Feb 17:15 /
it's the total number of 512-byte blocks used by the files in the
directory
--
Tom Stiller
PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3 7BDA 71ED 6496 99C0 C7CF
.
- References:
- Invisible Boot Drive?
- From: John Drako
- Re: Invisible Boot Drive?
- From: David Empson
- Invisible Boot Drive?
- Prev by Date: Re: MacScan and spyware
- Next by Date: Re: Invisible Boot Drive?
- Previous by thread: Re: Invisible Boot Drive?
- Next by thread: Re: Invisible Boot Drive?
- Index(es):
Relevant Pages
|