Problem on Ubuntu 10.10 after update, Kernel Panic issue

Asked by Ken

I have an issue of loading up Ubuntu on my HP laptop.
What i'm trying to achieve here is for it to update and load correctly, allowing me to use the computer.
However, it seems that after I update, it says this:
Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block (0,0)
Then after that is:
Pid: 1, comm: swapper Not tainted 2.6.35-22-generic #33-Ubuntu
Then it says below that:
Call Trace:
Then a whole lot of stuff below that.
I tried reinstalling the whole OS, but whether or not I install updates during download or not, this seems to always happen.
Please help.
I love Ubuntu, but this is very frustrating.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
Ken
Solved:
Last query:
Last reply:
Revision history for this message
Chrescht (sekateur) said :
#1

Hi Ken,

Are you saying that you never get to the end of the installation?
(I had a similar issue with my laptop..and got back to lucid. I'll try 10.10 sometime later)

cheers.

Revision history for this message
Ken (roxasmegduma) said :
#2

I got to the end of the installation, then the Kernal panic came up.
Ubuntu doesn't even turn on at this point.
I shut down and restart, and that time the GNU GRUB menu comes up.
From here, I have no idea what to do.

Revision history for this message
Ken (roxasmegduma) said :
#3

Maybe I should explain my whole process.
I put the ISO file on a disk, and installed it just as the Ubuntu website says I should.
I clicked on install updates while installing and install third party programs.
It installed perfectly, no issues.
I turned it on, and the Kernel issue comes up.
I restart it, and now the GNU GRUB menu is up, and I'm clueless from here on in.

Revision history for this message
Jason Odoom (jasonodoom) said :
#4

Try this:

NOTICE: Instructions below say to use su, if this fails, use sudo with the next line below the su command instead like so: sudo mkdir....

Boot your favorite Debian (based) LiveCD and start a terminal (Knoppix is always reliable):
Code:
su -
mkdir -p /media/ubuntu
mount /dev/hda1 /media/ubuntu
chroot /media/ubuntu
Now do a test:
Code:
echo "bbb" < /dev/null
If you do not receive an error, continue. If you do receive an error, something is wrong with your permissions. Make sure you were root before you executed chroot!
Code:
apt-get update
apt-get install --reinstall linux-image-2.6.17-10-generic
exit
cd /
umount /media/ubuntu
shutdown -r now
Reinstalling the linux-image package not only reinstalls all the files, but also updates a lot of programs that may be causing the kernel panic.

SHORT VERSION: Boot into a live cd and mount volume and then do something like this:

sudo update-initramfs -k all -u -b /mnt/sda1/boot
__________________

Revision history for this message
Ken (roxasmegduma) said :
#5

Can you make that last answer in baby step form? I'm a newbie when it comes to code. I can build them, I just don't know software very well yet.

Revision history for this message
Ken (roxasmegduma) said :
#6

By build them, I mean build computers. My first computer ever was Linux, built by me.
I just don't know my code yet.

Revision history for this message
Jason Odoom (jasonodoom) said :
#7

 Boot into a live cd and mount volume and then do something like this:

sudo update-initramfs -k all -u -b /mnt/sda1/boot

Hope it helps.

Revision history for this message
Ken (roxasmegduma) said :
#8

Do something like this?
Do you mean run Ubuntu off of the disk, not installed, then open the command line and execute that?

Revision history for this message
Jason Odoom (jasonodoom) said :
#9

Aaaahhhh I thought you wrote code. I was going to say that was kind of ironic then, that you can build code but don't know software.

Revision history for this message
Jason Odoom (jasonodoom) said :
#10

Aaaahhhh I thought you wrote code. I was going to say that was kind of ironic then, that you can build code but don't know software.

Revision history for this message
Jason Odoom (jasonodoom) said :
#11

Aaaahhhh I thought you wrote code. I was going to say that was kind of ironic then, that you can build code but don't know software.

Revision history for this message
Jason Odoom (jasonodoom) said :
#12

Aaaahhhh I thought you wrote code. I was going to say that was kind of ironic then, that you can build code but don't know software.

Revision history for this message
Jason Odoom (jasonodoom) said :
#13

Aaaahhhh I thought you wrote code. I was going to say that was kind of ironic then, that you can build code but don't know software.

Revision history for this message
Jason Odoom (jasonodoom) said :
#14

Yes, but don't forget to mount the volume.

Revision history for this message
Ken (roxasmegduma) said :
#15

Forgive my lack of knowledge, but mount the volume?

Revision history for this message
Jason Odoom (jasonodoom) said :
#16

No problem. Just add it to the desktop, basically. For example, when you put a flash drive in your Computer, it "mounts" on your desktop.

Revision history for this message
Jason Odoom (jasonodoom) said :
#17

What happened, as is evident from your grub.cfg, is that while your upgrade didn't succeed, it upgraded your kernel to the 10.10 kernel (2.6.35) anyway.

What you need to do is hold down Shift at system startup. Then, at the GRUB menu, pick the 2.6.32 kernel (which corresponds to 10.04). You need to hold Shift at the POST screen (i.e., before anything with Ubuntu on it shows up).

I'm not promising that this will solve everything (or even anything).

Revision history for this message
Jason Odoom (jasonodoom) said :
#18

What you can and should do, is to boot into the live CD and back up your hard drive

Revision history for this message
Jason Odoom (jasonodoom) said :
#19

Attempt to fix your upgrades by running: sudo apt-get install -f

Revision history for this message
Jason Odoom (jasonodoom) said :
#20

Do that when finished.

Revision history for this message
Ken (roxasmegduma) said :
#21

As in go off of the CD and install the OS?

Revision history for this message
Jason Odoom (jasonodoom) said :
#22

No, do not install it again. Run does commands in the terminal on the live Cd, then do this: "What you need to do is hold down Shift at system startup. Then, at the GRUB menu, pick the 2.6.32 kernel (which corresponds to 10.04). You need to hold Shift at the POST screen (i.e., before anything with Ubuntu on it shows up)."

Revision history for this message
Jason Odoom (jasonodoom) said :
#23

Hope its working. :)

