Date: Mon, 27 Jan 2003 15:03:31 -0500 (EST) From: John Baldwin <jhb@FreeBSD.org> To: "Greg 'groggy' Lehey" <grog@FreeBSD.org> Cc: Matthew Dillon <dillon@apollo.backplane.com>, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, Matt Dillon <dillon@FreeBSD.ORG>, "David O'Brien" <obrien@FreeBSD.org> Subject: Re: cvs commit: src/usr.sbin/sysinstall label.c Message-ID: <XFMail.20030127150331.jhb@FreeBSD.org> In-Reply-To: <20030127043106.GL94229@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27-Jan-2003 Greg 'groggy' Lehey wrote: > 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. This is an old bug that I fixed a while ago. :) sysinstall now knows when existing partitions are swap again. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ 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?XFMail.20030127150331.jhb>