LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2013, 10:02 PM   #1
whathaveidon
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Rep: Reputation: Disabled
Partition Manager Crash


So I just installed Mint 14 KDE 64-bit yesterday and today I was doing some computer cleanup (deleting some some extra partitions created by dell and moving others around to have a free partition for files). So I was in the process of moving my windows partition to the left and it got to around 21% when the partition manager crashed on me! Now I am left with an unbootable windows, which I cannot reinstall because I don't know the key #! (I also have some less important files that I didn't backup but I would rather keep). I tried running a disk check in the Partition manager, but windows is stuck in hibernate... Do you guys have any input on the matter? I would really appreciate it, thanks!
 
Old 04-02-2013, 10:19 PM   #2
hilyard
Member
 
Registered: Jan 2010
Location: Inland PNW
Distribution: Lite | siduction
Posts: 291

Rep: Reputation: 66
Welcome to GNU/Linux, where mistakes don't cost money, just time enough to learn how not to make the same mistake again!
I have been free of the Pane for four years now, almost. You can become so, too, if desired!
 
Old 04-02-2013, 10:27 PM   #3
whathaveidon
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hilyard View Post
Welcome to GNU/Linux, where mistakes don't cost money, just time enough to learn how not to make the same mistake again!
I have been free of the Pane for four years now, almost. You can become so, too, if desired!
Yes, I am eager to learn! But I have a lot of programs that I still need to use on windows, so the pain remains. Especially now that I cannot boot windows
 
Old 04-02-2013, 10:33 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,552

Rep: Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112
Migrating partitions is always perilous, and should never be attempted without first backing up everything on the drive.

I assume by the wording of your post that you did not make a backup first, in which case you should cease ALL I/O on the drive in question, and use a utility such as testdisk or photorec to attempt to recover the files you need. If nothing has been written to the drive since this fubar, then you have a good chance of recovering most of the files that were present on it at the time it was...killed. However, chances are this will not save your Windows installation, it will merely allow you to recover pictures, music, movies, documents, etc that were saved on that partition.

As for recovering Windows itself...the chances aren't good. It really depends on what you were doing to the drive and what the progress was when it crashed. Why do you not have the Windows key? Even OEM installations provide you with a key or a recovery partition for re-installation. Depending on the status of the drive, it may be recoverable. If you could post the output of the following, along with your idea of the sizes of your drives, partitions, and the contents of each, it would help:

Code:
sudo fdisk -l
sudo df -hl
 
Old 04-02-2013, 11:02 PM   #5
whathaveidon
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
Migrating partitions is always perilous, and should never be attempted without first backing up everything on the drive.

I assume by the wording of your post that you did not make a backup first, in which case you should cease ALL I/O on the drive in question, and use a utility such as testdisk or photorec to attempt to recover the files you need. If nothing has been written to the drive since this fubar, then you have a good chance of recovering most of the files that were present on it at the time it was...killed. However, chances are this will not save your Windows installation, it will merely allow you to recover pictures, music, movies, documents, etc that were saved on that partition.

As for recovering Windows itself...the chances aren't good. It really depends on what you were doing to the drive and what the progress was when it crashed. Why do you not have the Windows key? Even OEM installations provide you with a key or a recovery partition for re-installation. Depending on the status of the drive, it may be recoverable. If you could post the output of the following, along with your idea of the sizes of your drives, partitions, and the contents of each, it would help:

Code:
sudo fdisk -l
sudo df -hl
Damn... Thought so... I may have the key, but I am using a laptop that came preinstalled with windows, so I don't know where to find it. Any ideas?

I deleted the 312MB Dell utility partition already so its gone. However, I still have the 19.82GB RECOVERY partition.


Luckily, I did back up all my school work and I was able to force unmount the drive to start backing up other media.

I am also in the process of downloading an iso of the windows installation disc, in case I can do anything with that.

Thanks a lot for the help so far!
 
Old 04-02-2013, 11:04 PM   #6
whathaveidon
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Here is the fdisk data:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbfa53dc7

Device Boot Start End Blocks Id System
/dev/sda2 * 63 41560154 20780046 7 HPFS/NTFS/exFAT
/dev/sda3 41560155 592898138 275668992 7 HPFS/NTFS/exFAT
/dev/sda4 906266622 976771071 35252225 5 Extended
/dev/sda5 953335808 976771071 11717632 83 Linux
/dev/sda6 918179840 953335807 17577984 83 Linux
/dev/sda7 917985280 918177791 96256 83 Linux
/dev/sda8 906266624 917983231 5858304 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3e12cce7

Device Boot Start End Blocks Id System
/dev/sdc1 63 3907024064 1953512001 7 HPFS/NTFS/exFAT

---------- Post added 04-02-13 at 11:05 PM ----------

And here is the df data:

Filesystem Size Used Avail Use% Mounted on
/dev/sda6 17G 4.9G 11G 32% /
udev 2.9G 12K 2.9G 1% /dev
tmpfs 1.2G 1.9M 1.2G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.9G 84K 2.9G 1% /run/shm
none 100M 12K 100M 1% /run/user
/dev/sda5 11G 1.6G 8.9G 16% /home
/dev/sda7 92M 40M 47M 46% /boot
/dev/sda3 263G 222G 42G 85% /media/OS
 
Old 04-04-2013, 06:40 PM   #7
whathaveidon
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
any ideas?
 
Old 04-04-2013, 07:42 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,956

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Not many - and none that are likely to do you any good.
ntfs-3g specifically warns against screwing with hibernated NTFS systems. There are Linux tools for NTFS, but the fsck/fix tools are somewhat less than the (proprietary) Windows ones. See "man ntfsprogs".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Desktop File manager crash sababa.sababa Linux - Desktop 2 07-28-2010 12:08 PM
gnome-power-manager crash tomwang Fedora 0 06-26-2007 06:13 AM
software manager crash bug joecool169 Fedora 3 12-19-2006 01:53 PM
Several Apps Crash Back to Login-Manager electronique Slackware 6 11-19-2004 09:03 AM
gnome-theme-manager crash christer Linux - Software 1 12-12-2003 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration