diff options
Diffstat (limited to 'patches/grub-0.97/grub-set-install_partition_hd0_0.diff')
-rw-r--r-- | patches/grub-0.97/grub-set-install_partition_hd0_0.diff | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/grub-0.97/grub-set-install_partition_hd0_0.diff b/patches/grub-0.97/grub-set-install_partition_hd0_0.diff new file mode 100644 index 000000000..763582885 --- /dev/null +++ b/patches/grub-0.97/grub-set-install_partition_hd0_0.diff @@ -0,0 +1,24 @@ +# +# Submitted-By: Sascha Hauer, 2006-11-22 +# Committed-By: Sascha Hauer <s.hauer@pengutronix.de> +# +# Description: +# +# Let grub find the default partition the rootfs is installed +# on. There must be a better (proper) way to archieve this, +# but I don't know any. +# + +Index: grub-0.97/stage2/asm.S +=================================================================== +--- grub-0.97.orig/stage2/asm.S ++++ grub-0.97/stage2/asm.S +@@ -86,7 +86,7 @@ ENTRY(main) + . = EXT_C(main) + 0x8 + + VARIABLE(install_partition) +- .long 0xFFFFFF ++ .long 0x00FFFF + /* This variable is here only because of a historical reason. */ + VARIABLE(saved_entryno) + .long 0 |