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 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 partitions: #s

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 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 ha

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 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 quite as bruta

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 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: 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 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 install ISO to a U

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 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. http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition

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 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! > http://www.wonkity.c

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

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 wrote: > On Thu, Jan 6, 2011 at 7:11 AM, Ian Smith 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 abou

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 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 relieved if som

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 wrote: > 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 write disklabel scr

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 pr

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 wrote: > 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 initially which is why I

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 wrote: > On Thu, Jan 6, 2011 at 7:11 AM, Ian Smith 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 abou

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 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 relieved if some

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 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 sur

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 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 sugge

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 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 reason to suppose

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 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. I've not fixed a

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 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=146

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 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 512 bytes wri

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 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-04 Thread Chris Brennan
On Tue, Jan 4, 2011 at 8:44 PM, Warren Block wrote: > On Tue, 4 Jan 2011, Chris Brennan wrote: > > On Tue, Jan 4, 2011 at 3:56 AM, Ian Smith wrote: >> >> On Mon, 3 Jan 2011 16:31:17 -0500, Chris Brennan wrote: >>> [.. trimming ccs, selectively quoting and de-gmailing a bit ..] >>> >>> >> Trimm

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 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 d

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 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 and I see the follo

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 > wrote: > > No. I used the of=/dev/ad4 as described above. However, I think you've hit > > the nail on the head on one aspe

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 header

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 ___ freebsd-questions@freeb

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 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

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 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 being able to fi

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 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 fdisk, labe

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 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 blocks. As noted a

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 > wrote: [snip] > > > > > > > > > Try zeroing out the mbr: > > > > > > > > > > Boot a LiveFS CD, then at a root prompt do: > > > > > > > > > > sysctl ker

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 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 maybe a victim of th

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 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, but the install fai

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 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 > > wrote: > > > On Tue, Dec 28, 2

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

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 > wrote: > > On Tue, Dec 28, 2010 at 2:23 AM, Michael Powell > > wrote: > > > > > 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-30 Thread Chris Brennan
On Thu, Dec 30, 2010 at 9:19 PM, Ian Smith 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 enough. 'what B

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 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 sli

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 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 especially swap. > > I

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 wrote: > On Tue, Dec 28, 2010 at 2:23 AM, Michael Powell > wrote: > > > Try zeroing out the mbr: > > > > Boot a LiveFS CD, then at a root prompt do: > > > > sysctl kern.geom.debugf

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. [..] Invalid partition tableError loading operating s

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

2010-12-28 Thread perryh
Chris Brennan 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 -> 5400RPM > 750G ->

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 wrote: > 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 any old MBR. >

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 rei

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