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

Re: still not booting

Steve Dunham wrote:
> Edmund GRIMLEY EVANS <edmundo@rano.demon.co.uk> writes:
> > First, I'll answer my own question:
> > 
> > > (And how many kinds of incompatible partition table are there?)
> > 
> > The answer is quite a lot. See check_partition() in
> > linux/drivers/block/genhd.c for a list of the ones that Linux can
> > understand.
> > I managed to convert my previous partition table (I don't know what
> > type it was) to a Sun partition table while preserving the ext2 file
> > system in /dev/sda2; /dev/sda1 got trashed, but that was only swap,
> > fortunately. In general you can't always convert a partition table from
> > one type to another because the different types have different rules
> > about where a partition may begin. And there are all sorts of problems
> > with changing geometries ...
> You can't have swap as the first partition on the disk.  The boot
> loader and the swap overwrite each other.

Or you should have the swap partition starting at cylinder 1, not 0 if I
remember a doc I read 2 years ago.
An ext2 partition does not use the first sector even if starting at cylinder
0, therfore leaving the partition table untouched.  It's not the case for swap


 Eric Delaunay                 | "La guerre justifie l'existence des militaires.
 delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)

Reply to: