Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 1999 10:16:05 +0200
From:      Thierry Herbelot <Thierry.Herbelot@alcatel.fr>
To:        Gregory Bond <gnb@itga.com.au>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Can I sysinstall to another disk from a working system?
Message-ID:  <37733AC5.5434DDAD@telspace.alcatel.fr>
References:  <199906250132.LAA12195@lightning.itga.com.au>

index | next in thread | previous in thread | raw e-mail

Hello,

I don't think sysinstall could be instructed to do what you want.

However, you could do what sysinstal does for a virgin install by
yourself (this may take some time).

All installation files are only tared-gzipped collections of files cut
in slices of 240 KB. So, you could prepare your second hard disk with
{fdisk ; disklabel ; newfs}, and then install in each partition (/mnt,
/mnt/var and /mnt/usr) the files for 3.2-R (the magic incantation could
be sthg like : cat bin.?? | gzip -cd | (cd /mnt ; tar xvf -).
You can make the root partition of the second disk bootable with
disklabel -B. You will also have to install Booteasy on the second hard
disk (either from DOS or perhaps from /stand/sysinstall).

After all that, you should have a new 3.2-R on your second disk. But,
wait, it's not yet usable : you must set the right variables in
/mnt/etc/rc.conf, and fill /mnt/etc/fstab.

Then, you'll have to rebuild your new devices (cd /mnt/dev ; sh
./MAKEDEV all)

voilą : cross your fingers and reboot (as you will have two full
installs, you can always boot back to 2.2.x and munge any file not
abslutely correct on the 3.2 side of your machine)

	Hope there aren't too many errors in the procedure
	(this is inspired by what I did to transfer 3.2-S from
	a smallish 1G to a new drive)

	Tfh

PS : in any case, be very cautious, as many steps are somewhat involved
(a good deep reading of the man pages may be a good first step)

Gregory Bond wrote:
> 
> I want to upgrade to the real 3.2R which should clean out the cruft from a
> very old and much-upgraded ssystem.  I also have a ne 6G drive to put it all
> on...  Can I just run sysinstall and install onto the new drive from a running
> system?  If so, how?
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message

-- 
Thierry Herbelot <thierry.herbelot@alcatel.fr>
(+33) 1 46 52 47 23
http://perso.cybercable.fr/herbelot


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37733AC5.5434DDAD>