* grub broken in IPFire upgrade from 85 to 87
@ 2015-03-20 5:20 Rod Rodolico
2015-03-20 6:22 ` Rod Rodolico
0 siblings, 1 reply; 6+ messages in thread
From: Rod Rodolico @ 2015-03-20 5:20 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 781 bytes --]
I believe those are the correct versions. I upgraded the machine and now
get a grub error 15. I have no further information except the following:
It is an HVM virtual, running on an LV (should not make a difference)
To troubleshoot, I use kpartx to break it apart. When I mount the /boot
partition, I see grub.menu.old, then a grub/ directory. The config file
in the grub/ directory has none of the configuration options I expect.
I have made a copy of the image in case anyone wants me to do anything
to it. Two other routers have worked just fine with this upgrade, but
they are not on an LVM partition?
Anyone has any clues on what I should look for, let me know.
Rod
--
Rod Rodolico
Daily Data, Inc.
POB 140465
Dallas TX 75214-0465
214.827.2170
http://www.dailydata.net
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: grub broken in IPFire upgrade from 85 to 87
2015-03-20 5:20 grub broken in IPFire upgrade from 85 to 87 Rod Rodolico
@ 2015-03-20 6:22 ` Rod Rodolico
2015-03-20 7:43 ` Robertm
0 siblings, 1 reply; 6+ messages in thread
From: Rod Rodolico @ 2015-03-20 6:22 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1304 bytes --]
I built a new router (core 85), loaded the config from the one that
broke, then from the cli did the upgrade. It worked just fine. Same
machine, same setup.
I have no idea why the other one broke on upgrade, but attempting to
replicate the issue did not work. I do still have the original image
(the broken one) if it would be of any use.
Rod
P.S. thank you, whoever decided to do automatic backups when performing
upgrades! That saved me.
On 03/20/2015 12:20 AM, Rod Rodolico wrote:
> I believe those are the correct versions. I upgraded the machine and now
> get a grub error 15. I have no further information except the following:
>
> It is an HVM virtual, running on an LV (should not make a difference)
>
> To troubleshoot, I use kpartx to break it apart. When I mount the /boot
> partition, I see grub.menu.old, then a grub/ directory. The config file
> in the grub/ directory has none of the configuration options I expect.
>
> I have made a copy of the image in case anyone wants me to do anything
> to it. Two other routers have worked just fine with this upgrade, but
> they are not on an LVM partition?
>
> Anyone has any clues on what I should look for, let me know.
>
> Rod
>
--
Rod Rodolico
Daily Data, Inc.
POB 140465
Dallas TX 75214-0465
214.827.2170
http://www.dailydata.net
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: grub broken in IPFire upgrade from 85 to 87
2015-03-20 6:22 ` Rod Rodolico
@ 2015-03-20 7:43 ` Robertm
2015-03-22 19:21 ` Rod Rodolico
0 siblings, 1 reply; 6+ messages in thread
From: Robertm @ 2015-03-20 7:43 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1455 bytes --]
Hi Rod,
there are any differences in the grub.cfg.
Differences from the non working machine and the new working machine?
It would be nice if you could provide both configs
Am 20.03.2015 um 07:22 schrieb Rod Rodolico:
> I built a new router (core 85), loaded the config from the one that
> broke, then from the cli did the upgrade. It worked just fine. Same
> machine, same setup.
>
> I have no idea why the other one broke on upgrade, but attempting to
> replicate the issue did not work. I do still have the original image
> (the broken one) if it would be of any use.
>
> Rod
>
> P.S. thank you, whoever decided to do automatic backups when performing
> upgrades! That saved me.
>
> On 03/20/2015 12:20 AM, Rod Rodolico wrote:
>> I believe those are the correct versions. I upgraded the machine and now
>> get a grub error 15. I have no further information except the following:
>>
>> It is an HVM virtual, running on an LV (should not make a difference)
>>
>> To troubleshoot, I use kpartx to break it apart. When I mount the /boot
>> partition, I see grub.menu.old, then a grub/ directory. The config file
>> in the grub/ directory has none of the configuration options I expect.
>>
>> I have made a copy of the image in case anyone wants me to do anything
>> to it. Two other routers have worked just fine with this upgrade, but
>> they are not on an LVM partition?
>>
>> Anyone has any clues on what I should look for, let me know.
>>
>> Rod
>>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: grub broken in IPFire upgrade from 85 to 87
2015-03-20 7:43 ` Robertm
@ 2015-03-22 19:21 ` Rod Rodolico
2015-04-07 11:37 ` Michael Tremer
0 siblings, 1 reply; 6+ messages in thread
From: Rod Rodolico @ 2015-03-22 19:21 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 2712 bytes --]
It appears to be two completely different installs of grub to me.
Haven't messed with grub in a long time, but the config files appear to
be two versions? Like the install stopped before it was done? I looked
through the logs but did not see anything obvious.
Attached. grub.cfg is from the "good" install and grub.conf is from the
"bad" install. That is the way they were named in the images.
Additionally, here is a directory listing of boot/grub for both
"Good" install
--------------
grub.cfg grubenv i386-pc/ locale/ splash.png unifont.pf2
"Bad" install
-------------
grub.conf menu.lst
I tar/gzipped /boot (including the kernels and everything) and placed
them at http://smartappliances.us/ipfire.85.87.tgz if you want them for
anything. I'll remove them at the end of the week.
If no one else has reported anything similar, I vote we call it
"operator error" and move on.
Rod
On 03/20/2015 02:43 AM, Robertm wrote:
> Hi Rod,
>
> there are any differences in the grub.cfg.
> Differences from the non working machine and the new working machine?
> It would be nice if you could provide both configs
>
> Am 20.03.2015 um 07:22 schrieb Rod Rodolico:
>> I built a new router (core 85), loaded the config from the one that
>> broke, then from the cli did the upgrade. It worked just fine. Same
>> machine, same setup.
>>
>> I have no idea why the other one broke on upgrade, but attempting to
>> replicate the issue did not work. I do still have the original image
>> (the broken one) if it would be of any use.
>>
>> Rod
>>
>> P.S. thank you, whoever decided to do automatic backups when performing
>> upgrades! That saved me.
>>
>> On 03/20/2015 12:20 AM, Rod Rodolico wrote:
>>> I believe those are the correct versions. I upgraded the machine and now
>>> get a grub error 15. I have no further information except the following:
>>>
>>> It is an HVM virtual, running on an LV (should not make a difference)
>>>
>>> To troubleshoot, I use kpartx to break it apart. When I mount the /boot
>>> partition, I see grub.menu.old, then a grub/ directory. The config file
>>> in the grub/ directory has none of the configuration options I expect.
>>>
>>> I have made a copy of the image in case anyone wants me to do anything
>>> to it. Two other routers have worked just fine with this upgrade, but
>>> they are not on an LVM partition?
>>>
>>> Anyone has any clues on what I should look for, let me know.
>>>
>>> Rod
>>>
>>
> _______________________________________________
> Development mailing list
> Development(a)lists.ipfire.org
> http://lists.ipfire.org/mailman/listinfo/development
--
Rod Rodolico
Daily Data, Inc.
POB 140465
Dallas TX 75214-0465
214.827.2170
http://www.dailydata.net
[-- Attachment #2: grub.cfg --]
[-- Type: text/plain, Size: 4537 bytes --]
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="${saved_entry}"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
serial --unit=0 --speed=115200
terminal_input serial
terminal_output serial
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'IPFire 2.17 (i586) - core87 GNU/Linux' --class ipfire --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-614c8bf4-a9e7-4aff-aabe-c5333e509f05' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1728d5cd-4b04-4fc7-9344-ddd135a6d6fd
else
search --no-floppy --fs-uuid --set=root 1728d5cd-4b04-4fc7-9344-ddd135a6d6fd
fi
echo 'Loading Linux 3.14.33-ipfire-pae ...'
linux /vmlinuz-3.14.33-ipfire-pae root=UUID=614c8bf4-a9e7-4aff-aabe-c5333e509f05 ro panic=10 console=ttyS0,115200n8
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.14.33-ipfire-pae.img
}
submenu 'Advanced options for IPFire 2.17 (i586) - core87 GNU/Linux' $menuentry_id_option 'gnulinux-advanced-614c8bf4-a9e7-4aff-aabe-c5333e509f05' {
menuentry 'IPFire 2.17 (i586) - core87 GNU/Linux, with Linux 3.14.33-ipfire-pae' --class ipfire --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14.33-ipfire-pae-advanced-614c8bf4-a9e7-4aff-aabe-c5333e509f05' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1728d5cd-4b04-4fc7-9344-ddd135a6d6fd
else
search --no-floppy --fs-uuid --set=root 1728d5cd-4b04-4fc7-9344-ddd135a6d6fd
fi
echo 'Loading Linux 3.14.33-ipfire-pae ...'
linux /vmlinuz-3.14.33-ipfire-pae root=UUID=614c8bf4-a9e7-4aff-aabe-c5333e509f05 ro panic=10 console=ttyS0,115200n8
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.14.33-ipfire-pae.img
}
menuentry 'IPFire 2.17 (i586) - core87 GNU/Linux, with Linux 3.14.33-ipfire' --class ipfire --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14.33-ipfire-advanced-614c8bf4-a9e7-4aff-aabe-c5333e509f05' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1728d5cd-4b04-4fc7-9344-ddd135a6d6fd
else
search --no-floppy --fs-uuid --set=root 1728d5cd-4b04-4fc7-9344-ddd135a6d6fd
fi
echo 'Loading Linux 3.14.33-ipfire ...'
linux /vmlinuz-3.14.33-ipfire root=UUID=614c8bf4-a9e7-4aff-aabe-c5333e509f05 ro panic=10 console=ttyS0,115200n8
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.14.33-ipfire.img
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
[-- Attachment #3: grub.conf --]
[-- Type: text/plain, Size: 194 bytes --]
timeout 10
default 0
title IPFire (pae-kernel)
kernel /vmlinuz-3.14.33-ipfire-pae root=/dev/xvda3 rootdelay=10 panic=10 console=hvc0
initrd /initramfs-3.14.33-ipfire-pae.img
# savedefault 0
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: grub broken in IPFire upgrade from 85 to 87
2015-03-22 19:21 ` Rod Rodolico
@ 2015-04-07 11:37 ` Michael Tremer
2015-04-07 21:09 ` Rod Rodolico
0 siblings, 1 reply; 6+ messages in thread
From: Michael Tremer @ 2015-04-07 11:37 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 3204 bytes --]
I still have not heard from anybody else who experienced the same
problem. I guess calling it an operator issue may be right. The update
seems to have not completed all the way through. By now it is hard to
figure out why.
-Michael
On Sun, 2015-03-22 at 14:21 -0500, Rod Rodolico wrote:
> It appears to be two completely different installs of grub to me.
> Haven't messed with grub in a long time, but the config files appear to
> be two versions? Like the install stopped before it was done? I looked
> through the logs but did not see anything obvious.
>
> Attached. grub.cfg is from the "good" install and grub.conf is from the
> "bad" install. That is the way they were named in the images.
>
> Additionally, here is a directory listing of boot/grub for both
>
> "Good" install
> --------------
> grub.cfg grubenv i386-pc/ locale/ splash.png unifont.pf2
>
> "Bad" install
> -------------
> grub.conf menu.lst
>
> I tar/gzipped /boot (including the kernels and everything) and placed
> them at http://smartappliances.us/ipfire.85.87.tgz if you want them for
> anything. I'll remove them at the end of the week.
>
> If no one else has reported anything similar, I vote we call it
> "operator error" and move on.
>
> Rod
>
>
> On 03/20/2015 02:43 AM, Robertm wrote:
> > Hi Rod,
> >
> > there are any differences in the grub.cfg.
> > Differences from the non working machine and the new working machine?
> > It would be nice if you could provide both configs
> >
> > Am 20.03.2015 um 07:22 schrieb Rod Rodolico:
> >> I built a new router (core 85), loaded the config from the one that
> >> broke, then from the cli did the upgrade. It worked just fine. Same
> >> machine, same setup.
> >>
> >> I have no idea why the other one broke on upgrade, but attempting to
> >> replicate the issue did not work. I do still have the original image
> >> (the broken one) if it would be of any use.
> >>
> >> Rod
> >>
> >> P.S. thank you, whoever decided to do automatic backups when performing
> >> upgrades! That saved me.
> >>
> >> On 03/20/2015 12:20 AM, Rod Rodolico wrote:
> >>> I believe those are the correct versions. I upgraded the machine and now
> >>> get a grub error 15. I have no further information except the following:
> >>>
> >>> It is an HVM virtual, running on an LV (should not make a difference)
> >>>
> >>> To troubleshoot, I use kpartx to break it apart. When I mount the /boot
> >>> partition, I see grub.menu.old, then a grub/ directory. The config file
> >>> in the grub/ directory has none of the configuration options I expect.
> >>>
> >>> I have made a copy of the image in case anyone wants me to do anything
> >>> to it. Two other routers have worked just fine with this upgrade, but
> >>> they are not on an LVM partition?
> >>>
> >>> Anyone has any clues on what I should look for, let me know.
> >>>
> >>> Rod
> >>>
> >>
> > _______________________________________________
> > Development mailing list
> > Development(a)lists.ipfire.org
> > http://lists.ipfire.org/mailman/listinfo/development
>
> _______________________________________________
> Development mailing list
> Development(a)lists.ipfire.org
> http://lists.ipfire.org/mailman/listinfo/development
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: grub broken in IPFire upgrade from 85 to 87
2015-04-07 11:37 ` Michael Tremer
@ 2015-04-07 21:09 ` Rod Rodolico
0 siblings, 0 replies; 6+ messages in thread
From: Rod Rodolico @ 2015-04-07 21:09 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 3570 bytes --]
I think it was a fluke or operator error. If no one else reported it,
I'd suggest just writing it up as a "Stupid User Trick" and get on with
other more important things.
Rod
On 04/07/2015 06:37 AM, Michael Tremer wrote:
> I still have not heard from anybody else who experienced the same
> problem. I guess calling it an operator issue may be right. The update
> seems to have not completed all the way through. By now it is hard to
> figure out why.
>
> -Michael
>
> On Sun, 2015-03-22 at 14:21 -0500, Rod Rodolico wrote:
>> It appears to be two completely different installs of grub to me.
>> Haven't messed with grub in a long time, but the config files appear to
>> be two versions? Like the install stopped before it was done? I looked
>> through the logs but did not see anything obvious.
>>
>> Attached. grub.cfg is from the "good" install and grub.conf is from the
>> "bad" install. That is the way they were named in the images.
>>
>> Additionally, here is a directory listing of boot/grub for both
>>
>> "Good" install
>> --------------
>> grub.cfg grubenv i386-pc/ locale/ splash.png unifont.pf2
>>
>> "Bad" install
>> -------------
>> grub.conf menu.lst
>>
>> I tar/gzipped /boot (including the kernels and everything) and placed
>> them at http://smartappliances.us/ipfire.85.87.tgz if you want them for
>> anything. I'll remove them at the end of the week.
>>
>> If no one else has reported anything similar, I vote we call it
>> "operator error" and move on.
>>
>> Rod
>>
>>
>> On 03/20/2015 02:43 AM, Robertm wrote:
>>> Hi Rod,
>>>
>>> there are any differences in the grub.cfg.
>>> Differences from the non working machine and the new working machine?
>>> It would be nice if you could provide both configs
>>>
>>> Am 20.03.2015 um 07:22 schrieb Rod Rodolico:
>>>> I built a new router (core 85), loaded the config from the one that
>>>> broke, then from the cli did the upgrade. It worked just fine. Same
>>>> machine, same setup.
>>>>
>>>> I have no idea why the other one broke on upgrade, but attempting to
>>>> replicate the issue did not work. I do still have the original image
>>>> (the broken one) if it would be of any use.
>>>>
>>>> Rod
>>>>
>>>> P.S. thank you, whoever decided to do automatic backups when performing
>>>> upgrades! That saved me.
>>>>
>>>> On 03/20/2015 12:20 AM, Rod Rodolico wrote:
>>>>> I believe those are the correct versions. I upgraded the machine and now
>>>>> get a grub error 15. I have no further information except the following:
>>>>>
>>>>> It is an HVM virtual, running on an LV (should not make a difference)
>>>>>
>>>>> To troubleshoot, I use kpartx to break it apart. When I mount the /boot
>>>>> partition, I see grub.menu.old, then a grub/ directory. The config file
>>>>> in the grub/ directory has none of the configuration options I expect.
>>>>>
>>>>> I have made a copy of the image in case anyone wants me to do anything
>>>>> to it. Two other routers have worked just fine with this upgrade, but
>>>>> they are not on an LVM partition?
>>>>>
>>>>> Anyone has any clues on what I should look for, let me know.
>>>>>
>>>>> Rod
>>>>>
>>>>
>>> _______________________________________________
>>> Development mailing list
>>> Development(a)lists.ipfire.org
>>> http://lists.ipfire.org/mailman/listinfo/development
>>
>> _______________________________________________
>> Development mailing list
>> Development(a)lists.ipfire.org
>> http://lists.ipfire.org/mailman/listinfo/development
--
Rod Rodolico
Daily Data, Inc.
POB 140465
Dallas TX 75214-0465
214.827.2170
http://www.dailydata.net
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-04-07 21:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-20 5:20 grub broken in IPFire upgrade from 85 to 87 Rod Rodolico
2015-03-20 6:22 ` Rod Rodolico
2015-03-20 7:43 ` Robertm
2015-03-22 19:21 ` Rod Rodolico
2015-04-07 11:37 ` Michael Tremer
2015-04-07 21:09 ` Rod Rodolico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox