Skip to content
Snippets Groups Projects
Commit d0d9174e authored by Philip Müller's avatar Philip Müller
Browse files

[ernels] support pure 32bit systems

parent 77341476
No related branches found
No related tags found
No related merge requests found
if cpuid -l; then
havekernel="Y"
for kk in /boot/vmlinu*-*86; do
if [ "$kk" != "/boot/vmlinu*-*86" ]; then
have32="true"
fi
done
if [ "${have32}" != "true" ]; then
menuentry --class=find.none "NO SUITABLE KERNELS AVAILABLE" {echo $@ echo "There are no kernels suitable for this machine available."
echo ""
if cpuid -l; then
echo "This machine is NOT 64bit capable."
echo ""
fi
echo "There are no 32bit kernels available"
echo "It appears you are trying to boot a 64bit release on a 32bit machine"
echo "This cannot work!"
echo ""
echo "Press Escape to return to the main menu"
sleep --interruptible 9999
menu_reload
}
else
title=""
for kopt in @ARCH@ $kopts @DEFAULT_ARGS@ @BOOT_ARGS@; do
if [ -n "$title" ] ; then
......@@ -17,24 +36,3 @@ if cpuid -l; then
initrd /boot/intel_ucode.img /boot/initramfs-@ARCH@.img
}
fi
if [ "${havekernel}" != "Y" ]; then
menuentry --class=find.none "NO SUITABLE KERNELS AVAILABLE" {echo $@ echo "There are no kernels suitable for this machine available."
echo ""
if ! cpuid -l; then
echo "This machine is NOT 64bit capable."
for kk in /boot/vmlinu*-*86; do
if [ "$kk" != "/boot/vmlinu*-*86" ]; then
have32="true"
fi
done
if [ "${have32}" != "true" ]; then
echo "There are no 32bit kernels available"
echo "It appears you are trying to boot a 64bit release on a 32bit machine"
echo "This cannot work!"
fi
fi
echo "Press Escape to return to the main menu"
sleep --interruptible 9999
menu_reload
}
fi
manjaro-live/icons/manjaro.686.png

1005 B

manjaro-live/icons/manjaro.amd64.png

1011 B

manjaro-live/icons/manjaro.i686.png

502 B

manjaro-live/icons/manjaro.x86_64.png

502 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment