From owner-freebsd-hackers Sun Jan 3 14:24:32 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA14647 for freebsd-hackers-outgoing; Sun, 3 Jan 1999 14:24:32 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (castles317.castles.com [208.214.167.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA14642 for ; Sun, 3 Jan 1999 14:24:29 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id OAA07814; Sun, 3 Jan 1999 14:21:13 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901032221.OAA07814@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Randall D. DuCharme" cc: hackers@FreeBSD.ORG Subject: Re: FreeBSD partition MOVED by SCO Install In-reply-to: Your message of "Sun, 03 Jan 1999 15:46:30 CST." <368FE536.D6ED2B49@ameritech.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 03 Jan 1999 14:21:13 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. Did you do this intentionally, or did it "just do it" for you? If the latter, you might want to gripe at SCO. > 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. Boot the FreeBSD installer, use the Custom menu's fdisk screen to 'dangerously dedicate' the disk again, then 'w' to write the information back out. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message