Date: Mon, 3 Sep 2001 21:26:03 -0700 From: "Ted Mittelstaedt" <tedm@toybox.placo.com> To: "Pietralla, Siegfried P" <siegfried.pietralla@eds.com>, "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG> Subject: RE: can't dd blocksize=446 Message-ID: <003b01c134f9$b50fd7e0$1401a8c0@tedm.placo.com> In-Reply-To: <16649A8D5C73D51183B80008C728EEB7CC09A9@AUSYM103>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003b01c134f9$b50fd7e0$1401a8c0>