Partition Table&Linux

Форум для обсуждения любых тем
Sineex

Partition Table&Linux

Сообщение Sineex »

Помогите, пожалуйста.
У меня очистилась Partition Table. Linux смог
восстановить, вспомнив размеры его дисков, а
всё остальное - оставяет желать лучшего.
Вопрос: пишет ли куданибудь Linux эту таблицу
или хотя бы ссведенья где начинаются/заканчиваются
физически диски, которые автоматически подключаются
(запись о которых есть в fstab'е)???

p.s.Можно отвечать на Sineex@tut.by

Аватара пользователя
Jek
Неотъемлемая часть форума
Сообщения: 425
Зарегистрирован: 25 авг 2002, 08:50
Откуда: Minsk
Контактная информация:

Сообщение Jek »

Да вроде никуда не пишет, да и не должен писать.
А для восстановления таблицы разделов попробуй gpart:

$apt-cache show gpart
Package: gpart
Priority: optional
Section: admin
Installed-Size: 67
Maintainer: David Coe <davidc@debian.org>
Architecture: i386
Version: 0.1h-3
Depends: libc6 (>= 2.2.4-4)
Filename: pool/main/g/gpart/gpart_0.1h-3_i386.deb
Size: 34326
MD5Sum: 5e083e52ca013f3f8a83869908aa8330
Description: Guess PC disk partition table, find lost partitions
Gpart is a tool which tries to guess the primary partition table of a
PC-type disk in case the primary partition table in sector 0 is
damaged, incorrect or deleted.
.
It is also good at finding and listing the types, locations, and
sizes of inadvertently-deleted partitions, both primary and logical.
It gives you the information you need to manually re-create them
(using fdisk, cfdisk, sfdisk, etc.).
.
The guessed table can also be written to a file or (if you firmly
believe the guessed table is entirely correct) directly to a disk
device.
.
Supported (guessable) filesystem or partition types:
.
* BeOS filesystem type.
* FreeBSD/NetBSD/386BSD disklabel sub-partitioning
scheme used on Intel platforms.
* Linux second extended filesystem.
* MS-DOS FAT12/16/32 "filesystems".
* IBM OS/2 High Performance filesystem.
* Linux LVM physical volumes (LVM by Heinz Mauelshagen).
* Linux swap partitions (versions 0 and 1).
* The Minix operating system filesystem type.
* MS Windows NT/2000 filesystem.
* QNX 4.x filesystem.
* The Reiser filesystem (version 3.5.X, X > 11).
* Sun Solaris on Intel platforms uses a sub-partitioning
scheme on PC hard disks similar to the BSD disklabels.
* Silicon Graphics' journalling filesystem for Linux.
.
Other types may be added relatively easily, as separately compiled modules.
"Но в декабре я по ошибке позвонил вместо
модема на винчестер." (Linus Torvalds, "Just for fun")

Ответить