Date: Fri, 3 Mar 2000 12:05:38 +0200 From: Vallo Kallaste <vallo@matti.ee> To: Bruce Evans <bde@zeta.org.au> Cc: Peter Dufault <dufault@hda.com>, freebsd-current@FreeBSD.ORG Subject: Re: Crash in currtprio, after dumping no operating system.. Message-ID: <20000303120538.A14750@myhakas.matti.ee> In-Reply-To: <Pine.BSF.4.21.0003031513550.2455-100000@alphplex.bde.org>; from Bruce Evans on Fri, Mar 03, 2000 at 03:23:17PM %2B1100 References: <20000303040632.A2942@myhakas.matti.ee> <Pine.BSF.4.21.0003031513550.2455-100000@alphplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 03, 2000 at 03:23:17PM +1100, Bruce Evans <bde@zeta.org.au> wrote: > > 8 partitions: > > # size offset fstype [fsize bsize bps/cpg] > > a: 131072 524288 4.2BSD 1024 8192 16 # (Cyl. 32*- 40*) > > b: 524288 0 swap # (Cyl. 0 - 32*) > > c: 8899947 0 unused 0 0 # (Cyl. 0 - 553*) > > e: 8244587 655360 vinum # (Cyl. 40*- 553*) > > The dump fills up precisely the entire 'b' partition. Since the > partition begins at offset 0, the dump overwrites the label at sector > offset 1 and any bootblocks at sector offsets 0-15. This misconfiguration > is handled for swapping but not for dumping. > > This shouldn't lose any data. Just restore the label from a backup and > write new bootblocks. Thanks for clarifying, but now I have next question. Why sysinstall allows such misconfiguration? As I understand now the right way is start the disk with root partition not swap. The disklabel shown here was created with 4.0-20000228-CURRENT sysinstall. It seems now I'm wrong but I always thought the best place for swap is the beginning of disk. Can you please confirm that the common practise is disklabel with root partition in the beginning of disk? Thanks -- Vallo Kallaste vallo@matti.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000303120538.A14750>