LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Help with last steps to loading new kernel using Loadlin to boot? (https://www.linuxquestions.org/questions/linux-general-1/help-with-last-steps-to-loading-new-kernel-using-loadlin-to-boot-10235/)

NightSky 12-17-2001 02:04 PM

Help with last steps to loading new kernel using Loadlin to boot?
 
In all the documentation I have read about compiling a kernel I only find references to loading to boot using Lilo and I am using Loadlin and don't want to use Lilo. I hav 50/50 dualboot of win98se and Slackware8 on a 15GB ATA66 Maxtor Hdd. Please help with the last steps of loading the new kernel. Any support is greatly appreciated;)

bluecadet 12-17-2001 02:10 PM

lilo good. yes.

well, you need to put a copy of your compressed kernel (vmlinuz) into your loadlin directory, and assuming everything is installed as normal, jsut replace the kernle reference in your batch file or whatever

maxg 12-17-2001 02:18 PM

FIRST: Make sure you have a boot floppy that'll get you into Slack!

Once the new kernel is ready, (the bzImage file that you copy to / or /boot) copy it also to your Win98 drive. Use mcopy, not the linux cp command.

EG: mount the Win drive: mount -t vfat /dev/hda1 /mnt/win (the /mnt/win directory must exist first)

OF COURSE: Change partition and file names to suit.

copy the kernel image: mcopy /boot/bzImage /mnt/win
(You could alternately copy it to a DOS formatted floppy: mcopy /boot/bzImage a::)

In windows (or DOS bootup): make a batch file: slack.bat in the loadlin directory

::: Batch file to boot Slackware
::: First, ensure any unwritten disk buffers are flushed:
smartdrv /C

::: Start the LOADLIN process:
c:\loadlin\loadlin c:\bzimage root=/dev/hda2 ro

::: end SLACK.BAT


All times are GMT -5. The time now is 01:18 AM.