Subject: Re: iBook multiboot swap
To: Henry B. Hotz <hotz@jpl.nasa.gov>
From: David Friggens <david@mcs.vuw.ac.nz>
List: port-macppc
Date: 04/16/2003 12:46:06
> What does dmesg show w.r.t. wd0?  With this error you shouldn't be
> able do do a disklabel on the device.

# dmesg | grep wd0
wd0 at wdc0 channel 0 drive 0: <IBM-IC25N030ATCS04-0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 28615 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 58605120 sect=
ors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/100)
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66) =
(using
DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
#


> Was the netbsd disklabel from
> before when you partitioned?  If not then I notice that wd0b was not
> the same partition which linux called a swap partition.

The disklabel is different to what it was previously and agrees with
all the changes to the partition map.

=46rom the size and offset I would assume that NetBSD and Linux are
referring to the same partition:

 # disklabel wd0
  b:   1048576   9937008  Apple UFS      0     0     0   # (Cyl. 9858*- 1=
0898*)

 root # mac-fdisk /dev/hda
 /dev/hda3            Apple_UFS swap       1048576 @ 9937008  (512.0M)  U=
nknown


David