Re: Preupgrade F10 to F11: Installer boot fails in GRUB

2009-07-11 Thread Robert Nichols

Robert Nichols wrote:
Running preupgrade in F10, all packages are downloaded successfully, and 
I click
on the "Reboot now" button.  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.

Everything is on one partition (no separate /boot partition).

In /boot/grub/grub.conf:

  default=1
  timeout=10
  splashimage=(hd0,6)/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=d137c2a7-7913-42ed-87b0-6b3fac3ec768:/boot/upgrade/install.img 


What appears to have caused the problem is that this isn't the primary
GRUB menu.  It's a separate GRUB installation reached by a chainloader
command in the main GRUB menu.  I don't know whether it's preupgrade
or anaconda that's at fault, but something ends up going to the wrong
partition and of course not finding the repository created by
preupgrade.  Unfortunately, re-creating the problem and trying to
pin down the exact cause would just take way more time than I can
justify for such an oddball case.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Preupgrade F10 to F11: Installer boot fails in GRUB

2009-06-24 Thread Aldo Foot
On Wed, Jun 24, 2009 at 3:01 PM, Robert
Nichols wrote:
> Running preupgrade in F10, all packages are downloaded successfully, and I
> click
> on the "Reboot now" button.  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.
>
<...snip...>
_

I don't have an answer, but I'd like to comment on the F10->F11 preupgrade.

When preupgrade finds everything perfectly aligned, it works nicely.
But if something is not right, it has the potential to be a nightmare.

I was testing the preupgrade in a Windows/F10 dual boot setup. The
F10 had LVMs for /var and /usr in it. Preupgrade downloaded all
required files and I rebooted. Somewhere along the process it said
that I did not have enough space in /var; so I went back and increased
the size of the LV for /var and rebooted, then once again it said I did not
have enough space in the LV for /usr so I went back to increase the
size of the LV for /usr and rebooted... at this point it
got messed up complaining about a keyboard related module; so to
be fair I'll say that maybe something went wrong with resizing the LVs.
I almost gave up and thought of installing F11 directly.
But, I was stubborn so I went back and re-setup the Win/F10 dual boot
with a bigger VG with enough space for /var and /usr and it went
without a hitch.

So I pondered: (a) pregupgrade downloaded packages according to
what I already had installed in my F10 setup, so (b) why not check that
there's is enough disk space available *before* rebooting to start the
process? or (c) is there a problem with such checks when key filesystems
are in a Volume Group? I have no answers to any of my questions.

My memory fails me now, but I don't remember seeing any kind of log during
preupgrade as when one does a regular installs (ALT-F3 and such).
A log would be most helpful for errors such as your "File not found" error.

I think this preupgrade business must be handled with care.
~af

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Preupgrade F10 to F11: Installer boot fails in GRUB

2009-06-24 Thread Robert Nichols

Running preupgrade in F10, all packages are downloaded successfully, and I click
on the "Reboot now" button.  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.

Everything is on one partition (no separate /boot partition).

In /boot/grub/grub.conf:

  default=1
  timeout=10
  splashimage=(hd0,6)/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=d137c2a7-7913-42ed-87b0-6b3fac3ec768:/boot/upgrade/install.img
ks=hd:UUID=d137c2a7-7913-42ed-87b0-6b3fac3ec768:/boot/upgrade/ks.cfg
initrd /boot/upgrade/initrd.img

The filesystem has the matching UUID:
  # tune2fs -l /dev/sda7 | grep UUID
  Filesystem UUID:  d137c2a7-7913-42ed-87b0-6b3fac3ec768

In /boot/upgrade:
  total used in directory 134984 available 62504828
  drwxr-xr-x 2 root root  4096 2009-06-24 14:54 .
  drwxr-xr-x 5 root root  4096 2009-06-24 14:53 ..
  -rw-r--r-- 1 root root  18985802 2009-06-02 17:02 initrd.img
  -rw-r--r-- 1 root root 116039680 2009-06-02 17:04 install.img
  -rw-r--r-- 1 root root   276 2009-06-24 14:54 ks.cfg
  -rw-r--r-- 1 root root   3035056 2009-06-02 17:02 vmlinuz

I have no idea what file GRUB is complaining it can't find.  (Don't you just
love error messages like that?)

--
Bob Nichols "NOSPAM" is really part of my email addressw.
Do NOT delete it.


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines