Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jan 1999 14:21:13 -0800
From:      Mike Smith <mike@smith.net.au>
To:        "Randall D. DuCharme" <randyd@ameritech.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: FreeBSD partition MOVED by SCO Install 
Message-ID:  <199901032221.OAA07814@dingo.cdrom.com>
In-Reply-To: Your message of "Sun, 03 Jan 1999 15:46:30 CST." <368FE536.D6ED2B49@ameritech.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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