Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2003 10:47:26 -0500 (EST)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        bj93542@yahoo.com (Dorin H)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: delete first partition XP and reformat as ufs -> kernel not found
Message-ID:  <200311261547.hAQFlRp12951@clunix.cl.msu.edu>
In-Reply-To: <20031126021547.60001.qmail@web12603.mail.yahoo.com> from "Dorin H" at Nov 25, 2003 06:15:47 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hi there,
>   How can I delete an existing XP partition on the
> same disk with FreeBSD and reformat it as ufs, then
> move /usr to it? (keeping the FreeBSD bootable :))
>   Running FreeBSD 4.8.

Really, your best be by far is to back everything up and then
redo the whole disk from scratch.    

  fdisk it to make it all one FreeBSd slice  (slice 1)
  disklabel it to make the partitions in slice 1 that you want
  newfs the partitions to make file systems of them
  reinstall FreeBSD from scratch   --   good time to go to 4.9
  reload the backups over it.

////jerry

>   My attempts produce a unbootable FreeBSD (invalid
> partition, from which point I am unable to specify the
> slice from where to extract the kernel).
>   I had a similar problem when I installed Debian in
> some free middle space, and once the Linux partitions
> where recognized, the identifier for FreeBSD partition
> (being last) switched from ad0s2 to ad0s4. I solved at
> that time the problem by booting FIXIT cd and manually
> update /etc/fstab entry for root to point to new slice
> id.
> 
>   Any suggestions, please? Any references on the
> subject are welcomed. Thank you,
> 
> /Dorin.
> 



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