Jason Odoom
http://www.google.com/profiles/jasonodoom
https://launchpad.net/~jasonodoom

On Thu, Nov 11, 2010 at 9:06 PM, Ken
<email address hidden>wrote:

> Question #133684 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/133684
>
> Status: Answered => Open
>
> Ken is still having a problem:
> As in go off of the CD and install the OS?
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Jason Odoom (jasonodoom) said :
#24

Yes.

Jason Odoom
http://www.google.com/profiles/jasonodoom
https://launchpad.net/~jasonodoom

On Thu, Nov 11, 2010 at 9:08 PM, Jason Odoom <email address hidden> wrote:

> Hope its working. :)
>
> Jason Odoom
> http://www.google.com/profiles/jasonodoom
> https://launchpad.net/~jasonodoom
>
>
>
> On Thu, Nov 11, 2010 at 9:06 PM, Ken <<email address hidden>
> > wrote:
>
>> Question #133684 on Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+question/133684
>>
>> Status: Answered => Open
>>
>> Ken is still having a problem:
>> As in go off of the CD and install the OS?
>>
>> --
>> You received this question notification because you are a direct
>> subscriber of the question.
>>
>
>

Revision history for this message
Ken (roxasmegduma) said :
#25

How does someone pick a kernel?

Revision history for this message
Jason Odoom (jasonodoom) said :
#26

Once your run Shift at system startup, before anything with Ubuntu on it shows up, it will give you a list of Kernels to choose and hit ENTER.

Revision history for this message
Ken (roxasmegduma) said :
#27

I understand now. There are only 4 different kernels in the menu. 2.6.35-22-generic and 2.6.35-22-generic (recovery mode), along with 2 memory tests.

Revision history for this message
Jason Odoom (jasonodoom) said :
#28

Yeah!! Thats good news! Did you take the Cd out? Hit Kernel one.

