[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: partition table incorrect/ fdisk messed up?



On Tue, Jan 28, 2003 at 06:50:38AM -0500, ajlewis2@intac.com wrote:
> > I have remade a partition table before from a printout after losing it.  The
> > data was still there.
> 
> Something is nagging me about this remaking the partition table.  I'm not
> positive, but I think it is important to reboot before writing to the
> partitions.  So just to be safe, be sure that you reboot after you remake
> the table whether you do it by moving all the data first or by just leaving
> the data in place.  I think there is a warning about that when you do the
> write with linux fdisk at the end of editing the table, but I'm not sure
> about that.

There is indeed such a warning. After writing to the partition table,
you're supposed to reboot before writing to / creating filesystems on
the disk, it seems. If the disk is supported by a kernel module,
removing the module and reinserting it seems to suffice. I must say
this seems unpleasantly DOSy. Thought you weren't supposed to have to
reboot Linux? :-)

Pigeon



Reply to: