From: HTom4722@aol.com
Date: Wed Sep 06 2000 - 17:21:54 CEST
In a message dated 9/6/00 9:40:56 AM Central Daylight Time, vessu@dlc.fi
writes:
Yikes.
It looks like the swap partition is a primary partition, or fdisk thinks it
should be,
and so it's bumping the counter inappropriately. But it doesn't look (to my
mostly
inexperienced eyes) that the kernel is counting correctly either.
from these this or this
1 151 dos hda1 hda1
152 272 linux swap hda2 hda2
(hda3) unused
273 989 extended hda3 hda4
273 422 linux native hda4 hda5
423 989 linux native hda5 hda6
is what I would have expected from those begin-end pairs. Someone else, I
hope,
can enlighten us both.
htom
> > > On my laptop I have this mu 9R5 installation, disk with following
> > > partitions 1 Primary (/dev/hda1 housing dos and thinkpad utilities),
> > > 1 Extended (/dev/hda2) in wich are: two ŽLinux-native pratitions
> > > (/dev/hda5 & /dev/hda6) one linix-swap (/dev/hda3)
> > >
> > > The proplem is that fdisk reports partitions that are on the extended
> > > partition incorrectly, it says that they are /dev/hda5 & /dev/hda6.
> > > The kernel gives out correct partition information at boot time, my
> > > root is on /dev/hda5 (wich doen't exist acording to fdisk...) and my
> > > /home is on /dev/hda6
>
> > My first question is "what happened to hda4?" (Used to hold the
extended
> > partition table, IIRC)
>
> Well hare is the output from fdisk I hope that this helps
>
> Disk /dev/hda: 10 heads, 34 sectors, 989 cylinders
> Units = cylinders of 340 * 512 bytes
>
> Device Boot Begin Start End Blocks Id System
> /dev/hda1 * 1 1 151 25653 4 DOS 16-bit <32M
> /dev/hda2 273 273 989 121890 5 Extended
> /dev/hda3 152 152 272 20570 82 Linux swap
> /dev/hda6 423 423 989 96373 83 Linux native
> /dev/hda7 273 273 422 25482+ 83 Linux native
>
> So the hda6 is really know as hda5 by kernel and the hda7 is realy
> hda6
>
>
> > Second question is "what's the conflict -- both say hda5 & hda6?"
> The fdisk says hda6 & hda7, kernel says hda5 & hda6
>
> > Third question is "what, exactly, does fdisk say about all of the
> partitions?"
> Consult the output.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk
This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:15 CET