15 May
2001
15 May
'01
1:40 p.m.
Martin Liddle wrote:
Does anybody have a code fragment to read the boot sector of a PC running Linux (Red Hat 6.2 if it matters)?
Linux by itself does not use a boot sector. It can be loaded by various boot loaders like LILO, grub or loadlin. While the latter one is a Dos executable, the former two contain their own boot sectors. You may want to look into their source code (C, of course) to find out more. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html