From aac340b028d5fa45a5e34d07fbd792858607b791 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 8 Apr 2011 00:50:00 +0200 Subject: [PATCH] Pass 1:0x96 instead of 4:0x96 to bootilnx.mksh to use first partition as boot system. Linux fdisk expects partitions in on-disc order. When using 4:0x96 there's only one partition, being sdX4. If a user creates a new partition then it's called sdX1 but gets shown after sdX4. Let's try to stop the confusion and use first partition for the iso9660 system. Thanks: Thorsten Glaser --- grml-live | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grml-live b/grml-live index 10f4279..4409e37 100755 --- a/grml-live +++ b/grml-live @@ -1126,11 +1126,11 @@ else einfo "Creating hybrid ISO file with manifold method" if [ "$HYBRID_METHOD" = "grub2" ] ; then # 512 bytes: MBR, partition table, load GRUB 2 - echo 4 63 | mksh /usr/share/grml-live/scripts/bootgrub.mksh -A -M 4:0x96 -g $cyls:16:32 + echo 4 63 | mksh /usr/share/grml-live/scripts/bootgrub.mksh -A -M 1:0x96 -g $cyls:16:32 else # read only one but 2048-byte sized (scale: << 2) sector echo $bootoff $bootoff | \ - mksh /usr/share/grml-live/scripts/bootilnx.mksh -A -M 4:0x96 -g $cyls:16:32 -S 2 + mksh /usr/share/grml-live/scripts/bootilnx.mksh -A -M 1:0x96 -g $cyls:16:32 -S 2 fi | dd of="${ISO_OUTPUT}/${ISO_NAME}" conv=notrunc 2>/dev/null eend $? fi -- 2.1.4