LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2003, 05:54 PM   #1
Smerk
Member
 
Registered: Oct 2002
Location: Cairnsian, Oz
Distribution: Debian testing/unstable, knoppix/debian fudged router!
Posts: 169

Rep: Reputation: 30
Question Wheres my Kernel??!!!


Hi y'all

I have installed another OS (debian) onto my multiboot system.

when i installed it I set it to boot from floppy. I now wish to make it boot using GRUB, but cannot seem to find the Kernel, which I thought would be in the /boot directory of my new OS.

would the kernel be sitting on the floppy in the .img? if so how do I get a kernel into my /boot dir?

there is a file named vmlinuz-xxx in /boot however there is no executable.

Halp!
 
Old 03-17-2003, 06:13 PM   #2
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
/boot/vmlinuz
is the kernel image..
possibly /boot/vmlinuz-something
 
Old 03-17-2003, 06:25 PM   #3
Smerk
Member
 
Registered: Oct 2002
Location: Cairnsian, Oz
Distribution: Debian testing/unstable, knoppix/debian fudged router!
Posts: 169

Original Poster
Rep: Reputation: 30
mm...

in /boot/vmlinuz there is a vmlinuz-something, but its not an executable.

in my RH there are 2 of these, one of which is executable. I sorta thought that this would be the same sorta thing.

I have edited grub to boot, when I try it comes up file not found.
 
Old 03-17-2003, 06:36 PM   #4
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
is your /boot on seperate partition?

or do u have /boot for each distro?

i'm not sure what you are trying to do..

logically, you can have one /boot and share it
but not sure what you are asking..
 
Old 03-17-2003, 06:47 PM   #5
Smerk
Member
 
Registered: Oct 2002
Location: Cairnsian, Oz
Distribution: Debian testing/unstable, knoppix/debian fudged router!
Posts: 169

Original Poster
Rep: Reputation: 30
yeah, I know I should have one /boot, unfortunately I have /boot for each partition,
my grub conf is:
default=0
timeout=10
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-3)
root (hd0,5)
kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/hda6 hdc=ide-scsi
initrd /boot/initrd-2.4.18-3.img
title Debian
root (hd0,8)
kernel /boot/vmlinuz-2.4.18-bf2.4 ro root=/dev/hda8 hdc=ide-scsi
title Luser
rootnoverify (hd0,0)
chainloader +1

this is in the RH /boot and loads RH, Debian(supposedly) and XP (Luser)

whe I get around to it, I will have separate partition for /boot Iguess that means re installing all my Linux OS's or could i just create a new partition and move boot to it?
 
Old 03-17-2003, 07:10 PM   #6
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
first of all.
try not to uninstall everything when you have problem.
most of time u don't have to.

i never done installing two linux on one system.
and i use lilo

this is my rough guess what u can do.
it won't cause dmg to your system so u might well try it


[1]
your rh has /boot
your grub tries to access /boot/vmlinuz-2.4.18-bf2.4 (debian)
which prolly doesn't exist on your rh /boot directory
obviously it wont find it..

so i would try to cp debian kernel img onto /boot on your red hat
one thing bothers me, System.map also does differ, and i don't know if it'll be ok to share one System.map

[2] if [1] doesn't work
create a seperate partition (10-15mg)
compile kernel from source
move /boot to /boot2 on both redhat/debian
mount the newly created partition on /boot
--add /etc/fstab
/dev/hda6 /boot ext3 defaults 1 2
u need to replace 6 to whatever partition number u just created
ext3 to whatever file system you created the partition with
--
run grup initialization..( with lilo, just running /sbin/lilo will reinitialize lilo. i don't know how to do it with grub)
reboot
 
Old 03-17-2003, 07:23 PM   #7
Smerk
Member
 
Registered: Oct 2002
Location: Cairnsian, Oz
Distribution: Debian testing/unstable, knoppix/debian fudged router!
Posts: 169

Original Poster
Rep: Reputation: 30
oh! don't worry, I hate uninstalling stuff!
I might try copying my vmlinuz-2.4.18-bf2.4 file to rh/boot

I kinda thought that the setting in grub root (hd0,8) might be telling grub where all the files for booting were..
 
Old 03-17-2003, 07:27 PM   #8
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
u might be able to specify what system.map file to use under each section on your grub config file..
 
Old 03-17-2003, 08:34 PM   #9
Smerk
Member
 
Registered: Oct 2002
Location: Cairnsian, Oz
Distribution: Debian testing/unstable, knoppix/debian fudged router!
Posts: 169

Original Poster
Rep: Reputation: 30
mmm...
grub config doesn't seem to say anything about system.map in the RH boot bit.

I really think that because I set debian to boot from floppy it hasn't installed the kernel to my /boot in debian, but put it on the floppy only.
 
Old 03-17-2003, 08:43 PM   #10
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
sorry, if it didn't work..
i think u gotta wait someone better than me answers you.
or u could try searching this forum or google..
'dual boot'
 
Old 03-17-2003, 09:24 PM   #11
Thorin
Member
 
Registered: Feb 2003
Location: Campinas, Sao Paulo, Brasil
Distribution: Debian and Gentoo (likely to change soon)
Posts: 50

Rep: Reputation: 15
The default Debian kernel (2.2.20 in Woody) is located at /vmlinuz

I don't know why they do this instead of putting it in the /boot/ dir, but that's how it's set up.

If you're using the 2.4 series debian kernel, then I don't know where it would be, probably the same place though.
 
Old 03-18-2003, 07:00 AM   #12
Smerk
Member
 
Registered: Oct 2002
Location: Cairnsian, Oz
Distribution: Debian testing/unstable, knoppix/debian fudged router!
Posts: 169

Original Poster
Rep: Reputation: 30
mmm... no /vmlinuz, I thinks I'm going to reinstall debian as I'm having a few problems with xserver and the like, try and fix it all in one hit!
 
Old 03-21-2003, 02:40 PM   #13
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
good luck to you. : )
 
  


Reply



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
Wheres the Kernel Config File? grilledsalad Linux - Newbie 4 02-28-2005 07:49 PM
Wheres my java? Paddington Linux - Software 2 02-13-2005 09:52 AM
wheres dos? ChrisR(SQL DBA) Linux - Newbie 3 11-07-2004 01:40 PM
Debian woody-wheres my kernel source ? da_zombie Linux - Software 1 10-17-2004 09:22 AM
How can I install the 2.5.66 kernel in Redhat 9.0 - wheres the kernel?! voltron Linux - Newbie 5 05-28-2003 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration