From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 16 03:59:08 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DB8D106566C; Sun, 16 Jan 2011 03:59:08 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (mx2.utsp.utwente.nl [130.89.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id F3F648FC0C; Sun, 16 Jan 2011 03:59:07 +0000 (UTC) Received: from nox-laptop.student.utwente.nl (nox-laptop.student.utwente.nl [130.89.160.140]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id p0G3x2ri013996; Sun, 16 Jan 2011 04:59:02 +0100 From: Pieter de Goeje To: Nathan Whitehorn Date: Sun, 16 Jan 2011 04:59:01 +0100 User-Agent: KMail/1.9.10 References: <4D309563.1000404@freebsd.org> <201101150730.01010.pieter@degoeje.nl> <4D31C22B.8040906@freebsd.org> In-Reply-To: <4D31C22B.8040906@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201101160459.01915.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact icts.servicedesk@utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: freebsd-sysinstall@freebsd.org Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 03:59:08 -0000 On Saturday 15 January 2011 16:50:03 Nathan Whitehorn wrote: > On 01/15/11 00:30, Pieter de Goeje wrote: > > 2) The Partition Editor's confirmation dialog has two options "Don't > > Save" and "Cancel"; it is unclear what the difference between the two is. > > AFAICT "Don't Save" really means "Cancel installation", and "Cancel" > > really means "Re-edit" (I'm sure there's a better word for that). > > How abort renaming "Don't Save" to "Abort?" Hmm, is there enough room for "Abort installation"? Just to remove any confusion :-) > > 4) The Complete dialog doesn't say that it will reboot after pressing OK > > and gives you no oppertunity to remove the media, so the user will boot > > straight back into the installer (depends on bios settings). > > The first issue is easy to fix. The second is a little tricky to do in > the context of booting from a live CD. You can't remove the media while > the kernel is running because it's the root filesystem. I'm not sure > what the best solution is. I am thinking out loud here, but wouldn't it be possible to hand off the task of showing the final "Complete" dialog (or the stuff that needs to be done afterwards) to a process which is run from an md device? It could then unmount root and possibly even eject the CD. > > > 5) Pressing cancel in the NIC setup dialog doesn't cancel the > > installation but continues it without configuring a NIC. Perhaps this > > could be clarified in the dialog text. > > There are several steps like this. The add user, services, keymap, > tzsetup, and root password screens can also be canceled (by design). I'm > not sure what the optimal way to signal this to the user is. Beat Gaetzi > has suggested renaming cancel buttons on cancelable parts of the > installation to "Skip". The dialog title text could have have (optional) > appended to it or something. The way I had tried to do it is that things > that cannot be safely canceled (mostly) don't have cancel buttons right > now. "Skip" instead of "Cancel" sounds like an excellent idea. -- Pieter de Goeje From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 16 06:09:36 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2F89106564A; Sun, 16 Jan 2011 06:09:36 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2105F8FC15; Sun, 16 Jan 2011 06:09:35 +0000 (UTC) Received: by wwf26 with SMTP id 26so4293626wwf.31 for ; Sat, 15 Jan 2011 22:09:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=2kkBMIuf91pKTDbhhBpsV4xso7lJLNWI4AWPQHKCgI8=; b=dNl2JVtBxvjNSz5hxJTSTSvwfKuARhSLJr0IvVerxuxfeFp+aM4iKHntGnqIRYiLAr b605O1/IP6Flx3fpUWOPhWoeu9P5dBLhrY1M8UcSCbxGXnXTfel8N7QGn/AfYQEWcvi2 RJNV98O2YfwsxvmmXhf7pbrQWCNGH0PU1iiJ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=wbTEH6Z7RG7gPnTMh2nBTo5QER55Zqh9dxyb6gKTcI2f0MgRaWHteFpZWUYFIlvlGQ u4Te+yBkqqcLxVthIwtvs4je+hSbnEmkL2qbsCYBrVFpdmWMo4ed2HfPrd5vot124dQ2 EsXO7AIWoddTUVTODex94FoRJZekppXg9kCQ0= MIME-Version: 1.0 Received: by 10.216.49.15 with SMTP id w15mr1118066web.1.1295158175004; Sat, 15 Jan 2011 22:09:35 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.254.226 with HTTP; Sat, 15 Jan 2011 22:09:34 -0800 (PST) In-Reply-To: <201101160459.01915.pieter@degoeje.nl> References: <4D309563.1000404@freebsd.org> <201101150730.01010.pieter@degoeje.nl> <4D31C22B.8040906@freebsd.org> <201101160459.01915.pieter@degoeje.nl> Date: Sat, 15 Jan 2011 22:09:34 -0800 X-Google-Sender-Auth: WgXbSkVG2pInja5mWdT-jNfQlIs Message-ID: From: Garrett Cooper To: Pieter de Goeje Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-sysinstall@freebsd.org Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 06:09:36 -0000 On Sat, Jan 15, 2011 at 7:59 PM, Pieter de Goeje wrote: > On Saturday 15 January 2011 16:50:03 Nathan Whitehorn wrote: >> On 01/15/11 00:30, Pieter de Goeje wrote: >> > 2) The Partition Editor's confirmation dialog has two options "Don't >> > Save" and "Cancel"; it is unclear what the difference between the two is. >> > AFAICT "Don't Save" really means "Cancel installation", and "Cancel" >> > really means "Re-edit" (I'm sure there's a better word for that). >> >> How abort renaming "Don't Save" to "Abort?" > > Hmm, is there enough room for "Abort installation"? Just to remove any > confusion :-) Abort installation for a button label is too long. Why not just KISS and say: -------------------------- | Abort installation? | | < Yes > < No > | -------------------------- ? Of course I would expect everything that was changed to be rescinded, if at all possible, at least so I could do a clean install next time if I chose to do so. >> > 4) The Complete dialog doesn't say that it will reboot after pressing OK >> > and gives you no oppertunity to remove the media, so the user will boot >> > straight back into the installer (depends on bios settings). >> >> The first issue is easy to fix. The second is a little tricky to do in >> the context of booting from a live CD. You can't remove the media while >> the kernel is running because it's the root filesystem. I'm not sure >> what the best solution is. > > I am thinking out loud here, but wouldn't it be possible to hand off the task > of showing the final "Complete" dialog (or the stuff that needs to be done > afterwards) to a process which is run from an md device? It could then > unmount root and possibly even eject the CD. I believe the term you're looking for is mfsroot (coming up with the minor magic from loader.rc, etc is trivial). You don't need to unmount root (init(8) will take care of that for you as part of a standard shutdown). The only thing that might need to be done is add the ioctl call that's done with sysinstall to BSDinstall to eject the CD drive try. It's a trivial one-liner with an if-statement, plus one error catching statement (it's a bit more complicated with sysinstall because it's a mess, but I think anyone who has looked at the code would understand that). >> > 5) Pressing cancel in the NIC setup dialog doesn't cancel the >> > installation but continues it without configuring a NIC. Perhaps this >> > could be clarified in the dialog text. >> >> There are several steps like this. The add user, services, keymap, >> tzsetup, and root password screens can also be canceled (by design). I'm >> not sure what the optimal way to signal this to the user is. Beat Gaetzi >> has suggested renaming cancel buttons on cancelable parts of the >> installation to "Skip". The dialog title text could have have (optional) >> appended to it or something. The way I had tried to do it is that things >> that cannot be safely canceled (mostly) don't have cancel buttons right >> now. > > "Skip" instead of "Cancel" sounds like an excellent idea. Agreed, but you may or may not want to print out a warning about stuff not being setup, go read the Handbook, etc etc. Thanks, -Garrett From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 16 09:53:49 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E0F9106564A; Sun, 16 Jan 2011 09:53:49 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5A9978FC15; Sun, 16 Jan 2011 09:53:47 +0000 (UTC) Received: by fxm16 with SMTP id 16so4818062fxm.13 for ; Sun, 16 Jan 2011 01:53:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:x-mailer:mime-version:content-type :content-transfer-encoding; bh=SDdosm+6R6MCULql9byVUVQFstOqbSLHKNJUQgZDr8k=; b=b9HZjb61GqxM+987LTltEObo9CNvJ/jbwn3IYUFV1dTQykO6olndBlJDsdZu8JhvK6 rA0FI5fn/CXABptxTOGPS4HBVQdO8OwgsdSZ/c+/6YcM44A+E/TZ0h0gMGgEukFxzGkO s/AB+/M3okhmOmRbAcwB5dXKNc7JT5utvGbSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; b=L1bUyV2iNk9crigOD3mzAngkuVfzDzZqLqD7lbCGKs9/RwfRK868EzE9dVBwk6Bz/9 OILBG4mlCvOVzUuFwVAD6nGpmwOlDP+pwTIY2q/4x/a23Q9gWt6eF4mykRbBOg1wUSAj VQtWG0g9OfLArklRxaXj+jw+NP+NK12oPcndU= Received: by 10.223.118.136 with SMTP id v8mr3172569faq.90.1295170102382; Sun, 16 Jan 2011 01:28:22 -0800 (PST) Received: from ernst.jennejohn.org (p578E3E8E.dip.t-dialin.net [87.142.62.142]) by mx.google.com with ESMTPS id n2sm1157020fam.28.2011.01.16.01.28.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 16 Jan 2011 01:28:21 -0800 (PST) Date: Sun, 16 Jan 2011 10:28:18 +0100 From: Gary Jennejohn To: Nathan Whitehorn Message-ID: <20110116102818.0667dd49@ernst.jennejohn.org> In-Reply-To: <4D309563.1000404@freebsd.org> References: <4D309563.1000404@freebsd.org> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current Current , freebsd-sysinstall@freebsd.org, freebsd-arch@FreeBSD.org Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 09:53:49 -0000 On Fri, 14 Jan 2011 12:26:43 -0600 Nathan Whitehorn wrote: > As those of you who have been reading freebsd-sysinstall and > freebsd-arch know, I have been working for a few weeks on a lightweight > new installer named 'bsdinstall'. This is designed to replace sysinstall > for the 9.0 release. > > After two weeks of testing and bug fixes on the sysinstall list, I > believe this now has all required functionality and is ready to be > merged into the main source tree. I would like to do this on Tuesday, 18 > January. Switching this to be the default installer would happen a few > weeks after that, pending discussion on release formats with the release > engineering team. This should provide a sufficient testing period before > 9.0 and allow a maximal number of bugs to be discovered and solved > before the release is shipped. > > Demo ISO for i386: > http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110114.iso.bz2 > SVN repository: svn://svn.freebsd.org/base/user/nwhitehorn/bsdinstall > Wiki page: http://wiki.freebsd.org/BSDInstall > I installed this under VirtualBox yesterday. The only porblem I noticed was that adding a user didn't actually work, although it appeared to do so (it asked at the end of the process whether all data for the new user were correct and then claimed to have added the user). Looking at /etc/passwd and in /home after booting the new installation showed that the user was never added. Otherwise it was a smooth install, although I didn't try anything fancy and just used the quick install and the entire disk for simpicity. -- Gary Jennejohn From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 16 11:35:02 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F159F106564A; Sun, 16 Jan 2011 11:35:01 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 10D648FC08; Sun, 16 Jan 2011 11:35:00 +0000 (UTC) Received: by wwf26 with SMTP id 26so4412217wwf.31 for ; Sun, 16 Jan 2011 03:35:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=eA/SUMdFKUUpXpjmSyGSA7cYUhCYDewUq6bo3fpC3AI=; b=MrnO7jRBOmRX5bltAMYCE5cqlarx//gEjU1G571CwlJG8ZFNXDb0MzwRe8t9715YTr 9fhBR3j+oGdwdbrBu66ddZRcRKJmqR7RWUg6X9QI/UKmN8i+HFnIGDquoV5KecdLWkhY L+FVOpUBLNaFCg7xbIYQNBgHAYay8WE6nHtOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gCtaolOPsJVwZVOlNcze8keTV++YFnTM8T7xy58p0RFA+Ubcke7IIUEjuGPXpuOJfn LZjUhCJ+wb47O0iguhUqsujnKp0mYZCoF3qCL2qcpKeSQ/0U43zPBbtAtxvosTGus4YY WBmhZW6hwMpXGdm6NsFz65QTDyC/p1xsShDMQ= MIME-Version: 1.0 Received: by 10.216.51.135 with SMTP id b7mr1311984wec.29.1295176011430; Sun, 16 Jan 2011 03:06:51 -0800 (PST) Received: by 10.216.229.73 with HTTP; Sun, 16 Jan 2011 03:06:51 -0800 (PST) In-Reply-To: <4D309563.1000404@freebsd.org> References: <4D309563.1000404@freebsd.org> Date: Sun, 16 Jan 2011 11:06:51 +0000 Message-ID: From: krad To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current Current , freebsd-sysinstall@freebsd.org, freebsd-arch@freebsd.org Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 11:35:02 -0000 On 14 January 2011 18:26, Nathan Whitehorn wrote: > > As those of you who have been reading freebsd-sysinstall and freebsd-arch= know, I have been working for a few weeks on a lightweight new installer n= amed 'bsdinstall'. This is designed to replace sysinstall for the 9.0 relea= se. > > After two weeks of testing and bug fixes on the sysinstall list, I believ= e this now has all required functionality and is ready to be merged into th= e main source tree. I would like to do this on Tuesday, 18 January. Switchi= ng this to be the default installer would happen a few weeks after that, pe= nding discussion on release formats with the release engineering team. This= should provide a sufficient testing period before 9.0 and allow a maximal = number of bugs to be discovered and solved before the release is shipped. > > Demo ISO for i386: http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-= 20110114.iso.bz2 > SVN repository: svn://svn.freebsd.org/base/user/nwhitehorn/bsdinstall > Wiki page: http://wiki.freebsd.org/BSDInstall > > Goals > ----- > The primary goal of BSDInstall is to provide an easily extensible install= er without the limitations of sysinstall, in order to allow more modern ins= tallations of FreeBSD. This means that it should have additional features t= o support modern setups, but simultaneously frees us to remove complicating= features of sysinstall like making sure everything fits in floppy disk-siz= ed chunks. > > New Features: > - Allows installation onto GPT disks on x86 systems > - Can do installations spanning multiple disks > - Allows installation into jails > - Eases PXE installation > - Virtualization friendly: can install from a live system onto disk > =A0images > - Works on PowerPC > - Streamlined system installation > - More flexible scripting > - Easily tweakable > - All install CDs are live CDs > > Architecture > ------------ > BSDInstall is a set of tools that are called in sequence by a master scri= pt. These tools are, for example, the partition editor, the thing that fetc= hes the distributions from the network, the thing that untars them, etc. Si= nce these are just called in sequence from a shell script, a scripted insta= llation can easily replace them with other things, (e.g. hard-coded gpart c= ommands), leave steps out, add new ones, or interleave additional system mo= difications. > > Status > ------ > This provides functionality most similar to the existing sysinstall 'Expr= ess' track. It installs working, bootable systems you can ssh into immediat= ely after reboot on i386, amd64, sparc64, powerpc, and powerpc64. There is = untested support for pc98. The final architecture on which we use sysinstal= l, ia64, is currently unsupported, because I don't know how to set up booti= ng on those systems -- patches to solve this are very much welcome. > > There are still some missing features that I would like to see in the rel= ease, but these do not significantly impact the functionality of the instal= ler. Some will be addressed before merging to HEAD, in particular the lack = of a man page for bsdinstall. Others, like configuration of wireless networ= king and ZFS installation, can happen between merge and release. The test I= SOs are also lacking a ports tree at the moment, which is a statement about= the slow upload speed of my DSL line and not about the final layout of rel= eases. > > Please send any questions, comments, or patches you may have, and please = be aware when replying that this email has been cross-posted to three lists= . Technical discussion (bug reports, for instance) should be directed to th= e freebsd-sysinstall list only. Most other discussion belongs on -sysinstal= l and -current. > -Nathan > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " I dont follow the=A0freebsd-sysinstall and freebsd-arc list so sorry if this has already been discussed. From what I have seen pc-sysinstall already does all these things, and can install freebsd. Therefore why are we reinventing the wheel? I don't mean this as any disrespect to the work you have done. From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 16 11:49:02 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E6BD106566B; Sun, 16 Jan 2011 11:49:02 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9C1188FC12; Sun, 16 Jan 2011 11:49:01 +0000 (UTC) Received: by wwf26 with SMTP id 26so4418079wwf.31 for ; Sun, 16 Jan 2011 03:49:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cEf0bTj8Ljehw9ACGJkS/b50dXuzm90sRrQ0KVbOQuo=; b=mgN39mRzvZQ1e8zA/cagWyJ6cZhgNXJwbCX6DKPLg3GN0CwDexNgZ/4xnUc2wEbVU7 DzoOdlg2Y6qxYlV0c6cRWDt8iqZwSZuQiM9vQ6sBElMasiefxIRoay6wT+87qRhquDOx I9fMh5fXtYWMKFWqSUZhumvWuqILi9JoDlCpM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=JOTAINbPPFMsmmAHo6TL+LcwjBnB94badCUDdY+Hr51K+lHm2SRNgE0swtc10i8aC5 cnZdVHjv3dgn31JdzBbgtNblUDarHI5FKv8I6lmHR9DSOurHJ7j6IBNKM6uehGY0HU3h RZf0JA0i3fPc9KFQwc/zBujns54rQoZFTWauM= MIME-Version: 1.0 Received: by 10.216.49.15 with SMTP id w15mr1300302web.1.1295178539705; Sun, 16 Jan 2011 03:48:59 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.254.226 with HTTP; Sun, 16 Jan 2011 03:48:59 -0800 (PST) In-Reply-To: References: <4D309563.1000404@freebsd.org> Date: Sun, 16 Jan 2011 03:48:59 -0800 X-Google-Sender-Auth: K5j7ZCijhGPOENgtGX9uSLdLu3A Message-ID: From: Garrett Cooper To: krad Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arch@freebsd.org, freebsd-current Current , freebsd-sysinstall@freebsd.org Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 11:49:02 -0000 On Sun, Jan 16, 2011 at 3:06 AM, krad wrote: > On 14 January 2011 18:26, Nathan Whitehorn wrote= : >> >> As those of you who have been reading freebsd-sysinstall and freebsd-arc= h know, I have been working for a few weeks on a lightweight new installer = named 'bsdinstall'. This is designed to replace sysinstall for the 9.0 rele= ase. >> >> After two weeks of testing and bug fixes on the sysinstall list, I belie= ve this now has all required functionality and is ready to be merged into t= he main source tree. I would like to do this on Tuesday, 18 January. Switch= ing this to be the default installer would happen a few weeks after that, p= ending discussion on release formats with the release engineering team. Thi= s should provide a sufficient testing period before 9.0 and allow a maximal= number of bugs to be discovered and solved before the release is shipped. >> >> Demo ISO for i386: http://people.freebsd.org/~nwhitehorn/bsdinstall-i386= -20110114.iso.bz2 >> SVN repository: svn://svn.freebsd.org/base/user/nwhitehorn/bsdinstall >> Wiki page: http://wiki.freebsd.org/BSDInstall >> >> Goals >> ----- >> The primary goal of BSDInstall is to provide an easily extensible instal= ler without the limitations of sysinstall, in order to allow more modern in= stallations of FreeBSD. This means that it should have additional features = to support modern setups, but simultaneously frees us to remove complicatin= g features of sysinstall like making sure everything fits in floppy disk-si= zed chunks. >> >> New Features: >> - Allows installation onto GPT disks on x86 systems >> - Can do installations spanning multiple disks >> - Allows installation into jails >> - Eases PXE installation >> - Virtualization friendly: can install from a live system onto disk >> =A0images >> - Works on PowerPC >> - Streamlined system installation >> - More flexible scripting >> - Easily tweakable >> - All install CDs are live CDs >> >> Architecture >> ------------ >> BSDInstall is a set of tools that are called in sequence by a master scr= ipt. These tools are, for example, the partition editor, the thing that fet= ches the distributions from the network, the thing that untars them, etc. S= ince these are just called in sequence from a shell script, a scripted inst= allation can easily replace them with other things, (e.g. hard-coded gpart = commands), leave steps out, add new ones, or interleave additional system m= odifications. >> >> Status >> ------ >> This provides functionality most similar to the existing sysinstall 'Exp= ress' track. It installs working, bootable systems you can ssh into immedia= tely after reboot on i386, amd64, sparc64, powerpc, and powerpc64. There is= untested support for pc98. The final architecture on which we use sysinsta= ll, ia64, is currently unsupported, because I don't know how to set up boot= ing on those systems -- patches to solve this are very much welcome. >> >> There are still some missing features that I would like to see in the re= lease, but these do not significantly impact the functionality of the insta= ller. Some will be addressed before merging to HEAD, in particular the lack= of a man page for bsdinstall. Others, like configuration of wireless netwo= rking and ZFS installation, can happen between merge and release. The test = ISOs are also lacking a ports tree at the moment, which is a statement abou= t the slow upload speed of my DSL line and not about the final layout of re= leases. >> >> Please send any questions, comments, or patches you may have, and please= be aware when replying that this email has been cross-posted to three list= s. Technical discussion (bug reports, for instance) should be directed to t= he freebsd-sysinstall list only. Most other discussion belongs on -sysinsta= ll and -current. > > I dont follow the=A0freebsd-sysinstall and freebsd-arc list so sorry if > this has already been discussed. From what I have seen pc-sysinstall > already does all these things, and can install freebsd. Therefore why > are we reinventing the wheel? > > I don't mean this as any disrespect to the work you have done. Hi Krad, I asked this two weeks ago and in summary: - pc-sysinstall is x86-centric and porting to powerpc is non-trivial, and sysinstall is incomplete on powerpc. Nate sought to get a working powerpc port with minimal effort. Please read other replies in the archives on freebsd-arch / freebsd-sysinstall to get more info as to why things have been done the way they have been done. Thanks, -Garrett From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 16 15:46:06 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84CA9106566C; Sun, 16 Jan 2011 15:46:06 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 446128FC1A; Sun, 16 Jan 2011 15:46:05 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 56B2D5811D; Sun, 16 Jan 2011 09:46:05 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id z4Eh6-9RFUoT; Sun, 16 Jan 2011 09:46:05 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-76-208-68-88.dsl.mdsnwi.sbcglobal.net [76.208.68.88]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 6C6535811A; Sun, 16 Jan 2011 09:46:04 -0600 (CST) Message-ID: <4D3312BB.30203@freebsd.org> Date: Sun, 16 Jan 2011 09:46:03 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101214 Thunderbird/3.1.7 MIME-Version: 1.0 To: krad References: <4D309563.1000404@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current Current , freebsd-sysinstall@freebsd.org, freebsd-arch@freebsd.org Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 15:46:06 -0000 On 01/16/11 05:48, Garrett Cooper wrote: > On Sun, Jan 16, 2011 at 3:06 AM, krad wrote: >> On 14 January 2011 18:26, Nathan Whitehorn wrote: >>> As those of you who have been reading freebsd-sysinstall and freebsd-arch know, I have been working for a few weeks on a lightweight new installer named 'bsdinstall'. This is designed to replace sysinstall for the 9.0 release. >>> >>> After two weeks of testing and bug fixes on the sysinstall list, I believe this now has all required functionality and is ready to be merged into the main source tree. I would like to do this on Tuesday, 18 January. Switching this to be the default installer would happen a few weeks after that, pending discussion on release formats with the release engineering team. This should provide a sufficient testing period before 9.0 and allow a maximal number of bugs to be discovered and solved before the release is shipped. >>> >>> Demo ISO for i386: http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110114.iso.bz2 >>> SVN repository: svn://svn.freebsd.org/base/user/nwhitehorn/bsdinstall >>> Wiki page: http://wiki.freebsd.org/BSDInstall >>> >>> Goals >>> ----- >>> The primary goal of BSDInstall is to provide an easily extensible installer without the limitations of sysinstall, in order to allow more modern installations of FreeBSD. This means that it should have additional features to support modern setups, but simultaneously frees us to remove complicating features of sysinstall like making sure everything fits in floppy disk-sized chunks. >>> >>> New Features: >>> - Allows installation onto GPT disks on x86 systems >>> - Can do installations spanning multiple disks >>> - Allows installation into jails >>> - Eases PXE installation >>> - Virtualization friendly: can install from a live system onto disk >>> images >>> - Works on PowerPC >>> - Streamlined system installation >>> - More flexible scripting >>> - Easily tweakable >>> - All install CDs are live CDs >>> >>> Architecture >>> ------------ >>> BSDInstall is a set of tools that are called in sequence by a master script. These tools are, for example, the partition editor, the thing that fetches the distributions from the network, the thing that untars them, etc. Since these are just called in sequence from a shell script, a scripted installation can easily replace them with other things, (e.g. hard-coded gpart commands), leave steps out, add new ones, or interleave additional system modifications. >>> >>> Status >>> ------ >>> This provides functionality most similar to the existing sysinstall 'Express' track. It installs working, bootable systems you can ssh into immediately after reboot on i386, amd64, sparc64, powerpc, and powerpc64. There is untested support for pc98. The final architecture on which we use sysinstall, ia64, is currently unsupported, because I don't know how to set up booting on those systems -- patches to solve this are very much welcome. >>> >>> There are still some missing features that I would like to see in the release, but these do not significantly impact the functionality of the installer. Some will be addressed before merging to HEAD, in particular the lack of a man page for bsdinstall. Others, like configuration of wireless networking and ZFS installation, can happen between merge and release. The test ISOs are also lacking a ports tree at the moment, which is a statement about the slow upload speed of my DSL line and not about the final layout of releases. >>> >>> Please send any questions, comments, or patches you may have, and please be aware when replying that this email has been cross-posted to three lists. Technical discussion (bug reports, for instance) should be directed to the freebsd-sysinstall list only. Most other discussion belongs on -sysinstall and -current. >> I dont follow the freebsd-sysinstall and freebsd-arc list so sorry if >> this has already been discussed. From what I have seen pc-sysinstall >> already does all these things, and can install freebsd. Therefore why >> are we reinventing the wheel? >> >> I don't mean this as any disrespect to the work you have done. > Hi Krad, > I asked this two weeks ago and in summary: > > - pc-sysinstall is x86-centric and porting to powerpc is non-trivial, > and sysinstall is incomplete on powerpc. Nate sought to get a working > powerpc port with minimal effort. > > Please read other replies in the archives on freebsd-arch / > freebsd-sysinstall to get more info as to why things have been done > the way they have been done. Here's the summary of why this doesn't use pc-sysinstall. PC-sysinstall is the backend of the PC-BSD installer, and was imported into FreeBSD in June 2010 with the goal of replacing sysinstall. It is much more full-featured that either bsdinstall or sysinstall, providing support for encrypted disks, ZFS, and mirroring. These are all good things. However, 9.0 is coming up quite soon, and pc-sysinstall still does not have a usable front-end (the code in the tree is just a script interpreter) nor support for non-x86 platforms. Adding these things appeared to be quite difficult and, in the second case, to require major rearchitecting of the installer backend. Since the original goal that Garrett alluded to was to provide an installer on PowerPC, this was obviously a non-starter. What BSDinstall is is a stopgap, designed to provide a subset of pc-sysinstall's features but to be available quickly, in time for 9.0, and to have all of the features it does provide actually hooked up and usable. At the same time, I have architectured bsdinstall in such a way that (a) I would be happy enough to be stuck with it permanently (i.e. it is not a quick hack and was designed to be easily maintainable and extendable) and (b) it could be later adapted into the missing front-end for pc-sysinstall without an enormous amount of trouble. Many of the issues we need to face now to integrate bsdinstall (making bootable live CDs or the integration of a newer libdialog, for instance) are common to any later effort to import a pc-sysinstall front-end. Having these things in use and in the tree will only help pc-sysinstall whenever it is finished. -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 16 16:56:57 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9D9C106564A; Sun, 16 Jan 2011 16:56:57 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4894B8FC16; Sun, 16 Jan 2011 16:56:56 +0000 (UTC) Received: by qwj9 with SMTP id 9so3887493qwj.13 for ; Sun, 16 Jan 2011 08:56:56 -0800 (PST) Received: by 10.229.227.15 with SMTP id iy15mr2799966qcb.51.1295195690135; Sun, 16 Jan 2011 08:34:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.91.14 with HTTP; Sun, 16 Jan 2011 08:34:29 -0800 (PST) In-Reply-To: <4D309563.1000404@freebsd.org> References: <4D309563.1000404@freebsd.org> From: =?UTF-8?Q?Marius_N=C3=BCnnerich?= Date: Sun, 16 Jan 2011 17:34:29 +0100 Message-ID: To: Nathan Whitehorn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current Current , freebsd-sysinstall@freebsd.org, freebsd-arch@freebsd.org Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 16:56:58 -0000 On Fri, Jan 14, 2011 at 19:26, Nathan Whitehorn wr= ote: > As those of you who have been reading freebsd-sysinstall and freebsd-arch > know, I have been working for a few weeks on a lightweight new installer > named 'bsdinstall'. This is designed to replace sysinstall for the 9.0 > release. > > After two weeks of testing and bug fixes on the sysinstall list, I believ= e > this now has all required functionality and is ready to be merged into th= e > main source tree. I would like to do this on Tuesday, 18 January. Switchi= ng > this to be the default installer would happen a few weeks after that, > pending discussion on release formats with the release engineering team. > This should provide a sufficient testing period before 9.0 and allow a > maximal number of bugs to be discovered and solved before the release is > shipped. > > Demo ISO for i386: > http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110114.iso.bz2 > SVN repository: svn://svn.freebsd.org/base/user/nwhitehorn/bsdinstall > Wiki page: http://wiki.freebsd.org/BSDInstall > > Goals > ----- > The primary goal of BSDInstall is to provide an easily extensible install= er > without the limitations of sysinstall, in order to allow more modern > installations of FreeBSD. This means that it should have additional featu= res > to support modern setups, but simultaneously frees us to remove complicat= ing > features of sysinstall like making sure everything fits in floppy disk-si= zed > chunks. > > New Features: > - Allows installation onto GPT disks on x86 systems > - Can do installations spanning multiple disks > - Allows installation into jails > - Eases PXE installation > - Virtualization friendly: can install from a live system onto disk > =C2=A0images > - Works on PowerPC > - Streamlined system installation > - More flexible scripting > - Easily tweakable > - All install CDs are live CDs > > Architecture > ------------ > BSDInstall is a set of tools that are called in sequence by a master scri= pt. > These tools are, for example, the partition editor, the thing that fetche= s > the distributions from the network, the thing that untars them, etc. Sinc= e > these are just called in sequence from a shell script, a scripted > installation can easily replace them with other things, (e.g. hard-coded > gpart commands), leave steps out, add new ones, or interleave additional > system modifications. > > Status > ------ > This provides functionality most similar to the existing sysinstall > 'Express' track. It installs working, bootable systems you can ssh into > immediately after reboot on i386, amd64, sparc64, powerpc, and powerpc64. > There is untested support for pc98. The final architecture on which we us= e > sysinstall, ia64, is currently unsupported, because I don't know how to s= et > up booting on those systems -- patches to solve this are very much welcom= e. > > There are still some missing features that I would like to see in the > release, but these do not significantly impact the functionality of the > installer. Some will be addressed before merging to HEAD, in particular t= he > lack of a man page for bsdinstall. Others, like configuration of wireless > networking and ZFS installation, can happen between merge and release. Th= e > test ISOs are also lacking a ports tree at the moment, which is a stateme= nt > about the slow upload speed of my DSL line and not about the final layout= of > releases. > > Please send any questions, comments, or patches you may have, and please = be > aware when replying that this email has been cross-posted to three lists. > Technical discussion (bug reports, for instance) should be directed to th= e > freebsd-sysinstall list only. Most other discussion belongs on -sysinstal= l > and -current. > -Nathan Clean new virtualbox on FreeBSD host. Install -> German ISO-8859-1 -> "vbox" -> Guided -> ad0 -> Partition -> "You have canceled an installation step" Actually I didn't cancel anything :) After using the entire disk and installing some distributions it hangs waiting for the root password, it won't continue when I just press enter. The screen output looks garbled by a LOR. The screen waiting for the root pw is garbled too. Seems like it's not doing a carriage return, just line-feeds. I tried this again a second time and everything worked normally. From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 16 22:06:59 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01013106566C for ; Sun, 16 Jan 2011 22:06:59 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id B95CF8FC12 for ; Sun, 16 Jan 2011 22:06:58 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 2D4955811D; Sun, 16 Jan 2011 16:06:58 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id X-lPVLJCyGkD; Sun, 16 Jan 2011 16:06:58 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-76-208-68-88.dsl.mdsnwi.sbcglobal.net [76.208.68.88]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 89C075811A; Sun, 16 Jan 2011 16:06:55 -0600 (CST) Message-ID: <4D336BFC.1020004@freebsd.org> Date: Sun, 16 Jan 2011 16:06:52 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101214 Thunderbird/3.1.7 MIME-Version: 1.0 To: =?UTF-8?B?TWFyaXVzIE7DvG5uZXJpY2g=?= References: <4D309563.1000404@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-sysinstall@freebsd.org Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 22:06:59 -0000 On 01/16/11 10:34, Marius Nünnerich wrote: > On Fri, Jan 14, 2011 at 19:26, Nathan Whitehorn wrote: >> As those of you who have been reading freebsd-sysinstall and freebsd-arch >> know, I have been working for a few weeks on a lightweight new installer >> named 'bsdinstall'. This is designed to replace sysinstall for the 9.0 >> release. >> >> After two weeks of testing and bug fixes on the sysinstall list, I believe >> this now has all required functionality and is ready to be merged into the >> main source tree. I would like to do this on Tuesday, 18 January. Switching >> this to be the default installer would happen a few weeks after that, >> pending discussion on release formats with the release engineering team. >> This should provide a sufficient testing period before 9.0 and allow a >> maximal number of bugs to be discovered and solved before the release is >> shipped. >> >> Demo ISO for i386: >> http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110114.iso.bz2 >> SVN repository: svn://svn.freebsd.org/base/user/nwhitehorn/bsdinstall >> Wiki page: http://wiki.freebsd.org/BSDInstall >> >> Goals >> ----- >> The primary goal of BSDInstall is to provide an easily extensible installer >> without the limitations of sysinstall, in order to allow more modern >> installations of FreeBSD. This means that it should have additional features >> to support modern setups, but simultaneously frees us to remove complicating >> features of sysinstall like making sure everything fits in floppy disk-sized >> chunks. >> >> New Features: >> - Allows installation onto GPT disks on x86 systems >> - Can do installations spanning multiple disks >> - Allows installation into jails >> - Eases PXE installation >> - Virtualization friendly: can install from a live system onto disk >> images >> - Works on PowerPC >> - Streamlined system installation >> - More flexible scripting >> - Easily tweakable >> - All install CDs are live CDs >> >> Architecture >> ------------ >> BSDInstall is a set of tools that are called in sequence by a master script. >> These tools are, for example, the partition editor, the thing that fetches >> the distributions from the network, the thing that untars them, etc. Since >> these are just called in sequence from a shell script, a scripted >> installation can easily replace them with other things, (e.g. hard-coded >> gpart commands), leave steps out, add new ones, or interleave additional >> system modifications. >> >> Status >> ------ >> This provides functionality most similar to the existing sysinstall >> 'Express' track. It installs working, bootable systems you can ssh into >> immediately after reboot on i386, amd64, sparc64, powerpc, and powerpc64. >> There is untested support for pc98. The final architecture on which we use >> sysinstall, ia64, is currently unsupported, because I don't know how to set >> up booting on those systems -- patches to solve this are very much welcome. >> >> There are still some missing features that I would like to see in the >> release, but these do not significantly impact the functionality of the >> installer. Some will be addressed before merging to HEAD, in particular the >> lack of a man page for bsdinstall. Others, like configuration of wireless >> networking and ZFS installation, can happen between merge and release. The >> test ISOs are also lacking a ports tree at the moment, which is a statement >> about the slow upload speed of my DSL line and not about the final layout of >> releases. >> >> Please send any questions, comments, or patches you may have, and please be >> aware when replying that this email has been cross-posted to three lists. >> Technical discussion (bug reports, for instance) should be directed to the >> freebsd-sysinstall list only. Most other discussion belongs on -sysinstall >> and -current. >> -Nathan > Clean new virtualbox on FreeBSD host. > > Install -> German ISO-8859-1 -> "vbox" -> Guided -> ad0 -> Partition > -> "You have canceled an installation step" > > Actually I didn't cancel anything :) That is fixed now. Thanks for the report! > After using the entire disk and installing some distributions it hangs > waiting for the root password, it won't continue when I just press > enter. I can't reproduce this. What happens if you press control-C? > The screen output looks garbled by a LOR. The screen waiting for the > root pw is garbled too. Seems like it's not doing a carriage return, > just line-feeds. I tried this again a second time and everything > worked normally. The LORs are from the UFS system. Since this is a 9.0-CURRENT snapshot, WITNESS is on in the install kernel. The carriage return issue may be related to a bug Garrett Cooper found in libdialog which will hopefully be fixed before too long. -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Mon Jan 17 00:40:47 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3B45106566C for ; Mon, 17 Jan 2011 00:40:47 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id A8E478FC0A for ; Mon, 17 Jan 2011 00:40:47 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id E938D5811A for ; Sun, 16 Jan 2011 18:40:46 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id wPpWn6eaf1Ik for ; Sun, 16 Jan 2011 18:40:46 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-76-208-68-88.dsl.mdsnwi.sbcglobal.net [76.208.68.88]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 943E958119 for ; Sun, 16 Jan 2011 18:40:46 -0600 (CST) Message-ID: <4D33900D.3030804@freebsd.org> Date: Sun, 16 Jan 2011 18:40:45 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101214 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-sysinstall@freebsd.org References: <4D309563.1000404@freebsd.org> <201101150730.01010.pieter@degoeje.nl> <4D31C22B.8040906@freebsd.org> In-Reply-To: <4D31C22B.8040906@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2011 00:40:47 -0000 On 01/15/11 09:50, Nathan Whitehorn wrote: > On 01/15/11 00:30, Pieter de Goeje wrote: > 2) The Partition Editor's confirmation dialog has two options "Don't > Save" >> and "Cancel"; it is unclear what the difference between the two is. >> AFAICT "Don't Save" really means "Cancel installation", and "Cancel" >> really >> means "Re-edit" (I'm sure there's a better word for that). > How abort renaming "Don't Save" to "Abort?" >> 3) These steps result in an error dialog: "Invalid argument size '0'" >> 1) Do a complete guided install on a 4GB disk >> 2) Restart installer and choose guided install >> 3) Select "partition" instead of "entire disk". > > Ah, I'll add a check for the too little free space case. The way > "Partition" works is that it adds new FreeBSD partitions to the disk > in the available space, and it breaks if there is not any. This is > easily fixed. This (and several other issues) have been fixed now. I've uploaded a new i386 ISO to http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110116.iso.bz2 -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Mon Jan 17 01:31:12 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A43A91065672; Mon, 17 Jan 2011 01:31:12 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5D0E58FC1E; Mon, 17 Jan 2011 01:31:12 +0000 (UTC) Received: by iyb26 with SMTP id 26so4319221iyb.13 for ; Sun, 16 Jan 2011 17:31:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=NCOOcVMonrIaJNhc1OqXcwiscLbuDNOLqntcRK/BINk=; b=sB72qLLAXNv8ocQp3ydG8VDAHUgOfRWffNu+KlLg+kj1h8C8bO7z1s+jds2PSJFtjZ NtcA1/9WSTd2IAn4yzwzI3vH333H0JTLantIurZDfpbsTck6EVeaJl8bQa37Il4r7O/r jJUBjMolkVsBivCaQ5xBzRl90qU/yuJN5L4uw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=NwHVypIW2q+bwdeitCwjC8rsGDJCWflJU/tTv5gJ/FYHrnU4tZhk/wTJM30Lq13VD8 89muXhVIELN+yW3hVQn2gEUhZ+4pxWkjARtEWeSJjRF99g4n8z8wjgMyuGHIKRfe8+I4 oAk+pVOWbYa5HOCaIp34ulh6L4ELFsr/OEhd0= MIME-Version: 1.0 Received: by 10.231.59.197 with SMTP id m5mr3557097ibh.25.1295227871695; Sun, 16 Jan 2011 17:31:11 -0800 (PST) Received: by 10.231.79.197 with HTTP; Sun, 16 Jan 2011 17:31:11 -0800 (PST) In-Reply-To: <4D33900D.3030804@freebsd.org> References: <4D309563.1000404@freebsd.org> <201101150730.01010.pieter@degoeje.nl> <4D31C22B.8040906@freebsd.org> <4D33900D.3030804@freebsd.org> Date: Sun, 16 Jan 2011 20:31:11 -0500 Message-ID: From: Mehmet Erol Sanliturk To: Nathan Whitehorn Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-sysinstall@freebsd.org Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2011 01:31:12 -0000 On Sun, Jan 16, 2011 at 7:40 PM, Nathan Whitehorn wrote: > On 01/15/11 09:50, Nathan Whitehorn wrote: > >> On 01/15/11 00:30, Pieter de Goeje wrote: >> > > 2) The Partition Editor's confirmation dialog has two options "Don't Save" >> >>> and "Cancel"; it is unclear what the difference between the two is. >>> AFAICT "Don't Save" really means "Cancel installation", and "Cancel" >>> really >>> means "Re-edit" (I'm sure there's a better word for that). >>> >> How abort renaming "Don't Save" to "Abort?" >> >>> 3) These steps result in an error dialog: "Invalid argument size '0'" >>> 1) Do a complete guided install on a 4GB disk >>> 2) Restart installer and choose guided install >>> 3) Select "partition" instead of "entire disk". >>> >> >> Ah, I'll add a check for the too little free space case. The way >> "Partition" works is that it adds new FreeBSD partitions to the disk in the >> available space, and it breaks if there is not any. This is easily fixed. >> > > This (and several other issues) have been fixed now. I've uploaded a new > i386 ISO to > http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110116.iso.bz2 > > -Nathan > Dear Nathan , I am preparing a set of scripts for my suggestions about new installer , but I need your help for DIALOG . I am using my text editor which is suitable for easy editing and productivity . It is inserting a blank character after last non-blank character because some Unix systems programs are requiring such a structure , but this is violating DIALOG rules : I do NOT want to change my editor in that respect , which this will break my other parameter files . Although a new parameter may be inserted but WHY . This is a problem of DIALOG . Shell does NOT have such a restriction . DIALOG is requiring that after last \ ( line continuation symbol ) there should NOT be any blank character . I spent a whole night to discover that this is the problem . Is it possible to supply a DIALOG which will ignore blank characters after \ character . I am using separate lines for DIALOG parameters for readability of scripts . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-sysinstall@FreeBSD.ORG Mon Jan 17 11:04:29 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A71F7106564A; Mon, 17 Jan 2011 11:04:29 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 4E1218FC14; Mon, 17 Jan 2011 11:04:28 +0000 (UTC) Received: by qyk8 with SMTP id 8so1349263qyk.13 for ; Mon, 17 Jan 2011 03:04:28 -0800 (PST) Received: by 10.229.225.5 with SMTP id iq5mr3581582qcb.13.1295262268062; Mon, 17 Jan 2011 03:04:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.91.14 with HTTP; Mon, 17 Jan 2011 02:42:25 -0800 (PST) In-Reply-To: <4D336BFC.1020004@freebsd.org> References: <4D309563.1000404@freebsd.org> <4D336BFC.1020004@freebsd.org> From: =?UTF-8?Q?Marius_N=C3=BCnnerich?= Date: Mon, 17 Jan 2011 11:42:25 +0100 Message-ID: To: Nathan Whitehorn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-sysinstall@freebsd.org Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2011 11:04:29 -0000 On Sun, Jan 16, 2011 at 23:06, Nathan Whitehorn wr= ote: > On 01/16/11 10:34, Marius N=C3=BCnnerich wrote: >> >> On Fri, Jan 14, 2011 at 19:26, Nathan Whitehorn >> =C2=A0wrote: >>> >>> As those of you who have been reading freebsd-sysinstall and freebsd-ar= ch >>> know, I have been working for a few weeks on a lightweight new installe= r >>> named 'bsdinstall'. This is designed to replace sysinstall for the 9.0 >>> release. >>> >>> After two weeks of testing and bug fixes on the sysinstall list, I >>> believe >>> this now has all required functionality and is ready to be merged into >>> the >>> main source tree. I would like to do this on Tuesday, 18 January. >>> Switching >>> this to be the default installer would happen a few weeks after that, >>> pending discussion on release formats with the release engineering team= . >>> This should provide a sufficient testing period before 9.0 and allow a >>> maximal number of bugs to be discovered and solved before the release i= s >>> shipped. >>> >>> Demo ISO for i386: >>> http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110114.iso.bz2 >>> SVN repository: svn://svn.freebsd.org/base/user/nwhitehorn/bsdinstall >>> Wiki page: http://wiki.freebsd.org/BSDInstall >>> >>> Goals >>> ----- >>> The primary goal of BSDInstall is to provide an easily extensible >>> installer >>> without the limitations of sysinstall, in order to allow more modern >>> installations of FreeBSD. This means that it should have additional >>> features >>> to support modern setups, but simultaneously frees us to remove >>> complicating >>> features of sysinstall like making sure everything fits in floppy >>> disk-sized >>> chunks. >>> >>> New Features: >>> - Allows installation onto GPT disks on x86 systems >>> - Can do installations spanning multiple disks >>> - Allows installation into jails >>> - Eases PXE installation >>> - Virtualization friendly: can install from a live system onto disk >>> =C2=A0images >>> - Works on PowerPC >>> - Streamlined system installation >>> - More flexible scripting >>> - Easily tweakable >>> - All install CDs are live CDs >>> >>> Architecture >>> ------------ >>> BSDInstall is a set of tools that are called in sequence by a master >>> script. >>> These tools are, for example, the partition editor, the thing that >>> fetches >>> the distributions from the network, the thing that untars them, etc. >>> Since >>> these are just called in sequence from a shell script, a scripted >>> installation can easily replace them with other things, (e.g. hard-code= d >>> gpart commands), leave steps out, add new ones, or interleave additiona= l >>> system modifications. >>> >>> Status >>> ------ >>> This provides functionality most similar to the existing sysinstall >>> 'Express' track. It installs working, bootable systems you can ssh into >>> immediately after reboot on i386, amd64, sparc64, powerpc, and powerpc6= 4. >>> There is untested support for pc98. The final architecture on which we >>> use >>> sysinstall, ia64, is currently unsupported, because I don't know how to >>> set >>> up booting on those systems -- patches to solve this are very much >>> welcome. >>> >>> There are still some missing features that I would like to see in the >>> release, but these do not significantly impact the functionality of the >>> installer. Some will be addressed before merging to HEAD, in particular >>> the >>> lack of a man page for bsdinstall. Others, like configuration of wirele= ss >>> networking and ZFS installation, can happen between merge and release. >>> The >>> test ISOs are also lacking a ports tree at the moment, which is a >>> statement >>> about the slow upload speed of my DSL line and not about the final layo= ut >>> of >>> releases. >>> >>> Please send any questions, comments, or patches you may have, and pleas= e >>> be >>> aware when replying that this email has been cross-posted to three list= s. >>> Technical discussion (bug reports, for instance) should be directed to >>> the >>> freebsd-sysinstall list only. Most other discussion belongs on >>> -sysinstall >>> and -current. >>> -Nathan >> >> Clean new virtualbox on FreeBSD host. >> >> Install -> =C2=A0German ISO-8859-1 -> =C2=A0"vbox" -> =C2=A0Guided -> = =C2=A0ad0 -> =C2=A0Partition >> -> =C2=A0"You have canceled an installation step" >> >> Actually I didn't cancel anything :) > > That is fixed now. Thanks for the report! Thanks! >> After using the entire disk and installing some distributions it hangs >> waiting for the root password, it won't continue when I just press >> enter. > > I can't reproduce this. What happens if you press control-C? No reponse to Control-C. Maybe this happens only when the first thing happened I described? So trying to partion -> "canceled" -> use entire disk. Or maybe it's related to the libdialog bug, when I couldn't enter a root pw the carriage returns where missing. > >> The screen output looks garbled by a LOR. The screen waiting for the >> root pw is garbled too. Seems like it's not doing a carriage return, >> just line-feeds. I tried this again a second time and everything >> worked normally. > > The LORs are from the UFS system. Since this is a 9.0-CURRENT snapshot, > WITNESS is on in the install kernel. The carriage return issue may be > related to a bug Garrett Cooper found in libdialog which will hopefully b= e > fixed before too long. Nice :) From owner-freebsd-sysinstall@FreeBSD.ORG Mon Jan 17 11:07:09 2011 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AC3D1065672 for ; Mon, 17 Jan 2011 11:07:09 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5FA768FC1A for ; Mon, 17 Jan 2011 11:07:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p0HB79Qm049027 for ; Mon, 17 Jan 2011 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0HB78VU049025 for freebsd-sysinstall@FreeBSD.org; Mon, 17 Jan 2011 11:07:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Jan 2011 11:07:08 GMT Message-Id: <201101171107.p0HB78VU049025@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-sysinstall@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-sysinstall@FreeBSD.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2011 11:07:09 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/153809 sysinstall [patch] sysinstall(8): Choose Distributions screen, co o bin/151229 sysinstall sysinstall(8) - shift-tab doesn't work as expected o bin/150995 sysinstall sysinstall(8): corruption of partition table s bin/150237 sysinstall sysinstall(8): Suggestion: installer should suggest th o bin/148805 sysinstall [hang] FreeBSD 7.2, 8.0, and 9.0 hang during install a f bin/148220 sysinstall sysinstall(8): 9.0-current gets "Cannot resolv hostnam o bin/148201 sysinstall sysinstall(8): core dump (Error 10) while trying to in o bin/146299 sysinstall sysinstall(8): cannot create slice o bin/145735 sysinstall sysinstall(8) trashes Vista-created partition tables o bin/144278 sysinstall [install] Fixit from USB dont work o bin/142867 sysinstall sysinstall(8): in a custom installation re-entering th o bin/140843 sysinstall sysinstall(8): cannot software install from usb o bin/140842 sysinstall sysinstall(8): destroyed ncurses interface with FBSD8. o bin/138423 sysinstall sysinstall(8): Installer (and sade) get wrong number o o bin/137864 sysinstall [patch] sysinstall(8): add possibility to shutdown/pow o bin/137713 sysinstall sysinstall(8): installer partition editor generates in f bin/136161 sysinstall sysinstall(8) installs wrong architecture on amd64 o bin/129762 sysinstall sysinstall(8) doesn't seem to support GPT for EFI boar s bin/123304 sysinstall sysinstall(8): missing sensible and user friendly prog o bin/121503 sysinstall sysinstall(8): 7.0 upgrade doesn't let me mount all of o bin/119077 sysinstall [patch] sysinstall(8) - reading packages from index is o bin/113979 sysinstall [patch] sysinstall(8) does not support UFS1 filesystem o bin/112757 sysinstall sysinstall(8): sysinstall(8): in the FDISK tool we can o bin/108191 sysinstall sysinstall(8): Disklabel editor help text (by F1 key) o bin/107830 sysinstall sysinstall(8): Change Units (Z) in fdisk doesn't work o bin/102498 sysinstall sysinstall(8): Cursor doesn't track sysinstall hilight a bin/101762 sysinstall sysinstall(8) does not obey /usr/ports symlink while i o bin/97108 sysinstall sysinstall(8): write failure on transfer (wrote -1 byt o bin/93275 sysinstall sysinstall(8): Failure to install after restarting ins o bin/90656 sysinstall sysinstall(8): 6.0-RELEASE (i386) cannot be installed o bin/80371 sysinstall cannot install 5.4-RC3 from DOS partition o bin/79840 sysinstall sysinstall(8): Partitioning and formating a new disk f o bin/79621 sysinstall sysinstall(8): sysinstall(8) does not create a device o bin/78964 sysinstall sysinstall(8): can not write labels to hdd on installa f bin/73511 sysinstall sysinstall(8): SCSI drive install failure - RC2 o bin/73410 sysinstall sysinstall(8): Sysinstall could not allocate disklabel o bin/72895 sysinstall sysinstall(8): Sysinstall generates invalid partition o bin/70002 sysinstall sysinstall(8): fails to locate FTP dirs if the OS has o bin/69986 sysinstall sysinstall(8): [patch] no job control in fixit shell o o bin/69942 sysinstall sysinstall(8): sysinstall changes /etc/rc.conf after i o bin/69723 sysinstall sysinstall(8): [request] allow to continue from packag o bin/62702 sysinstall sysinstall(8): backup of /etc and /root during sysinst o alpha/61940 sysinstall sysinstall(8): Can't disklabel new disk from FreeBSD/a o bin/60632 sysinstall sysinstall(8): UI bug in partition label screen in sys o bin/59708 sysinstall sysinstall(8): [patch] add sSMTP support for Mail sele o bin/53341 sysinstall sysinstall(8): [patch] dump frequency in sysinstall is o bin/46905 sysinstall sysinstall(8): FreeBSD 5.x cannot be installed from mu o bin/41949 sysinstall sysinstall(8): sysinstall sorts /etc/rc.conf during ne o bin/41850 sysinstall sysinstall(8): sysinstall fails to create root filesys f bin/40260 sysinstall sysinstall(8): hang when detecting devices (No CD/DVD s conf/39580 sysinstall sysinstall(8): [request] more secure mount options o bin/38056 sysinstall sysinstall(8): User (creation)'s "Member groups" item a bin/32375 sysinstall sysinstall(8): sysinstall doesn't respect User generat s bin/7232 sysinstall sysinstall(8): suggestion for FreeBSD installation dia 54 problems total. From owner-freebsd-sysinstall@FreeBSD.ORG Mon Jan 17 11:14:24 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B6B810657E9; Mon, 17 Jan 2011 11:14:24 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EF6748FC0A; Mon, 17 Jan 2011 11:14:23 +0000 (UTC) Received: by wyf19 with SMTP id 19so5108888wyf.13 for ; Mon, 17 Jan 2011 03:14:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=QwUw6rlALQ+9Tr78jXHxDeW62hj1WVpSIHKLsZBnPCQ=; b=aFEgDJiuHB6XPKXEfOmOkeqH3+PJ5Ud9ni1Vq+F+GwA311vHSAVQOJsXa5bM2mWze7 I/WHzRrzP7oVhS7519A3wrURql315SuxmnEf3R85LHR7jw/SShrBHVcI7bYdPMf7+pZP zyLQTOZlnTA6fWptBoan5n4R8GOcdGKrdZyYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=QadAsrrgjpaHueY2xHkKHyi3WFHhnePjM8LD76UQTm2++9IRTN9jnl/hxK3Hc1xuqp EqCMie3q3BFPs52kOGvQlMtgYokgROyUd/EVeWXisGvIjaKoIIIX4p8AS2zIETpzHWp8 DSRY1NT2QOkWzezM401Z3TXJnlUKCpwr0HQy8= MIME-Version: 1.0 Received: by 10.216.185.142 with SMTP id u14mr2201659wem.31.1295262862763; Mon, 17 Jan 2011 03:14:22 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.254.226 with HTTP; Mon, 17 Jan 2011 03:14:22 -0800 (PST) In-Reply-To: References: <4D309563.1000404@freebsd.org> <4D336BFC.1020004@freebsd.org> Date: Mon, 17 Jan 2011 03:14:22 -0800 X-Google-Sender-Auth: 3fIanc4NJENCd5T8o3ElBmflZ3U Message-ID: From: Garrett Cooper To: =?ISO-8859-1?Q?Marius_N=FCnnerich?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-sysinstall@freebsd.org Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2011 11:14:27 -0000 On Mon, Jan 17, 2011 at 2:42 AM, Marius N=FCnnerich wr= ote: > On Sun, Jan 16, 2011 at 23:06, Nathan Whitehorn = wrote: >> On 01/16/11 10:34, Marius N=FCnnerich wrote: >>> >>> On Fri, Jan 14, 2011 at 19:26, Nathan Whitehorn >>> =A0wrote: >>>> >>>> As those of you who have been reading freebsd-sysinstall and freebsd-a= rch >>>> know, I have been working for a few weeks on a lightweight new install= er >>>> named 'bsdinstall'. This is designed to replace sysinstall for the 9.0 >>>> release. >>>> >>>> After two weeks of testing and bug fixes on the sysinstall list, I >>>> believe >>>> this now has all required functionality and is ready to be merged into >>>> the >>>> main source tree. I would like to do this on Tuesday, 18 January. >>>> Switching >>>> this to be the default installer would happen a few weeks after that, >>>> pending discussion on release formats with the release engineering tea= m. >>>> This should provide a sufficient testing period before 9.0 and allow a >>>> maximal number of bugs to be discovered and solved before the release = is >>>> shipped. >>>> >>>> Demo ISO for i386: >>>> http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110114.iso.bz2 >>>> SVN repository: svn://svn.freebsd.org/base/user/nwhitehorn/bsdinstall >>>> Wiki page: http://wiki.freebsd.org/BSDInstall >>>> >>>> Goals >>>> ----- >>>> The primary goal of BSDInstall is to provide an easily extensible >>>> installer >>>> without the limitations of sysinstall, in order to allow more modern >>>> installations of FreeBSD. This means that it should have additional >>>> features >>>> to support modern setups, but simultaneously frees us to remove >>>> complicating >>>> features of sysinstall like making sure everything fits in floppy >>>> disk-sized >>>> chunks. >>>> >>>> New Features: >>>> - Allows installation onto GPT disks on x86 systems >>>> - Can do installations spanning multiple disks >>>> - Allows installation into jails >>>> - Eases PXE installation >>>> - Virtualization friendly: can install from a live system onto disk >>>> =A0images >>>> - Works on PowerPC >>>> - Streamlined system installation >>>> - More flexible scripting >>>> - Easily tweakable >>>> - All install CDs are live CDs >>>> >>>> Architecture >>>> ------------ >>>> BSDInstall is a set of tools that are called in sequence by a master >>>> script. >>>> These tools are, for example, the partition editor, the thing that >>>> fetches >>>> the distributions from the network, the thing that untars them, etc. >>>> Since >>>> these are just called in sequence from a shell script, a scripted >>>> installation can easily replace them with other things, (e.g. hard-cod= ed >>>> gpart commands), leave steps out, add new ones, or interleave addition= al >>>> system modifications. >>>> >>>> Status >>>> ------ >>>> This provides functionality most similar to the existing sysinstall >>>> 'Express' track. It installs working, bootable systems you can ssh int= o >>>> immediately after reboot on i386, amd64, sparc64, powerpc, and powerpc= 64. >>>> There is untested support for pc98. The final architecture on which we >>>> use >>>> sysinstall, ia64, is currently unsupported, because I don't know how t= o >>>> set >>>> up booting on those systems -- patches to solve this are very much >>>> welcome. >>>> >>>> There are still some missing features that I would like to see in the >>>> release, but these do not significantly impact the functionality of th= e >>>> installer. Some will be addressed before merging to HEAD, in particula= r >>>> the >>>> lack of a man page for bsdinstall. Others, like configuration of wirel= ess >>>> networking and ZFS installation, can happen between merge and release. >>>> The >>>> test ISOs are also lacking a ports tree at the moment, which is a >>>> statement >>>> about the slow upload speed of my DSL line and not about the final lay= out >>>> of >>>> releases. >>>> >>>> Please send any questions, comments, or patches you may have, and plea= se >>>> be >>>> aware when replying that this email has been cross-posted to three lis= ts. >>>> Technical discussion (bug reports, for instance) should be directed to >>>> the >>>> freebsd-sysinstall list only. Most other discussion belongs on >>>> -sysinstall >>>> and -current. >>>> -Nathan >>> >>> Clean new virtualbox on FreeBSD host. >>> >>> Install -> =A0German ISO-8859-1 -> =A0"vbox" -> =A0Guided -> =A0ad0 -> = =A0Partition >>> -> =A0"You have canceled an installation step" >>> >>> Actually I didn't cancel anything :) >> >> That is fixed now. Thanks for the report! > > Thanks! > >>> After using the entire disk and installing some distributions it hangs >>> waiting for the root password, it won't continue when I just press >>> enter. >> >> I can't reproduce this. What happens if you press control-C? > > No reponse to Control-C. Maybe this happens only when the first thing > happened I described? > So trying to partion -> "canceled" -> use entire disk. > Or maybe it's related to the libdialog bug, when I couldn't enter a > root pw the carriage returns where missing. > >> >>> The screen output looks garbled by a LOR. The screen waiting for the >>> root pw is garbled too. Seems like it's not doing a carriage return, >>> just line-feeds. I tried this again a second time and everything >>> worked normally. >> >> The LORs are from the UFS system. Since this is a 9.0-CURRENT snapshot, >> WITNESS is on in the install kernel. The carriage return issue may be >> related to a bug Garrett Cooper found in libdialog which will hopefully = be >> fixed before too long. > > Nice :) There are a couple of usability bugs. The ones I've seen so far are: 1. Generating signals while the dialog is being drawn can leave the terminal in a funky state (new libdialog supports mouse input .. there were a few instances I ran into where mouse input mode remained active in my terminal after the libdialog modal died). Calling reset (if possible) should fix things. 2. The old libdialog properly cleared the screen down to the next line when end_dialog was called. The new one doesn't. If we put printf("\n"); before fflush(stdout); in end_dialog that should get us by for the time being as a stopgap (untested, but I did equivalent in tzsetup port in progress). 3. Window resizing doesn't function 100%. The contents in the modals don't redraw properly if you resize the window. Window resizing is broken in the old libdialog to some degree though. Unsetting $COLUMNS and $LINES might help (that's what the maintainer claimed about Debian as he saw similar breakage there). 4. Some other random small usability bugs exist. I've only scratched the surface, but I've opened up rapport with the maintainer, so fixing these issues shouldn't be too painful. I will document these issues on a FreeBSD wiki page if desired. Thanks! -Garrett From owner-freebsd-sysinstall@FreeBSD.ORG Tue Jan 18 18:38:07 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15A2710656B1; Tue, 18 Jan 2011 18:38:07 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id DEFB68FC12; Tue, 18 Jan 2011 18:38:06 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LF800K00BNH4Y00@smtpauth2.wiscmail.wisc.edu>; Tue, 18 Jan 2011 11:38:05 -0600 (CST) Received: from anacreon.physics.wisc.edu (anacreon.physics.wisc.edu [128.104.160.176]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LF800GE1BNGOQ10@smtpauth2.wiscmail.wisc.edu>; Tue, 18 Jan 2011 11:38:04 -0600 (CST) Date: Tue, 18 Jan 2011 11:38:03 -0600 From: Nathan Whitehorn To: freebsd-arch@freebsd.org, freebsd-current@freebsd.org, freebsd-sysinstall@freebsd.org Message-id: <4D35CFFB.3010302@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=128.104.160.176 X-Spam-PmxInfo: Server=avs-9, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.1.18.173017, SenderIP=128.104.160.176 User-Agent: Mozilla/5.0 (X11; U; FreeBSD powerpc; en-US; rv:1.9.2.13) Gecko/20110104 Thunderbird/3.1.7 Cc: Subject: FreeBSD Installer Roadmap X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2011 18:38:07 -0000 After some discussion with M. Warner Losh and Josh Paetzel of iX Systems, we've come up with the following roadmap for an installer for 9.0. Over the next month, we intend to try to adapt bsdinstall as the front-end for the more featureful, but lacking a terminal-compatible user interface, pc-sysinstall. This implies that the user interface and installation flow for the hybrid installer will be extremely similar to what is currently available in bsdinstall, so please continue sending feedback and bug reports on it. What will be different is the backend code, which will allow use of additional features not currently present in bsdinstall, such as ZFS installation. At the end of that month period, we'll see how far we've gotten, and plan to merge either a successful hybridization or to merge bsdinstall with its own backend, which I will continue to maintain in the interim. At this point, we plan to integrate whichever installer is merged with the release infrastructure so that it becomes the default installation environment presented on snapshot ISOs. If we have have not completed the hybrid installer at this point, work on hybridization will still continue after this. Since the interface presented to user will be extremely similar, a bsdinstall -> pc-bsdinstall transition can happen with a minimum of user astonishment, or even awareness, at any point in the future, either before or after the 9.0 release. This plan ensures that we have a minimum of three months of testing of the new installer on snapshot media before the 9.0 release, which should ensure a minimum of bugs. I would also like to point out that there are no roads in this map that end up with us having sysinstall as the default installer past the 18th of February. After 15 years of sysinstall being "greatly in need of death", it will finally be time to retire it. Thanks to Warner Losh and Josh Paetzel for excellent discussions. Please continue to send any comments on this plan, bug reports or feature requests for bsdinstall or pc-sysinstall, and suggestions for the installation process. -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 19 23:21:59 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEEF21065670 for ; Wed, 19 Jan 2011 23:21:59 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id AFF528FC1B for ; Wed, 19 Jan 2011 23:21:59 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id DA6AC58133; Wed, 19 Jan 2011 17:21:58 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id 8gRke6SqizqG; Wed, 19 Jan 2011 17:21:58 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-76-208-68-88.dsl.mdsnwi.sbcglobal.net [76.208.68.88]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 6CBA05811E; Wed, 19 Jan 2011 17:21:58 -0600 (CST) Message-ID: <4D377215.2030809@freebsd.org> Date: Wed, 19 Jan 2011 17:21:57 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101214 Thunderbird/3.1.7 MIME-Version: 1.0 To: =?UTF-8?B?TWFyaXVzIE7DvG5uZXJpY2g=?= References: <4D309563.1000404@freebsd.org> <4D336BFC.1020004@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-sysinstall@freebsd.org Subject: Re: BSDInstall: merging to HEAD X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2011 23:22:00 -0000 On 01/17/11 04:42, Marius Nünnerich wrote: > On Sun, Jan 16, 2011 at 23:06, Nathan Whitehorn wrote: >> On 01/16/11 10:34, Marius Nünnerich wrote: >>>> There are still some missing features that I would like to see in the >>>> release, but these do not significantly impact the functionality of the >>>> installer. Some will be addressed before merging to HEAD, in particular >>>> the >>>> lack of a man page for bsdinstall. Others, like configuration of wireless >>>> networking and ZFS installation, can happen between merge and release. >>>> The >>>> test ISOs are also lacking a ports tree at the moment, which is a >>>> statement >>>> about the slow upload speed of my DSL line and not about the final layout >>>> of >>>> releases. >>>> >>>> Please send any questions, comments, or patches you may have, and please >>>> be >>>> aware when replying that this email has been cross-posted to three lists. >>>> Technical discussion (bug reports, for instance) should be directed to >>>> the >>>> freebsd-sysinstall list only. Most other discussion belongs on >>>> -sysinstall >>>> and -current. >>>> -Nathan >>> Clean new virtualbox on FreeBSD host. >>> >>> Install -> German ISO-8859-1 -> "vbox" -> Guided -> ad0 -> Partition >>> -> "You have canceled an installation step" >>> >>> Actually I didn't cancel anything :) >> That is fixed now. Thanks for the report! > I have uploaded a new test ISO with this fix and several other suggestions from Jaako Heinonen to http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110118.iso.bz2. There is also a powerpc ISO for interested parties at http://people.freebsd.org/~nwhitehorn/bsdinstall-powerpc-20110116.iso.bz2. -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Fri Jan 21 12:17:45 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71B4F1065672; Fri, 21 Jan 2011 12:17:45 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 3217C8FC0C; Fri, 21 Jan 2011 12:17:44 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id EDAD91FFC34; Fri, 21 Jan 2011 11:58:12 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id BC3CB8457B; Fri, 21 Jan 2011 12:58:12 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Nathan Whitehorn References: <4D20C8BF.701@freebsd.org> <20110102203548.000052e8@unknown> <4D20E28C.4090907@freebsd.org> Date: Fri, 21 Jan 2011 12:58:12 +0100 In-Reply-To: <4D20E28C.4090907@freebsd.org> (Nathan Whitehorn's message of "Sun, 02 Jan 2011 14:39:40 -0600") Message-ID: <86lj2ebh9n.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-sysinstall@freebsd.org, freebsd-arch@FreeBSD.org Subject: Re: BSDInstall: I want the bikeshed painted plaid X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2011 12:17:45 -0000 Nathan Whitehorn writes: > That's a good point. I was planning on using libfetch's restart > feature for this case. Do you think that would be unreliable? (old thread, but) libfetch does not have a restart feature, unless you mean the HTTP byte-range stuff. The restart / mirror etc. stuff is implemented in fetch(1). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-sysinstall@FreeBSD.ORG Fri Jan 21 14:04:17 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E72B4106564A; Fri, 21 Jan 2011 14:04:17 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id B8C318FC0A; Fri, 21 Jan 2011 14:04:17 +0000 (UTC) MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LFD00C0MLR4IY00@smtpauth1.wiscmail.wisc.edu>; Fri, 21 Jan 2011 08:04:16 -0600 (CST) Received: from [10.0.2.97] (adsl-76-208-68-88.dsl.mdsnwi.sbcglobal.net [76.208.68.88]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LFD00KSALR0CB20@smtpauth1.wiscmail.wisc.edu>; Fri, 21 Jan 2011 08:04:14 -0600 (CST) Date: Fri, 21 Jan 2011 08:04:12 -0600 From: Nathan Whitehorn In-reply-to: <86lj2ebh9n.fsf@ds4.des.no> To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= Message-id: X-Mailer: Apple Mail (2.936) Content-transfer-encoding: quoted-printable X-Spam-Report: AuthenticatedSender=yes, SenderIP=10.0.2.97 X-Spam-PmxInfo: Server=avs-14, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.1.21.135416, SenderIP=10.0.2.97 References: <4D20C8BF.701@freebsd.org> <20110102203548.000052e8@unknown> <4D20E28C.4090907@freebsd.org> <86lj2ebh9n.fsf@ds4.des.no> Cc: freebsd-sysinstall@freebsd.org, freebsd-arch@FreeBSD.org Subject: Re: BSDInstall: I want the bikeshed painted plaid X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2011 14:04:18 -0000 On Jan 21, 2011, at 5:58 AM, Dag-Erling Sm=F8rgrav wrote: > Nathan Whitehorn writes: >> That's a good point. I was planning on using libfetch's restart >> feature for this case. Do you think that would be unreliable? > > (old thread, but) > > libfetch does not have a restart feature, unless you mean the HTTP > byte-range stuff. The restart / mirror etc. stuff is implemented in > fetch(1). I did mean the byte range stuff (the URL offset argument). I took a =20 look at the fetch(1) source, and it seemed like its restart =20 implementation was just a very small amount of logic on top of this. -Nathan=