Describe how to install onto a drive that will also be used by MacOS (such
as most of the post-1998 models). Also reminder about reversed MAC address on early models (macppc/install).
This commit is contained in:
parent
0cc97f1b55
commit
7f085e921a
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: postinstall,v 1.26 2001/05/19 05:43:29 mbw Exp $
|
||||
.\" $NetBSD: postinstall,v 1.27 2001/05/25 08:04:13 mbw Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1999-2001 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -231,7 +231,7 @@ for information.
|
||||
.if \n[macppc] \{\
|
||||
Also, you may want to read through the
|
||||
.Nx*M
|
||||
X11R6 HOW-TO.
|
||||
X11R6 FAQ.
|
||||
.br
|
||||
.Lk http://www.netbsd.org/Ports/macppc/x11.html
|
||||
.\}
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: sysinst,v 1.22 2001/05/13 23:25:37 mbw Exp $
|
||||
.\" $NetBSD: sysinst,v 1.23 2001/05/25 08:04:13 mbw Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1999-2001 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -609,12 +609,161 @@ use networking during the installation, you can specify these
|
||||
parameters later. If you are not using the Domain Name System (DNS),
|
||||
you can give an empty response in reply to answers relating to
|
||||
this.
|
||||
.if r_macppc \{\
|
||||
.It
|
||||
.Em "Preparation for a disk which will be used for"
|
||||
.Tn MacOS
|
||||
.Em and NetBSD
|
||||
.Pp
|
||||
Skip this step if you are installing
|
||||
.Nx
|
||||
onto a dedicated drive.
|
||||
.Pp
|
||||
Go to the
|
||||
.Me "Utility Menu" No Ns ,
|
||||
and select the
|
||||
.Me "Run /bin/sh"
|
||||
option which will give you a shell prompt. From this shell prompt, you
|
||||
will do some of the steps that the normal install procedure
|
||||
runs automatically. Unfortunately, at the moment, our install tools
|
||||
aren't smart enough to deal with drives shared with
|
||||
.Tn MacOS
|
||||
and will overwrite important information describing your partitions.
|
||||
.Pp
|
||||
You may need to type one of the following commands to get your delete key
|
||||
to work properly, depending on your keyboard:
|
||||
.Dl # Ic "stty erase '^h'"
|
||||
.Dl # Ic "stty erase '^?'"
|
||||
.Pp
|
||||
Type the following command (replacing
|
||||
.Pa wd0
|
||||
with the name of your destination hard drive):
|
||||
.Dl # Ic "disklabel wd0"
|
||||
.Pp
|
||||
This will print out the partition info that was generated by Drive
|
||||
Setup. Note that, as discussed above in the
|
||||
.Sx Partitioning your hard drive for NetBSD
|
||||
section, your
|
||||
.Em "A/UX Root"
|
||||
typically is the first partition
|
||||
.No ( Ns Em a No Ns )
|
||||
and your
|
||||
.Em "A/UX Swap"
|
||||
typically is the second partition
|
||||
.No ( Ns Em b No Ns ).
|
||||
You may also find that your
|
||||
.Em "A/UX User"
|
||||
partition is the seventh partition
|
||||
.No ( Ns Em g No Ns ).
|
||||
For example:
|
||||
.(disp
|
||||
.Dl # Ic "disklabel wd0"
|
||||
[...]
|
||||
# size offset fstype [fsize bsize cpg/sgs]
|
||||
a: 426613 837432 4.2BSD 0 0 0 # (Cyl. 1622*- 2449*)
|
||||
b: 204800 632632 swap # (Cyl. 1226*- 1622*)
|
||||
c: 2134305 0 unused 0 0 # (Cyl. 0 - 4136*)
|
||||
d: 426616 1216 HFS # (Cyl. 2*- 829*)
|
||||
e: 204800 427832 HFS # (Cyl. 829*- 1226*)
|
||||
f: 21 2134284 unknown # (Cyl. 4136*- 4136*)
|
||||
g: 870239 1264045 4.2BSD 0 0 0 # (Cyl. 2449*- 4136*)
|
||||
disklabel: boot block size 0
|
||||
disklabel: super block size 0
|
||||
.disp)
|
||||
.Pp
|
||||
Now, you need to create filesystems on the partitions that
|
||||
.Nx
|
||||
will be using.
|
||||
.Pp
|
||||
.Em "Do not modify any partitions labeled"
|
||||
.Pa HFS No Em or Pa unknown No Ns .
|
||||
The partitions you will be using have their
|
||||
.Pa fstype
|
||||
listed as
|
||||
.Pa 4.2BSD No Ns .
|
||||
.Pp
|
||||
Run the
|
||||
.Ic newfs
|
||||
command on the
|
||||
.Pa 4.2BSD
|
||||
partitions:
|
||||
.(disp
|
||||
.Dl # Ic "newfs /dev/wd0a"
|
||||
newfs: /dev/sd1a: not a character-special device
|
||||
Warning: 120 sector(s) in last cylinder unallocated
|
||||
/dev/sd1a: 426612 sectors in 827 cylinders of 4 tracks, 129 sectors
|
||||
208.3MB in 52 cyl groups (16 c/g, 4.03MB/g, 1024 i/g)
|
||||
super-block backups (for fsck -b #) at:
|
||||
32, 8432, 16832, 25232, 33056, 41456, 49856, 58256, 66080,
|
||||
74480, 82880, 91280, 99104, 107504, 115904, 124304, 132128, 140528,
|
||||
148928, 157328, 165152, 173552, 181952, 190352, 198176, 206576, 214976,
|
||||
223376, 231200, 239600, 248000, 256400, 264224, 272624, 281024, 289424,
|
||||
297248, 305648, 314048, 322448, 330272, 338672, 347072, 355472, 363296,
|
||||
371696, 380096, 388496, 396320, 404720, 413120, 421520,
|
||||
newfs: ioctl (WDINFO): Invalid argument
|
||||
newfs: /dev/sd1a: can't rewrite disk label
|
||||
.disp)
|
||||
You can ignore the
|
||||
.Pa Sq "not a character-special device" ,
|
||||
.Pa Sq "sector(s) in last cylinder unallocated" ,
|
||||
.Pa Sq "ioctl (WDINFO): Invalid argument" ,
|
||||
and
|
||||
.Pa Sq "can't rewrite disk label"
|
||||
warnings.
|
||||
.Pp
|
||||
Now you need to mount your destination root partition:
|
||||
.Dl # Ic "mount /dev/wd0a /mnt"
|
||||
.Pp
|
||||
Make an
|
||||
.Pa fstab
|
||||
file for your new system (right now, you only really need to include
|
||||
.Pa / No ,
|
||||
.Pa /usr No ,
|
||||
and
|
||||
.Pa swap No ),
|
||||
for example:
|
||||
.Dl # Ic "mkdir /mnt/etc"
|
||||
.Dl # Ic "cat > /mnt/etc/fstab"
|
||||
.Dl "/dev/wd0a / ffs rw 1 1"
|
||||
.Dl "/dev/wd0b none swap sw 0 0"
|
||||
.Dl "/dev/wd0g /usr ffs rw 1 2"
|
||||
.Pp
|
||||
If you mess up while typing, you can press
|
||||
.Key CONTROL-U
|
||||
to erase everything on the current line, or
|
||||
.Key CONTROL-C
|
||||
to cancel the file creation, so you can start over.
|
||||
.Pp
|
||||
Great, now create the mountpoints for the filesystems you listed in the
|
||||
.Pa fstab No Ns :
|
||||
.Dl # Ic "mkdir /mnt/usr"
|
||||
.Pp
|
||||
Clean up and return to
|
||||
.Ic sysinst :
|
||||
.Dl # Ic "cd /;umount /mnt"
|
||||
.Dl # Ic exit
|
||||
.\}
|
||||
.It
|
||||
.Em Installation drive selection and parameters
|
||||
.Pp
|
||||
To start the installation, select
|
||||
To start the
|
||||
.if r_macppc \{\
|
||||
installation onto a dedicated
|
||||
.Nx
|
||||
drive,
|
||||
.\}
|
||||
.if !r_macppc installation,
|
||||
select
|
||||
.Me Install NetBSD to hard disk
|
||||
from the main menu.
|
||||
.if r_macppc \{\
|
||||
To start the installation onto a drive which will
|
||||
also be used with
|
||||
.Tn MacOS ,
|
||||
select
|
||||
.Me Re-install sets or install additional sets
|
||||
from the main menu.
|
||||
.\}
|
||||
.Pp
|
||||
The first thing is to identify the disk on which you want to
|
||||
install
|
||||
@ -674,6 +823,16 @@ program will automatically reserve space for bad144 tables.
|
||||
.\}
|
||||
.It
|
||||
.Em Partitioning the disk
|
||||
.if r_macppc \{\
|
||||
.Pp
|
||||
You can skip a few steps, down to
|
||||
.Em Sq "Getting the distribution sets" ,
|
||||
if you are installing onto a drive that will be used with
|
||||
.Tn MacOS
|
||||
(i.e. you selected
|
||||
.Me "Re-install sets or install additional sets"
|
||||
from the main menu).
|
||||
.\}
|
||||
.(bullet
|
||||
.if !r_macppc \{\
|
||||
Which portion of the disk to use.
|
||||
@ -740,13 +899,12 @@ part of a disk is called a
|
||||
.if r_macppc \{\
|
||||
In actuality,
|
||||
.Nx*M
|
||||
uses the Apple Partition Map on your disk. See
|
||||
.Sx Partitioning your hard drive for NetBSD
|
||||
to determine whether or not you should use the
|
||||
.Nx
|
||||
installer to partition your disk. If you are to leave your current
|
||||
partitioning in place, skip two sections to
|
||||
.Em Getting the distribution sets
|
||||
uses an Apple Partition Map. The installer creates something like a real
|
||||
Apple Partition Map, but it is not compatible with
|
||||
.Tn MacOS ,
|
||||
which is one of the reasons why you cannot use this installer to partition
|
||||
a disk that can be used with
|
||||
.Tn MacOS .
|
||||
.Pp
|
||||
.\}
|
||||
.if r_sparc \{\
|
||||
@ -800,6 +958,9 @@ the disklabel to add this once you have installed
|
||||
.Pp
|
||||
.ds usrpart e
|
||||
.\}
|
||||
.el .ie r_macppc \{\
|
||||
.ds usrpart g
|
||||
.\}
|
||||
.el \{\
|
||||
.ds usrpart d
|
||||
.\}
|
||||
@ -818,7 +979,12 @@ portion of the disk.
|
||||
.It Li d
|
||||
.\}
|
||||
The entire disk.
|
||||
.ie r_macppc \{\
|
||||
.It Li d-h
|
||||
.\}
|
||||
.el \{\
|
||||
.It Li \*[usrpart]-h
|
||||
.\}
|
||||
Available for other use.
|
||||
Traditionally,
|
||||
.Li \*[usrpart]
|
||||
@ -877,6 +1043,16 @@ be unloaded onto the drive. So, you can not boot from your
|
||||
hard drive yet at this point.
|
||||
.Note)
|
||||
.\}
|
||||
.if r_macppc \{\
|
||||
.Pp
|
||||
.(Note
|
||||
The bootstrapping code installed in this step will
|
||||
.Em not
|
||||
boot a machine with Open Firmware 3. You will still need to have
|
||||
.Pa ofwboot.xcf
|
||||
on an HFS or HFS+ partition.
|
||||
.Note)
|
||||
.\}
|
||||
.It
|
||||
.Em Getting the distribution sets
|
||||
.if r_i386 \{\
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: upgrade,v 1.11 2001/04/08 02:49:17 minoura Exp $
|
||||
.\" $NetBSD: upgrade,v 1.12 2001/05/25 08:04:13 mbw Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1999-2001 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -106,6 +106,13 @@ whether on the
|
||||
partition or on
|
||||
another operating system's partition, before beginning the upgrade
|
||||
process.
|
||||
.if r_macppc \{\
|
||||
Since installation of the bootloader will prevent
|
||||
.Tn MacOS
|
||||
from using the disk and will prevent Open Firmware 3 machines from
|
||||
booting, there is an option to bypass this step. Make sure you know
|
||||
whether or not to install the bootloader.
|
||||
.\}
|
||||
.Pp
|
||||
The upgrade procedure using the
|
||||
.Ic sysinst
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: install,v 1.13 2001/05/22 04:09:41 mbw Exp $
|
||||
.\" $NetBSD: install,v 1.14 2001/05/25 08:04:14 mbw Exp $
|
||||
.
|
||||
.Ss2 Booting the installer
|
||||
.
|
||||
@ -121,6 +121,13 @@ specifying the bootloader filename and the kernel name:
|
||||
.Pp
|
||||
.Dl 0 > Ic "boot enet:,ofwboot.xcf enet:,netbsd.ram.gz"
|
||||
.(Note
|
||||
Some Open Firmware 1.0.5 machines have their MAC address stored
|
||||
incorrectly. Make sure that your netboot server is using the same MAC
|
||||
address that your \*M client is using. See the section on
|
||||
.Sx Setting up pre-Open Firmware 3 to boot NetBSD
|
||||
to figure out your MAC address.
|
||||
.Note)
|
||||
.(Note
|
||||
Some Open Firmware 1.0.5 machines do not retrieve the BOOTP information
|
||||
correctly. These machines cannot netboot.
|
||||
.Note)
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: prep,v 1.17 2001/05/22 04:09:41 mbw Exp $
|
||||
.\" $NetBSD: prep,v 1.18 2001/05/25 08:04:14 mbw Exp $
|
||||
.
|
||||
.Ss2 Prepare yourself
|
||||
.
|
||||
@ -109,7 +109,7 @@ and search for
|
||||
and install the most recent version for your model.
|
||||
.Pp
|
||||
.(Note
|
||||
The most recent BootROMs available (4.1.7 and 4.1.8) as of April 2001 are
|
||||
The most recent BootROMs available (4.1.7 and 4.1.8) as of May 2001 are
|
||||
known to have some problems. Some PowerBook G4 users find they are
|
||||
unable to boot
|
||||
.Nx
|
||||
@ -569,7 +569,7 @@ You can check your Open Firmware settings with the
|
||||
.Pa printenv
|
||||
command:
|
||||
.(disp
|
||||
.Dl 0 > Ic "printenv"
|
||||
.No 0 > Ic "printenv"
|
||||
little-endian? false false
|
||||
real-mode? false false
|
||||
auto-boot? false true
|
||||
@ -638,7 +638,7 @@ You can check your Open Firmware settings with the
|
||||
.Pa printenv
|
||||
command:
|
||||
.(disp
|
||||
.Dl 0 > Ic "printenv"
|
||||
.No 0 > Ic "printenv"
|
||||
-------------- Partition: common -------- Signature: 0x70 ---------------
|
||||
little-endian? false false
|
||||
real-mode? false false
|
||||
@ -985,6 +985,9 @@ systems).
|
||||
.Tn MacOS No Ns .
|
||||
.Em "Either will also prevent Open Firmware 3 machines from booting"
|
||||
.Pa ofwboot.xcf Ns .
|
||||
.Em "You will need to use the installer's"
|
||||
.Em Dq "Re-install sets"
|
||||
.Em "option. More information is provided below on this process."
|
||||
.Pp
|
||||
Unfortunately, the partitioning tools for
|
||||
.Nx
|
||||
|
Loading…
Reference in New Issue
Block a user