From owner-freebsd-questions Thu Mar 14 10:10:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f31.law3.hotmail.com [209.185.241.31]) by hub.freebsd.org (Postfix) with ESMTP id B4E0637B405 for ; Thu, 14 Mar 2002 10:10:26 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 14 Mar 2002 10:10:26 -0800 Received: from 200.252.157.100 by lw3fd.law3.hotmail.msn.com with HTTP; Thu, 14 Mar 2002 18:10:26 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: Thu, 14 Mar 2002 15:10:26 -0300 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 14 Mar 2002 18:10:26.0663 (UTC) FILETIME=[8476FF70:01C1CB83] 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 _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message