------Original Message------
From: Ken <email address hidden>
To: <email address hidden>
Date: Fri, 12 Nov 2010 02:17:55 -0000
Subject: Re: [Question #133684]: Problem on Ubuntu 10.10 after update, Kernel Panic issue

Question #133684 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/133684

    Status: Answered => Open

Ken is still having a problem:
I understand now. There are only 4 different kernels in the menu.
2.6.35-22-generic and 2.6.35-22-generic (recovery mode), along with 2
memory tests.

--
You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Ken (roxasmegduma) said :
#29

I took the CD out and restarted it. That's when I held shift to get to the menu. I entered the first kernel and the error has come back up.

Revision history for this message
Jason Odoom (jasonodoom) said :
#30

Try the command I gave you for the updates. If that doesn't work, hold shift again and select the recovery mode option.

------Original Message------
From: Ken <email address hidden>
To: <email address hidden>
Date: Fri, 12 Nov 2010 02:37:08 -0000
Subject: Re: Re:Re: [Question #133684]: Problem on Ubuntu 10.10 after update, Kernel Panic issue

Question #133684 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/133684

    Status: Answered => Open

Ken is still having a problem:
I took the CD out and restarted it. That's when I held shift to get to
the menu. I entered the first kernel and the error has come back up.

--
You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Ken (roxasmegduma) said :
#31

It won't let me type after the error.
-_-
Very frustrating.

Revision history for this message
Jason Odoom (jasonodoom) said :
#32

Yeah it is. What type of Computer do you have? Reboot, try SHIFT and then choose the recovery mode option.

------Original Message------
From: Ken <email address hidden>
To: <email address hidden>
Date: Fri, 12 Nov 2010 02:52:15 -0000
Subject: Re: Re:Re: Re:Re: [Question #133684]: Problem on Ubuntu 10.10 after update, Kernel Panic issue

Question #133684 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/133684

    Status: Answered => Open

Ken is still having a problem:
It won't let me type after the error.
-_-
Very frustrating.

--
You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Ken (roxasmegduma) said :
#33

Just tried recovery option, a whole lot more code scrolled by, but the Kernal error is still on the screen.
However, there is more above it that may be relevant:
VFS: Cannot open root device "UUID=e671d1fc-ba6f-40ba-9ab5-bdbe9820e213" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Then here is where the kernel panic is.
I'm using an HP G60, AMD Athlon X2, NVIDIA graphics card.

Revision history for this message
Jason Odoom (jasonodoom) said :
#34

Aaah. Nvidia, okay. I honestly am stuck now. The only thing to do is hit shift and boot the list of Kernels. If that doesn't work then I'm afraid you have to reinstall. Sometimes certain updates don't work with certain drivers of Pc's. Be careful of what updates you install next time. Were your files backed up?

------Original Message------
From: Ken <email address hidden>
To: <email address hidden>
Date: Fri, 12 Nov 2010 03:09:01 -0000
Subject: Re: Re:Re: Re:Re: Re:Re: [Question #133684]: Problem on Ubuntu 10.10 after update, Kernel Panic issue

Question #133684 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/133684

    Status: Answered => Open

Ken is still having a problem:
Just tried recovery option, a whole lot more code scrolled by, but the Kernal error is still on the screen.
However, there is more above it that may be relevant:
VFS: Cannot open root device "UUID=e671d1fc-ba6f-40ba-9ab5-bdbe9820e213" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Then here is where the kernel panic is.
I'm using an HP G60, AMD Athlon X2, NVIDIA graphics card.

--
You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Ken (roxasmegduma) said :
#35

No, unfortunately ;_;
Would 10.04 still work for me? I'm sure installing that wouldn't be all that difficult.

Revision history for this message
Jason Odoom (jasonodoom) said :
#36

Yes it still will. I'll send you Dropbox link tomorrow if you don't mind. I will continue to research this problem. Why not 10.10?

------Original Message------
From: Ken <email address hidden>
To: <email address hidden>
Date: Fri, 12 Nov 2010 03:20:49 -0000
Subject: Re: Re:Re: Re:Re: Re:Re: Re:Re: [Question #133684]: Problem on Ubuntu 10.10 after update, Kernel Panic issue

Question #133684 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/133684

Ken posted a new comment:
No, unfortunately ;_;
Would 10.04 still work for me? I'm sure installing that wouldn't be all that difficult.

--
You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Ken (roxasmegduma) said :
#37

That'd be fine with me. Can you find my e-mail? If not, I can send it to you.
And I've already tried reinstalling 10.10, and either way, whether adding updates while installing or not, I always get the error.
Maybe 10.04 wouldn't be as difficult for me.

Revision history for this message
Ken (roxasmegduma) said :
#38

That'd be fine with me. Can you find my e-mail? If not, I can send it to you.
And I've already tried reinstalling 10.10, and either way, whether adding updates while installing or not, I always get the error.
Maybe 10.04 wouldn't be as difficult for me.

Revision history for this message
Jason Odoom (jasonodoom) said :
#39

I'll find your email, if not I'll contact you. Have you just started using Ubuntu?

------Original Message------
From: Ken <email address hidden>
To: <email address hidden>
Date: Fri, 12 Nov 2010 03:33:51 -0000
Subject: Re: Re:Re: Re:Re: Re:Re: Re:Re: Re:Re: [Question #133684]: Problem on Ubuntu 10.10 after update, Kernel Panic issue

Question #133684 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/133684

Ken posted a new comment:
That'd be fine with me. Can you find my e-mail? If not, I can send it to you.
And I've already tried reinstalling 10.10, and either way, whether adding updates while installing or not, I always get the error.
Maybe 10.04 wouldn't be as difficult for me.

--
You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Ken (roxasmegduma) said :
#40

I had an ancient version of Linux about 4 years ago, and I've jumped back into it lately.

Revision history for this message
Jason Odoom (jasonodoom) said :
#41

Oh. Well Ubuntu is the best, don't let this problem change your mind. I had some similar problems in the past.

------Original Message------
From: Ken <email address hidden>
To: <email address hidden>
Date: Fri, 12 Nov 2010 03:42:28 -0000
Subject: Re: Re:Re: Re:Re: Re:Re: Re:Re: Re:Re: Re:Re: [Question #133684]: Problem on Ubuntu 10.10 after update, Kernel Panic issue

Question #133684 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/133684

Ken posted a new comment:
I had an ancient version of Linux about 4 years ago, and I've jumped
back into it lately.

--
You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Chrescht (sekateur) said :
#42

Huh, that was a lot of messages.. ;-)
I have one recommendation for switching to any new Linux in general: if possible, try first running the distribution LIVE from a USB stick or else a CD in order to make sure there are no serious issues related to your material..

ps: unfortunately I have had cases where LIVE Ubuntu testing failed but the final installation ran just fine..let's hope that's something of the past :-).

cheers.