Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!lazrus.cca.rockwell.com!newssvr.cacd.rockwell.com!newsrelay.iastate.edu!newsxfer.itd.umich.edu!news.mathworks.com!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How can I change root Partition? Date: 15 Mar 1996 22:28:24 GMT Organization: Private BSD site, Dresden Lines: 34 Message-ID: <4icqu8$187@uriah.heep.sax.de> References: <4iap6r$r3p@news.csie.nctu.edu.tw> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 SPotato@potato.Dorm8.NCTU.edu.tw (Chao-Cheng Huang) writes: > I have a fixed diskeet fdisked on: > +------------+ > 200M | Partition1 | <--- OS/2 HPFS > +------------+ > 90M | Partition2 | <--- FreeBSD ROOT ----- mount on / > +------------+ \ mount on /usr > 1M | Partition3 | <--- OS/2 BootManager > +------------+ > 220M | Partition4 | <--- OS/2HPFS > +------------+ > > And I wanna remove OS/2 and move my root partition to Partition 1. > I can't re-fdisk. When I do, I can't reboot. It tells me something wrong. > > How can I move my ROOT Partition to where I wanna go? Is there any > correct way? FreeBSD's root partition must reside on the ``compatibility slice'', this is the first slice _in the fdisk table_ (not necessarily the first on the disk) with a 0xa5 system signature. In case you wanna assign more than one 0xa5 slice, be sure that the slice with the root partition is first in the fdisk table. If necessary, simply swap two entries there (without changing anything on the disk layout, just *only* swap the fdisk table etries!). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)