Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 18:19:54 -0300
From:      "Vilmar Rodrigues" <vilmar_rodrigues@hotmail.com>
To:        questions@FreeBSD.org
Subject:   boot disk
Message-ID:  <F67xRtuQZXeemY5Z6NB000084bd@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi folks!

Congratulations for the great work being done on this SO.
But I have a question.

I've got a bigger hard disk and trying to switch the root/boot disk.
Followed these instructions:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK

Not reinstalled the system. Just duplicated data.

So when the startup begins I get the prompt:

F1 FreeBSD
F5 Drive 1

strike F1 > boots normal
strike F5 > get the following  prompt:

F1 FreeBSD
F5 Frive0

strike F5 > return to previous prompt
strike F1 > get this message

"invalid partition"

What's going on?

DISKLABEL:
--------------------------------------------------------------------
[root@sj-crip /root]#disklabel ad0
# /dev/rad0c:
type: ESDI
disk: ad0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 64
sectors/cylinder: 4032
cylinders: 619
sectors/unit: 2499777
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  2342081   157696    4.2BSD        0     0     0   # (Cyl.   39*- 619*)
  b:   157696        0      swap                        # (Cyl.    0 - 39*)
  c:  2499777        0    unused        0     0         # (Cyl.    0 - 619*)
--------------------------------------------------------------------
[root@sj-crip /root]#disklabel ad2
# /dev/rad2c:
type: ESDI
disk: ad2s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 256
sectors/cylinder: 16128
cylinders: 390
sectors/unit: 6305985
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  b:   157696        0      swap                        # (Cyl.    0 - 9*)
  c:  6305985        0    unused        0     0         # (Cyl.    0 - 390*)
  e:  6148289   157696    4.2BSD     1024  8192    16   # (Cyl.    9*- 390*)
--------------------------------------------------------------------

BOOT0CFG:
--------------------------------------------------------------------
[root@sj-crip /root]#boot0cfg -v /dev/ad0
#   flag     start chs   type       end chs       offset         size
1   0x80      0:  1: 1   0xa5    619: 63:63           63      2499777

drive=0x80  mask=0xf  options=nopacket,update,nosetdrv  ticks=182
--------------------------------------------------------------------
[root@sj-crip /root]#boot0cfg -v /dev/ad2
#   flag     start chs   type       end chs       offset         size
1   0x80      0:  1: 1   0xa5    390:255:63           63      6305985

drive=0x82  mask=0xf  options=nopacket,update,nosetdrv  ticks=182
--------------------------------------------------------------------

Or should I try another method? :)

thanks in advance,
vilmar rodrigues

_____________________________
http://www.chatbrowser.com.br

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F67xRtuQZXeemY5Z6NB000084bd>