View Single Post
  #1   (View Single Post)  
Old 16th June 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default Took hardisk out and replaced to another machine: CAN"T Mount

Hi everyone.
I took out the harddisk of my computer and placed it into a new one. When I ran Freebsd 7.0 on it, I get a the following error:

can't stat /dev/ad4s2e: No such file or directory
can't stat /dev/ad4s2d: No such file or directory
can't stat /dev/ad4s2f: No such file or directory

because my old computer keeps rebooting half way and I think that my FreeBSD partition has been damaged because of that.

I have looked into a few sources and decided to run fsck to check.

Upon entering fsck, I get errors such as
fsck -p
/dev/ad0s2c No write access
/dev/ad0s2c unexpected inconsistency; run fsck manually

So I have decided to boot into single user mode. However, this is difficult for me because normal boot will cause my system to crash. I can only boot with acpi disabled but when I boot into single user mode, I am getting the similar crash as the system inidicates:

GEOM_Label for provider ad4s1 is ntfs/MAX_Software
and then the computer freezes:

I think that my harddisk may have a few bad sectors, and this is causing the system to crash when it loads the geom_label line to the screen. Aside from reformatting, how do I do the following:

1) Run fsck or similar or any tools that I can burn to a cd to check for bad sectors on my harddisk?
2) Rebuild my /etc/fstab
3) Edit the manual so that my FreeBSD system always start with ACPI disabled
4) log into single user mode with ACPI disabled?

Any help will be appreciated. I am really lost.
Thx
Reply With Quote