HomeForumsEMUG User GroupShuffle NewsletterTrainingAppleIDX PricesGalleryCalendarAboutContactSearch

Go Back   EmiratesMac > Mac stuff > Troubleshooting Mac
Register FAQ Members List Search Today's Posts Mark Forums Read Log Out


Welcome to EmiratesMac! Join EmiratesMac today! Contact us!
Reply
 
LinkBack Thread Tools Display Modes
Sponsored Links
Old 6th January 2007, 22:34   #1 (permalink)
Administrator

 
Magnus's Avatar
 
Join Date: Apr 2006
Location: Dubai
Posts: 8,394
Magnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond repute
Repairing damaged hard drive with single user mode

Tonight I had a reason to really be thankful to Apple for putting in command line access in Mac OS X. I know, I know, some of you don't like command line stuff, but listen to this and you may change your mind.

I was installing Bootcamp on my Macbook (Core 2 Duo, 1.83GHz, 2Gb RAM) because I'm giving a presentation at work tomorrow about how you can run Windows on Mac. I already have Parallels working beautifully and I see no reason to get Bootcamp as well but what the heck, I thought, I'd show them both options.

Anyway, I got the Bootcamp installer, ran it, created the drivers disk, partitioned the Mac hard disk, and at the last screen when you should click for Bootcamp to restart the Mac, I clicked and I got the dreaded "You need to restart your computer..." message, meaning something had gone terribly wrong.

So I rebooted the Mac and held down the Option key to see if I could get into Windows to install it, so I selected the Windows XP installer CD. It booted, installed Windows without problems, installed Apple's drivers, and everything was dandy.

So when Windows XP was all set up I wanted to get back into Mac OS X (who wants to stay in Windows?) and I got that error again, same thing as before. I tried booting from the Mac OS X installer disk, same thing. I tried all things I could think of, no luck. Only thing that worked was booting back into Windows (ah, the irony!)

So what to do?

Well, I tried single user mode. Single user mode is what Apple calls booting a Mac into command line mode, without the fancy graphical user interface.

You boot into single user mode by holding down Command and S when you boot.

That went ok, and once in single user mode I typed in:
Code:
/sbin/fsck -fy
That runs the utility that checks a volume to see if it's feeling okay. After just a few seconds it started to show all kinds of error messages on the screen and after around 10 minutes it was apparently done.

And it said:
Code:
** The volume Macintosh HD was repaired successfully.
Oh, bliss!

Just to be sure, I ran the same command again and it reported no errors.

To finish off, I typed:
Code:
reboot
And the Macbook rebooted straight into Mac OS X and all works fine now.

Just to add one suggestion... before attempting anything with Bootcamp, make sure you have backed up your Mac. In this situation I had done a complete backup just before trying the installation.



Last edited by Magnus : 6th January 2007 at 22:36.
Magnus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 6th January 2007, 23:18   #2 (permalink)
Senior Member

 
Join Date: Jul 2006
Posts: 156
istara is on a distinguished road
That is interesting. I would also like to share some experience I had recently, when I couldn't even Verify my disk because it "couldn't unmount". I think I had found an error, then the next time I verified it it wouldn't unmount. Either way I knew there was something wrong.

So I rebooted from a partition (which I created entirely to fix the main OS partition if/when needed) and got same problem. The supposedly inactive partition "couldn't unmount".

So I went back to my OSX.4 installation CD, and used that. Bingo! That did allow me to Verify and then Repair it fine.
istara is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 6th January 2007, 23:44   #3 (permalink)
Senior Member

 
iDubai's Avatar
 
Join Date: Apr 2006
Location: Hidding in Nadd Alhamar
Posts: 818
iDubai is on a distinguished road
I have to bookmark this page...

Thanks for sharing man
iDubai is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 7th January 2007, 01:43   #4 (permalink)
Senior Member
 
MacUAE's Avatar
 
Join Date: Apr 2006
Posts: 353
MacUAE has much to be proud ofMacUAE has much to be proud ofMacUAE has much to be proud ofMacUAE has much to be proud ofMacUAE has much to be proud ofMacUAE has much to be proud ofMacUAE has much to be proud ofMacUAE has much to be proud of
Its BETA

Well Apple beta software is better than Micro$oft any day!

Thanks for the tip
MacUAE is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 7th January 2007, 06:24   #5 (permalink)
Administrator

 
Magnus's Avatar
 
Join Date: Apr 2006
Location: Dubai
Posts: 8,394
Magnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond reputeMagnus has a reputation beyond repute
Quote:
Originally Posted by MacUAE View Post
Well Apple beta software is better than Micro$oft any day!
Yes, Apple beta > M$ 3.0
Magnus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Apple, the Apple Logo, and Macintosh are trademarks of Apple, Inc., registered in the U.S.A. and other countries. EmiratesMac is a recognized independent user group and has not been authorized, sponsored, or otherwise approved by Apple, Inc.
All times are GMT +4. The time now is 08:13.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0