#2128 Issue closed
: PXE Boot starts at "GNU GRUB version 2.02"¶
Labels: no-issue-activity
kkoehle opened issue at 2019-04-29 04:08:¶
Relax-and-Recover (ReaR) Issue Template¶
Fill in the following items before submitting a new issue
(quick response is not guaranteed with free support):
-
ReaR version 2.4
-
OS version SLES 12 SP4
-
ReaR configuration files
/etc/rear/local.conf:
BACKUP=NETFS
BOOT_OVER_SAN=y
AUTOEXCLUDE_MULTIPATH=n
BACKUP_URL=nfs://9.5.110.188/nfs
SSH_ROOT_PASSWORD="xxx"
REQUIRED_PROGS=( "${REQUIRED_PROGS[@]}" resize snapper chattr lsattr )
COPY_AS_IS=( "${COPY_AS_IS[@]}" /usr/lib/snapper/installation-helper /etc/snapper/config-templates/default )
BACKUP_PROG_INCLUDE=(/srv /boot/grub2/powerpc-ieee1275 /var/log /var/opt /tmp /var/tmp /var/cache /opt /usr/local /var/spool /var/lib/libvirt/images /home)
POST_RECOVERY_SCRIPT=( 'if snapper --no-dbus -r $TARGET_FS_ROOT get-config | grep -q "^QGROUP.*[0-9]/[0-9]" ; then snapper --no-dbus -r $TARGET_FS_ROOT set-config QGROUP= ; snapper --no-dbus -r $TARGET_FS_ROOT setup-quota && echo snapper setup-quota done || echo snapper setup-quota failed ; else echo snapper setup-quota not used ; fi' )
OUTPUT=PXE
PXE_CONFIG_GRUB_STYLE=y
PXE_TFTP_URL="nfs://9.5.110.188/srv/tftpboot"
OUTPUT_PREFIX_PXE=rear/$HOSTNAME
PXE_CONFIG_URL="nfs://9.5.110.188/srv/tftpboot/boot/grub2/powerpc-ieee1275"
PXE_CREATE_LINKS=MAC
PXE_REMOVE_OLD_LINKS=y
/etc/dhcpd.conf:
subnet 9.5.110.0 netmask 255.255.255.0 {
option routers 9.5.110.254;
allow bootp;
next-server 9.5.110.188;
filename "/boot/grub2/powerpc-ieee1275/core.elf";
host hana-n4 {
hardware ethernet 42:37:CB:60:59:03;
fixed-address 9.5.110.34;
}
}
-
Hardware: PowerVM LPAR
-
System architecture: PPC64LE
-
Firmware: grub2
-
Storage: SAN multipath
-
Description of the issue:
After running rear rescue to test PXE boot, I get:
TFTP BOOT ---------------------------------------------------
Server IP.....................9.5.110.188
Client IP.....................9.5.110.34
Gateway IP....................9.5.110.1
Subnet Mask...................255.255.255.0
( 1 ) Filename................./boot/grub2/powerpc-ieee1275/core.elf
TFTP Retries..................5
Block Size....................512
FINAL PACKET COUNT = 351
FINAL FILE SIZE = 179252 BYTES
Elapsed time since release of system processors: 320242 mins 27 secs
Welcome to GRUB!
GNU GRUB version 2.02
Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists possible
device or file completions.
[grub>
If I use PXE_CREATE_LINKS=MAC,
I see two files in /srv/tftpboot/boot/grub2/powerpc-ieee1275:
01-42-37-cb-60-59-02
01-42-37-cb-60-59-03
I assume this should show up as grub.cfg-01-42-37-cb-60-59-03
not just the mac address.
In each file is:
menuentry 'Relax-and-Recover v2.4' {
insmod tftp
set net_default_server=9.5.110.188
echo 'Network status: '
net_ls_cards
net_ls_addr
net_ls_routes
echo
echo " Relax-and-Recover Rescue image"
echo "---------------------------------"
echo "build from host: hana-n4 (SUSE_LINUX 12 Linux-ppc64le)"
echo "kernel 4.12.14-95.13-default Sun, 28 Apr 2019 22:28:41 -0500"
echo "BACKUP=NETFS OUTPUT=PXE BACKUP_URL=nfs://9.5.110.188/nfs"
echo
echo 'Loading kernel ...'
linux (tftp)/rear/hana-n4/hana-n4.kernel root=/dev/ram0 vga=normal rw selinux=0
echo 'Loading initial ramdisk ...'
initrd (tftp)/rear/hana-n4/hana-n4.initrd.cgz
}
If I use PXE_CREATE_LINKS=IP:
I see two files with the same information as above:
grub.cfg-09056E
grub.cfg-09056E22
Either way, I do not see the text that should pop up and be able to run rear.
github-actions commented at 2020-06-27 01:33:¶
Stale issue message
[Export of Github issue for rear/rear.]