Subject: newfs error (can't rewrite disk label)
To: None <port-macppc@netbsd.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: port-macppc
Date: 05/18/2004 11:02:23
I am trying to install NetBSD on a recent iBook. I have formatted the
disk with Disk Utility (HFS+ and UFS filesystems) and pdisk (FFS and swap
filesystems):
# pdisk /dev/wd0c
Edit /dev/wd0c -
Command (? for help): p
Partition map (with 512 byte blocks) on '/dev/wd0c'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Free 262144 @ 64 (128.0M)
3: Apple_HFS Apple_HFS_Untitled_2 62652416 @ 262208 ( 29.9G)
4: Apple_Boot eXternal booter 17408 @ 62914624 ( 8.5M)
5: Apple_UFS Apple_UFS_Untitled_3 18856960 @ 62932032 ( 9.0G)
6: Apple_Boot eXternal booter 17408 @ 81788992 ( 8.5M)
7: Apple_UFS Apple_UFS_Untitled_4 18856960 @ 81806400 ( 9.0G)
8: Apple_UNIX_SVR2 swap 1024000 @ 100663360 (500.0M) S1 SFS k0 (swap)
9: Apple_UNIX_SVR2 netbsd 15522864 @ 101687360 ( 7.4G) S0 RUFS k0 /
10: Apple_Free 16 @ 117210224
Device block size=512, Number of Blocks=117210240 (55.9G)
DeviceType=0x0, DeviceId=0x0
Command (? for help): q
#
I am running diskless now (NetBSD 2.0C macppc) and have access to the disk.
Should I worry about this newfs message?
# newfs /dev/wd0a
/dev/wd0a: 7579.5MB (15522864 sectors) block size 16384, fragment size 2048
using 42 cylinder groups of 180.47MB, 11550 blks, 22656 inodes.
super-block backups (for fsck -b #) at:
32, 369632, 739232, 1108832, 1478432, 1848032, 2217632, 2587232,
2956832, 3326432, 3696032, 4065632, 4435232, 4804832, 5174432, 5544032,
5913632, 6283232, 6652832, 7022432, 7392032, 7761632, 8131232, 8500832,
8870432, 9240032, 9609632, 9979232, 10348832, 10718432, 11088032, 11457632,
11827232, 12196832, 12566432, 12936032, 13305632, 13675232, 14044832, 14414432,
14784032, 15153632,
newfs: ioctl (WDINFO): Invalid argument
newfs: /dev/wd0a: can't rewrite disk label
#
I can mount and write to the disk. So I think I will go ahead and install
the NetBSD sets on this partition.
rvdp