LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-16-2011, 03:10 PM   #1
rob33n
Member
 
Registered: May 2007
Location: Turkey
Distribution: Debian, Windows
Posts: 134

Rep: Reputation: 16
After upgrade my system Windows 7 is not open


Hello. I upgraded my system today to 5.0.8 lenny.
Kernel is Linux debian 2.6.26-2-686.

After upgrade my grub has changed and windows has gone. Anyway I rewrite it but this time when I choose Windows at first boot it gives me error like 0xc000000f, The boot selection failed because a required device is inaccessible.
And then I open gparted and check the ntfs disk and it gives me an error like `the device does not have a valid ntfs`
How can I fix it?
 
Old 05-16-2011, 03:14 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Boot from your Windows DVD and run a filesystem-check. But in fact, a Debian upgrade should in no way touch the Windows installation, are you sure that these two things are really related?
 
Old 05-16-2011, 03:48 PM   #3
rob33n
Member
 
Registered: May 2007
Location: Turkey
Distribution: Debian, Windows
Posts: 134

Original Poster
Rep: Reputation: 16
Yes. Because before upgrade the system was stable and after upgrade I did nothing. I just upgrade and reboot the system.
Right now I don't have a disk, but if I can't find a windows dvd can I fix nfts partition from console? Do you have any idea?
 
Old 05-16-2011, 04:58 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you can't find a Windows 7 DVD you can download the Windows 7 trial version from Microsoft for this purpose.
What do you mean with console, Linux or Windows? I don't know if Linux can do this, I think that there is no tool for this purpose. If you can get to the Windows console you can use chkdsk for that.
 
Old 05-16-2011, 07:26 PM   #5
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
I think, would be good to check the documentation (I do not use MS at all), that testdisk will repair MS partitions and even the MBR for MS boot.
 
Old 05-16-2011, 07:53 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
OK, I have looked that up, and you are right. It can rebuild the MFT on NTFS partitions using the MFT mirror, and it can rebuild the NTFS bootloader. So may be testdisk is an option here.
 
Old 05-16-2011, 09:12 PM   #7
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
MFT? WTF?

Does that stand for something that is just for folks over 21?

Boy am I glad I left MS in the past.
 
Old 05-17-2011, 02:53 PM   #8
rob33n
Member
 
Registered: May 2007
Location: Turkey
Distribution: Debian, Windows
Posts: 134

Original Poster
Rep: Reputation: 16
I really don't know why debian did this but my ntfs partition was formatted. Very interesting. I checked with 2 Windows 7 dvd and 1 Windows Xp cd. And my partition has no data.
I also repair the boot with fixboot and fixmbr and tried again but nothing changed.
I formated my computer and I will reinstall debian and will try again. Thank you.
 
Old 05-17-2011, 06:22 PM   #9
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
It would be best to use a live CD and format the partitions you are going to use before installation. Then the installer partitioner will not need to format anything.

All you need do then, using the "manual" option, is tell it to use the partition with the format you used when making the partitions (ext4), the mmount point (/. /home, etc), keep data (no format) and that is that. It will then install on those partitions and nothing will be formatted.
 
Old 05-18-2011, 02:35 PM   #10
rob33n
Member
 
Registered: May 2007
Location: Turkey
Distribution: Debian, Windows
Posts: 134

Original Poster
Rep: Reputation: 16
Yes I know this solution but when I use live cd and Windows dvd it was no data and it was formatted.
I mean I didn't have to rescue anything. It's a little weird.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
synaptic upgrade quit; blasted on using apt-get;upgrade; x-windows now gone blupton Linux - Newbie 0 11-22-2009 03:48 PM
Pirut Rpmdb open fail - tried to install software now cant open system LinuxGarcia Linux - Newbie 1 02-03-2009 05:41 PM
how to open the windows system from fedora nthulasidaran Linux - Newbie 1 12-14-2007 12:15 AM
Develop Kernel + System using Windows (Open to Public) from Linux KDee Linux - General 7 12-11-2006 08:56 AM
LXer: Open Country Upgrades Webmin Open Source IT System Administration ... LXer Syndicated Linux News 0 11-25-2006 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:47 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