From owner-freebsd-advocacy@freebsd.org Fri Aug 19 04:21:36 2016 Return-Path: Delivered-To: freebsd-advocacy@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82FFBBBD413 for ; Fri, 19 Aug 2016 04:21:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com [IPv6:2607:f8b0:400c:c08::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3BEC31575 for ; Fri, 19 Aug 2016 04:21:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-ua0-x229.google.com with SMTP id 97so61541960uav.3 for ; Thu, 18 Aug 2016 21:21:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Kc4hqKEb/ysBW+KD38nOPRAs96e8ZeSESdrxoANTxf4=; b=WbK3RpfMunCBQ7j/vQSfmkgJ0+0NalqpvUquTJWpMfcDNjcAlM15rSCBEsFks8q5j8 P5+AhkVbWpFUT52WVrzB+OOEL2IiqnZwi7Tv9w4iLJpPpUAYyao7P3sto/NML7N6tR/I 1Fv3dwYDlehKaGXZMoKuQe8ZQ49Q6uibqtVHDsb3chmyAiIkCKLVtkYgh97aK2pF1WDs po4NFcMdEuO2XFqp7/I2dthtxdOJc2X/NBytQHgx+inplew9v8pyY1J4XzyrBTo/cjZs x1iehLwSisWv8bMoxtAZlIrAC4n+Tuv0T3vtSRjLTtIhGmgJfitM43yJglN/mzc7W3zX xZlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Kc4hqKEb/ysBW+KD38nOPRAs96e8ZeSESdrxoANTxf4=; b=TnwhQrrEjQg0ilVFHty6m0aHyPpzOyI53Rc8kfz5d9MUNbA98xrOBOjuKbW99qbW3U E4Sebf+wsFukjnG+m+e6rS4dK3ZMy2pPjuoMtAi33Oq5sYm8rSSWM4Z9E9MZPb7WPNem PVh4aRK1883rzgxiGl1Ye9F1RbG6n0f2E8bXUwkuHFNfVtniy9er1dT6ykcuKu7nLDv5 ZoqmsX13NE4++DH3CGkxo3GcUVHKVe3QkY8+adkGyxdhXEfwjzznwxvilhYBgH2BvM7z oDOH/cxs9BKPuDgBOP3xRmHHCMJcrpe/YwhZLIvmGdRS51M35Dnbe0z0dFu1+n92dW7S baTg== X-Gm-Message-State: AEkoousjQC0GXEEbnXd5woOs2TU6fBdl0xrO7DPZNC7q9EAF5oRbTKvx6N8EVba3FgNguRoFSybm02/I+rB0tw== X-Received: by 10.31.183.193 with SMTP id h184mr3070211vkf.3.1471580495383; Thu, 18 Aug 2016 21:21:35 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.103.0.84 with HTTP; Thu, 18 Aug 2016 21:21:34 -0700 (PDT) X-Originating-IP: [69.53.245.200] In-Reply-To: <201608182258.u7IMvpT5090433@fire.js.berklix.net> References: <71a9ed60-90c1-9df3-4da0-cafd23e48fc0@gmail.com> <201608182258.u7IMvpT5090433@fire.js.berklix.net> From: Warner Losh Date: Thu, 18 Aug 2016 22:21:34 -0600 X-Google-Sender-Auth: Z17SRGj_0gN3_LHIkPgFFM1t0kI Message-ID: Subject: Re: A how-to guide which you might wish to use for freebsd advocacy To: "Julian H. Stacey" Cc: "Jukka A. Ukkonen" , freebsd-fs@freebsd.org, freebsd-advocacy@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-advocacy@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD Evangelism List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 04:21:36 -0000 On Thu, Aug 18, 2016 at 4:57 PM, Julian H. Stacey wrote: > "Jukka A. Ukkonen" wrote freebsd-advocacy@freebsd.org: >> >> https://www.facebook.com/notes/jukka-ukkonen/upgrading-the-storage-disk-to-finnsat-fh05-hdr-digital-tv-receiver-while-retaini/10208639116987804 >> >> Feel free to publish the link on the freebsd web site or otherwise >> distribute it further. > > I added cc: freebsd-fs@freebsd.org as it's about file systems & Ext2 & offsets. > > (BTW I have no facebook login, so can assure readers Jukka's > page is public, no fbook login needed to access URL) > > An extract re FS. > > ] FreeBSD will by default not accept the Finnsat generated partition > ] for mounting. The trick is that Finnsat creates partitions with > ] slack alignment. FreeBSD knows that a live ext2fs has to be a > ] multiple of 4kB, 4096 bytes in size, i.e. 8 disk blocks, 8*512 > ] bytes. If the partition size is not perfectly aligned, FreeBSD does > ] not allow read-write mount to an ext2fs instance. With all likelihood > ] it might be a broken file system. Why should FreeBSD help making > ] things worse? > ] > ] So, you will have to adjust the partition size such that its length > ] will be a multiple of 8 disk blocks. The tool for this is gpart > ] (geom partition) which both modifies the partition tables and shows > ] their contents. First use the command > > Thanks Jukka, > > I've bcc'd a friend who I discussed Humax TV recorders with a while > back, on similar issues, some time when I'm visiting the town where > my 3 Humax owner friends are, I hope to find time to experiment > with my USB to SATA converter. > > This thread is archived here: > http://lists.freebsd.org/pipermail/freebsd-advocacy/2016-August/004619.html > & under here: > http://lists.freebsd.org/pipermail/freebsd-fs/2016-August/date.html This has been a problem for a while. gpart is too smart. It won't allow one to create unaligned partitions, even when you know they will work. Warner