Boot-Up err Msg. after kitten tap danced on keyboard
Our kitten did a lightening tap dance on the computer keyboard and 'hung it up'.
Doing a cold Re-boot, I am presented with: Code:
mount: mounting /dev on /root/dev failed: no such file (initramfs) _ ##The init=bootarg, didn't help. I am not familiar with the shell command sequences during boot-up. Any Help would be appreciated. |
Try booting with a live CD and then chroot to the installed partition and update grub.
|
pljvaldez,
I do have an older ver. of a Ubuntu live cd. My prowess on the command line is not impressive. Would you care to quickly jot down exactly how I would do this? Matthew |
https://help.ubuntu.com/community/Gr...0from%20LiveCD
Scroll down to "Method 3 - CHROOT" which is a generic way to fix this from any linux live CD. Basically, what you do is mount your hard drive partitions, then use chroot to make the live CD think it is working from the hard disk files. From there, you just repair grub with update-grub and or grub-install. If you have to go the "grub-install" route, make sure you have the proper partition name mounted or you'll install grub somewhere else... |
Thanks pljvaldez,
That is just the ticket! Matthew |
Glad it helped! The linux command line is powerful and flexible. Even if you don't use it all the time, it's good to become familiar with it.
Please mark this thread as solved (under the "Thread Tools" menu at the top). |
Just curious, your kitten destroyed your bootloader with dancing on the keyboard? You should set your root-password to a undanceable one.
|
Quote:
|
It looked too easy and I shouldn't have shouted victory so quickly.
I am on the live CD (on my other computer), have a root shell and my target partition is sda1, which I mounted as instructed. When I entered Code:
grub install --root-directory=/mnt /dev/sda1 Code:
/bin/shell: grub-install: not found I can change directory and looked in /sbin but it was not found. apropos the kitten dance: I was not logged in as root. I don't believe the password is that vulnerable; according to my wife,, the kitten sprung onto the keyboard while she was downloading a google page? Thanks for all your interest. Matthew. |
I would have been *mighty * surprised had that worked. If you're getting messages like that grub has already done it's job.
Have you tried fsck on that filesystem (from the liveCD) ?. I wonder if the moggy managed to find a "magic" key sequence ?. Pussies always lead to trouble .... :eek: |
Thank you everybody!
The problem is solved. So far, no harm done. fsck showed no disk errors. I played around with various options on the root menu of the live cd and somehow managed to get it to re-install grub. Matthew |
World of wonders: Your kitten destroys your bootloader with a magic dance, and you repair it with playing with a menu.:D:D:D
|
Just in case, run memtest86.
|
TobiSGD, your comments are taken into consideration.
In retrospect, though solved, my experience with this problem and the solution, will prove to be useless for anyone else reading this. a. I have no idea of just what the problem was and no chance of finding out. What combination of keys the kitten's dance across the keyboard entered, at a time when the Firefox was downloading a file-(is this even relative?) has to remain unknown. b. every try to cold boot the Ubuntu system up, ended with a boot into the normal boot sequence, at the command line, plus Err. Msg's. I assumed the problem was a faulty or absent grub installer because that was what the Err Msg.s projected. However, in my very limited experience, Err. Msg.s are frequently erroneous. However, I did try to re-install the Grub from the command line but the Err. Msg. stated File unknown, no such file. c. Going over the procedures outlined on Linux Questions, I came upon this: " 7. You may find you get a repeated "error: Cannot open /boot/grub/device.map" message. If this happens try rebooting. The UUID method may actually work but throws an error message falsely. Using the label name does not seem to evoke the same repeated error message. " This is possibly what transpired after fooling around with the "MENU" options, such as fsck, etc. Reboot is a Menu option and I chose it blindly and voila!, up came the ubuntu splash page. H_TEX MEX_H, Thanks for the tip, I have done so and all is right. Matthew |
Quote:
To fix problem: 1) get rid of cat... 2) get rid of wife... 3) 1 AND 2... :p |
All times are GMT -5. The time now is 02:18 PM. |