Re: Installing debian to another hard drive
Perhaps something like this (assuming the target drive is /dev/hdb).
(I'm going to emphasize that I'm JUST GUESSING and you should RTFM all
the suggestions I give here).
# mke2fs /dev/hdb1
# makeswap /dev/hdb2
# dpkg --get-selections > selections
# dpkg --root=/mnt --set-selections < selections
# apt-get -f -o dpkg::options::"--root=/mnt" dist-upgrade
Does anybody who knows what they're talking about have better ideas?
On Wed, Sep 29, 1999 at 01:03:14AM +0200, Marcin Owsiany wrote:
> On Tue, Sep 28, 1999 at 10:42:15PM +0200, Hugo van der Merwe wrote:
> > Hello,
> > How can I install the debian "base" system to another hard drive in the
> > same computer? I have a working Debian / DOS+Win95 dual boot system, and
> > would like to install Debian to a laptop, whose floppy disk drive is
> > disfunctional, and has no CD-ROM drive.
> > I have connected the laptop's hard drive to my Debian machine, using an
> > adapter. There must be some way to install Debian to this hard drive,
> > using my desktop machine. How can I do this? Will the normal
> > install-from-dos-partition procedure work?
> > Thanks in advance,
> > Hugo van der Merwe
> > ps. I would appreciate if replies could be CC:'ed to email@example.com
> > I am not subscribed to the list, and sometimes my ISP's news server messes
> > up...
Reliable source, n.:
The guy you just met.