From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.236.50.47 with SMTP id y35csp161816yhb; Mon, 7 May 2012 00:36:42 -0700 (PDT) Return-Path: <9front+bncCPTY2Ox2EIn3nf0EGgStbNWU@googlegroups.com> Received-SPF: pass (google.com: domain of 9front+bncCPTY2Ox2EIn3nf0EGgStbNWU@googlegroups.com designates 10.216.198.129 as permitted sender) client-ip=10.216.198.129; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 9front+bncCPTY2Ox2EIn3nf0EGgStbNWU@googlegroups.com designates 10.216.198.129 as permitted sender) smtp.mail=9front+bncCPTY2Ox2EIn3nf0EGgStbNWU@googlegroups.com; dkim=pass header.i=9front+bncCPTY2Ox2EIn3nf0EGgStbNWU@googlegroups.com Received: from mr.google.com ([10.216.198.129]) by 10.216.198.129 with SMTP id v1mr1180088wen.49.1336376202282 (num_hops = 1); Mon, 07 May 2012 00:36:42 -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=exj9dEfKbPBEFF6gbGJsqXGQMlfV2VXbGttTQYEs7nc=; b=lyn6lOG4xefAHGVs6jSSQX05/vG/rFNEKLBtXKjBR5a3VeFEZ79GtGH45Z0Hu8BrEf Ad1F0HHWuas3QgZ0q98fAkGGEBAISMvtSG2x9vYMpYpTqMxtEiikn0PXq0ElFFu2eDIC DsMP0Vo69ehqgv3rplCXswoVQsvUIr6Z6s1GE= Received: by 10.216.198.129 with SMTP id v1mr139372wen.49.1336376201207; Mon, 07 May 2012 00:36:41 -0700 (PDT) X-BeenThere: 9front@googlegroups.com Received: by 10.216.140.149 with SMTP id e21ls4302523wej.6.gmail; Mon, 07 May 2012 00:36:40 -0700 (PDT) Received: by 10.180.101.169 with SMTP id fh9mr1804031wib.0.1336376200782; Mon, 07 May 2012 00:36:40 -0700 (PDT) Received: by 10.180.101.169 with SMTP id fh9mr1804030wib.0.1336376200773; Mon, 07 May 2012 00:36:40 -0700 (PDT) Received: from mailout-de.gmx.net (mailout-de.gmx.net. [213.165.64.22]) by gmr-mx.google.com with SMTP id dr4si3055447wib.3.2012.05.07.00.36.40; Mon, 07 May 2012 00:36:40 -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 07:36:40 -0000 Received: from i5E878574.versanet.de (EHLO rei2.9hal) [94.135.133.116] by mail.gmx.net (mp032) with SMTP; 07 May 2012 09:36:40 +0200 X-Authenticated: #10700799 X-Provags-ID: V01U2FsdGVkX1+OtD9SB1+OSK2ZC5owkETx5V6x9ncQ3BTuhL4Hpk ZZvOkbqMJ7cuAI Message-ID: <86a483f30600f021d42e067b267156a8@rei2.9hal> Date: Mon, 7 May 2012 09:36:37 +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 small suggesttion to the whipe part: dev = /dev/sdXX ... # remove sd partitions awk '/^part/{if($2!="data"){print "delpart "$2}}' $dev/ctl >$dev/ctl somehow, that code got garbled. theres dev/mbr and stuff that all do not make any sense. for the prep stuff... why not just create a single big dos partition with disk/fdisk? or just check if its already formated with fat32 and just install the bootloader/kernel and copy the iso? (basicly just disk/mbr and disk/format to install pbs) we dont really need a plan9 partition table for this. 9bootfat is perfectly capable of just sitting in a random dos partition. the real problem i see is that disk/format doesnt format fat32. i dont see how this script is usb related at all. all you need for usb boot is make a fat filesystem with bootloader+kernel in it on a harddrive. -- cinap