LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 05-13-2003, 04:38 AM   #1
dmikey
LQ Newbie
 
Registered: May 2003
Location: Warsaw, Poland
Distribution: SuSE, Mandrake
Posts: 4

Rep: Reputation: 0
Angry missing files in /boot


Hello!

I've got a really unusual problem..
During a standard check before bouncing a box (remotely) I found out that the whole /boot structure is missing - literally, no kernel image, no boot.b or initrd.

Luckily I kept the recently compiled image in the /usr/src/linux/arch/i386/boot ..and kinda know how to recreate initrd (mk_initrd) ..but it's squaking about missing boot.b .. How could I recreate other missing files?

thanks for any hints!!
 
Old 05-13-2003, 04:47 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Are you sure that /boot is mounted? (assuming it's a seperate partition)

cheers

Jamie...
 
Old 05-13-2003, 09:32 AM   #3
dmikey
LQ Newbie
 
Registered: May 2003
Location: Warsaw, Poland
Distribution: SuSE, Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
ha! I completely forgot 'bout this! thanks! let me check it.

greets!
 
Old 05-13-2003, 09:52 AM   #4
dmikey
LQ Newbie
 
Registered: May 2003
Location: Warsaw, Poland
Distribution: SuSE, Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
well, looks like it's mounted..

mount says:
/dev/ida/c0d0p3 on /boot type ext2 (rw)

and /etc/fstab says:
dev/ida/c0d0p3 /boot ext2 defaults 1 2

should I unmount it then? :>

thanks!
 
Old 05-13-2003, 08:13 PM   #5
dmikey
LQ Newbie
 
Registered: May 2003
Location: Warsaw, Poland
Distribution: SuSE, Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
Hi again,
I think I fixed that problem.. What I did was:
1. Copied bzImage from the last compilation
(found at $KERNEL_SRC/arch/i386/boot)
2. deinstall and reinstall lilo.rpm (along with gfxboot.rpm) (SuSE 7.2) - to recreate boot.b
3. issued 'mk_initrd -k 'bzImage' -i 'initrd.bzImage' to recreate initrd

would it be there anything else I overlooked or should be aware of?

cheers!
 
  


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
on reboot files are missing from /boot folder aus9 Mandriva 4 12-26-2004 06:25 AM
Missing boot.b and chain.b files sonofdbn Linux - Newbie 3 03-12-2004 10:52 AM
Missing .so files and what they are ch4s3r Linux - Software 2 02-22-2004 11:51 AM
Boot problems, NTLDR missing but trying to boot on second hard drive Outabux Linux - Newbie 0 04-09-2003 06:29 PM
Files missing!!! kurgan70 Linux - General 0 06-29-2001 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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