summaryrefslogtreecommitdiffstats
path: root/patches/grub-0.97/generic/grub-set-install_partition_hd0_0.diff
blob: 763582885398a2a494bb59781e25282c53d43db9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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