LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2010, 04:03 PM   #1
FireRaven
Member
 
Registered: Apr 2006
Location: Australia
Distribution: Debian Squeeze
Posts: 135

Rep: Reputation: 18
What are the files in my /boot/ and can I delete them?


Just wanted to know what the following files mean.
I know initrd.img-2.6.31-20-generic-pae is my kernel image for my generic PAE build of the kernel (correct me if I'm wrong) since I built it.

But the other 3 files, are they still needed, and what are they for?

Code:
root@ubuntu-vmguest:/boot# ls -lh *-pae
-rw-r--r-- 1 root root 109K 2010-03-12 19:53 config-2.6.31-20-generic-pae
-rw-r--r-- 1 root root 3.6M 2010-03-19 20:53 initrd.img-2.6.31-20-generic-pae
-rw-r--r-- 1 root root 1.6M 2010-03-12 19:53 System.map-2.6.31-20-generic-pae
-rw-r--r-- 1 root root 3.8M 2010-03-12 19:53 vmlinuz-2.6.31-20-generic-pae
root@ubuntu-vmguest:/boot#
 
Old 03-19-2010, 04:13 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Vmlinuz is your actual kernel. The System.map file allows the kernel to look up symbols and the config file is the configuration of the kernel. Deleting any of the is an extraordinarily bad idea. Well, maybe not the config file, but considering it is 109K, deleting it doesn't get you anything.
 
Old 03-19-2010, 04:19 PM   #3
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
I'm surprised you posted a how to about Grub 2 and didn't even read your own grub.cfg before posting this.
 
Old 03-19-2010, 04:26 PM   #4
FireRaven
Member
 
Registered: Apr 2006
Location: Australia
Distribution: Debian Squeeze
Posts: 135

Original Poster
Rep: Reputation: 18
I just don't understand after I created the initrd.img, why do I still need the others.
I thought the .img files was like a package of the other 3.
 
Old 03-19-2010, 04:39 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
I don't think the .img is everything from the others. If I understand initrd correctly (and I may not) it usually only includes the stuff you need in order to get the system to the point where it can read the boot disk.
 
  


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
[SOLVED] Extremely slow to move files to trash and/or delete files permanently... CT_0000 Linux - Newbie 2 01-09-2014 11:06 AM
need to rsync only selected files (--files-from) also need to delete files on dest. ? BrianK Linux - General 5 10-22-2009 10:52 PM
Can I delete files in /mnt/tmp? and Files in the trash can will not delete? M$ISBS Slackware 15 10-03-2009 12:56 AM
Script help - delete files older than 45 days but exclude the system files jojothedogboy Linux - Software 3 06-13-2008 04:43 PM
How to delete the destination files while the source files deleted in cp -u ? myunicom Linux - General 4 09-26-2003 02:13 PM


All times are GMT -5. The time now is 07:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration