NetBSD/distrib/notes/atari/prep

139 lines
4.6 KiB
Plaintext
Raw Normal View History

.\" $NetBSD: prep,v 1.9 2001/07/24 17:30:56 nra Exp $
.
1995-10-09 23:43:23 +03:00
Note you will be modifying your HD's if you mess something up here you
1999-01-13 10:30:01 +03:00
could lose everything on all the drives that you work with. It is
1995-10-09 23:43:23 +03:00
therefore advised that you:
.(bullet
1999-01-13 10:30:01 +03:00
Write down your current configurations. Do this
by writing down all partition info (especially their sizes).
.It
.Em Back up the partitions you are keeping.
.bullet)
1999-01-13 10:30:01 +03:00
.Pp
If
.Nx
has to share the disk with another operating system, you can
either take care of partitioning your harddisk before installing
.Nx
or delay this until the installer requests you to do it. If you decide to do
it now, please create space for at least
.Pa /
(root), swap and
.Pa /usr
partitions and possibly at least one more for
.Pa /local
if you have the space.
Whatever you decide, take note of the paragraphs below!
You need this info to create bootable disks.
1999-01-13 10:30:01 +03:00
.Pp
.(tag Warning:
.It Em Warning:
1999-01-13 10:30:01 +03:00
The AHDI partioning function erases all partions on your harddisk
even if they are not changed!
We know this is rather stupid, but don't say we didn't warn you.
.tag)
1999-01-13 10:30:01 +03:00
.Pp
If you want to use an AHDI partitioning scheme and you want to be able to
boot directly into
.Nx ,
there are some constraints on the partition layout.
.Pp
As you might know; every hard disk has a
.Sq root sector
that contains information about the size of the hard disk and the partitions
on the hard disk.
The root sector can only contain the necessary data for four
partitions. Nobody thought that this limitation would cause any problems.
After all, 640 KByte should be enough. As hard disk grew, it was necessary
to define more than four partitions. In order to be more or less compatible
with the old format, a new type of partition entry was defined: XGM partions.
1999-01-13 10:30:01 +03:00
.Pp
An XGM partition is a
.Sq look over there
sign: Another root sector can be
found at the start of the XGM partition. This root sector contains the
remaining real partitions. And this is the big mystery: Partitions defined
in the root sector of the hard disk are called
.Sq "primary partitions" ,
partitions defined in the root sector of an XGM partition are called
.Sq "extended partitions" .
1999-01-13 10:30:01 +03:00
.Pp
The bootblock will only work if the first NBD partition is a primary
partition. This is not a limitation of
.Nx
but a limitation of
.Tn TOS Ns / Ns AHDI:
You can only boot from primary partitions.
1999-01-13 10:30:01 +03:00
.Pp
If you are creating your partitions with HDX, you'll have to be very careful
to fulfill this rule. HDX has some very strange ideas when it comes to
extended partitions. Fortunately, you can edit this stuff: The
.Dq "Edit partition scheme of the unit"
dialog box has a button labeled
.Dq "expert" .
This button is inactive unless you have defined more than four partitions.
Click on it
.Em after
you have defined the sizes of the partitions.
1999-01-13 10:30:01 +03:00
.Pp
A new dialog box appears on the screen. The left side contains two blocks of
partitions: The upper block always contains the first four partitions, the
lower block contains the last three partitions. If you have defined less than
7 partitions, some fields of the lower block will contain the string
.Dq "unused" .
Some of the partitions will be displayed in reverse video: These are the
extended partitions.
1999-01-13 10:30:01 +03:00
.Pp
The right side contains six possible ranges for the extended partitions. It
is not possible to define your own range, you will have to use one of the
schemes offered by HDX. To quote from Ghostbusters: Choose and die.
The default scheme used by HDX is the first scheme: Extended partitions start
with the second partition and end with the second to last partition. If you
have defined 7 partitions, partitions #2 to #5 will be extended partitions,
while partitions #1, #6 and #7 will be primary partitions.
1999-01-13 10:30:01 +03:00
.Pp
You can move the extended partition range by clicking on one of the buttons
on the right side of the dialog box. Try to find one where your first
.Nx
partition is a primary partition. Golden rules:
.(bullet
If the disk contains no
.Tn GEMDOS
partitions, don't use AHDI.
Let
.Nx
1999-01-13 10:30:01 +03:00
handle it alone.
.It
If the disk contains one
.Tn GEMDOS
partition, make it partition #1 and
1999-01-13 10:30:01 +03:00
start the extended partition range at partition #3. This allows you
to boot from both the
.Tn GEMDOS
and the
.Nx
partitions.
1999-01-13 10:30:01 +03:00
.It
If the disk contains two
.Tn GEMDOS
partitions, use partitions #1 and #2
for
.Tn GEMDOS ,
partition #3 for NetBSD-root. Start the extended partition
1999-01-13 10:30:01 +03:00
range with partition #4.
.It
If your disks contains three or more
.Tn GEMDOS
partitions, you are in
trouble. Try using partitions #1 and #2 as the first two
.Tn GEMDOS
partitions. Use partition #3 as the first
.Nx
partition. Start the
extended partition range with partition #4. Put the other
.Nx
1999-01-13 10:30:01 +03:00
extended partition range.
.bullet)
1999-01-13 10:30:01 +03:00
.Pp
Good luck, you'll need it...