Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 15:01:06 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        David O'Brien <obrien@FreeBSD.org>, Matt Dillon <dillon@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Matthew Dillon <dillon@apollo.backplane.com>
Subject:   Re: cvs commit: src/usr.sbin/sysinstall label.c
Message-ID:  <20030127043106.GL94229@wantadilla.lemis.com>
In-Reply-To: <200301262108.h0QL8WRs068598@apollo.backplane.com> <20030126210426.GA23132@dragon.nuxi.com>
References:  <200301251932.h0PJWZHo054126@repoman.freebsd.org> <20030125215919.GA6687@HAL9000.homeunix.com> <20030126013124.GD3641@sydney.worldwide.lemis.com> <20030126210426.GA23132@dragon.nuxi.com> <200301262108.h0QL8WRs068598@apollo.backplane.com> <200301251932.h0PJWZHo054126@repoman.freebsd.org> <20030125215919.GA6687@HAL9000.homeunix.com> <20030126013124.GD3641@sydney.worldwide.lemis.com> <20030126210426.GA23132@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sunday, 26 January 2003 at 13:04:26 -0800, David O'Brien wrote:
> On Sun, Jan 26, 2003 at 09:31:24AM +0800, Greg Lehey wrote:
>> I second this.  There are cases where you're installing a second
>> FreeBSD system on a disk, and there's a swap partition on another
>> slice.  Currently there's no way to tell sysinstall to use this
>> partition,
>
> There isn't??

Well, at any rate I haven't been able to find one.

> Sysinstall asks you to select a disk, not a slice, at the fdisk
> menu.  After that, when you go into the lable menu you see all the
> slices and their [BSD] partition types.  Am I missing something in
> what you say?

Maybe.  

On Sunday, 26 January 2003 at 13:08:32 -0800, Matthew Dillon wrote:
>     If someone explains to me how to reproduce the sysinstall swap
>     issue I will try to track it down and fix it.  At worst
>     sysinstall should simply try to run without swap.

Here's what I did:

I have a disk with 4 BIOS slices, all FreeBSD.  ad0s[134] have
FreeBSD disk labels, and two of them have swap space.  I want to
install a root file system, and nothing else, on ad0s2.  I go to the
partition menu, then the label menu, which shows the existing
partitions without a type.  I can select a mount point with the m
command, but it doesn't give me the option to declare it to be swap,
and if I enter "swap" it complains about the name not starting with /.

I suppose I could delete one of the swap partitions and recreate it,
assuming that the slice is full, but that sounds dangerous, and it's
tacky at the best.  It seems that it should be relatively trivial to
modify sysinstall to offer the choice of file system or swap when you
select the m command.

Greg
--
See complete headers for address and phone numbers

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




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