Subject: Upgrading Fedora 5 to Fedora 7 question
From: Donald Newcomb
Date: 9/25/2007 7:40:33 PM
I apologize if this is a dumb FAQ. If so, could someone please just point me
to the place where I can find the answer.
I have the following situation: Fedora 5 installed on an old PC with a CD
drive and no DVD drive, connected to Windows PC with DVD and dial-up (slow)
network connection. In hand, Fedora 7 install DVD. The contents of the
Fedora 7 DVD (files and directory) have been copied from Windows PC to
/Fedora_7 on Linux PC.
What is the simplest way to upgrade this Linux PC to Fedora 7? I've
considered yanking the DVD drive from the Windows PC and installing it in
the Linux PC. I'd rather not redownload the unofficial CD distribution of
Fedora 7 just because of the time involved. I think that there must be some
way to tell yum to look in the /Fedora_7 directory and go from there but I
can't figure out how to do it.
For some reason the Add/Remove Software tool on the Linux PC errors off when
it can't find anything installed.
Thanks!
--
Donald R. Newcomb
DRNewcomb (at) attglobal (dot) net
Subject: Upgrading Fedora 5 to Fedora 7 question
From: Donald Newcomb
Date: 9/25/2007 11:04:48 PM
"Timothy Murphy" <tim@birdsnest.maths.tcd.ie> wrote in message
news:pmjKi.22276$j7.399624@news.indigo.ie...
> Donald Newcomb wrote:
>
> > I apologize if this is a dumb FAQ. If so, could someone please just
point
> > me to the place where I can find the answer.
> >
> > I have the following situation: Fedora 5 installed on an old PC with a
CD
> > drive and no DVD drive, connected to Windows PC with DVD and dial-up
> > (slow) network connection. In hand, Fedora 7 install DVD. The contents
of
> > the Fedora 7 DVD (files and directory) have been copied from Windows PC
to
> > /Fedora_7 on Linux PC.
> >
> > What is the simplest way to upgrade this Linux PC to Fedora 7? I've
> > considered yanking the DVD drive from the Windows PC and installing it
in
> > the Linux PC. I'd rather not redownload the unofficial CD distribution
of
> > Fedora 7 just because of the time involved. I think that there must be
> > some way to tell yum to look in the /Fedora_7 directory and go from
there
> > but I can't figure out how to do it.
>
> I haven't understood exactly what you have done,
> but I would have thought if you can transfer data
> from your Windows PC to your Linux machine
> you should just transfer the ISO file,
> and do a hard drive update.
> (I did this to update one machine from FC-5 to Fedora 7.)
>
> One way to do this is to abstract the isolinux directory
> and modify grub.conf to boot from this.
> (That is what I did.)
> To abstract the isolinux directory, do something like
> mount -o loop <path.to.ISOfile> /mnt
> and the copy /mnt/isolinux to your /boot directory.
>
> My grub.conf contains the stanza
> title Fedora-7 boot
> root (hd0,1)
> kernel /Fedora-7/isolinux/vmlinuz
> initrd /Fedora-7/isolinux/initrd.img
Thanks Timothy. I think I follow what you're suggesting. What I did was to
copy all the files and directories from the remote DVD (not the single big
ISO file) onto my linux hard drive into a directory called /Fedora_7. So the
isolinux directory for Fedora 7 is in /Fedora_7/isolinux .
Could I just edit /boot/grub/grub.conf adding a stanza:
title Fedora-7 boot
root(hd0,0)
kernel ../Fedora_7/isolinux/vmlinuz
initrd ../Fedora_7/isolinux/initrd.img
(The ../Fedora_7/ is to back grub out of the /boot directory. ) Will this
boot from the Fedora 7 distribution and run the upgrade process as though I
booted from the DVD? I assume that "root(hd0,1)" is because Linux is on the
second partition on your hard drive? Even if you "mount" the ISO file as a
virtual file system you are still booting from the same partition?
--
Donald R. Newcomb
DRNewcomb (at) attglobal (dot) net
Subject: Upgrading Fedora 5 to Fedora 7 question
From: Donald Newcomb
Date: 9/26/2007 8:39:13 PM
"JOHN MATHEW" <mathew.melbin@gmail.com> wrote in message
news:1190791681.458340.146280@o80g2000hse.googlegroups.com...
> Hi Donald Newcomb,
>
> 1)The easy way is to take out the dvd from the windows machine and
> connect it to linux machine ,make the update.
> 2)Copy up the fedora iso into the linux machine partision and then
> boot from fedora rescue cd ....
> type over there boot:linux askmethod
> select language
> select type of installation (choose form hard disk ---point to the
> iso)
>
> Try this.
> Regards
> Melbin Mathew
After several unsucsessful attempts to get the boot CD to find the Fedora
ISO file on the hard drive I gave up and went with solution #1. After moving
the ISO file around to a number of spots, including /tmp/hdimage/, always
with negative results I realized that I was approaching object fixation and
gave up. In less time than it took to power down and reboot the two PCs I
had a DVD drive out of A and into B. Thanks for the suggestions everyone.
--
Donald R. Newcomb
DRNewcomb (at) attglobal (dot) net
|