You are not logged in.
Pages: 1
This is my first time compiling a custom kernel. I am trying to compile zen kernel 3.12.3. Whenever I try to boot it up, it says this:
ERROR: device '/dev/sda3' not found. Skipping fsck
ERROR: Unable to find root device '/dev/sda3'
Then it drops me to a recovery shell. When I look at the contents of '/dev' none of my partitions are found on sda. '/dev/sda' is listed but nothing else. Has anybody else had this problem? /i have read various fixes but none of them have helped.
Sorry this is my first post.
Thanks in advance.
Offline
What's the output of 'ls /dev/sd*'?
Check what partition your / is on.
Offline
What's the output of 'ls /dev/sd*'?
In the recovery shell it just outputs: '/dev/sda'. When I am booted into the regular Arch kernel it outputs:
/dev/sda
/dev/sda1
/dev/sda2
/dev/sda3
/dev/sda4
/dev/sdb(Which I can't figure out why this is here. I do not know if it is a cdrom or what.)
Check what partition your / is on.
It is /dev/sda3.
Offline
Maybe you should use filesystem labels or UUIDs to avoid any problems with potentially random disk naming.
Offline
Since you have sdb for some reason, UUIDs could indeed help.
Does your system boot OK with the stock kernel?
Offline
My system boots fine on the stock kernel. How to I find uuids? BTW I am running i686
Offline
Search the wiki: https://wiki.archlinux.org/index.php/UUID#by-uuid
https://wiki.archlinux.org/index.php/UU … ng_methods
Last edited by karol (2014-01-26 05:02:45)
Offline
My system boots fine on the stock kernel. How to I find uuids? BTW I am running i686
By default grub-mkconfig uses a uuid for root, so I tried to copy that uuid to my custom kernel in grub.conf and it still will not boot. Did I forget to include hardware drivers in my kennel or something?
Offline
How did you make the kernel? Did you use an AUR package, or did you compile it by hand? If rather sounds as though there is no initramfs for your custom kernel and you also don't have the necessary drivers compiled directly into your kernel.
Offline
How did you make the kernel? Did you use an AUR package, or did you compile it by hand? If rather sounds as though there is no initramfs for your custom kernel and you also don't have the necessary drivers compiled directly into your kernel.
I compiled it by hand. mkinitcpio complains that no modules were included in the initramfs. I am still using the initramfs though.
Offline
Well, the whole point of the initramfs is to have it load the necessary modules to mount the rootfs. So if mkinitpcio complains that there are no modules to put in there, that is pretty problematic.
I think you should take a look at the PKGBUILD for the official Arch kernel. It includes a few lines that allow you to use menuconfig or nconfig or whatever, prior to that actual 'make'. I think that any time you install things to your system, you should probably be leveraging the package manager in order to properly track the files. This is particularly true when you are an Arch user and the creation of packages is so damn easy.
Offline
Then would you recommend I compile zen kernel or arch kernel?
Offline
Make whatever you want. Just package it right, and make a proper mkinitpcio.d file for it.
I'm not sure if it is the patches you are after or the actual customization of the kernel. But heftig (an Arch developer) has a repo that has linux-zen in it. Here is the tread.
Offline
Make whatever you want. Just package it right, and make a proper mkinitpcio.d file for it.
I'm not sure if it is the patches you are after or the actual customization of the kernel. But heftig (an Arch developer) has a repo that has linux-zen in it. Here is the tread.
Thanks I will try this when I get home.
Offline
Thanks for your help everyone. I had to recompile my nvidia driver from the abs, but other wise I am fine.
Last edited by cjewe (2014-01-27 15:04:58)
Offline
Pages: 1