LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Want some understand of boot folder (http://www.linuxquestions.org/questions/slackware-14/want-some-understand-of-boot-folder-130764/)

Tyir 01-02-2004 04:02 AM

Want some understanding of boot folder
 
So i was using red hat orignally, and then i wanted to switch to slack, so i installed it as well, and added it to grub
So there was already a boot partition set up
So in slack, I have it mounted at /mnt/boot
This is the contents:
Code:

robert@MOFETTE:/mnt/boot$ ls
System.map@
System.map-2.4.20-20.9
System.map-2.4.20-8
System.map-ide-2.4.22
boot.b
chain.b
config@
config-2.4.20-20.9
config-2.4.20-8
config-ide-2.4.22
grub/
initrd-2.4.20-20.9.img
initrd-2.4.20-8.img
kernel.h
lost+found/
message
message.ja
module-info@
module-info-2.4.20-20.9
module-info-2.4.20-8
os2_d.b
vmlinux-2.4.20-20.9
vmlinux-2.4.20-8
vmlinuz@
vmlinuz-2.4.20-20.9
vmlinuz-2.4.20-8
vmlinuz-ide-2.4.22

So there is tons of stuff, 2 differnt kernels for RH (the 2.4.20s) and the one for slack 2.4.22
Is there any stuff in here i can get rid of? I can get rid of the two older kernels.


As well, in slack there is a /boot folder.
Code:

robert@MOFETTE:/boot$ ls
System.map@
System.map-ide-2.4.22
config@
config-ide-2.4.22
vmlinuz
vmlinuz-ide-2.4.22

Now, I am a bit confused of where this is coming from, since i thought it was getting the files from the other partition

Finally, I am looking into this because i want to install the new 2.6 kernel, and I'm trying to understand how the files are working. Would i put the files into /mnt/boot or /boot?

Thanks


Ok, I was trying to follow DaOne's directions, but when i did the final 'make install' it gave problems since lilo isnt install (using grub)

I think it would be easier to just install lilo...
Should I just install lilo and then add my present kernel to it, before trying to make 2.6?

vegpl 01-02-2004 10:25 AM

Should I just install lilo and then add my present kernel to it, before trying to make 2.6?

that wold work but you still could use GRUB instead of doing a make install copy vmlinuz and System.map to the boot folder. Its explained how to do this in the thread you were reading. Also I think make install will put System.map and vmlinux in your / directory even if you dont have LILO.


All times are GMT -5. The time now is 11:44 AM.