Re: a new hard-drive in a 2y/o laptop [solved]

2011-01-07 Thread Ian Smith
On Thu, 6 Jan 2011 21:41:11 -0500, Chris Brennan wrote: On Thu, Jan 6, 2011 at 6:04 PM, Bruce Cran br...@cran.org.uk wrote: http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition has a good guide for installing the base manually (you can ignore the gpart and zfs commands if you want). I

Re: a new hard-drive in a 2y/o laptop [solved]

2011-01-07 Thread Chris Brennan
On Fri, Jan 7, 2011 at 9:58 AM, Ian Smith smi...@nimnet.asn.au wrote: fdisk -s ad4 bsdlabel ad4s1 [r...@blackdragon /usr/src]# fdisk -s ad4; bsdlabel ad4s1 /dev/ad4: 1453521 cyl 16 hd 63 sec PartStartSize Type Flags 1: 63 1465149105 0xa5 0x80 # /dev/ad4s1: 8

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Ian Smith
On Wed, 5 Jan 2011, Chris Brennan wrote: On Wed, Jan 5, 2011 at 12:44 AM, Ian Smith smi...@nimnet.asn.au wrote: Saw Chris' later message that -F isn't there for him, but here's what should be, on the data, the sure-fire way to clobber that last sector: dd if=/dev/zero of=/dev/ad4

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Bruce Cran
On Thu, 6 Jan 2011 20:06:42 +1100 (EST) Ian Smith smi...@nimnet.asn.au wrote: Just be sure NOT to use the 'A' option for auto-partitioning again; I'm sure I saw some problem with that on 8.1, not sure if it's fixed on 8.2 (Bruce?) so I suggest allocating the BSD partitioning you really want.

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Adam Vande More
On Thu, Jan 6, 2011 at 3:06 AM, Ian Smith smi...@nimnet.asn.au wrote Your dd of the first 71 sectors looked right, MBR looks ok, sectors 1-62 are zeroes, boot1 and boot2 from sector 63-70 seem normal, after you used 'W' to write anyway; can't say for sure that the bsdlabel is ok, but see no

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Ian Smith
On Thu, 6 Jan 2011 09:11:55 +, Bruce Cran wrote: On Thu, 6 Jan 2011 20:06:42 +1100 (EST) Ian Smith smi...@nimnet.asn.au wrote: Just be sure NOT to use the 'A' option for auto-partitioning again; I'm sure I saw some problem with that on 8.1, not sure if it's fixed on 8.2

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Ian Smith
On Thu, 6 Jan 2011, Adam Vande More wrote: On Thu, Jan 6, 2011 at 3:06 AM, Ian Smith smi...@nimnet.asn.au wrote Your dd of the first 71 sectors looked right, MBR looks ok, sectors 1-62 are zeroes, boot1 and boot2 from sector 63-70 seem normal, after you used 'W' to write anyway;

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Adam Vande More
On Thu, Jan 6, 2011 at 7:11 AM, Ian Smith smi...@nimnet.asn.au wrote: Adam, I think you may have missed a lot from the earlier messages in this thread. Admittedly it's long and likely tedious, but trying to help somebody get the OS installed is about as basic as it gets for me; I'd be hugely

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Adam Vande More
On Thu, Jan 6, 2011 at 1:32 PM, Adam Vande More amvandem...@gmail.comwrote: On Thu, Jan 6, 2011 at 7:11 AM, Ian Smith smi...@nimnet.asn.au wrote: Adam, I think you may have missed a lot from the earlier messages in this thread. Admittedly it's long and likely tedious, but trying to help

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Adam Vande More
On Thu, Jan 6, 2011 at 1:51 PM, Adam Vande More amvandem...@gmail.comwrote: I see now the SD Card was not the install target, but regarding the the original point to OP was able to preform other normal operations on the card eg different FS. I don't really think the OP was pressing W

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Warren Block
On Fri, 7 Jan 2011, Ian Smith wrote: Manual fdisk bsdlabel newfs would confirm that or otherwise, but Chris will have to hunt up mans, docs and howtos on doing that himself, they're out there. Aha! http://www.wonkity.com/~wblock/docs/html/disksetup.html May/may not be helpful, but the

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Chris Brennan
GMail threadding don't fail me now! On Thu, Jan 6, 2011 at 4:54 AM, Adam Vande More amvandem...@gmail.comwrote: This is a pretty easy problem to replicate if you are pressing W, and that issue has existed for quite some time. If you press W then Q at sysinstall fdisk then attempt to force

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Chris Brennan
On Thu, Jan 6, 2011 at 8:11 AM, Ian Smith smi...@nimnet.asn.au wrote: Adam, I think you may have missed a lot from the earlier messages in this thread. Admittedly it's long and likely tedious, but trying to help somebody get the OS installed is about as basic as it gets for me; I'd be

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Chris Brennan
On Thu, Jan 6, 2011 at 2:32 PM, Adam Vande More amvandem...@gmail.comwrote: On Thu, Jan 6, 2011 at 7:11 AM, Ian Smith smi...@nimnet.asn.au wrote: Adam, I think you may have missed a lot from the earlier messages in this thread. Admittedly it's long and likely tedious, but trying to help

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Chris Brennan
If you google the error message in the OP, the first result is: http://forums.freebsd.org/showthread.php?t=1675 I read this, while that PR Reporter claims the same error message, the conditions in which s/he gets it _are not_ the same conditions in which I am getting this.

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Chris Brennan
On Thu, Jan 6, 2011 at 4:27 PM, Warren Block wbl...@wonkity.com wrote: On Fri, 7 Jan 2011, Ian Smith wrote: Manual fdisk bsdlabel newfs would confirm that or otherwise, but Chris will have to hunt up mans, docs and howtos on doing that himself, they're out there. Aha!

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Bruce Cran
On Thu, 6 Jan 2011 17:54:32 -0500 Chris Brennan xa...@xaerolimit.net wrote: Next question, from this point (at the fixit prompt) can I preform a manual install of just base? if I can get the system installed at this point then all should be good when I reboot.

