From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.236.50.47 with SMTP id y35csp163081yhb; Mon, 7 May 2012 01:07:13 -0700 (PDT) Return-Path: <9front+bncCPTY2Ox2ELGFnv0EGgRPojuN@googlegroups.com> Received-SPF: pass (google.com: domain of 9front+bncCPTY2Ox2ELGFnv0EGgRPojuN@googlegroups.com designates 10.216.139.135 as permitted sender) client-ip=10.216.139.135; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 9front+bncCPTY2Ox2ELGFnv0EGgRPojuN@googlegroups.com designates 10.216.139.135 as permitted sender) smtp.mail=9front+bncCPTY2Ox2ELGFnv0EGgRPojuN@googlegroups.com; dkim=pass header.i=9front+bncCPTY2Ox2ELGFnv0EGgRPojuN@googlegroups.com Received: from mr.google.com ([10.216.139.135]) by 10.216.139.135 with SMTP id c7mr2128511wej.7.1336378033441 (num_hops = 1); Mon, 07 May 2012 01:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:x-authenticated:x-provags-id:message-id :date:from:to:subject:in-reply-to:mime-version:x-y-gmx-trusted :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type:content-transfer-encoding; bh=mn8KlWYV4WKMjp2zy8A8b/bpuhYDqMAT1dpBHANOD5s=; b=ApitBOYr07vPuu26H5vHG1Opv8iAr/CeFy7+H8HfKsqR4LJjcUJv0V34k2B8bS0XzS uFtn+wBLqAPCPC9FDFel+xLrk/EHp3gTbv9srpJHYcYAuVwICUXSvhlDKywUxohVv6hp wKO3mHkNrXa3dYPr75IZCDCjx7TNKI8jvbXKU= Received: by 10.216.139.135 with SMTP id c7mr246228wej.7.1336378033313; Mon, 07 May 2012 01:07:13 -0700 (PDT) X-BeenThere: 9front@googlegroups.com Received: by 10.180.14.39 with SMTP id m7ls633826wic.3.gmail; Mon, 07 May 2012 01:07:12 -0700 (PDT) Received: by 10.180.8.137 with SMTP id r9mr2015238wia.2.1336378032943; Mon, 07 May 2012 01:07:12 -0700 (PDT) Received: by 10.180.8.137 with SMTP id r9mr2015237wia.2.1336378032899; Mon, 07 May 2012 01:07:12 -0700 (PDT) Received: from mailout-de.gmx.net (mailout-de.gmx.net. [213.165.64.22]) by gmr-mx.google.com with SMTP id n4si3114544wiw.0.2012.05.07.01.07.12; Mon, 07 May 2012 01:07:12 -0700 (PDT) Received-SPF: pass (google.com: domain of cinap_lenrek@gmx.de designates 213.165.64.22 as permitted sender) client-ip=213.165.64.22; Received: (qmail invoked by alias); 07 May 2012 08:07:12 -0000 Received: from i5E878574.versanet.de (EHLO rei2.9hal) [94.135.133.116] by mail.gmx.net (mp020) with SMTP; 07 May 2012 10:07:12 +0200 X-Authenticated: #10700799 X-Provags-ID: V01U2FsdGVkX19cOE4ET85czGDzj+sEuFAxrRRPLwVgrXkqmaP4pC UcLcQJNKKdxG1o Message-ID: <9b6dbc193c25728cd659e8da0dacc8a5@rei2.9hal> Date: Mon, 7 May 2012 10:07:09 +0200 From: cinap_lenrek@gmx.de To: 9front@googlegroups.com Subject: Re: mkusb In-Reply-To: <4d9c26e53ce8a3673377c6f581cd7f2a@sp.inri.net> MIME-Version: 1.0 X-Y-GMX-Trusted: 0 X-Original-Sender: cinap_lenrek@gmx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of cinap_lenrek@gmx.de designates 213.165.64.22 as permitted sender) smtp.mail=cinap_lenrek@gmx.de Reply-To: 9front@googlegroups.com Precedence: list Mailing-list: list 9front@googlegroups.com; contact 9front+owners@googlegroups.com List-ID: <9front.googlegroups.com> X-Google-Group-Id: 831096995978 List-Post: , List-Help: , List-Archive: Sender: 9front@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit there should be a generic way of making a harddrive bootable. then we could just use this from the installer instead of /rc/bin/inst/bootsetup and also use it to make usb drives bootable. something like: mkbootfat [-b] /dev/sdXX the -b switch would try to make everything from scratch: - whipe - install mbr - make single dos partition (fdisk) - format the dos partition normal procedure is like: - look for 9fat and dos partitions, let the user select one if multiple choices are present. - install pbs on dos partition (disk/format -b) - mount and copy 9bootfat+kernel+plan9.ini to dos partition - make dos partition active and optionally install mbr if not already done -- cinap