Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 1998 12:28:15 -0800
From:      "Aleksandar Obradovic" <alex@montenegro.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Problems with the drive
Message-ID:  <005201be0ce8$a7d2ab20$5c265dcf@obradoa.fnic.net>

next in thread | raw e-mail | index | archive | help
I used to have perfectly fine 2.2.6 system running on one SCSI2 drive with
partitions
sd0s1    DOS
sd0s2a  /
sd0s2b  /SWAP
sd0s2e  /VAR
sd0s2f   /USR

I had boot set up so it gives me options
F1...DOS
F2...FreeBSD

My bios was set up to boot from SCSI first and then from C.

Then I needed to add WinNT to the box (business requirement, not a personal
preference) so I slapped in another drive trying not to touch my FreeBSD
drive. I put in 4 gig IDE drive, configured BIOS to boot from C first and
then SCSI, and installed NT fine.

However, when I switched back the BIOS to boot from SCSI first in order to
boot my FreeBSD, I got the old menu
F1...DOS
F2...FreeBSD
but this time FreeBSD would not boot any more, it would just hang.

I tried to go into fixit, and do fsck. The command
fsck  -y /dev/sd0s2 performs some cleanup and exits with the message

/: write failed, file system is full
Segmentation fault

I wanted to mount my partition sd0s2a so I can check out my config files and
fstab, but I do not have sd0s2a entry in my /dev/ directory while I am
running fixit. All I have is sd0s1 sd0s2 ... sd0s4, and rsd0s1,  ..rsd0s4.

When I mount sd0s1 to mnt
mount -f /dev/sd0s1 /mnt
and do cd /mnt

all I see is lost+found directory that has many many #9999 entries, where 9
can be any digit.

My questions are
1. did I loose everything?
2. Can I somehow restore this drive and my old settings
3. If not, is there any way to recover data from the non-bootable FreeBSD
drive. All I need from this disk are my data files, so if I reinstall
FreeBSD on to the different drive, will I be able to recover data from this
current drive?

I would really appreciate some answers,

Alex





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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005201be0ce8$a7d2ab20$5c265dcf>