LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-17-2001, 02:04 PM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Rep: Reputation: 50
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
 
Old 12-17-2001, 02:10 PM   #2
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
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
 
Old 12-17-2001, 02:18 PM   #3
maxg
LQ Newbie
 
Registered: Nov 2001
Location: Canada
Distribution: RedHat 7.2
Posts: 8

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading kernel modules during boot. alexeyak Fedora 4 12-20-2004 09:04 AM
Kernel module not loading at boot tweak1313 Fedora 2 12-04-2004 04:17 PM
boot image for loadlin Jurgen Linux - Newbie 1 09-28-2003 07:22 PM
Boot Problems With Loadlin robnelli Linux - General 1 02-23-2003 03:04 AM
Loading kernel modules at boot burk Linux - General 7 06-10-2002 07:28 AM


All times are GMT -5. The time now is 12:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration