Linux восстановить диск ntfs

How can I run fsck on ntfs partitions on my hard drive? [duplicate]

A few years ago I switched from Windows to Ubuntu 14.04 LTS for my desktop PC. I installed the Ubuntu operating system (root+home+swap) in the space previously assigned to the C partition, while the other partitions (D,E,F and G) were left undisturbed. Thus the partitions containing the new operating system now have the ext4 file system while the other partitions continue with ntfs. This has been serving my purpose well enough. Recently, however, for the first time I made several attempts to run fsck on the ntfs partitions of the hard drive, and I received the following message:

fsck from util-linux 2.20.1 fsck: fsck.ntfs: not found fsck: error 2 while executing fsck.ntfs for /dev/sda5 

When I try to run fsck on my external hard drive, which also has ntfs, the message that is returned is:

fsck from util-linux 2.20.1 e2fsck 1.42.9 (4-Feb-2014) ext2fs_open2: Bad magic number in super-block fsck.ext2: Superblock invalid, trying backup blocks. fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb 

The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the device is valid and it really contains an ext2/ext3/ext4 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 or e2fsck -b 32768

Can anybody please throw any light on what is happening and how I can run fsck on ntfs partitions and devices?

Источник

How to recover a deleted NTFS partition with data

enter image description here

I am on Ubuntu 12.04 64-bits I accidentally deleted a NTFS 255 GB partition using Gparted, and yes it contains LOTS of important data. Upon realizing the deletion I haven’t yet created any file-system on it. So it still shows Unallocated. I tried Testdisk , but it shows entire partitions created from the beginning. This sdb is my secondary drive with Xubuntu and Kubuntu on it. And that 255 GB NTFS partition was cross platform storage drive. I am currently in sda with Ubuntu and Win7 in dual boot, which enables me to use it as Safe recovery option rather then Live USB drive. First , should i allocate it to ? file-System for better recovery . Second , i really need to recover data from this drive so please give me possible suggestions and proven methods of data recovery. Third ,does Testdisk requires deleted partition to be allocated for its recovery . I am currently trying the answer seen here https://askubuntu.com/a/24951/63025 with Testdisk scanning for partition second time, hoping to recover it. It looks a duplicate but i can’t confirm if the OP got it right. Since my first doubt is to allocate it or not. If any clarification required please do comment ,i will add it. Edit: TestDisk deeper search results.

 The following partitions can't be recovered: Partition Start End Size in sectors > HPFS - NTFS 22241 107 11 55592 3 27 535777280 FAT32 LBA 274460 158 19 460576 228 16 2989957948 NTFS, 274 GB / 255 GiB & for FAT32 LBA 1530 GB / 1425 GiB 

Did you actually commit the changes? If you just delete, it will not do anything on disk until you manyally allow it to go ahead with the changes.

Читайте также:  Linux delete swap file

Источник

Как исправить поврежденную файловую систему Windows NTFS с помощью Ubuntu

Если вы не можете загрузить свою Windows или у вас возникли проблемы с подключением раздела NTFS Windows, Ubuntu всегда готов все исправить.

У скольких из вас было такое чувство, что ваш компьютер не загружается? Вы чувствуете, небольшое беспокойство в глубине вашего сознания, которое говорит: «Это занимает больше времени, чем обычно», прежде чем Windows упадет замертво перед вами и покажет синий экран.

Когда дело доходит до исправления вашей сломанной Windows, Ubuntu тоже может помочь. Если вам случится повредить вашу файловую систему или главную загрузочную запись в Windows, не бойтесь, не все потеряно. Вы можете использовать Ubuntu для устранения проблем, связанных с операционной системой Windows. Этот метод должен работать с любым дистрибутивом Linux на базе Ubuntu.

Установите и загрузите Ubuntu

Те из вас, у кого уже есть компьютер с Ubuntu и Windows с двойной загрузкой, могут пропустить этот шаг.

Если у вас нет USB-накопителя, вам нужно его достать. Но сначала вам нужно загрузить официальный установочный ISO-файл Ubuntu.

После этого пришло время создать новый загрузочный Ubuntu USB. Существует несколько инструментов для создания загрузочного USB-файла из файла ISO, но вы можете использовать balenaEtcher , поскольку он поставляется с простым в использовании интуитивно понятным интерфейсом. Все, что вам нужно сделать, это выбрать файл ISO и мультимедийное устройство и нажать Flash .

Если вы используете двойную загрузку, то это простой шаг выбора Ubuntu вместо Windows при загрузке. Для live USB -накопителей и компакт-дисков вам нужно будет войти в настройки BIOS при загрузке компьютера (обычно нажатием F2 или Del ) и настроить загрузочные устройства так, чтобы ваше USB-устройство или дисковод компакт-дисков загружались приоритетнее основного жесткого диска.

Читайте также:  Chmod 777 root linux

Если вы все сделали правильно, появится загрузчик Ubuntu. Отсюда вы загрузитесь непосредственно в действующую операционную систему, выбрав Ubuntu . Через минуту или две вы увидите, как появится рабочий стол, и можно начать.

Исправление поврежденного раздела Windows NTFS

Вы можете запланировать проверку NTFS, чтобы попытаться восстановить поврежденный раздел Windows NTFS из Ubuntu, но сначала вам нужно будет установить некоторые пакеты. Стоит отметить, что это должно работать с любым диском NTFS, который также отказывается монтироваться в Ubuntu.

Откройте терминал и установите NTFS-3G, введя эту команду:

Источник

Fix corrupt NTFS partition without Windows

GParted screenshot showing different partitions

MY NTFS Partition has gotten corrupt somehow (it’s a relic from the days when I had Windows installed). I’m putting the debug output of fdisk and blkid here. At the same time, any OS is unable to mount my root partition, which is located next to my NTFS partition. I’m not sure if this has anything to do with it, though. I get the following error while trying to mount my root partition (sda5)

mount: wrong fs type, bad option, bad superblock on /dev/sda5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so ubuntu@ubuntu:~$ dmesg | tail [ 1019.726530] Descriptor sense data with sense descriptors (in hex): [ 1019.726533] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 [ 1019.726551] 1a 3e ed 92 [ 1019.726558] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed [ 1019.726568] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 1a 3e ed 40 00 01 00 00 [ 1019.726584] end_request: I/O error, dev sda, sector 440331666 [ 1019.726602] JBD: Failed to read block at offset 462 [ 1019.726609] ata1: EH complete [ 1019.726612] JBD: recovery failed [ 1019.726617] EXT4-fs (sda5): error loading journal 

GParted Screenshot showing error

When I open gparted (using live CD), I get an exclamation next to my NTFS drive which states Is there a way to run chkdsk without using windows ? My attempt to run fsck results in the following :

ubuntu@ubuntu:~$ sudo fsck /dev/sda fsck from util-linux-ng 2.17.2 e2fsck 1.41.14 (22-Dec-2010) fsck.ext2: Superblock invalid, trying backup blocks. fsck.ext2: Bad magic number in super-block while trying to open /dev/sda The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193

Update: I was able to fix the NTFS partition running chkdsk off Hiren’s BootCD, but it seems that the superblock problem still remains. Update 2: Fixed superblock issue using e2fsck -c /dev/sda5

Читайте также:  Minecraft linux mod loader

Источник

Оцените статью
Adblock
detector