LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Preupgrade F10 to F11 (http://www.linuxquestions.org/questions/fedora-35/preupgrade-f10-to-f11-754451/)

FredGSanford 09-11-2009 02:05 PM

Preupgrade F10 to F11
 
I just did a preupgrade from F10 to F11 and all seems to went fine until I do the reboot. After rebooting it doesn't do any upgrading.

I also have Mandriva & Debian and using debian's grub as the bootloader. I had to manually add the new stanza entry for F11 to grub.

When the system reboots, I select the "Upgrade to Fedora 11 (Leonidas)" entry from the grub menu and get an immediate "Error 15: File not found" failure from grub.

Does anyone know if it's possible to get this to do the upgrade? Or would I have to use Fedora's grub as the bootloader?

Thnx.

linus72 09-12-2009 06:59 AM

Please post your menu.lst

also, what kernels/initrd are in there for fed11?

FredGSanford 09-12-2009 10:12 AM

This is how it's setup using Debian's grub menu.

Quote:

title Debian GNU/Linux, kernel 2.6.30-1-686
root (hd0,1)
kernel /boot/vmlinuz-2.6.30-1-686 root=/dev/sda2 ro
initrd /boot/initrd.img-2.6.30-1-686

title Debian GNU/Linux, kernel 2.6.30-1-686 (single-user mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.30-1-686 root=/dev/sda2 ro single
initrd /boot/initrd.img-2.6.30-1-686

title Debian GNU/Linux, kernel 2.6.26-2-686
root (hd0,1)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda2 ro
initrd /boot/initrd.img-2.6.26-2-686


#boot=/dev/sda7
title Mandriva linux 2009 (on /dev/sda7)
kernel (hd0,6)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=3b2d9d1b-fa4e-4492-afda-b4020d65b068 splash=silent vga=788
initrd (hd0,6)/boot/initrd.img


#boot=/dev/sda8
default=1
timeout=5
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
hiddenmenu
title Upgrade to Fedora 11 (Leonidas)
kernel /boot/upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade stage2=hd:UUID=2a18398f-04a4-4299-9b02-d9bfd43945b7:/boot/upgrade/install.img ks=hd:UUID=2a18398f-04a4-4299-9b02-d9bfd43945b7:/boot/upgrade/ks.cfg
initrd /boot/upgrade/initrd.img
#++++++++++++++++++++++++++++++++
# This entry added by the Debian installer for an existing
# Fedora 10 linux installation on /dev/sda8.
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora 10 Linux (on /dev/sda8)
root (hd0,7)
kernel /boot/vmlinuz-2.6.27.30-170.2.82.fc10.i686 ro root=UUID=2a18398f-04a4-4299-9b02-d9bfd43945b7 rhgb quiet
initrd /boot/initrd-2.6.27.30-170.2.82.fc10.i686.img
I manually added F11 stanza to it.

Thnx.

FredGSanford 09-13-2009 01:09 AM

I went ahead and reinstalled F10 grub into the MBR, so now it is the main bootloader. It does boot and I have the choice to select the "Upgrade to Fedora 11 (Leonidas)".

Once it starts, after searching for devices or some such message, an error message pops up saying 'cant find swap device or swap device (dev/sda6) not defined'.

Now I need to figure out how to define the swap device. Swap is on /dev/sda6.

Thnx.

FredGSanford 09-13-2009 04:32 PM

I found out swap partition was not active by default, so I had to activate it using the swapon command. Once that was working, the upgrade ran as it should have.

After about 2 hours and at the 625 file out of 1200+ files upgrading, it seem to have been stuck on 625. I wasn't able to Fn into a different console to see if any errors so I aborted it.

I'll try again or wait and get an external dvd drive.

Thnx.


All times are GMT -5. The time now is 03:49 PM.