From: "Pavel S. Khmelinsky" <hmepas@yauza.ru>
To: led@ukr-fin.com.ua,
ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Strange things with parted partition table iterpretation
Date: Thu, 24 Jun 2004 10:28:12 +0400
Message-ID: <40DA747C.60606@yauza.ru> (raw)
In-Reply-To: <200406231643.43683.led@ukr-fin.com.ua>
Led wrote:
> В сообщении от Среда 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 восстановить все разделы (с сохранёнными параметрами)
Да в общем так в конечном счете и собирался делать, но не хотелось ;) Не люблю я
так.
--
Pavel S. Khmelinsky <hmepas@yauza.ru>
System Administrator,
ISP Yauza Telecom
http://www.yauza.ru
next prev parent reply other threads:[~2004-06-24 6:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-23 13:30 Pavel S. Khmelinsky
2004-06-23 13:43 ` Led
2004-06-24 6:28 ` Pavel S. Khmelinsky [this message]
2004-06-23 20:48 ` Vitaly Lipatov
2004-06-24 6:35 ` Pavel S. Khmelinsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40DA747C.60606@yauza.ru \
--to=hmepas@yauza.ru \
--cc=led@ukr-fin.com.ua \
--cc=sisyphus@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git