From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Led To: ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] Strange things with parted partition table iterpretation Date: Wed, 23 Jun 2004 16:43:43 +0300 User-Agent: KMail/1.6.2 References: <40D98613.8030909@yauza.ru> In-Reply-To: <40D98613.8030909@yauza.ru> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Message-Id: <200406231643.43683.led@ukr-fin.com.ua> X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: led@ukr-fin.com.ua, ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2004 13:42:00 -0000 Archived-At: List-Archive: В сообщении от Среда 23 Июнь 2004 16:30 Pavel S. Khmelinsky написал(a): > [root@localhost root]# fdisk -l /dev/hda > > Disk /dev/hda: 120.0 GB, 120034123776 bytes > 255 heads, 63 sectors/track, 14593 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/hda1 1 1275 10241406 c W95 FAT32 (LBA) > /dev/hda2 * 1276 2492 9775552+ c W95 FAT32 (LBA) > /dev/hda3 2493 3709 9775552+ b W95 FAT32 > /dev/hda4 3710 10617 55488510 5 Extended > /dev/hda5 3710 3832 987966 82 Linux swap > /dev/hda6 3833 5049 9775521 83 Linux > /dev/hda7 5050 8697 29302528+ 83 Linux > /dev/hda8 8698 9306 4891761 83 Linux > /dev/hda9 9307 10617 10530544+ 83 Linux > Т.е. Все ок, так оно и есть > > [root@localhost root]# parted /dev/hda > GNU Parted 1.6.6 > Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, > Inc. This program is free software, covered by the GNU General Public > License. > > This program is distributed in the hope that it will be useful, but WITHOUT > ANY WARRANTY; without > even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. See the GNU > General Public License for more details. > > Using /dev/hda > Information: The operating system thinks the geometry on /dev/hda is > 14593/255/63. Therefore, > cylinder 1024 ends at 8032,499M. > (parted) print > Disk geometry for /dev/hda: 0.000-114473,460 megabytes > Disk label type: loop > Minor Start End Filesystem Flags > 1 0,000 114473,460 fat16 > > Полный бред. > Причем что интересно, когда я ставил sarge (бета нового дистрибутива > Debian) с новым инсталятором, он показывал точно такую же картину которую > кажет parted. Со старым инстялятором все было ок. > > В остальном проблем нет, все ОСи грузятся все работает. > > Кто-нибудь сталкивался с подобным? В чем разница между интерпретацией > таблици партиций у parted и fdisk. Понятно что что-то у меня с partition > talbe не то, вопрос в том как лечить. Можно попробовать следующее: распечатать (или запомнить:)) вывод fdisk -l /dev/hda, с помощью fdisk удалить все разделы, сохранить (w), с помощью fdisk восстановить все разделы (с сохранёнными параметрами) Led.