From owner-freebsd-questions Tue Mar 12 13:20:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f67.law3.hotmail.com [209.185.241.67]) by hub.freebsd.org (Postfix) with ESMTP id 30CE537B402 for ; Tue, 12 Mar 2002 13:19:55 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 12 Mar 2002 13:19:55 -0800 Received: from 200.252.157.100 by lw3fd.law3.hotmail.msn.com with HTTP; Tue, 12 Mar 2002 21:19:54 GMT X-Originating-IP: [200.252.157.100] Reply-To: vrs@neovia.com.br From: "Vilmar Rodrigues" To: questions@FreeBSD.org Subject: boot disk Date: Tue, 12 Mar 2002 18:19:54 -0300 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 12 Mar 2002 21:19:55.0135 (UTC) FILETIME=[A7C6A8F0:01C1CA0B] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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