[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Redhat -> Debian, done remotely



Hi,

On Thu, Jan 17, 2002 at 09:50:06AM -0500, Eric C. Cooper wrote:
> On Thu, Jan 17, 2002 at 09:06:56AM -0500, Greg Berenfield wrote:
> > I have a box with Redhat on it and would love to be able to install
> > debian-woody on it, remotely (simply by ssh'ing into redhat box).
> > Is there a method/program to do this without having said box in front of me?
> 
> Copy the debootstrap package onto your RH system.  Create a
> subdirectory on a partition with a lot of space.  Run debootstrap to
> initially populate the subdir.  Chroot to the subdir. Use dselect or
> apt-get to load the rest of the packages you want.  Don't forget ssh!
> Copy the resulting system back onto your real root, usr, and var
> partitions (with the exception of your /boot directory -- I recommend
> waiting until you're running real Debian before trying to change
> kernels).  Make sure a bunch of things in /etc are right (fstab,
> lilo.conf, ssh/*, passwd, probably some others).  Make sure
> /sbin/start-stop-daemon is the real thing and not the fake one that
> debootstrap initially uses.  Re-run lilo. Cross your fingers and
> reboot.  Find out the hard way that I've forgotten something crucial :-)

Also make sure to set up /etc/apt/sources.list etc. too.

I wonder if we can remount different root partiotion on remote system.

Then reboot may not be needed provided we keep kernel as is and make
copyies of modules from RH to DEB under /lib.  Is this feasible?

Regards

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://qref.sourceforge.net/quick/      +



Reply to: