You are not logged in.

#1 2011-05-21 08:04:26

darkojuca
Member
Registered: 2011-05-21
Posts: 4

[SOLVED]mount: mounting /dev/sda2/ on new_root failed

Hello everybody, I'm new with this forum. I hope someone will help me with this issue?!
I wanted to compile new kernel cause generic wont work well with nvidia drivers from arch repos.
My desktop freezes.

So I wanted to install 275.09beta on latest stable kernel: 2.6.39 (I followed this instruction)

So the real problem might be how to implement new kernel to grub's menu.lst?
Here's some info:
[darkojuca@Toshiba ~]$ ls /boot
grub kernel26-revision1.img vmlinuz26
kernel26-fallback.img System.map26 vmlinuz-2.6.39-revision1
kernel26.img System.map-2.6.39-revision1

Menu.lst looks like this:

# (0) Arch Linux
title  Arch Linux
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/sda2 ro
initrd /boot/kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/sda2 ro
initrd /boot/kernel26-fallback.img

# (2) Arch Linux
title Arch Linux 2.6.39
root (hd0,1)
kernel /boot/vmlinuz-2.6.39-revision1 root=/dev/sda2 ro
initrd /boot/kernel26-revision1.img

And:
[darkojuca@Toshiba ~]$ ls /lib/modules
2.6.38-ARCH 2.6.39

After selecting new kernel from grub I get this:

mount: mounting /dev/sda2/ on new_root failed : no such device

Last edited by darkojuca (2011-05-22 20:21:40)

Offline

#2 2011-05-22 05:04:51

darkojuca
Member
Registered: 2011-05-21
Posts: 4

Re: [SOLVED]mount: mounting /dev/sda2/ on new_root failed

Ok. I compiled new kernel: 2.6.38.2-1, and everything worked just fine.
But when I try to install nvidia.run driver I get Error:

something like this: /usr/src/..../linux/kernel.h doesn't exist....
I tried --kernel-source-path to kernel.h, but I just cant find it.

Offline

#3 2011-05-22 06:38:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED]mount: mounting /dev/sda2/ on new_root failed

ewaller@odin:~ 1011 %pacman -Qo /usr/src/linux-2.6.38-ARCH/include/linux/kernel.h 
/usr/src/linux-2.6.38-ARCH/include/linux/kernel.h is owned by kernel26-headers 2.6.38.6-2
ewaller@odin:~ 1012 %

Did you install kernel26-headers ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2011-05-22 06:48:46

darkojuca
Member
Registered: 2011-05-21
Posts: 4

Re: [SOLVED]mount: mounting /dev/sda2/ on new_root failed

I think I did?

I tried: pacman -Ss kernel26-headers

Reply: kernel26-headers[installed]

I'm confused. This Arch Linux is little bit to much for me. Mostly I did all this couse I wanted to get 3D acceleration on my Nvidia GeForce Go 7300(Toshiba Satellite A200 series)
I'm gettin' this: no metter what linux distro do I use, I cant get 3D acceleration to work as it did few months ago.

@ewaller do you have some pointers for me? thanks

Last edited by darkojuca (2011-05-22 08:14:52)

Offline

#5 2011-05-22 17:24:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED]mount: mounting /dev/sda2/ on new_root failed

Sadly, I don't.  I have no experience with Nvidia or with its drivers. 
As a forum moderator, I try to read as much as I can of the board, and sometimes drop general hints as to how I might approach a problem if I see something that gives me a clue.

As to this problem, you are now following a vein unrelated to the original thread.  This does two things.  People looking for help with mount failures at boot will wander into a discussion of a video driver, and people who can help you with a video driver issue won't find it because they know little of how to handle boot time issues.

If your initial problem is solved, edit your first post and [SOLVED] to the subject, then open a new thread under the appropriate sub-forum (I suggest Installation ) and define your Nvidia problem there with as much detail as possible (output from lspci, specific information as to which drivers you are using and from whence they came.  I'm pretty sure someone will step up and help.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2011-05-22 20:20:43

darkojuca
Member
Registered: 2011-05-21
Posts: 4

Re: [SOLVED]mount: mounting /dev/sda2/ on new_root failed

Thanks very much for everything. Yes, I think the problem with a kernel is solved!

Offline

Board footer

Powered by FluxBB