עזרה בהבנת פקודה

Chase106

New member
עזרה בהבנת פקודה

יש לי שורה עם פקודה של kernel /grub.exe, וראיתי שיש גם שורה עם פקודה של BOOT /grldr במקום kernel /grub.exe.

מה ההבדל בין הפקודות?

הפקודות נלקחו מהאתר הזה תחת הכותרת Run grub4dos from Syslinux
 

aviMalool

New member
האם בשורה השניה חיב copy over the grldr file?

נדמה לי שכמו שרשום בקישור שנתת, אחד ההבדלים הוא שבמקרה השני צריךcopy over the grldr file. האם זה ההבדל הפחות חשוב?
 

Chase106

New member
אני שואל מה ההבדל מבחינת תפעול

יש לי את שני הקבצים, השאלה שלי היא האם במקרים מסויים צריך להשתמש בפקודה 1 ובמקרים אחרים בפקודה השניה.

או ששתי הפקודות מבצעות את אותה הפעולה בדיוק וזה לא משנה באיזו פקודה אני אשתמש.

אני לא מצליח להבין מה עושה הפקודה BOOT /grldr (מה זה בכלל הקובץ grldr)
 
אתה לא קורה במקום הנכון

עדי להבין את ההבדל בין התגיות kernel ו- boot אתה צריך לקרוא בתיעוד של syslinux:
http://www.syslinux.org/wiki/index.php/SYSLINUX#KERNEL_file

KERNEL file

Selects the file SYSLINUX will boot. The "kernel" doesn't have to be a Linux kernel, it can be a boot sector or a COMBOOT file.

Chain loading requires the boot sector of the foreign operating system to be stored in a file in the root directory of the filesystem. Because neither Linux kernel boot sector images, nor COMBOOT files have reliable magic numbers, Syslinux will look at the file extension. The following extensions are recognized (case insensitive):

none or other Linux kernel image
.0 PXE bootstrap program (NBP) [PXELINUX only]
.bin "CD boot sector" [ISOLINUX only]
.bs Boot sector [SYSLINUX only]
.bss Boot sector, DOS superblock will be patched in [SYSLINUX only]
.c32 COM32 image (32-bit COMBOOT)
.cbt COMBOOT image (not runnable from DOS)
.com COMBOOT image (runnable from DOS)
.img Disk image [ISOLINUX only]

Using one of these keywords instead of KERNEL forces the filetype, regardless of the filename:
LINUX image

You can use this, instead of using KERNEL file to boot a linux kernel image.
BOOT image

Bootstrap program (.bs, .bin)

בקיצור - תגית kernel מניחה שסיומת הקובץ מעידה על סוגו.
השימוש בתגית boot מכריח את syslinux להתייחס לקובץ כקובץ מסוג bootstrap.

מה מבינים מזה? שהקובץ grldr הוא מסוג bootstrap, ושניתן היה באותה מידה לשנות שמו ל grldr.bin ולהשתמש אז בתגית kernel.
 
למעלה