system move

Martin Vana martin.vana at vslib.cz
Wed Aug 13 11:56:44 PDT 2003


Hi,
I've bought a new disk and tried to move my FreeBSD 5.1 release on it. Even I'm a real newbie I've followed all the steps from faq/disks 9.2 carrefuly /*eg.  dump 0af - / | restore xf -*/ and finally set bootable in sysinstall. All the data are there when I tried to mount it but it is still bugging me with 'invalid partition' message during boot.
Here are some data that might help you to help me:
ad1s1 and ad1s3 are just data.
/,/var,/tmp,/swp are all on ad1s2 
---------------------------------------------------------------------------
Sysinstall-fdisk output:

Disk name:      ad1                                  FDISK Partition Editor
DISK Geometry:  4863 cyls/255 heads/63 sectors = 78124095 sectors (38146MB)

Offset       Size(ST)        End     Name  PType       Desc  Subtype    Flags

         0         63         62        -     12     unused        0
        63   27262242   27262304    ad1s2      8    freebsd      165
  27262305   26073495   53335799    ad1s3      8    freebsd      165
  53335800   24788295   78124094    ad1s1      8    freebsd      165
  78124095        905   78124999        -     12     unused        0

------------------------------------------------------------------------
'Boot0cfg -v ad1' output: 
#   flag     start chs   type       end chs       offset         size
1   0x00   1023:255:63   0xa5   1023:254:63     53335800     24788295
2   0x80      0:  1: 1   0xa5   1023:254:63           63     27262242
3   0x00   1023:255:63   0xa5   1023:254:63     27262305     26073495

version=1.0  drive=0x80  mask=0xf  ticks=182
options=packet,update,nosetdrv
default_selection=F2 (Slice 2)
------------------------------------------------------------------------

Thanks for any suggestion.
Martin
 


More information about the freebsd-hackers mailing list