On Fri, 9 Mar 2001, Dresner, Norman A. wrote:

> That's nice and confusing.  But many thanks for making my job (at least this
> part) simpler.

OK. Will try to explain in details.

Let's say you have RH5.2 installed on the master IDE device on
first IDE channel (/dev/hda in linux terms).
Let's say you have the following partitioning:

/dev/hda1       /
/dev/hda2       /usr/local
/dev/hda3       swap
/dev/hda4       /home

(this way /boot is a directory on the / partition)

Now you connected your new harddisk to be the master on your second IDE channel
(so it becomes /dev/hdc).
Plug in your redhat 7.0 (or 6.2 if you are conservative type) and _install_
it on your /dev/hdc:

/dev/hdc1       /
/dev/hdc2       /usr/local
/dev/hda3       swap            <-- you can use your old swap, can't you?
/dev/hdc3       swap            (you want to have a news swap as well
                                since you will junk /dev/hda eventually)
/dev/hdc4       /home

/dev/hda1       /old
/dev/hda2       /old/usr/local
/dev/hda4       /old/home

cp /old/boot/vmlinuz-2.0.36 /boot/
cp /boot/vmlinuz-2.2.18 /old/boot/

Make lilo.conf the way I said before.
lilo -v
reboot
pick "linux-old" at the boot prompt
(now you are back into old distribution)
make lilo.conf the way I said.
lilo -v
reboot
Now you can chose whatever distribution you want.
===========
If it is still confusing -- plan B:

Before installing new distribution make a boot floppy.

Install new dsitribution to the new harddisk. Make a _new_ boot floppy.

Use an appropriate boot floppy when you re-booting your computer.

==========

Plans C,D, etc:

You can use some linear combination of the 2 previous plans:
e.g. you use lilo on harddisk to boot your old distribution and use floppy
to boot new one...

Hope it helps.

>
> Thanks
>
> Norman Dresner

Regards,

Dmitri.


> > -----Original Message-----
> > From:       Dmitri A. Sergatskov [SMTP:[EMAIL PROTECTED]]
> > Sent:       Friday, March 09, 2001 12:23 PM
> > To: Dresner, Norman A.
> > Cc: 'RTLinux'
> > Subject:    Re: [rtl] Switching RTL OS versions
> >
> > On Fri, 9 Mar 2001, Dresner, Norman A. wrote:
> > .....
> >
> > > from which to boot is a "global" parameter.
> >
> > The drive too boot from is global, but it has nothing to do with
> > physical location of your distribution (e.g. you can boot from floppy).
> > So if you have say old redhat on hda and new on hdc:
> > (you may want to have either /boot partition common or copy boot images
> > to appropriate partitions)
> >
> > boot=/dev/hda
> > map=/boot/map
> > install=/boot/boot.b
> > prompt
> > timeout=50
> > message=/boot/message
> > linear
> > default=linux-new
> >
> > image=/boot/vmlinuz-2.2.18
> >         label=linux-new
> >         read-only
> >         root=/dev/hdc1
> >
> > image=/boot/vmlinuz-2.0.36
> >         label=linux-old
> >         read-only
> >         root=/dev/hda1
> >
> >
> > Many people have done it many times.
> >
> > Regards,
> >
> > Dmitri.
> >
>

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to