LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-02-2002, 02:55 AM   #1
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
kernel recompiled - but i boot from floppy?


i just recompiled my kernel. but the lilo.conf file which i edited and ran /sbin/lilo is in my secondary hard disk (i dual boot Win98). i use a floppy boot to get to slack as lilo somehow corrupts my MBR.

my boot floppy was made during the initial install. i'm wondering now... is it booting up to my new re-compiled kernel or the old default one? if it's booting up to the old one, how do i get it to boot to the re-compiled kernel?

i tried to do a ls on the boot floppy but gives me this error:
EXT2 - fs error (device fd(2,0)) ext2_readdir: bad entry in directory #2: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0

Last edited by gui10; 05-02-2002 at 03:04 AM.
 
Old 05-02-2002, 05:36 AM   #2
LabRad
Member
 
Registered: Apr 2002
Location: The Netherlands
Distribution: Slackware, openBSD
Posts: 106

Rep: Reputation: 15
don't know if this work`s but try running setup as # and slect configure.
and make a new lilo boot disk...

You might want to try man lilo..
 
Old 05-02-2002, 06:39 AM   #3
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Next time you boot just do "uname -a" to see what kernel your using.
 
Old 05-02-2002, 07:26 AM   #4
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Original Poster
Rep: Reputation: 30
which part of the output is supposed to tell me that?

i saw 2.2.19 (which is currently the only kernel i have on board). during the install, i selected the 2.2.19 kernel. when i recompiled the kernel, it was for 2.2.19 as well.

Last edited by gui10; 05-02-2002 at 07:28 AM.
 
Old 05-02-2002, 12:16 PM   #5
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Original Poster
Rep: Reputation: 30
which er... reverts me back to the orignal question. does the floppy boot up to the newly re-compiled kernel or to the old one? (what i'm trying to say is does it read the lilo.conf found in my secondary hard disk where slack is installed?)

kinda important coz i'm troubleshooting my sound on slack.

the modprobe sound works fine, but when i try to play something on xmms, it still tells mw that either the device is busy (which it shouldn't be coz it doesn't even play the kde error beeps) or my sound card is not configured properly.

when i do a
modprobe sb io=0x220 irq=5 dam=1 dam16=3
it tells me that the device or resource is busy... why is this?

i've got a creative vibra card.
 
Old 05-02-2002, 01:59 PM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Creative vibra 128 pci cards use the es1371 module.
 
Old 05-02-2002, 10:26 PM   #7
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Original Poster
Rep: Reputation: 30
thanks Aussie!
a simple
modprobe es1371
did the trick! it's dandy now. doh...

another question. i added this line to my /etc/lilo.conf file
append = "hdb=ide-scsi"

but i don't think that was effected. how to do this? (i boot from the floppy)...
 
Old 05-08-2002, 09:49 AM   #8
theguide
LQ Newbie
 
Registered: Apr 2002
Location: Utrecht, Netherlands
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
If you want to have the same kernel on a floppy like you have on your system, after you have compiled your kernel you can give this command:
Code:
cp bzImage /dev/fd0
Of course you have to be in the same dir where your bzImage resides or put the pathname to your freshly compiled bzImage in the cp command. Also, no mounting of the floppy is necessary.
This makes you a bootable disk without lilo but with the kernel you had just built.
 
Old 05-08-2002, 12:43 PM   #9
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Original Poster
Rep: Reputation: 30
ok thanks!
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recompiled kernel and LILO wont boot it! pnh73 Linux - Software 9 04-07-2004 02:06 PM
boot new kernel from floppy nirva Slackware 3 03-20-2004 10:46 AM
Inspiron laptop, kernel recompiled -> cannot boot x sedulous Red Hat 2 09-08-2003 07:59 AM
Recompiled kernel boot problem... lokee Linux - Software 5 05-15-2003 05:35 PM
recompiled kernel won't respond to boot-time args turtle Linux - General 2 01-11-2003 10:50 AM


All times are GMT -5. The time now is 07:51 AM.

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