http://elserv.ffm.fgan.de/~lermen/manual.txt
or
ftp://ftp.eskimo.com/u/p/praxis/manual.txt
http://metalab.unc.edu/LDP/HOWTO/BootPrompt-HOWTO-2.html#ss2.2
df
utility. If you see a
line with /boot
, then it will be quite obvious. If you do not
see a line with /boot
, then look on the line with a single
"/
".
vmlinuz
and
should be located in the '/boot' directory. Often vmlinuz
is a
symbolic link to the actual kernel. If all else fails type:
find / -name vmlinuz*
at a Linux shell prompt. This will search all Linux partitions for the
vmlinuz file. If you have multiple vmlinuz files, then make sure you
use the correct one. If you are not sure, then the safest bet would be
to use the most recent one.
To copy your linux kernel file to your DOS partition, you need to make your DOS partition visible to Linux, then mount the partition if it is not already. Generally, this should have been set up when you installed Linux. All you need to do next is change to the directory the vmlinuz file is in and copy it over to DOS using the cp command.
However, if Linux was not set up to recognize your DOS partition, then copy vmlinuz to a floppy. Take any DOS formatted floppy (with enough disk space to hold your kernel image file) and insert it into your floppy drive. Type:
mount /dev/fd0 /mnt/floppy
at a Linux shell prompt. Then change to the directory your kernel image file is in and type:
cp vmlinuz /mnt/floppy
This will copy vmlinuz to your floppy disk and it will be readable by DOS. Shutdown Linux, boot to DOS, then copy vmlinuz to whichever directory you choose. If you recompile your kernel, do not forget to copy the new kernel image file to your DOS partition. This will overwrite your old file, so it might be a good idea to rename the old file first just in case the new one does not work properly.
Alternatively, if you have the mtools
utilities you could
type:
mcopy vmlinuz a:
fdisk /mbr
loadlin f:\vmlinuz root=/dev/hdc2 ro
Now save the file on your Windows desktop. Next, right click on the Linux.bat icon, then left click on Properties. Now click on the Program tab, then click on the Advanced button. Click on the box next to "MS-DOS mode" and make sure the box next to "Warn before entering MS-DOS mode is checked". Click OK, then click on OK again. Now when you double click on the Linux icon, a warning box will appear before going into MS-DOS mode. If you click on "Yes" then Windows enters MS-DOS mode and executes the Linux.bat file.
NOTE: You must be in MS-DOS mode in order to use Loadlin. Please see the manual.txt file mentioned in Section 4.1 of this FAQ for more information.
ftp://ftp.eskimo.com/u/p/praxis/loadlin.txt
GRUB: The GNU GRand Unified Bootloader
XOSL: Extended Operating System Loader
Other Bootloaders and Related Links
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |