UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
i rebooted my machine yesterday and it wouldnt start back up. It hung on the ubuntu splash screen. I tried a few more times and then booted in recovery mode and saw that it was getting stuck at:
Init: Error parsing configuration: No such file or directory
Kernel panic - not syncing: Attempting to kill init!
I have 3 other kernels to choose from, I tried all 3 and all 3 hung at the same spot. Googling seems to imply reinstalling the kernel...? Does that sound right?
How would I go about that without a livecd? I dont have a cdrom drive but I do have another os on a usb thumb drive I can boot from. (btw, i can boot from this drive and see my other drive that ubuntu is on and all the directories and folders seem to be there.)
If I reinstall the kernel will I lose the configuration files and such I have on there now?
i think i need to reinstall my kernel.
i rebooted my machine yesterday and it wouldnt start back up. It hung on the ubuntu splash screen. I tried a few more times and then booted in recovery mode and saw that it was getting stuck at:
Init: Error parsing configuration: No such file or directory
Kernel panic - not syncing: Attempting to kill init!
I have 3 other kernels to choose from, I tried all 3 and all 3 hung at the same spot.
It seems unlikely that all of your kernels would become corrupted at the same time. To reinstall your kernel, boot to recovery mode and run:
unfortunately, i am unable to boot in recovery mode. it stops at
Init: Error parsing configuration: No such file or directory
Kernel panic - not syncing: Attempting to kill init!
and i cannot type anything. i can get a command prompt in grub but it did not recognize either command.
unfortunately, i am unable to boot in recovery mode. it stops at
Init: Error parsing configuration: No such file or directory
Kernel panic - not syncing: Attempting to kill init!
Boot from the Ubuntu live CD. Open a terminal and run:
i dont have a working cd drive. i have a usb drive with backtrack on it i can boot from but it doesnt have apt-get. but this does give me something to work on. thanks!
ok, my neighbor hates me but i have a cdrom drive now.
i booted the live cd and in terminal tried running those commands, but
sudo chroot /mnt
cannot run /bin/bash: permission denied.
i tried sudo su and then running the command as root but got the same error.
i booted the live cd and in terminal tried running those commands, but
sudo chroot /mnt
cannot run /bin/bash: permission denied.
i tried sudo su and then running the command as root but got the same error.
Did you mount your Ubuntu install from the live CD first before attempting to chroot? It should work. Try mounting and chroot-ing into your Ubuntu install as per the proceedure described here: http://www.ubuntugeek.com/how-to-fix...isty-fawn.html
Then run this to reinstall the kernel:
i followed those instructions exactly but seem to be having the same problem:
sudo mkdir /media/dice
sudo mount /dev/sda1 /media/drive
sudo chroot /media/drive su
chroot: cannot run command 'su': permission denied
i rebooted, changed to root user (sudo su) and tried the commands again (without sudo at the beginning) and got the exact same error.
i also tried leaving out the last 'su' which gives the error:
chroot: cannot run command '/bin/bash': permission denied
I don't know why you can not chroot into your Ubuntu install from the live CD. All I can suggest is to try it from another live CD like Knoppix. Or use DSL or what ever else you have handy.
It sounds like your Ubuntu install is really borked. If all else fails, consider doing a clean install of the new Ubuntu Jaunty RC CD. It is quite good.
i do have a 256mg thumb drive with DSL on it... somewhere. i'll look in that.
and ask nicely to get sent a new ubuntu cd. that'll be a long time for my server to be down though. at least its in my price range.
thanks for all the suggestions, i really appreciate it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.