Click to See Complete Forum and Search --> : Unable to load ubuntu


chakribobby
01-26-2008, 01:29 AM
Hi

I installed of ubuntu is successful. I used ubuntu for two weeks
After that I restarted ubuntu
Then I am unable to load ubuntu
I got this message on the screen
(initramfs)


So I tried to load ubuntu in recover mode
I got this message on the serene

ALERT: /dec/disk/by-uuid/f0540bd1-35ac-4c94-b209-f9b39b552705 does not exist.
Dropping to a shell!
Check your root= boot artument (cat /proc/cmdline)
Check for missing modules (cat /proc/modules), or device files (ls /dev)
(initramfs)

I got these messages while running the these commands
(initramfs)Cat /proc/cmdline
root=UUID=dec/disk/by-uuid/f0540bd1-35ac-4c94-b209-f9b39b552705 ro single

(initramfs)cat /proc/modules
thermal 14344 0 –Live 0Xf8872000
processor 32072 1 thermal, Live 0Xf8847000
fan 5764 0 – Live 0Xf883e000
apparmor 40728 0 – Live 0X884c000
commoncap 8320 1 apparmor, Live 0Xf881a000


(initramfs) ls /dev
/bin/sh: ls: not found

bwkaz
01-26-2008, 10:33 AM
Oh boy. ;)

Well, since ls apparently doesn't exist in the initramfs, you can just use echo instead. The shell expands * and ? characters in filenames, so echo /dev/* will give you much of the same info as ls /dev would. You won't get the nice formatting or coloring, but at least the files will be there.

But what I'd do is skip /dev/* for now, and echo /dev/disk/by-uuid/* -- if you get a "file not found" type of error, then back off a level at a time until you don't. So try echo /dev/disk/*, then if all else fails, echo /dev/* as a final option. Post the result of whichever of those gives you some non-error output.

(One other thing to be careful of is typos. Linux is case-sensitive, so substituting uppercase for lowercase is likely to cause confusion. Also, /dev and /dec are different; only one exists. :) For now, I'm going to assume that those /dec strings are typos, but if they aren't, then that's probably your issue.)

The last cause that I can think of is that udevd might not be running. To find out, you'll probably have to do something like readlink /proc/[0-9]*/exe and see if any of those point to any file ending in "udevd". If you get a bunch of output where one of the lines does point to udevd, then this isn't the issue; if you get a bunch of output where none of the lines points to udevd, then this is the issue.

If you get another "not found" error, then readlink doesn't exist; the only other option I know of is "ls -l", and we already know that ls doesn't exist, so that won't work either. Not sure how to tell in that case; maybe ps -e -o comm will work? It would depend on whether ps is installed.

Last, what disk and partition did you use to install Ubuntu?