Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@gortel.phys.ualberta.ca>
Subject: Re: boot block
Date: 1 Jun 2002 18:27:27 GMT	[thread overview]
Message-ID: <adb3mf$bbm$1@pulp.srv.ualberta.ca> (raw)
In-Reply-To: yV6K8.46816$3g4.3626948@zwoll1.home.nl

Marcel Pol <devnull@chaosmongers.org> wrote:
> M�ns Rullg�rd wrote:

>> Marcel Pol <devnull@chaosmongers.org> writes:
>> 
>>> Currently I boot with srm and aboot from a floppy, to a / filesystem at
>>> /dev/sda2.
>>> I also have 20 Mb at the start of the disk.

Do you mean a free space?  'aboot' takes around 80 K of that space
plus a bit of an "overhead" (layout, a partition table itself) and a
general advice is "leave the first cylinder free" which leaves you
with a lot of a "safety zone".  More precisely you can include this
space in a partition of an "unused" type (BSD label partition allows
for overlapping partitions) which is harmless but ignored by Linux
and may be needed if you need partitioning backward compatibility 
for some reasons.

>>> It uses a Dos disklabel.

SRM firmware will not boot from that.  OTOH you do not need to boot from
a disk, or any other device, with your root file system on it (see your
experience above :-) and as far as Linux is concerned you can freely mix
disks with different supported partitioning schemes on one system.

>> You can only boot from osf disklabel disks. You might be able to
>> convert it without destroying anything.

> Ok, thanks.
> I'll see what I can do then. 

You have to write a new partioning table using old data precise to a
sector level.  'fdisk' will allow you to do that and you can try a
number of times if something went wrong.  Changing partition table does
NOT affect your data in any way but keep a hard copy of your original
partition table and also save a dump of it done with 'sfdisk' ('sfdisk'
unfortunately understands only FAT-type partition tables).

It is better not to reboot until you are satisfied but even after
a reboot it is possbile to recover from a bad partition table if you
kept data above.  It can be a PITA though.  Doable, not even very
hard, but definitely not for anxious types. :-)

  Michal


      reply	other threads:[~2002-06-01 18:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-31 19:34 boot block Marcel Pol
2002-06-01 11:02 ` Måns Rullgård
2002-06-01 16:49   ` Marcel Pol
2002-06-01 18:27     ` Michal Jaegermann [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox