summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2014-12-15 20:56:49 +0100
committerAnne Nicolas <ennael@mageia.org>2014-12-16 22:25:30 +0100
commit652d2db8ad089a740789201df96990177a638a8a (patch)
tree116a5e327f7ba2457cee11dceaf3fede43fcaf84 /images/make_boot_img
parentbeca3877354999163e341d4e304acd7db34f203a (diff)
downloaddrakx-652d2db8ad089a740789201df96990177a638a8a.tar
drakx-652d2db8ad089a740789201df96990177a638a8a.tar.gz
drakx-652d2db8ad089a740789201df96990177a638a8a.tar.bz2
drakx-652d2db8ad089a740789201df96990177a638a8a.tar.xz
drakx-652d2db8ad089a740789201df96990177a638a8a.zip
make_boot_img: Using chain.c32 instead of localboot
localboot is reported as failing on many hosts as in bug #13680 This have been reproduced on VirtualBox environments too. This patch suggest switching to chain.c32 which handle much more options & features than localboot. By default, we replace the localboot by the chainloading hd0.
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img4
1 files changed, 3 insertions, 1 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index 543969f88..b7d1f53c7 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -123,7 +123,7 @@ EOF
my $header_gfxboot = <<EOF;
ui gfxboot.c32 bootlogo
label harddisk
- localboot 0x80
+ com32 chain.c32 hd0
EOF
my $header_non_gfxboot = <<EOF;
F1 help.msg
@@ -291,6 +291,7 @@ sub isolinux {
_ "cp /usr/lib/syslinux/libmenu.c32 isolinux/libmenu.c32";
_ "cp /usr/lib/syslinux/libutil.c32 isolinux/libutil.c32";
_ "cp /usr/lib/syslinux/gfxboot.c32 isolinux/gfxboot.c32";
+ _ "cp /usr/lib/syslinux/chain.c32 isolinux/chain.c32";
output("isolinux/isolinux.cfg", syslinux_cfg_all('cdrom', 1));
xbox_stage1() if arch() =~ /i.86/;
@@ -329,6 +330,7 @@ sub boot_iso {
_ "cp /usr/lib/syslinux/libgpl.c32 .boot_iso/isolinux/libgpl.c32";
_ "cp /usr/lib/syslinux/libmenu.c32 .boot_iso/isolinux/libmenu.c32";
_ "cp /usr/lib/syslinux/libutil.c32 .boot_iso/isolinux/libutil.c32";
+ _ "cp /usr/lib/syslinux/chain.c32 .boot_iso/isolinux/chain.c32";
my $with_gfxboot = 0;
_ "cp /usr/share/gfxboot/themes/Mageia/install/* .boot_iso/isolinux" if $with_gfxboot;