Re: a new hard-drive in a 2y/o laptop [solved]

2011-01-06 Thread Chris Brennan
On Thu, Jan 6, 2011 at 6:04 PM, Bruce Cran br...@cran.org.uk wrote: http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition has a good guide for installing the base manually (you can ignore the gpart and zfs commands if you want). I found I had to copy the base and kernel directories from the

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Warren Block
On Thu, 6 Jan 2011, Chris Brennan wrote: On Thu, Jan 6, 2011 at 4:27 PM, Warren Block wbl...@wonkity.com wrote: On Fri, 7 Jan 2011, Ian Smith wrote: Manual fdisk bsdlabel newfs would confirm that or otherwise, but Chris will have to hunt up mans, docs and howtos on doing

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Chris Brennan
On Thu, Jan 6, 2011 at 11:48 PM, Warren Block wbl...@wonkity.com wrote: destroy -F is supposed to mean Forced destroying of the partition table even if it is not empty. But compare to this thread on the forum earlier today: http://forums.freebsd.org/showthread.php?t=20731 Maybe -F isn't

Re: a new hard-drive in a 2y/o laptop

2011-01-05 Thread Chris Brennan
On Wed, Jan 5, 2011 at 12:44 AM, Ian Smith smi...@nimnet.asn.au wrote: Saw Chris' later message that -F isn't there for him, but here's what should be, on the data, the sure-fire way to clobber that last sector: dd if=/dev/zero of=/dev/ad4 oseek=1465149167 which command SHOULD report just

Re: a new hard-drive in a 2y/o laptop

2011-01-04 Thread Ian Smith
On Mon, 3 Jan 2011 16:31:17 -0500, Chris Brennan wrote: [.. trimming ccs, selectively quoting and de-gmailing a bit ..] On Sun, Jan 2, 2011 at 1:39 AM, Michael Powell nightre...@hotmail.com wrote: No. I used the of=/dev/ad4 as described above. However, I think you've hit the nail on the

Re: a new hard-drive in a 2y/o laptop

2011-01-04 Thread Chris Brennan
On Tue, Jan 4, 2011 at 3:56 AM, Ian Smith smi...@nimnet.asn.au wrote: On Mon, 3 Jan 2011 16:31:17 -0500, Chris Brennan wrote: [.. trimming ccs, selectively quoting and de-gmailing a bit ..] Trimmings! Oh nevermind. I don't know what possessed me to go and look at the debug window. But I do

Re: a new hard-drive in a 2y/o laptop

2011-01-04 Thread Warren Block
On Tue, 4 Jan 2011, Chris Brennan wrote: On Tue, Jan 4, 2011 at 3:56 AM, Ian Smith smi...@nimnet.asn.au wrote: On Mon, 3 Jan 2011 16:31:17 -0500, Chris Brennan wrote: [.. trimming ccs, selectively quoting and de-gmailing a bit ..] Trimmings! Oh nevermind. I don't know what possessed me to

Re: a new hard-drive in a 2y/o laptop

2011-01-04 Thread Chris Brennan
On Tue, Jan 4, 2011 at 8:44 PM, Warren Block wbl...@wonkity.com wrote: On Tue, 4 Jan 2011, Chris Brennan wrote: On Tue, Jan 4, 2011 at 3:56 AM, Ian Smith smi...@nimnet.asn.au wrote: On Mon, 3 Jan 2011 16:31:17 -0500, Chris Brennan wrote: [.. trimming ccs, selectively quoting and

Re: a new hard-drive in a 2y/o laptop

2011-01-04 Thread Ian Smith
On Tue, 4 Jan 2011, Warren Block wrote: On Tue, 4 Jan 2011, Chris Brennan wrote: On Tue, Jan 4, 2011 at 3:56 AM, Ian Smith smi...@nimnet.asn.au wrote: On Mon, 3 Jan 2011 16:31:17 -0500, Chris Brennan wrote: [.. trimming ccs, selectively quoting and de-gmailing a bit ..]

Re: a new hard-drive in a 2y/o laptop

2011-01-03 Thread Chris Brennan
I was not around the computer yesterday to reply to these in a timely matter and replying to each one just got confusing since gmail appends all of my replies to the bottom of the thread and not after the person I replied to. I got the reply header to each person and went that route | Reply

Re: a new hard-drive in a 2y/o laptop

2011-01-02 Thread Bruce Cran
On Sun, 02 Jan 2011 01:39:13 -0500 Michael Powell nightre...@hotmail.com wrote: Unable to find device node for /dev/ad4s1b in /dev! The creation of filesystems will be aborted. Then pressing OK brings this: Couldn't make filesystems properly. Aborting. This from sysinstall and occurs after

Re: a new hard-drive in a 2y/o laptop

2011-01-02 Thread Bruce Cran
On Fri, 31 Dec 2010 01:13:57 -0500 Chris Brennan xa...@xaerolimit.net wrote: No worries on missing it, I'm not sure that helped, I farted around with it again earlier today with little more in the way of success. What I tried was to just set up '/' and swamp and it still prompted me about not

Re: a new hard-drive in a 2y/o laptop

2011-01-02 Thread Ian Smith
On Sun, 2 Jan 2011 10:22:55 +, Bruce Cran wrote: On Fri, 31 Dec 2010 01:13:57 -0500 Chris Brennan xa...@xaerolimit.net wrote: No worries on missing it, I'm not sure that helped, I farted around with it again earlier today with little more in the way of success. What I tried was

Re: a new hard-drive in a 2y/o laptop

2011-01-02 Thread Ian Smith
On Mon, 3 Jan 2011, Ian Smith wrote: dd if=/dev/zero of=/dev/da4 skip=N where N is the known total number of sectors minus 34, should do it? Argh .. that should be seek=N, not skip. Up way too late .. cheers, Ian ___

Re: a new hard-drive in a 2y/o laptop

2011-01-01 Thread Chris Brennan
Yes - true enough. Was thinking partition table and typed 'mbr'. It's all good, I got the cmd right in the end, but alas, it helped me not! Mmm .. it's not clear from Chris' original message exactly what he did. I clarified that in a subsequent reply with considerably more detail :D

Re: a new hard-drive in a 2y/o laptop

2011-01-01 Thread Ian Smith
In freebsd-questions Digest, Vol 343, Issue 10, Message: 23 On Fri, 31 Dec 2010 19:37:10 -0500 Michael Powell nightre...@hotmail.com wrote: Ian Smith wrote: In freebsd-questions Digest, Vol 343, Issue 5, Message: 10 On Tue, 28 Dec 2010 11:02:45 -0500 Chris Brennan xa...@xaerolimit.net

Re: a new hard-drive in a 2y/o laptop

2011-01-01 Thread Chris Brennan
On Sat, Jan 1, 2011 at 11:25 AM, Chris Brennan xa...@xaerolimit.net wrote: I have a 2GB MicroSD card that I am going to toss 8.2BETA1 on, hopefully later today and see where that gets me. 2GB MicroSD card was a bust, use a 60GB hard-drive and wrote the image to that, it booted it just fine,

Re: a new hard-drive in a 2y/o laptop

2011-01-01 Thread Chris Brennan
On Sat, Jan 1, 2011 at 10:20 PM, Ian Smith smi...@nimnet.asn.au wrote: Well, what's commonly called 'the partition table' is bytes 0x1be-1ff of the MBR, so I was confused by your writing to sector 1 rather than 0, but have a new theory to test, seeing Chris isn't making any progress; this

Re: a new hard-drive in a 2y/o laptop

2011-01-01 Thread Michael Powell
Ian Smith wrote: In freebsd-questions Digest, Vol 343, Issue 10, Message: 23 On Fri, 31 Dec 2010 19:37:10 -0500 Michael Powell nightre...@hotmail.com wrote: [snip] Try zeroing out the mbr: Boot a LiveFS CD, then at a root prompt do: sysctl

Re: a new hard-drive in a 2y/o laptop

2011-01-01 Thread Ian Smith
On Sun, 2 Jan 2011 01:15:35 -0500, Chris Brennan wrote: On Sat, Jan 1, 2011 at 10:20 PM, Ian Smith smi...@nimnet.asn.au wrote: [..] The bsdlabel lives in sector 1 (counting from 0) of the slice concerned, specifically the first 0x114 (276d) bytes, in the second sector of the boot

Re: a new hard-drive in a 2y/o laptop

2010-12-31 Thread Michael Powell
Ian Smith wrote: In freebsd-questions Digest, Vol 343, Issue 5, Message: 10 On Tue, 28 Dec 2010 11:02:45 -0500 Chris Brennan xa...@xaerolimit.net wrote: On Tue, Dec 28, 2010 at 2:23 AM, Michael Powell nightre...@hotmail.comwrote: Try zeroing out the mbr: Boot a LiveFS CD,

Re: a new hard-drive in a 2y/o laptop

2010-12-30 Thread Chris Brennan
On Thu, Dec 30, 2010 at 12:24 AM, Ian Smith smi...@nimnet.asn.au wrote: I don't expect this to be anything like that. Please show a) how many slices you allocated and how big this FreeBSD slice is and b) how you partitioned the FreeBSD slice into (and sizes of) / /var/ /usr [/tmp?] and

Re: a new hard-drive in a 2y/o laptop

2010-12-30 Thread Ian Smith
On Thu, 30 Dec 2010 11:17:48 -0500, Chris Brennan wrote: On Thu, Dec 30, 2010 at 12:24 AM, Ian Smith smi...@nimnet.asn.au wrote: I don't expect this to be anything like that. Please show a) how many slices you allocated and how big this FreeBSD slice is and b) how you partitioned

Re: a new hard-drive in a 2y/o laptop

2010-12-30 Thread Chris Brennan
On Thu, Dec 30, 2010 at 9:19 PM, Ian Smith smi...@nimnet.asn.au wrote: Goodo. I'll try chopping a bit too .. Cleaning out my cruft, leaving only yours :D Assuming that's 'oseek=0', which is the default anyway. yes, a typo in my e-mail only, I got the cmd right in the installer. Fair

Re: a new hard-drive in a 2y/o laptop

2010-12-29 Thread Paul Wootton
On 12/28/10 16:02, Chris Brennan wrote: Boot a LiveFS CD, then at a root prompt do: sysctl kern.geom.debugflags=16 and: dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 where x equals your drive number. This will zero out any old MBR. [..] GARBAGEInvalid partition tableError loading

Re: a new hard-drive in a 2y/o laptop

2010-12-29 Thread Ian Smith
In freebsd-questions Digest, Vol 343, Issue 5, Message: 10 On Tue, 28 Dec 2010 11:02:45 -0500 Chris Brennan xa...@xaerolimit.net wrote: On Tue, Dec 28, 2010 at 2:23 AM, Michael Powell nightre...@hotmail.comwrote: Try zeroing out the mbr: Boot a LiveFS CD, then at a root prompt do:

Re: a new hard-drive in a 2y/o laptop

2010-12-28 Thread Chris Brennan
On Tue, Dec 28, 2010 at 2:23 AM, Michael Powell nightre...@hotmail.comwrote: Try zeroing out the mbr: Boot a LiveFS CD, then at a root prompt do: sysctl kern.geom.debugflags=16 and: dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 where x equals your drive number. This will zero out

Re: a new hard-drive in a 2y/o laptop

2010-12-28 Thread perryh
Chris Brennan xa...@xaerolimit.net wrote: ... could this be the fact that this is a really large drive and the bios is 'freaking' out (for lack of a better term) and not properly presenting the disk to the system? ... The disk is a different spindle-speed then the old one. [..] 250G -

a new hard-drive in a 2y/o laptop

2010-12-27 Thread Chris Brennan
I've got an HP Business Class laptop (dv2700) and the original 250G SATAII drive is going bad. So I bought a new drive, got a great deal on an SATAII 750G drive for it, bios sees the drive fine. The old drive had FBSD8.2/amd64 installed and it ran fine. I wanted to reinstall to make some partition

Re: a new hard-drive in a 2y/o laptop

2010-12-27 Thread Michael Powell
Chris Brennan wrote: I've got an HP Business Class laptop (dv2700) and the original 250G SATAII drive is going bad. So I bought a new drive, got a great deal on an SATAII 750G drive for it, bios sees the drive fine. The old drive had FBSD8.2/amd64 installed and it ran fine. I wanted to