LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-17-2008, 02:28 PM   #1
yoman82
LQ Newbie
 
Registered: Feb 2008
Posts: 9

Rep: Reputation: 0
Oh Crap. *Hard Drive Unmounted*


Shit. I think I just destroyed my harddrive. I got bored, so I once again put in my Ubuntu Live CD. Fooled around on Chess for a bit, then logged off, ejected the disk and restarted, aiming at getting back to windows. On restarting, I got a Grub Error. (21, I think.) Windows didn't start. I put the boot disk for 'Buntu Back in to check out the harddrive. I clicked it (Both the parts, it's partitioned.) The Former C drive "Cannot Be mounted" but the D drive is functional. (All the file s show up.) Help!
 
Old 02-17-2008, 02:39 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
That is bizarre. So you tried an Ubuntu live CD, but now you get a GRUB error? That means that GRUB installed itself over the Windows bootlodaer. You sure you didn't install Ubuntu? Fear not as your data is probably fine. You just need to fix the bootloader. You can either use Ubuntu's grub-install, or use the Windows recovery cd. You can run fixboot and fixmbr
 
Old 02-17-2008, 02:41 PM   #3
yoman82
LQ Newbie
 
Registered: Feb 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Well, I've got Ubuntu on another drive (Not a partition, another physical disk) But that disk is unplugged on my desk. Windows recovery CD, hm? I'll look around, see if I've still got it. Anyway, what about my drive being unmounted? Will the Windows bootloader thingy fix that?
 
Old 02-17-2008, 04:39 PM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Well that's why. You need to either a) tell your motherboard to boot off of the Windows hard drive, or b) plug back in the Ubuntu on the other drive because that has the bootloader on it.
 
Old 02-17-2008, 04:43 PM   #5
yoman82
LQ Newbie
 
Registered: Feb 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Plug in the other drive? Ok, I'll try it. And... I've told it to boot off the windows drive, still gives me the grub issue. And... I can't find the windows XP disk, so I can't get the boot loader. Any other ideas?
 
Old 02-17-2008, 04:47 PM   #6
yoman82
LQ Newbie
 
Registered: Feb 2008
Posts: 9

Original Poster
Rep: Reputation: 0
AHH! I'm freaking out!!!
I've only got a few more hours to fix this!!
 
Old 02-17-2008, 05:03 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Doesn't the grub menu have a Windows entry. You could boot up to windows that way.

Also, reconnect the Ubuntu drive and boot up to Ubuntu. Look in the /boot directory. Is there a backup of the original MBR file?

If so you could copy it back to the MBR, but first, backup this file onto an external drive like a pendrive or floppy. Also backup the current MBR.
sudo dd if=/dev/sda of=/media/disk/mbr-backup count=1 bs=244
cp /boot/<mbr-backup-file> /media/disk

This assumes that your boot drive is /dev/sda, which is the first drive.
Also make sure you have a live distro disk handy. Just in case.

sudo dd if=/boot/<mbr-backup-file> /dev/sda
 
Old 02-18-2008, 07:10 AM   #8
yoman82
LQ Newbie
 
Registered: Feb 2008
Posts: 9

Original Poster
Rep: Reputation: 0
I got it to give me the option to boot windows, cool. But when I click it, it says NTLDR is compressed and brings me back to the boot menu. I've got a backup of all my files, and the system files for windows are back. The drive is remounted.
 
Old 02-18-2008, 10:56 AM   #9
yoman82
LQ Newbie
 
Registered: Feb 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Whoo! I got it, thanks.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Pen Drive / Flash Drive Unmounted but the power is there teluguswan Linux - Hardware 11 10-04-2008 03:36 PM
How to get the filesystem for an unmounted drive? Tortanick Linux - General 8 03-12-2007 06:20 AM
unmounted hard disk volume/CD ROM: permission denied tuluks Linux - General 7 12-18-2006 02:17 AM
moved files to unmounted drive, cannot find now mrelectron Linux - Software 2 11-13-2006 06:11 PM
playing DVD, CD and mounted & unmounted drive Q. brjoon1021 Linux - Newbie 0 07-25-2006 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration