Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jan 1999 15:46:30 -0600
From:      "Randall D. DuCharme" <randyd@ameritech.net>
To:        hackers@FreeBSD.ORG
Subject:   FreeBSD partition MOVED by SCO Install
Message-ID:  <368FE536.D6ED2B49@ameritech.net>

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

I posted this message a few days ago to -questions.  Haven't heard
anything so I thought I'd try the hackers list before I 'start over'.

I try to make it a practice not to directly bother hackers so please
forgive the intrusion but I'm more than a little baffled by what happend
and am certain there's an easy solution.  I just don't know what it is.

I don't subscribe to hackers so if you do respond, please write me
directly.

Any ideas at all are greatly appreciated!  

The message:

A really stupid thing just happened to me.  I have 3 SCSI disks in my
machine.  Disk 0 is a 4 gig, disk 1 and 2 are 2 gigs each.  I had NT-4
on disk 0, and FreeBSD-Current on disks 1 and 2.  

Disk 1 was set up as follows....

sd1s1a   /        25meg
sd1s1b   swap     120meg
sd1s1e   /usr     ~1855 meg

Disk 2 was set up as follows.....

sd2s3b    swap    120meg
sd2s3e    /usr2   ~1880 meg

Both disks were "dangerously dedicated" and I always used a boot floppy
to start FreeBSD.

I removed NT from the first disk (disk 0) and installed SCO OpenServer
5.0.4 so I could begin work on porting a couple apps to FreeBSD for one
of my business customers.  The process of doing this changed the
partition table of the second disk (disk 1), or the first FreeBSD disk. 
Booting FreeBSD now results in mounting da1s4a as /, (read only) and
fails to add the swap or /usr slices.  I can view, navigate, and execute
programs from the root partition.  FreeBSD's fdisk now shows that
partition 1,2, and 3 are unused and that partition 4 is the FreeBSD
partition.  The geometries and partition type are correct.... it's just
as if it was 'moved' from partition 1 to partition 4.  The disklabel
also seems to be correct.... that is, disklabel -r shows the correct
slices of the correct size.  I cannot mount / read-write or mount /usr
at all as there are no /dev/sd1s4* devices and can't mount / read-write
to create them.  Disk 2 was unaffected and can be mounted normally.

Is there an easy way to recover from this?  I'm assuming that if I edit
the partition table I'll lose everything.  I have a backup so it's not a
loss.  I'd rather avoid all that hassle though, if possible.

Many thanks in advance

--
Randall D DuCharme       
Systems Engineer         Novell, Microsoft, and UNIX Networking Support
Computer Specialists                Free Your Machine....     FreeBSD
414-253-9998   414-253-9919 (fax)      The Power To Serve!

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?368FE536.D6ED2B49>