Note that there are some explanatory texts on larger screens.

plurals
  1. POKernel Panic - not syncing: VFS: Unable to mount root fs on unknown-bloc(8,2)
    primarykey
    data
    text
    <p>I am a spanish speaker so excuse me for my bad english.</p> <p>I am learning how to compile slackware kernel, so I have downloaded linux-3.2.7.tar.bz2 from <a href="http://www.kernel.org" rel="nofollow">http://www.kernel.org</a></p> <p>Conditions:</p> <ul> <li>Slackware installed on a vmware virtual machine.</li> <li>Host o.s windows 7.</li> <li>Slackware root filesystem: ext4</li> <li>Slackware old kernel: 2.6.37.6</li> </ul> <p>Basically I have followed the following steps:</p> <pre><code>#cd /usr/src #tar jvxf linux-3.2.2.tar.bz2 #mv /usr/src/linux /usr/src/linux.old #ln -s /usr/src/linux-3.2.2 /usr/src/linux #cd linux-3.2.2 #make mrproper #cp /usr/src/linux-2.6.37.6/.config /usr/src/linux-3.2.2/.config #make menuconfig </code></pre> <p>Load an alternate configuration file: .config INCLUDED (OPTION Y):</p> <p>ATA/ATAPI/MFM/RLL support (DEPRECATED) (at Device drivers)</p> <ul> <li>SCSI generic support (at Device drivers)</li> <li>second extended support (at filesystems)</li> <li>ext3 journaling (all)</li> <li>ext4 (all)</li> <li>ext4 (at filesystems)</li> <li>JBD (ext4) debuggin support</li> <li>JBD2 (ext4) debugging support</li> <li>ReiserFS support</li> <li>XFS filesystem support</li> <li><p>"compile kernel with debug info" (at kernel hacking)</p> <h1>make dep</h1> <h1>make clean</h1> <h1>make bzImage</h1> <h1>make modules</h1> <h1>make modules_install</h1> <h1>mv /boot/System.map /boot/System.map.old</h1> <h1>cp /usr/src/linux/System.map /boot/System.map-3.2.2</h1> <h1>ln -s /boot/System.map-3.2.2 /boot/System.map</h1> <h1>mv /boot/vmlinuz /boot/vmlinuz.old</h1> <h1>cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-3.2.2</h1> <h1>ln -s /boot/vmlinuz-3.2.2 /boot/vmlinuz</h1> <h1>nano -w /etc/lilo.conf</h1></li> </ul> <p>ADDED THE FOLLOWING LINES:</p> <pre><code>image=/boot/vmlinuz.old label = oldSlack root = /dev/sda2 read-only #lilo #lilo -q #shutdown -r now </code></pre> <p>When kernel 3.2.2 is booting, it stops showing the following:</p> <pre><code>VFS: Cannot open root device "802" or unknown-block(8,2) Please append a correct "root=" boot option Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-bloc(8,2) </code></pre> <p>I hate this message because I have recompiled the kernel many times, and after hours of compilation I always get this message. :(</p> <p>Can anyone help me to understand what I am doing bad or why is that error? </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload