Re: Upgrading Fedora 5 to Fedora 7 question



Donald Newcomb wrote:

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?

I don't think what you suggest will work.
I think when you do a hard disk upgrade (or installation)
the program (anaconda) looks for an actual ISO image.
I could be wrong.

.



Relevant Pages