LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-08-2004, 12:27 AM   #1
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Rep: Reputation: 30
accidentally deleted /boot partition, yet it boots


I was configuring kernel 2.6.5 and was past "make" and was following instructions on the Kernel Compile Guide for 2.6.0 thread, and at the point where I was to type in

rm -rf /boot/System.map

I accidentally typed in

rm -rf /boot System.map

which deleted my /boot directory. I figured I was doomed, but when I rebooted my computer, my old kernel 2.4.22 loaded fine. I still don't have a /boot directory. I'm confused. I thought that all of my boot information was in that directory. What do I do now? Is it as simple as creating a new /boot directory????



thanks
 
Old 04-08-2004, 12:32 AM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
Give it about a day to fail.
 
Old 04-08-2004, 07:54 AM   #3
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Original Poster
Rep: Reputation: 30
failure after a day will be even wierder than the fact that it boots as it is....
 
Old 04-08-2004, 07:59 AM   #4
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
can you see vmlinuz and system.map in / ? they are sometimes put there
 
Old 04-08-2004, 10:56 AM   #5
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Original Poster
Rep: Reputation: 30
I'll have to check when I get home. What is in /boot that is so critical that the system appears to run fine without it? It seems like a chicken running around without a head.

Last edited by timsch75; 04-08-2004 at 10:57 AM.
 
Old 04-08-2004, 11:03 AM   #6
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
rm -rf /boot System.map......chuckles......sorry

vmlinuz is the kernel and system map is... well.... the system map! I would have thought it is still in there... somewhere...
 
Old 04-08-2004, 02:51 PM   #7
paijm021
LQ Newbie
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware 9.1
Posts: 20

Rep: Reputation: 0
Talking

always backup your MBR
 
  


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
Accidentally Deleted my Linux Partition...Need Help ASAP robbs Linux - Newbie 3 07-10-2005 07:26 PM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 04:53 PM
Accidentally deleted debian partition PLZ HELP andymadigan Debian 7 09-01-2004 10:09 PM
Accidentally deleted files rwalkerphl Linux - Newbie 3 06-24-2004 06:11 PM
accidentally deleted /etc/profile tanbetien Fedora 2 11-21-2003 09:42 PM


All times are GMT -5. The time now is 07:08 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