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

Re: Problems with SILO (Sparc slink)



> Hmm, this thread is too repetitive.  I propose to fix the installer to enfore a
> Sun disklabel on the disk.
> I guess it could be fixed in either 2 ways:
> - add some obscure option to fdisk telling it to treat non Sun disklabel the
>   same way as blank disk
> - or check for a Sun disklabel before calling fdisk, zeroes the partition table
>   if not found, then call fdisk.

I don't like either of these, because it is possible that someone
really does want to keep the old partition table. People use
installation media for all sorts of things. The other day I saw a
colleague here rescuing an NT machine with a broken partition table by
using a Red Hat installation CD for example ...

I think:

 - the 's' option should always be visible in fdisk

 - dbootstrap should check for a Sun disk label after calling fdisk
and issue a warning if it doesn't find one, something like:
"/dev/whatever appears not to have a Sun disk label. This means you
will not be able to boot directly from this disk. You can create a Sun
disk label with the option 's' in fdisk." with options to continue or
run fdisk again. (But I can't remember at the moment how these
messages are usually phrased; I'd have to look at the context again ...)

Edmund


Reply to: