Fedora 16 preupgrade with grub2 failure.

Julius Smith jos at ccrma.stanford.edu
Mon Feb 27 05:07:50 UTC 2012


Thanks for your info - I finally punched through - here's what mine
needed to look like:

title Fedora F16
	root (hd0,0)
	kernel /vmlinuz-3.2.7-1.fc16.x86_64 ro root=/dev/mapper/vg_hostname-lv_root
	initrd /initramfs-3.2.7-1.fc16.x86_64.img

where hostname is my host name.  This is in fact the grub2 version
(ported back to grub).  Previously I had misread the first '_' as '-'.
 (no copy/paste in the little bash world I was struggling in)

I notice that /dev/mapper/vg_hostname-lv_root is a symlink to ../dm-2
- I hope it's ok to mount /dev/dm-2 directly - I might not have a typo
in a name that short, and I might even remember it! :-)

Since I don't need anything fancy, can I simply keep grub and not
fight through getting grub2 to install?  I'm worried that my 200 MB
/boot/ partition is not up to the task.  It causes me trouble every
single upgrade.  (I know I need to do a fresh install with a new
partition map - I promise eventually to get around to that.)

Thanks for any advice,
Julius

On Sun, Feb 26, 2012 at 6:50 PM, Michael D. Setzer II
<mikes at kuentos.guam.net> wrote:
> What I put in my grub.conf file that worked is:
>
> title Fedora16
>        root (hd0,0)
>        kernel /vmlinuz-3.2.7-1.fc16.i686
> root=/dev/mapper/VolGroup00-LogVol00
>        initrd /initramfs-3.2.7-1.fc16.i686.img
>
>
> On 26 Feb 2012 at 17:03, Julius Smith wrote:
>
> Date sent:              Sun, 26 Feb 2012 17:03:19 -0800
> Subject:                Re: Fedora 16 preupgrade with grub2 failure.
> From:                   Julius Smith <jos at ccrma.stanford.edu>
> To:                     Community support for Fedora users
> <users at lists.fedoraproject.org>
>
>> I just did a preupgrade from F15 to F16 and fell into this trap, or
>> something similar.
>>
>> From a rescue disk boot (F12 is the latest I had lying around), I can
>> see both grub and grub2 directories in /boot.  The grub2 dir looks set
>> up, but when booting grub/grub.conf is accessed, and it points to the
>> preupgrade "kernel" which no longer exists.  I tried setting
>> grub/grub.conf so that at least the system would boot, but I can't
>> figure out how to set the "root=" option.  Using what's in grub2 does
>> not work, nor does any of many things I've tried (it's /dev/sda2, and
>> presumably VolGroup00-LogVol01, but nothing like that works).  So, I'm
>> dead in the water as well.
>>
>> On Sun, Feb 26, 2012 at 12:18 PM, Michael D. Setzer II
>> <mikes at kuentos.guam.net> wrote:
>> > I've don't a number of upgrades from Fedora 14 to 16 with no
>> > problems, but just had a very bad issue with grub2 not working.
>> >
>> > Preupgrade process seemed to go fine, then rebooted.
>> > Screen came up, but was in a very dark gray with slightly lighter
>> > gray letters that were not very readable, but it appeared to be
>> > processing fine, and let it run.
>> >
>> > After a while, it had a popup window that said something about a
>> > bootloader with only an OK button, which I was a guessing was that
>> > it was going to install the new bootloader, so pressed enter.
>> >
>> > Machine rebooted but showed the old grub 0.97 options, which
>> > only listed the upgrade kernel option and the link to run my g4l
>> > kernels. The preupgrade option didn't find files, but booting from
>> > the g4l kernel gave me access, and I could see a grub2 directory was
>> > there and so was the new kernels. I was eventually able to get the
>> > 0.97 grub.conf to load the fedora 16 kernel and initramfs by
>> > manually creating entry, but don't know why the grub2 upgrade would
>> > have failed, or what the best way to get the grub2 correctly
>> > installed?
>> >
>> > I have the previous 500GB disk with the Fedora 14 before the
>> > upgrade, so can go back to it if necessary. Had to duplicate the
>> > disk to a 1TB drive and increase the /boot since the system only had
>> > a 200MB /boot.
>> >
>> > Hoping there is a simple solution?
>> >
>> > +----------------------------------------------------------+
>> >  Michael D. Setzer II -  Computer Science Instructor
>> >  Guam Community College  Computer Center
>> >  mailto:mikes at kuentos.guam.net
>> >  mailto:msetzerii at gmail.com
>> >  http://www.guam.net/home/mikes
>> >  Guam - Where America's Day Begins
>> >  G4L Disk Imaging Project maintainer
>> >  http://sourceforge.net/projects/g4l/
>> > +----------------------------------------------------------+
>> >
>> > http://setiathome.berkeley.edu (Original)
>> > Number of Seti Units Returned:  19,471
>> > Processing time:  32 years, 290 days, 12 hours, 58 minutes
>> > (Total Hours: 287,489)
>> >
>> > BOINC at HOME CREDITS
>> > SETI        11878212.985960   |   EINSTEIN
>> > 7347240.179852 ROSETTA      4278297.373025   |   ABC
>> >   11278989.077652
>> >
>> > --
>> > users mailing list
>> > users at lists.fedoraproject.org
>> > To unsubscribe or change subscription options:
>> > https://admin.fedoraproject.org/mailman/listinfo/users
>> > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>> > Have a question? Ask away: http://ask.fedoraproject.org
>>
>>
>>
>> --
>> "Anybody who knows all about nothing knows everything" -- Leonard
>> Susskind -- users mailing list users at lists.fedoraproject.org To
>> unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users Guidelines:
>> http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question?
>> Ask away: http://ask.fedoraproject.org
>
>
> +----------------------------------------------------------+
>  Michael D. Setzer II -  Computer Science Instructor
>  Guam Community College  Computer Center
>  mailto:mikes at kuentos.guam.net
>  mailto:msetzerii at gmail.com
>  http://www.guam.net/home/mikes
>  Guam - Where America's Day Begins
>  G4L Disk Imaging Project maintainer
>  http://sourceforge.net/projects/g4l/
> +----------------------------------------------------------+
>
> http://setiathome.berkeley.edu (Original)
> Number of Seti Units Returned:  19,471
> Processing time:  32 years, 290 days, 12 hours, 58 minutes
> (Total Hours: 287,489)
>
> BOINC at HOME CREDITS
> SETI        11878212.985960   |   EINSTEIN     7347240.179852
> ROSETTA      4278297.373025   |   ABC         11278989.077652
>
>



-- 
"Anybody who knows all about nothing knows everything" -- Leonard Susskind


More information about the users mailing list