Page 1 of 1

GRUB

Posted: Thu Feb 22, 2007 7:03 pm
by Tyler
Does the GRUB Installer Manually patch Stage1? I have parts of the code which would not work or which are buggy if values are not changed... is this what happens?

Posted: Thu Feb 22, 2007 10:45 pm
by Solar
Yes, it does - of course, or you would have to edit your MBR manually after an install...

Posted: Thu Feb 22, 2007 11:00 pm
by Tyler
Well editing the MBR is practical enough, but for example the lines...

Code: Select all

boot_drive_check:	
jmp	1f
testb	$0x80, %dl
jnz	1f
movb	$0x80, %dl
Apparently this code will not run on a floppy becasue of the first jump but will run through on a harddrive. Does the GRUB installer replace the first jump?