|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Vitaly Mayatskih 2:5002/60.17 22 Nov 2005 10:19:47 To : Sergey Gernichenko Subject : Re: Срочно нужна помощь -------------------------------------------------------------------------------- SG> Доброго времени суток тебе, *All*! SG> Есть федорка корка 3, так вот, fdisk /dev/hda говорит: SG> The number of cylinders for this disk is set to 8924. SG> There is nothing wrong with that, but this is larger than 1024, SG> and could in certain setups cause problems with: SG> 1) software that runs at boot time (e.g., old versions of LILO) SG> 2) booting and partitioning software from other OSs SG> (e.g., DOS FDISK, OS/2 FDISK) SG> Warning: invalid flag 0x0000 of partition table 4 will be corrected by SG> w(rite) SG> Command (m for help): p SG> Disk /dev/hda2: 73.4 GB, 73402398720 bytes SG> 255 heads, 63 sectors/track, 8924 cylinders SG> Units = cylinders of 16065 * 512 = 8225280 bytes SG> Device Boot Start End Blocks Id System SG> Command (m for help): w А нафига ты её w, если она явно ненормальная (пустая)? SG> The partition table has been altered! SG> Calling ioctl() to re-read partition table. SG> WARNING: Re-reading the partition table failed with error 16: Device or SG> resource busy. SG> The kernel still uses the old table. SG> The new table will be used at the next reboot. SG> Я так понял, слетела Partitions Table, но ядро продолжает использовать SG> старые данные ее... Так вот вопрос, можно ли как-нить выудить партишн SG> тейбл, и записать ее куда нада? SG> Как это сделать? apt-cache show gpart 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. -- wbr, Vitaly Mayatskih --- KNode/0.8.2 * Origin: RLU #331092 (2:5002/60.17) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/3303dfd466b9.html, оценка из 5, голосов 10
|