From owner-freebsd-questions Mon Sep 3 21:26:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [206.29.169.15]) by hub.freebsd.org (Postfix) with ESMTP id AE37037B40E for ; Mon, 3 Sep 2001 21:26:05 -0700 (PDT) Received: from tedm.placo.com (nat-rtr.freebsd-corp-net-guide.com [206.29.168.154]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id f844Q3703546; Mon, 3 Sep 2001 21:26:03 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Pietralla, Siegfried P" , "'freebsd-questions@freebsd.org'" Subject: RE: can't dd blocksize=446 Date: Mon, 3 Sep 2001 21:26:03 -0700 Message-ID: <003b01c134f9$b50fd7e0$1401a8c0@tedm.placo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 In-Reply-To: <16649A8D5C73D51183B80008C728EEB7CC09A9@AUSYM103> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Disks sectors are 512 bytes and I think that if your using dd to copy boot sectors you probably want to not use anything smaller than a 512 byte blocksize on dd. Ted Mittelstaedt tedm@toybox.placo.com Author of: The FreeBSD Corporate Networker's Guide Book website: http://www.freebsd-corp-net-guide.com >-----Original Message----- >From: owner-freebsd-questions@FreeBSD.ORG >[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Pietralla, >Siegfried P >Sent: Monday, September 03, 2001 5:18 PM >To: 'freebsd-questions@freebsd.org' >Subject: RE: can't dd blocksize=446 > > >hi again, > >just after i post this i find chapter 7 of the freebsd handbook!! this seems >to resolve my failed attempt to use 'fdisk -B'. however i'd still like to >know how i can use dd with a smaller than 512 byte blocksize. > >regards, >siegfried. > >-----Original Message----- >From: Pietralla, Siegfried P >Sent: Tuesday, 4 September 2001 09:29 >To: 'freebsd-questions@freebsd.org' >Subject: can't dd blocksize=446 > > >hi all, >i installed 4.3 recently after running 2.2.6 for ages - but now i've got a >>8Gb hd :) and i wanted to make use of it. in the past when i've copied my >installation to a second hd for backup i've been able to copy the bootloader >(?) from one to another with 'dd if=/dev/ad0 of=/dev/ad1 bs=446 count=1' but >now dd reports ( i think ) "invalid argument" - it only allows bs=512. is >this some sort of clean up of dd to make it work to spec? how do i get the >behaviour i'm after? or what is the proper way to just install the normal >freebsd type bootloader ( the F1,F2,F3,F4,F5 one). i tried 'fdisk -B' but >booting came up with "missing operating system". i guess i could just try >dd'ing the 512 bytes and then fdisk to put the pn table back - would that >work? however i'd still like to be able to separately backup my bootloader >and partition map into different files. any thoughts and directions are >welcome. >thanx, siegfried. > > >siegfried pietralla ( siegfried.pietralla@eds.com ) >ph: +61 3 9675 3234 fax: +61 3 9675 3440 mob: +61 4 0481 6140 >location: 15th floor 2-26 Elizabeth Street, Melbourne Vic, 3000 >mail: Siegfried Pietralla 15/2, Colonial Account, > EDS Australia, 436 St Kilda Rd, Melbourne Vic, 3004 > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message