Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hmmm. rfernandez, I'm not sure that is correct. But it certainly wouldn't hurt making your suggested change to the root statement, as I could be wrong. Actually, I'm often wrong.
If that doesn't help, I'd suggest changing it back to (hd0, 5).
'root (hd0,5)' has gotten grub to the Linux kernel and the initial ramdisk.
I think the statement "Than it throws me to a busy box shell with initramfs prompt.." demonstrates that.
I suspect the problem has to do with mounting the root file system and that we're we're past grub problems. Everything in the bootinfoscript output looks good to me.
_Linux_Learner, what were the messages that preceeded "/dev/disk/by-uuid/<uuid of the root partition> does not exist"?
If you do an 'ls -l /dev/disk/by-uuid' at the initramfs prompt, what do you get? Does it show any other disks? Or do you get an error?
Before the initramfs prompt I get the following errors...
Code:
/init: line 194: depmod: not found
/scripts/init-top/usplash: line55: modprobe: not found
/scripts/init-premount/udev:line 24: /sbin/udevd: not found
As I said earlier, I think your /boot partition is on /dev/sda6; 'grub' is going there using the 'root (hd0,5)' statement; loading the kernel; the initrd is loaded; the 'init' shell script is then executed. So far, so good.
Then the confusion sets in. On my Ubuntu Netbook Remix (9.10) system, the ramdisk /sbin contains 'depmod', 'modprobe' and 'udevd'. (That's the /sbin in the ramdisk - not the root filesystem's /sbin.) So it's perplexing why those three executables can't be found.
I don't know how the PATH for 'init' is set, but it doesn't seem to be set properly.
Did you have to recreate the grub.conf (menu.lst) file when you repaired the system? I'm not familiar with Ubuntu 9.04, but it seems a little odd that your kernel does not have a version number (i.e. 2.6.28) imbedded in it that matches your initrd. Is it possible they are mismatched?
Last edited by tommylovell; 03-28-2010 at 08:59 PM.
As I said earlier, I think your /boot partition is on /dev/sda6; 'grub' is going there using the 'root (hd0,5)' statement; loading the kernel; the initrd is loaded; the 'init' shell script is then executed. So far, so good.
Then the confusion sets in. On my Ubuntu Netbook Remix (9.10) system, the ramdisk /sbin contains 'depmod', 'modprobe' and 'udevd'. (That's the /sbin in the ramdisk - not the root filesystem's /sbin.) So it's perplexing why those three executables can't be found.
I don't know how the PATH for 'init' is set, but it doesn't seem to be set properly.
Did you have to recreate the grub.conf (menu.lst) file when you repaired the system? I'm not familiar with Ubuntu 9.04, but it seems a little odd that your kernel does not have a version number (i.e. 2.6.28) imbedded in it that matches your initrd. Is it possible they are mismatched?
Hi thanks for explanation of errors. I created a new initrd image from live cd by mounting /sbin to my file system. And it works now.
The only problem now is on starting it shows an error something like....
Code:
No force chipset ...
After flashing this error it boots well and start working..
Great. I think you are in the home stretch, but you need someone that is Ubuntu literate, and I am not.
But you can try this. Find the newest kernel and initrd files in /boot; create a new Linux entry in grub.conf / menu.lst that points to those files; reboot and select that new entry to boot off of. (If that doesn't work, you still have your old Linux entry to fall back on.)
I suspect that the kernel and initrd that you are running off of probably has fewer features config'd into the kernel. If you go with the normal kernel for your system, I'm hoping that message will go away.
If you don't have a suitable kernel/initrd pair that work, you will probably need to use apt-get (or one of those other Debian based maintenance tools) to force an update or reinstall of the latest kernel and its corresponding initrd; then update your grub.conf / menu.lst file to point to them if that's not done automatically.
If this doesn't work, I think you can open a new post (without incurring any wrath for multiposting), and ask how you can refresh the current kernel and initrd in Ubuntu.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.