LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-22-2005, 03:06 PM   #1
Drassk
LQ Newbie
 
Registered: Jan 2005
Distribution: Ubuntu Warty
Posts: 2

Rep: Reputation: 0
Booting problem, initrd


I recently started using Ubuntu and last night (since last reboot) I'd installed the nVidia drivers. I played Enemy Territory and afterwards I tried to open Firefx and it would just act like it was loading (in the taskbar) and then close itself. I tried to right-click and close it in the taskbar, and it locked up my system (solid, no CTRL-ALT-Backspace or anything).

I think it must have corrupted something because now when I boot I get this error on the third line:

"Cannot find initrd device"

and further down I get

"t_console_fd: no such file or directory"
and the same for "get_console_fd: no such file or directory" (<-- IIRC)

and, finally, it reaches
"Setting up ICE socket directory" and locks up solid



I tried booting in with the Ubuntu CD and mounting my root partition (which worked) but when I try to use aptitude to reinstall packages it continually complains about the telnet package or somesuch. This is as far as I can seem to get on my own. Anyone know anything that can help? I found this guy when I searched for the first error on Google, but it doesn't seem like he actually resolved the problem (and my french is a little choppy). It won't let me post the URL but just look up "Cannot find initrd device" (in the quotes) and it's the only result on Google.

Any help would be appreciated greatly. I have a lot of work saved on that partition so a wipe and reinstall would be a huge hassle so there must be some way to salvage my install without resorting to that.

-Drassk
 
Old 01-23-2005, 07:04 PM   #2
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 214

Rep: Reputation: 30
Have you done the usual things such as checking your memory with memdisk and your hard disks with either dd if=/path/to/hd of=/dev/null or with the utilities from the manufacturer of your drive (www.ultimatebootcd.com rocks)?

I'm thinking somebody else will probably ask, so I might as well get it out of the way.
 
Old 01-23-2005, 08:57 PM   #3
Drassk
LQ Newbie
 
Registered: Jan 2005
Distribution: Ubuntu Warty
Posts: 2

Original Poster
Rep: Reputation: 0
I ended up just throwing the important stuff on another partition and reinstalling after wasting a bunch of time trying to fix it. I'll have to run those checks anyways just to make sure it won't happen again, but it seems like it's rare enough that the odds are it's an (almost) isolated incident.
 
Old 03-06-2005, 01:56 PM   #4
kadissie
LQ Newbie
 
Registered: Jul 2003
Location: UK
Distribution: Fedora 5, Knoppix, Ubuntu
Posts: 27

Rep: Reputation: 15
I'm having the same boot problem, and also not finding any answers.

I have just installed Ubuntu warty via the Knoppix Live CD today; install went fine, all the packages arrived in their places without a problem. Then I configured my apt sources.list and told it to go fetch me some kernel images, and I've ended up with both vmlinuz-2.6.8.1-3-386 and vmlinuz-2.6.8.1-3-686 and their corresponding initrd.img files in my /boot partition. I've got
Code:
root@Knoppix:/ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3             9.7G  457M  9.3G   5% /
devpts                9.7G  457M  9.3G   5% /dev/pts
tmpfs                 9.7G  457M  9.3G   5% /dev/shm
/dev/hda1              29G   23G  5.4G  82% /mnt/windows
/dev/hda2              99M   24M   71M  25% /boot
/dev/hda6             5.6G   33M  5.6G   1% /home
with
Code:
root@Knoppix:/ # cat /etc/fstab | grep -v ^#
/proc      /proc       proc   defaults            0 0
/sys       /sys        sysfs  noauto              0 0
/dev/fd0   /mnt/floppy auto   user,noauto,exec,sync 0 0
/dev/cdrom /mnt/cdrom  auto   user,noauto,exec,ro 0 0
/dev/cdrom1 /mnt/cdrom1  auto   user,noauto,exec,ro 0 0
/dev/hda1 /mnt/windows vfat defaults 0 0
/dev/hda2 /boot ext3 defaults 0 0
/dev/hda3 / reiserfs defaults 0 0
/dev/hda5 none swap defaults 0 0
/dev/hda6 /home reiserfs defaults 0 0
I've configured my grub with, for example,
Code:
title=Ubuntu 2.6.8 i386
        root (hd0,1)
        kernel /vmlinuz-2.6.8.1-3-386 root=/dev/hda3
        initrd (hd0,1)/initrd.img-2.6.8.1-3-386
and likewise with the 686 image.

During bootup, I get an error complaining"Cannot find initrd device!" and then later it stops after saying something about unable to use resolv.conf or something like that. There are also miscellaneous errors to do with ext3 filesystems which I'll try to record next time.

Any ideas? As the chap mentioned above, trying "cannot find initrd device" gets you a googlewhack, and in French, which explains the problem but doesn't offer any advice.

R.
 
  


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
xen initrd problem kpachopoulos Fedora 1 09-04-2005 09:53 PM
ext3/initrd Problem DarkAsHell Linux - Laptop and Netbook 10 04-06-2005 10:55 PM
problems booting new initrd levicc00123 Slackware 1 10-28-2004 11:57 PM
/initrd problem kafnir Linux - Software 3 07-22-2004 11:32 AM
booting vmlinuz/initrd from a bootloader bob_man_uk Linux - General 4 04-07-2004 09:47 PM


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