Help & lead me to the end. VFS: readonly/fs couldn't mount.
In a case of root=/dev/ram0 real_root=/dev/sda2
No filesystem could mount root, tried: ext3 ext2...
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
http://imageplay.net/img/tya22288136/IMG0204A.jpg (real_root - real panic)
The case of omitting real_root and using just root=/dev/sda2
VFS: Mounted root (ext2 filesystem) readonly on device 8:2
http://imageplay.net/img/tya22288134/IMG0203A.jpg - after the last line hangs without panic (alt+sysrq+b helps)
List of all partitions (before kernel panic string):
0800 62522712 sda driver: sd
0801 204800 sda1 00000000-........0
0802 53928280 sda2 0...............0
0803 8388608 sda3 0........0
Pid: 1, comm: swapper/0 Not tainted 3.4.9-gentoo #7
But, firstly about my system (wgetpaste -c lspci)
/etc/fstab (May it be wrong without /shm?)
dmesg (right after boot from installation usb)
And in the hope of "Chapter 7", Linux Sea - my case could be some overlooked controller for my SSD Crucial M4 64. I need to clarify SSD is different with HDD in Kernel Setup? Or slightly.. mb AHCI+SATA+RAID is a must chain? As I have an AMD (asrock mb) I couldn't find where is my missed option PIIX (Intel PIIX or AMD analogy).
RAM and root file system support seem to be not very far from working system:
- genkernel failed in the same way (VFS). That's why i began my long path make && make_modules
I've done the kernel without initramfs[*] and 2 partitions in ext2 (/boot ,/ ) in order to lessen the possibility of fail (esp on SSD). I can't fild those two in kernel except for Marvell:
Why bzImage is in arch/x86/boot/bzImage (x86_64 only links to x86). And what i'm doing - recompiling kernel again & again with replaceing with cp.
Based on Pappy Kernel Seeds. ((Thanks to all you.. to this forum, the art of not being rude to ppl. with creative environment))
I am not any specialist in linux but I understand that when you want to boot your system with initramfs then you get boot error? If u use normal boot then everything is fine? So why should you bother yourself with initramfs? You should also configure your use flags better. It's not enough of them Most of people have about 7 lines of USE flags. Sometimes when you compile packages with small amount of USE flags then (as I read somewhere) you may get no help. Are you new to gentoo? List of useflags :
I know this thread is old, but hopefully the OP will still see this. I have a Gentoo install and an M4 SSD as well. I'm currently using kernel 3.6.6. I do things a little differently than using Pappy's seed; I grab Slackware's kernel config, run make menuconfig (or make oldconfig), and just compile-in the stuff I need. Although their kernel version is old, they give me good starting configs (most drivers are built as modules which makes your kernel more flexible for different hardware). After an initial boot you can see which modules loaded and compile them in. The Debian HCL list is very useful but I found it doesn't pick up everything unfortunately. Another option would be use an Archlinux USB stick and see what modules it digs up for you.
1) The root=/dev/sda2 is the entry you want to use; you aren't getting a kernel panic but something else is hanging. Can you try hitting Ctrl-C and see if gentoo will finish booting? If so, something else is causing the hangup: a flaky module or init script possibly?
Here's my menu.lst:
title Gentoo Linux 3.6.6
kernel /boot/kernel-3.6.6-gentoo root=/dev/sdc2 raid=noautodetect
title Gentoo Linux 3.6.6 Console
kernel /boot/kernel-3.6.6-gentoo root=/dev/sdc2 softlevel=console video=vesafb:vga=0x34D:raid=noautodetect
2) PIIX4 PATA/SATA support. I usually build that in.
3) I don't use a ramdisk; if you compile in the correct drivers you won't need one.
Also, check out archwiki's SSD page for info on optimizing your SSD for use in Linux. I set my I/O scheduler to noop and enable the trim flag in /etc/fstab for example.
Here's a working kernel config for me (I have an intel motherboard but it might help you):
If You want to use initramfs then you should read how to first (everything is in google and on gentoo wiki) and don't use all default files from gentoo installation how to. This tutorial is made to explain how should everything be done but files may be different on different computers I mean that You shouldn't use grub.cfg from tutorial or /etc/fstab. You should write them by yourself according to hardware you have and how you use it.
|All times are GMT -5. The time now is 03:07 PM.|