[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Chainloader File
From: |
OKUJI Yoshinori |
Subject: |
Re: Chainloader File |
Date: |
Sun, 17 Dec 2000 05:16:12 +0900 |
From: Andreas Reich <address@hidden>
Subject: Re: Chainloader File
Date: Sat, 16 Dec 2000 20:50:57 +0100
> You are right, my file is onle 69 bytes long.
> How do I add bytes so GRUB can boot it?
$ dd if=/dev/zero bs=`expr 512 - 69 - 2` count=1 >> your_file
$ printf '\x55\xaa' >> your_file
This should work, but it is better to do this by your assembler or
linker. See stage1/stage1.S in the source tree of GRUB, for example.
Okuji