Re: Восстановление после формата
Добавлено: 10 дек 2013, 15:18
есть ли существенная разница между 86 и 87 ntfs? спасибо
Форум по операционной системе GNU/Linux и свободному программному обеспечению
http://linux-ru.ru:80/
Ни в коем случае!liquid писал(а):есть ли существенная разница между 86 и 87 ntfs? спасибо
Код: Выделить всё
86 NTFS volume set
87 NTFS volume set
Код: Выделить всё
[olej@nvidia ~]$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, всего 312581808 секторов
Units = секторы of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x7c8982da
Устр-во Загр Начало Конец Блоки Id Система
/dev/sdb1 * 63 102430439 51215188+ 7 HPFS/NTFS/exFAT
/dev/sdb3 102430720 312580095 105074688 f W95 расшир. (LBA)
/dev/sdb5 102432768 312580095 105073664 7 HPFS/NTFS/exFAT
Код: Выделить всё
[liveuser@localhost ~]$ sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes, 625142448 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 label type: dos
Disk identifier: 0x1707a8a5
Устр-во Загр Начало Конец Блоки Id Система
/dev/sda1 * 2048 206847 102400 42 SFS
/dev/sda2 206848 84092927 41943040 42 SFS
/dev/sda3 84092928 90342927 3125000 82 Linux swap / Solaris
/dev/sda4 90343422 625141759 267399169 5 Extended
/dev/sda5 90343424 625141759 267399168 83 Linux
Disk /dev/sdb: 4009 MB, 4009754624 bytes, 7831552 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 label type: dos
Disk identifier: 0xc3072e18
Устр-во Загр Начало Конец Блоки Id Система
/dev/sdb1 * 8064 7831551 3911744 c W95 FAT32 (LBA)
Disk /dev/mapper/live-rw: 8589 MB, 8589934592 bytes, 16777216 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 /dev/mapper/live-osimg-min: 8589 MB, 8589934592 bytes, 16777216 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
[liveuser@localhost ~]$ sudo fdisk /dev/sda4
Вы должны установить цилиндры.
Вы можете сделать это из меню дополнительных функций.
Welcome to fdisk (util-linux 2.23.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Команда (m для справки): m
Действие команды
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
g create a new empty GPT partition table
G create an IRIX (SGI) partition table
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Команда (m для справки): sudo fdisk /dev/sda5
Building a new Sun disklabel.
Partition 1 of type Linux native and of size 512 B is set
Partition 2 of type Linux swap and of size 512 B is set
Partition 3 of type Whole disk and of size 512 B is set
Команда (m для справки):
Я как понимаю, но это вы лучше меня должны знать где у вас какой диск , судя по размерам:liquid писал(а):я пока на другом месте топчусь - какой раздел выбирать? sda4 или sda5 ? спасибо за быстрый ответ!Код: Выделить всё
[liveuser@localhost ~]$ sudo fdisk -l Disk /dev/sda: 320.1 GB, 320072933376 bytes, 625142448 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 label type: dos Disk identifier: 0x1707a8a5 Устр-во Загр Начало Конец Блоки Id Система /dev/sda1 * 2048 206847 102400 42 SFS /dev/sda2 206848 84092927 41943040 42 SFS /dev/sda3 84092928 90342927 3125000 82 Linux swap / Solaris /dev/sda4 90343422 625141759 267399169 5 Extended /dev/sda5 90343424 625141759 267399168 83 Linux
Код: Выделить всё
[liveuser@localhost ~]$ sudo fdisk /dev/sdb
Welcome to fdisk (util-linux 2.23.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Команда (m для справки): l
0 Пустой 24 NEC DOS 81 Minix / старый bf Solaris
1 FAT12 27 Hidden NTFS Win 82 Linux своп / So c1 DRDOS/sec (FAT-
2 XENIX root 39 Plan 9 83 Linux c4 DRDOS/sec (FAT-
3 XENIX usr 3c PartitionMagic 84 OS/2 скрытый ди c6 DRDOS/sec (FAT-
4 FAT16 <32M 40 Venix 80286 85 Linux расширен c7 Syrinx
5 Расширенный 41 PPC PReP Boot 86 NTFS набор томо da Данные не ФС
6 FAT16 42 SFS 87 NTFS набор томо db CP/M / CTOS / .
7 HPFS/NTFS/exFAT 4d QNX4.x 88 Linux plaintext de Dell Utility
8 AIX 4e QNX4.x 2-я част 8e Linux LVM df BootIt
9 AIX загрузочный 4f QNX4.x 3-я част 93 Amoeba e1 DOS access
a OS/2 Boot-менед 50 OnTrack DM 94 Amoeba BBT e3 DOS R/O
b W95 FAT32 51 OnTrack DM6 Aux 9f BSD/OS e4 SpeedStor
c W95 FAT32 (LBA) 52 CP/M a0 IBM Thinkpad hi eb BeOS фс
e W95 FAT16 (LBA) 53 OnTrack DM6 Aux a5 FreeBSD ee GPT
f W95 расшир. (LB 54 OnTrackDM6 a6 OpenBSD ef EFI (FAT-12/16/
10 OPUS 55 EZ-Drive a7 NeXTSTEP f0 Linux/PA-RISC з
11 Скрытый FAT12 56 Golden Bow a8 Darwin UFS f1 SpeedStor
12 Compaq диагност 5c Priam Edisk a9 NetBSD f4 SpeedStor
14 Скрытый FAT16 < 61 SpeedStor ab Darwin загрузоч f2 DOS вторичный
16 Скрытый FAT16 63 GNU HURD или Sy af HFS / HFS+ fb VMware VMFS
17 Скрытый HPFS/NT 64 Novell Netware b7 BSDI фс fc VMware VMKCORE
18 AST SmartSleep 65 Novell Netware b8 BSDI своп fd Автоопределение
1b Скрытый W95 FAT 70 DiskSecure Mult bb Boot Wizard скр fe LANstep
1c Скрытый W95 FAT 75 PC/IX be Solaris загр. ff BBT
1e Скрытый W95 FAT 80 Old Minix
Команда (m для справки): sudo fdisk -l /dev/sdb
Building a new Sun disklabel.
Partition 1 of type Linux native and of size 3,7 GiB is set
Partition 2 of type Linux swap and of size 48,8 MiB is set
Partition 3 of type Whole disk and of size 3,7 GiB is set
Команда (m для справки): 7
7: неизвестная команда
Действие команды
a toggle a read only flag
c toggle the mountable flag
d delete a partition
g create a new empty GPT partition table
G create an IRIX (SGI) partition table
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Команда (m для справки):
Что вы делаете?!liquid писал(а):спасибо, что поправили! поясните как теперь выбрать и применить НТФС к диску? ниже код..
Код: Выделить всё
$ sudo fdisk /dev/sda
3. все команды fdisk односимвольные: m, l, t, n, ...liquid писал(а):Код: Выделить всё
[liveuser@localhost ~]$ sudo fdisk /dev/sdb Welcome to fdisk (util-linux 2.23.1).
Это что такое?liquid писал(а):Код: Выделить всё
Команда (m для справки): sudo fdisk /dev/sda5
Код: Выделить всё
Устр-во Загр Начало Конец Блоки Id Система
/dev/sda1 * 2048 206847 102400 42 SFS
/dev/sda2 206848 84092927 41943040 42 SFS
/dev/sda3 84092928 90342927 3125000 82 Linux swap / Solaris
/dev/sda4 90343422 625141759 267399169 5 Extended
/dev/sda5 90343424 625141759 267399168 7 HPFS/NTFS/exFAT
Да вы это могли делать в любой момент времениliquid писал(а):могу ли теперь пробовать сканировать потерянные файлы?
Не думаю, что хотя бы минимальная разница будет.liquid писал(а):вообщем.. сканировал полдня разными прогами и в итоге бол-во файлов битые.. не могу восстановить
все сканировал, когда использовал Windows7 LiveCD, есть ли большая разница, что не ставил как чистую версию на диск С?
Это сильно зависит от того какой Windows.liquid писал(а): напишите, пож-та, как установить Windows и несколько Линукс версий вместе? хочу попробовать Debian, Slackware, Boddhi, Fedora