From: Rod Rodolico <rodo@dailydata.net>
To: development@lists.ipfire.org
Subject: Re: grub broken in IPFire upgrade from 85 to 87
Date: Sun, 22 Mar 2015 14:21:19 -0500 [thread overview]
Message-ID: <550F162F.5060000@dailydata.net> (raw)
In-Reply-To: <550BCF9B.303@ipfire.org>
[-- 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
next prev parent reply other threads:[~2015-03-22 19:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-20 5:20 Rod Rodolico
2015-03-20 6:22 ` Rod Rodolico
2015-03-20 7:43 ` Robertm
2015-03-22 19:21 ` Rod Rodolico [this message]
2015-04-07 11:37 ` Michael Tremer
2015-04-07 21:09 ` Rod Rodolico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=550F162F.5060000@dailydata.net \
--to=rodo@dailydata.net \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox