From owner-freebsd-hackers Sun Jan 3 13:50:11 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA11709 for freebsd-hackers-outgoing; Sun, 3 Jan 1999 13:50:11 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mailhost.mil.ameritech.net (mpdr0.milwaukee.wi.ameritech.net [206.141.239.126]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA11704 for ; Sun, 3 Jan 1999 13:50:09 -0800 (PST) (envelope-from randyd@ameritech.net) Received: from ameritech.net ([209.18.22.156]) by mailhost.mil.ameritech.net (InterMail v03.02.07 118 124) with ESMTP id <19990103214225.DHVK17634@ameritech.net> for ; Sun, 3 Jan 1999 15:42:25 -0600 Message-ID: <368FE536.D6ED2B49@ameritech.net> Date: Sun, 03 Jan 1999 15:46:30 -0600 From: "Randall D. DuCharme" X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.7 i86pc) X-Accept-Language: en MIME-Version: 1.0 To: hackers@FreeBSD.ORG Subject: FreeBSD partition MOVED by SCO Install Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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