Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2000 15:42:34 +1000
From:      "dylan" <dylan@dragnet.com.au>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   RFI : Hard Disk Rescue
Message-ID:  <00f901bf97af$41392bc0$636129cb@dragnet.com.au>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi there, 

I have not needed help with BSD so much as I do now. 

This morning I was greeted with messages regarding read errors for a second HD (wd1) I had installed a week earlier. I fsck'ed a few times which reported unreadable sectors for the problem HD and so I physically removed the drive from the IDE with intent to give it back to the seller. fsck also showed me that wd0, the primary HD was working ok with a little fragmentation. 

Now when I boot up it gives me this - 

Searching for Boot Record from IDE-0...OK
Invalid Partition
Invalid Partition
No /boot/loader
>>FreeBSD/i386/BOOT
Default:0:wd(0,a)/kernel
boot:
Invalid partition
No /kernel 

Of course, I can't boot anything from here because of 'Invalid Partition', not a GENERIC kernel, not an old compile... nothing. 

I am not new to unix but I am new to BSD and while I have read the docs, HOWTO's, handbook, etc etc I think there might be something I am missing.. getting this fixed concerns me but knowing what I did wrong concerns me more. Is there something I should have done before I removed the secondary HD? Is there a reason why I am getting invalid partition when booting when I can run fdisk (post install config from cd) and it shows me that the drive is partitioned correctly with the usual 3 partitions, the largest being the freebsd native type.   

I am sorry to clog the mailing list with such an annoying error, I would fdisk and start over but this is for a server machine I have been working on for several weeks. Starting over could mean literally months of coding/reconfiguring due to my inexcusably lax backups. (fellow admins please take pity!)

Please forward help to my reply address (dylan@dragnet.com.au) and I shall post the solution(s) summary back to the mailing list.

Cheers, 

Dylan O'Donnell
dylan@dragnet.com.au

DRAGNET INTERNET SERVICES
-------------------------------------------------------
http://www.dragnet.com.au/ 
Address:  510 Elizabeth St. Albury, NSW 2640 
Toll Free:   1800 069 050 
Phone:  (02) 60 214 100 
Fax:    (02) 60 213 144 


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Tahoma size=2>Hi there, </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>I have not needed help with BSD so much as I do 
now. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>This morning I was greeted with messages regarding 
read errors for a second HD (wd1) I had installed a week earlier. I fsck'ed a 
few times which reported unreadable sectors for the problem HD and so I 
physically removed the drive from the IDE with intent to give it back to the 
seller. fsck also showed me that wd0, the primary HD was working ok with a 
little fragmentation. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>Now when I boot up it gives me this - 
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>Searching for Boot Record from 
IDE-0...OK</FONT></DIV>
<DIV><FONT face=Tahoma size=2>Invalid Partition</FONT></DIV>
<DIV><FONT face=Tahoma size=2>Invalid Partition</FONT></DIV>
<DIV><FONT face=Tahoma size=2>No /boot/loader</FONT></DIV>
<DIV><FONT face=Tahoma size=2>&gt;&gt;FreeBSD/i386/BOOT</FONT></DIV>
<DIV><FONT face=Tahoma size=2>Default:0:wd(0,a)/kernel</FONT></DIV>
<DIV><FONT face=Tahoma size=2>boot:</FONT></DIV>
<DIV><FONT face=Tahoma size=2>Invalid partition</FONT></DIV>
<DIV><FONT face=Tahoma size=2>No /kernel </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>Of course, I can't boot anything from here because 
of 'Invalid Partition', not a GENERIC kernel, not an old compile... nothing. 
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>I am not new to unix but I am new to BSD and while 
I have read the docs, HOWTO's, handbook, etc etc I think there might be 
something I am missing.. getting this fixed concerns me but knowing what I did 
wrong concerns me more. Is there something I should have done before I removed 
the secondary HD? Is there a reason why I am getting invalid partition when 
booting when I can run fdisk (post install config from cd) and it shows me that 
the&nbsp;drive is partitioned correctly with&nbsp;the usual 3&nbsp;partitions, 
the largest being the freebsd native type. &nbsp; </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>I am sorry to clog the mailing list with such an 
annoying error, I would fdisk and start over but this is for a server machine I 
have been working on for several weeks. Starting over could mean literally 
months of coding/reconfiguring due to my&nbsp;inexcusably lax backups. (fellow 
admins please take pity!)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>Please forward help to my reply address (<A 
href="mailto:dylan@dragnet.com.au">dylan@dragnet.com.au</A>) and I shall post 
the solution(s) summary back to the mailing list.</FONT></DIV>
<DIV><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>Cheers, </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>Dylan O'Donnell<BR><A 
href="mailto:dylan@dragnet.com.au">dylan@dragnet.com.au</A></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2>DRAGNET INTERNET 
SERVICES<BR>-------------------------------------------------------<BR><A 
href="http://www.dragnet.com.au/">http://www.dragnet.com.au/</A>; 
<BR>Address:&nbsp; 510 Elizabeth St. Albury, NSW 2640 <BR>Toll Free:&nbsp;&nbsp; 
1800 069 050 <BR>Phone:&nbsp; (02) 60 214 100 <BR>Fax:&nbsp;&nbsp;&nbsp; (02) 60 
213 144 <BR></FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00f901bf97af$41392bc0$636129cb>