View previous topic :: View next topic |
Author |
Message |
SnackMasterX Apprentice
Joined: 26 Jan 2006 Posts: 231
|
Posted: Sat Jul 24, 2010 7:48 pm Post subject: Boot Problem [SOLVED] |
|
|
I am getting a boot issue and I did some searching on the forums and tried a couple solutions but I'm still getting this issue. When I try to boot it stops at mounting root and I get the following:
Code: | >> Mounting root...
mount: mounting /dev/sda1 on /newroot failed: Invalid argument
!! Could not mount specified ROOT, try again
!! Could not find the root block device in .
Please specify another value or: press Enter for the same, type "shell" for a shell, or "q" to skip...
root block device() : : |
What am I missing or doing wrong? I made sure that I have the filesystem support built into the kernel as well as SATA drivers not being modules, what else am I missing?
This is the manufacturer link to my motherboard http://usa.asus.com/product.aspx?P_ID=0jMy2X8lKstYRvev
lspci:
Code: | 00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:08.0 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a1)
00:09.0 ISA bridge: nVidia Corporation MCP55 LPC Bridge (rev a2)
00:09.1 SMBus: nVidia Corporation MCP55 SMBus (rev a2)
00:0a.0 USB Controller: nVidia Corporation MCP55 USB Controller (rev a1)
00:0a.1 USB Controller: nVidia Corporation MCP55 USB Controller (rev a2)
00:0c.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1)
00:0d.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:0d.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:0d.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:0e.0 PCI bridge: nVidia Corporation MCP55 PCI bridge (rev a2)
00:0e.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
00:10.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a2)
00:11.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a2)
00:16.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4850]
01:00.1 Audio device: ATI Technologies Inc HD48x0 audio
02:07.0 Network controller: Atheros Communications Inc. AR922X Wireless Network Adapter (rev 01)
02:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
03:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)
|
Thanks in Advance!
Last edited by SnackMasterX on Sun Jul 25, 2010 3:28 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Jul 24, 2010 8:26 pm Post subject: |
|
|
SnackMasterX,
Your hard drive controllers are Code: | 00:0c.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1)
00:0d.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:0d.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:0d.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2) |
You need the settings in this post with the SATA settings below.
Code: | <*> NVIDIA SATA support
<*> AMD/NVidia PATA support |
This line in your error message Code: | !! Could not find the root block device in . | normally lists the partitions the kernel found, in your case, there were none, so something is wrong in your kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
SnackMasterX Apprentice
Joined: 26 Jan 2006 Posts: 231
|
Posted: Sat Jul 24, 2010 8:31 pm Post subject: |
|
|
I have those options built into the kernel already |
|
Back to top |
|
|
SnackMasterX Apprentice
Joined: 26 Jan 2006 Posts: 231
|
Posted: Sat Jul 24, 2010 8:34 pm Post subject: |
|
|
I looked at the post and saw there were a few settings to change, made the changed and kernel is compiling now. It will take about 15-20 minutes to compile, dredded dual core CPUs... I'll let you know in about 20 minutes if this fixes the problem, I'll keep my fingers crossed! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Jul 24, 2010 8:41 pm Post subject: |
|
|
SnackMasterX,
make -j3 will run three parallel makes on the kernel You may be able to use -j5 even, as the kernmel is mostly small files _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
SnackMasterX Apprentice
Joined: 26 Jan 2006 Posts: 231
|
Posted: Sat Jul 24, 2010 8:45 pm Post subject: |
|
|
It's already compiling, stopping at this point to change to -j5 would end up taking more time :-\
I need a cheap quad core, thinking an athlon II x4 |
|
Back to top |
|
|
SnackMasterX Apprentice
Joined: 26 Jan 2006 Posts: 231
|
Posted: Sat Jul 24, 2010 8:49 pm Post subject: |
|
|
Still getting the same error after making the changes |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Jul 24, 2010 9:08 pm Post subject: |
|
|
SnackMasterX,
Check the file timestamps with ls -l.
The oldest file should be /usr/src/linux/.config
The next file will be /usr/src/linux/arch/x86/boot/bzImage which is your kernel.
The newest file, will propably be the same as bzImage, is /boot/<kernel-name>
Is grub.conf pointed at /boot/<kernel-name> or did you (accidently) change the name of the kernel, so the old one is still being used?
Was boot mounted when you copied the kernel to /boot? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
SnackMasterX Apprentice
Joined: 26 Jan 2006 Posts: 231
|
Posted: Sat Jul 24, 2010 9:19 pm Post subject: |
|
|
I didn't give boot its own partition, never needed to in the past though the past was quite a few years ago when I last used ubuntu. This is a fresh install and I just wrote out instructions and saved them into notepad and just use those with every install but I looked at the gentoo handbook and didnt see any major changes so I'm not sure what's wrong. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Jul 24, 2010 9:24 pm Post subject: |
|
|
SnackMasterX,
Your error message is *identical* ?
If the new kernel is being loaded, I'm surprised.
Please post the output of and the content of grub.conf
You may also want to read kernel-seeds.org for some ideas. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
SnackMasterX Apprentice
Joined: 26 Jan 2006 Posts: 231
|
Posted: Sat Jul 24, 2010 10:22 pm Post subject: |
|
|
Yes the exact same error, it's probably something simple I missed or a typo/error of some kind on my part and I just need another set of eyes to catch my mistake.
grub.conf
Code: | # This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo Linux 2.6.34-r2
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-2.6.34-gentoo-r2 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda1 udev
initrd /boot/initramfs-genkernel-x86_64-2.6.34-gentoo-r2
# vim:ft=conf:
|
ls -l /boot
Code: | total 7060
-rw-r--r-- 1 root root 1769807 Jul 24 16:38 System.map-genkernel-x86_64-2.6.34-gentoo-r2
lrwxrwxrwx 1 root root 1 Jul 20 02:20 boot -> .
drwxr-xr-x 2 root root 4096 Jul 21 22:25 grub
-rw-r--r-- 1 root root 2348132 Jul 24 16:47 initramfs-genkernel-x86_64-2.6.34-gentoo-r2
-rw-r--r-- 1 root root 3097424 Jul 24 16:38 kernel-genkernel-x86_64-2.6.34-gentoo-r2
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun Jul 25, 2010 1:13 pm Post subject: |
|
|
SnackMasterX,
genkernel doesn't always get your kernel right. Follow kernel-seeds.org.
Post problems in this thread where Pappy gives support.
Feel free to PM me a link to your post too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
SnackMasterX Apprentice
Joined: 26 Jan 2006 Posts: 231
|
Posted: Sun Jul 25, 2010 3:28 pm Post subject: |
|
|
So I resolved the issue, turns out the kernel config thought I was joking the first time I selected to build ext4 support into the kernel. I rebuilt my kernel and double checked that ext4 support was built in before compiling and now it works. Amazing what happens when your filesystem is supported by the kernel eh? |
|
Back to top |
|
|
|