Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Nov 2002 14:42:41 -0800
From:      walt <wa1ter@hotmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Unsucessful with 5.0-CURRENT Installation on a 120G IDE HDD
Message-ID:  <3DC454E1.1000800@hotmail.com>
References:  <aq1btr$189i$1@FreeBSD.csie.NCTU.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
Hiten Pandya wrote:
> On Sat, Nov 02, 2002 at 10:38:33AM -0800, walt wrote the words in effect of:
> 
>>Hiten Pandya wrote:
>>
>>>Hmm, OK.
>>>
>>>Let me rephrase it all.
>>>
>>>I have a 120G IDE disk, which is under LBA mode.  It is the second disk
>>>on my system.  I have been using it with my old (julyish) -current for a
>>>while now as a backup disk thingy.
>>>
>>>My disk layout:
>>>
>>>	ad1s1: 8997MB  FreeBSD slice
>>>	ad1s3: 50995MB FreeBSD slice
>>>	ad1s2: 54478MB FAT32 slice
>>
>>Here you are discussing ad1, which should (I think) be the slave drive
>>on the first IDE controller.
>>
>>
>>
>>>This is how Sysinstall's fdisk reports it in 5.0-CURRENT-20021028.  The sizes
>>>are displayed correctly here, but when I try labeling the disk through
>>>sysinstall's Configure->Label, It shows:
>>>
>>>Disk: ad3       Partition name: ad3s1   Free: 0 blocks (0MB)
>>>Disk: ad3       Partition name: ad3s3   Free: 102110549 blocks (49858MB)
>>
>>Here you are discussing ad3, which should be the slave drive on the *second*
>>IDE controller.
>>
>>Are you intending to discuss two different physical disks here?  I'm still
> 
> 
> Oops, change that ad3 into ad1.

Okay.  Well, I see that just today sysinstall/label.c was updated to correct
an error.  I have no idea if that may be your problem, but errors do creep
in regularly into -CURRENT, so it's possible.

My gut feeling is that your files are still there ready to be used but probably
not with the system you are using now.

I would download a -STABLE installation floppy from the FBSD ftp site and see
if you can use that disklable editor to examine the disk.  If the disklabel
looks correct then you can proceed to install a -STABLE system on that disk
using the *existing* label, and your data should be intact.

If the disklabel still looks bad then you have a bigger problem.  You really
need to save every label somewhere and restore it later if it gets trashed.
I just use a pencil and paper and write it all down and tape the paper to
the computer--very primitive but it's saved my backside more than once ;-)

When fooling with -CURRENT you need to be ready for such disasters, and
often all it takes is a pencil and paper and five minutes of preparation.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DC454E1.1000800>