*BSD News Article 82352


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!main.Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.bsd.misc,comp.unix.bsd.freebsd.misc
Subject: Re: URGENT HELP! Can no longer mount disk!
Followup-To: comp.unix.bsd.freebsd.misc
Date: 5 Nov 1996 13:26:41 GMT
Organization: interface business GmbH, Dresden
Lines: 28
Message-ID: <55nfah$133@innocence.interface-business.de>
References: <01bbca71$ffa0e3f0$27366d81@masscomp>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
X-Phone: +49-351-31809-14
X-Fax: +49-351-3361187
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Cc: ehymel@utmb.edu
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:1430 comp.unix.bsd.freebsd.misc:30661

"Ernest Hymel" <ehymel@utmb.edu> wrote:

> What could cause disklabel -r to correctly see the disk geometry, but when
> I try to boot to the same disk, or mount that disk from another FreeBSD
> disk, I get all kinds of messages like:

disklabel -r (``raw'') reads directly from the disk, bypassing the
kernel.

> sd1: raw partition size != slice size
> sd1: start 0, end 49999, size 50000
> sd1c: start 0, end 430835, size 4308352
> sd1: truncating raw partition

Your fdisk table doesn't reflect reality (and somehow, it hasn't been
properly detected as a `legacy fdisk table').  Run fdisk, remove all
slice entries, and create a single one for BSD, starting at block 0
with a size of 4308352 blocks.  (The C/H/S values are meaningless;
leave them alone the way fdisk prefers to compute them.)


> Please email if you post.

[Cc sent, F'up redirected to the correct group.]
-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j