From owner-freebsd-fs@freebsd.org Thu Aug 18 22:58:25 2016 Return-Path: Delivered-To: freebsd-fs@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 9F854BBEF15; Thu, 18 Aug 2016 22:58:25 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 34C6D1182; Thu, 18 Aug 2016 22:58:24 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (p5083CC3A.dip0.t-ipconnect.de [80.131.204.58]) (authenticated bits=128) by land.berklix.org (8.15.2/8.15.2) with ESMTPA id u7IMwFPs076625; Thu, 18 Aug 2016 22:58:15 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id u7IMwAbf003005; Fri, 19 Aug 2016 00:58:10 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id u7IMvpT5090433; Fri, 19 Aug 2016 00:58:09 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201608182258.u7IMvpT5090433@fire.js.berklix.net> To: "Jukka A. Ukkonen" cc: freebsd-advocacy@freebsd.org, freebsd-fs@freebsd.org Subject: Re: A how-to guide which you might wish to use for freebsd advocacy From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-URL: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Thu, 18 Aug 2016 12:40:18 +0300." <71a9ed60-90c1-9df3-4da0-cafd23e48fc0@gmail.com> Date: Fri, 19 Aug 2016 00:57:51 +0200 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 22:58:25 -0000 "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 Cheers, Julian -- Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable. http://berklix.eu/brexit/#stolen_votes