[wplug-bsd] new disk help

Brandon Kuczenski brandon at 301south.net
Wed Sep 27 21:51:54 EDT 2006


I recently tried to install a new HDD to my system.  I formatted the HDD 
using a FreeSBIE 1.1 live-cd distribution (running FreeBSD 5.3).  I used 
the entire disk with a single partition and formatted it with ufs.

I ran 'newfs' on the system and then copied all my files onto it over the 
network.

Then I put it into my FreeBSD 4.11 system and I can't mount it.

Here is the fdisk info:
# fdisk /dev/ad1
******* Working on device /dev/ad1 *******
parameters extracted from in-core disklabel are:
cylinders=19929 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=19929 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
     start 63, size 320159322 (156327 Meg), flag 80 (active)
 	beg: cyl 0/ head 1/ sector 1;
 	end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>


The disk was mounted as /dev/ad2s1 on the 5.3 system.  But that gives an 
'invalid superblock' error on the 4.11 system.

# mount /dev/ad1
mount: /dev/ad1 on /home: incorrect super block
# mount /dev/ad1s1
mount: /dev/ad1s1 on /home: incorrect super block


Can anyone clue me in on this?

Please CC responses to root at 301south.net, since my user's home directory 
is on the [unmounted] disk.

Thanks in advance,
Brandon



More information about the wplug-bsd mailing list