You are not logged in.

#1 2010-05-20 19:12:42

nonpoly
Member
Registered: 2010-05-20
Posts: 1

Kernel compiling - mount failed: No such device?

Hello everyone!

I'm having an issue with mounting the linux kernel I've just compiled.  What I've done:

-  I've patched linux-2.6.33.3 with patch-2.6.33.3-rt19 by issuing bzcat ../patch-2.6.33.3-rt19.bz2 | patch -p1
-  sudo make -j4 all
-  sudo make modules_install
-  sudo mkinitcpio -g /boot/kernel26rt.img -k 2.6.33.3-rt19
-  sudo cp ./arch/x86/boot/bzImage /boot/vmlinuz2.6.33.3x86-rt
-  sudo cp ./System.map /boot/System.map2.6.33.3x86-rt
-  sudo rm /boot/System.map
-  sudo ln -s /boot/System.map2.6.33.3x86-rt /boot/System.map
-  Edit grub/menu.lst:

# (0) Arch Linux
title  Arch Linux2
root   (hd0,2)
kernel /vmlinuz26    root=/dev/disk/by-label/root ro
initrd /kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,2)
kernel /vmlinuz26    root=/dev/disk/by-label/root ro
initrd /kernel26-fallback.img

# (2) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1

# (3) RT Kernel
title RT Linux
root   (hd0,2)
kernel /vmlinuz2.6.33.3x86-rt root=/dev/disk/by-label/root ro
initrd /kernel26rt.img

Now when I select the rt kernel from grub, it fails with:

mount: mounting /dev/disk/by-label/root on /new_root failed: No such device

Can anyone help me figure out what went wrong?

-nonpoly

Offline

Board footer

Powered by FluxBB