fdisk: wrong system type

cd1 cd1 at biz.tiscali.be
Mon Jun 20 21:23:31 UTC 2005


On Monday 20 June 2005 23:01, Matthew Miller wrote:
> On Mon, Jun 20, 2005 at 10:49:58PM +0200, cd1 wrote:
> > I recently modified a partition (replacing W95-FAT32 by a Linux) using
> > fdisk. I was able to format it (filesystem ext3) and can mount it without
> > any problem as a Linux partition.
> > But fdisk still display it on the previous system type (see hereafter).
>
> The partition table (what's displayed by fdisk) doesn't actually have a
> clue what's on the partition -- what it thinks is completely independent of
> reality. You can change it with fdisk -- use the "l" command to list
> possible partition types, and "t" to change. ("83" is what you want.)
>
> You probably can even do this on a live system without losing data. But,
> um, don't hold me to that.
>
> --

I tried 't' option with 83 value. But 'w' to write changes return the 
following:
(...)
WARNING: Re-reading the partition table failed with error 22: Invalid     
argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
(...)
But reboot doesn't change anything.

Note: I notice your remark about partition table but so why displayed types 
for others partitions are correct ?
It seems original type can not be replaced once wrote (but where ?).




More information about the fedora-list mailing list