LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-24-2008, 05:22 AM   #1
Cazed
LQ Newbie
 
Registered: Aug 2004
Location: Umeň, Sweden
Distribution: Gentoo, Debian
Posts: 10

Rep: Reputation: 0
Question how is initrd handled during the boot


Hello,

I had some trouble a while ago, my Debian (Etch) system didn't boot since the initrd file was corrupt. When I checked my boot-partition and found that it was out of disk space. I managed to solve my problem by removing some old kernels and restored the initrd-file from a backup (found on my boot partition).

My question is how could initrd get corrupted? Is it rewritten to the disk at any point? The system is using the 2.6.18 kernel and the boot loader used is GRUB.

The only thing I did as root previous to the problem was to install pidgin (using synaptic), but I can't imagine that that would write the initrd.

I got a bit curious by the problem and would be thankful for any insights into this.

/┼ke
 
Old 09-24-2008, 06:54 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
It can get corrupted just like any other file.
 
Old 09-24-2008, 06:59 AM   #3
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Just what Simon Bridge said. The initrd image is not normally written to when the system boots or as it runs (unless you go out of your way to alter it). Installing pidgin should not have caused initrd to be rewritten, but if your kernel snuck in an automatic upgrade then it may have been rewritten.

Anyway, since it was already pointed out that files can get corrupted, have you run any tools lately to check the health of your HD?
 
Old 09-24-2008, 07:23 AM   #4
Cazed
LQ Newbie
 
Registered: Aug 2004
Location: Umeň, Sweden
Distribution: Gentoo, Debian
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the answers.

It might be possible that a kernel update was sneaked in without me noticing.

Quote:
Originally Posted by pinniped View Post
Anyway, since it was already pointed out that files can get corrupted, have you run any tools lately to check the health of your HD?
No, but that is probably a good idea. I'll get on it tonight.

/┼ke
 
  


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
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-02-2007 12:24 AM
Boot USB HD without initrd gbowden Linux - Hardware 6 11-18-2006 12:09 PM
Boot without initrd 3saul Linux - Software 3 11-08-2005 12:13 AM
SCSI boot without initrd spencerbray Linux - General 1 01-15-2005 07:29 AM
Boot initrd FAILED!? tumana Linux - Newbie 6 04-06-2004 08:32 PM


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

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