DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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?
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?
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.
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.
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.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.