LinuxQuestions.org
Visit Jeremy's Blog.
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 04-08-2010, 05:55 PM   #1
puntino
Member
 
Registered: Sep 2006
Location: Italy
Distribution: Suse 10.1
Posts: 71

Rep: Reputation: 15
Can't find a valid ram image


Hi
I've compiled the kernel 2.6.33, configured it and installed (make install)
When it boots up I get the following messages:
RAMDISK: I can't find a valid disk image at 0
VFS: Couldn't open root at /boot/vmlinuz-2.6.33mykerne1 or block (0,0)

Code:
My current system configuration is: 
Linux domenico-laptop 2.6.24-16-generic

/etc/boot/menu.lst
title		Ubuntu 8.04, kernel 2.6.24-16-generic
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=e37512fd-eef1-4ae3-b9c
c-41eb2a645e56 ro quiet splash
initrd		/boot/initrd.img-2.6.24-16-generic
quiet

title		Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=e37512fd-eef1-4ae3-b9c
c-41eb2a645e56 ro single
initrd		/boot/initrd.img-2.6.24-16-generic

title		Ubuntu 8.04, memtest86+
root		(hd0,2)
kernel		/boot/memtest86+.bin
quiet

#I've also assigned to root=/boot/vmlinuz-2.6.24-16-generic #root=UUID=e37512fd-eef1-4ae3-b9c but it didn't work
title		kernel1 2.6.33
root		(hd0,2) 
kernel		/boot/vmlinuz-2.6.33mykerne1 root=/boot/vmlinuz-2.6.33mykerne1
initrd		/boot/vmlinuz-2.6.33mykerne1
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title		Windows Xp
root		(hd0,0)
savedefault
makeactive
chainloader	+1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda3
title		Vista Recovery
root		(hd0,3)
savedefault
makeactive
chainloader	+1

the df command prompts the following output: 
/dev/sda3             15619232   3955200  10876848  27% /
varrun                 1037280       156   1037124   1% /var/run
varlock                1037280         0   1037280   0% /var/lock
udev                   1037280        64   1037216   1% /dev
devshm                 1037280       152   1037128   1% /dev/shm
lrm                    1037280     38176    999104   4% /lib/modules/2.6.24-16-generic/volatile
/dev/sda7             10614880   6433796   3646124  64% /home
/dev/sda8             41471764  15327116  26144648  37% /media/disk
gvfs-fuse-daemon      15619232   3955200  10876848  27% /home/domenico/.gvfs



I've attached the file  /boot/config-2.6.33mykerne1
Thank you in advance
Attached Files
File Type: txt config-2.6.33mykerne1.txt (94.3 KB, 0 views)
 
Old 04-08-2010, 05:58 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Code:
kernel		/boot/vmlinuz-2.6.33mykerne1 root=/boot/vmlinuz-2.6.33mykerne1
Ummm ... an initrd is NOT a root filesystem.
 
Old 04-08-2010, 06:41 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Assuming you've built everything properly, it should probably look like this.

Code:
title		kernel1 2.6.33
root		(hd0,2) 
kernel		/boot/vmlinuz-2.6.33mykerne1 root=UUID=e37512fd-eef1-4ae3-b9c
c-41eb2a645e56 ro single
initrd		/boot/initrd.img-2.6.33mykerne1
But "/boot/vmlinux-2.6.33mykerne1" doesn't look formed right to me. Please post the output of the following:
Code:
ls /boot

Last edited by Quakeboy02; 04-08-2010 at 06:42 PM.
 
Old 04-11-2010, 05:20 PM   #4
puntino
Member
 
Registered: Sep 2006
Location: Italy
Distribution: Suse 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
First of all, thank you both. I've started reading what initrd is right now... I want to learn how Linux works and avoid boring u with stupid questions. Anyway the output of ls /boot is
Code:
abi-2.6.24-16-generic             memtest86+.bin
config                            System.map
config-2.6.24-16-generic          System.map-2.6.24-16-generic
config-2.6.33mykerne1             System.map-2.6.33mykerne1
grub                              vmlinuz
initrd.img-2.6.24-16-generic      vmlinuz-2.6.24-16-generic
initrd.img-2.6.24-16-generic.bak  vmlinuz-2.6.33mykerne1
 
Old 04-11-2010, 05:35 PM   #5
puntino
Member
 
Registered: Sep 2006
Location: Italy
Distribution: Suse 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
let me see, if I've understood how the initrd works.
At boot initird acts as a file-system that starts the actual file system.
In my /boot folder there is no initrd image for the kernel 2.6.33, for this reason I get the error message, doesn't it ?
Keep on guessing, I badly built my kernel, now how can I fix it?
 
  


Reply

Tags
build, compilations


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
RAMDISK: couldn't find valid ramdisk image starting at 0. iotc247 Slackware 10 12-10-2010 04:08 PM
RAMDISC: couldn't find valid ramdisk image starting at 0 foxtrot7 Fedora 1 06-22-2009 06:17 PM
RAMDISC: Couldn't find valid ram disk image starting at 0 foxtrot7 Fedora 0 06-20-2009 11:41 PM
bootsplash + 2.6.5 = no valid ramdisk image... i need an answer please! thehundredthone Linux - General 2 05-06-2004 06:00 PM
RAMDISK: Couldn't find valid RAM disk toshiro Linux - Software 0 03-06-2003 09:34 AM


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