custom kernel not booting
I've got a dell xps 13z laptop with a new fedora 17 install. The cypress trackpad doesn't have a driver, so tapping and gestures dont work and I can't control the backlight. So, I downloaded the 3.7.0 kernel sauce from the gnu site and applied patches from an arch linux package which has proper drivers and modifications to make it work. Recompiled the kernel just fine and installed it. I haven't done a kernel compile with patches like this before, and I think I forgot a step.
After copying the vmlinuz file to /boot and running dracut on it, then grub2-mkconfig -o /boot/grub2/grub.cfg, it made me an initramfs image and updated the config grub config.
I rebooted and tried to load the new kernel (3.7.0-ARCH, apparently). It doesn't work.
I get an error:
Just noticed that while in the dracut debug shell, /dev/sda doesn't exist, neither does /dev/by-label or /dev/by-uuid.
Any ideas what I missed?
Does the uuid the error message shows as 'does not exit' actually exist? Run blkid or ls /dev/disk/by-uuid.
What does fdisk show? Does sda exist?
Yup, the device exists.
# blkid /dev/sda2
/dev/sda2: LABEL="root" UUID="c94ab3c5-c58a-4bb8-b9d0-aac835c00402" TYPE="ext4"
fdisk shows that /dev/sda has partitions. This information gathered from a different (working) kernel.
It looks like a symlink to udevd in the initramfs isn't pointing to the right location. I can't seem to edit the image though. It's not gzip'd and it wont let me mount it. tells me invalid fs type.
edit 2: I went back and looked at my .config file and I noticed that I didn't compile in ext2 or ext3 support and ext4 was enabled as a module. I'm recompiling with them built in rather than a module. Hopefully this fixes it. :/
Dell XPS 13z
Rebuilding the kernel with the correct config worked perfectly.
I had a hard time getting the patches for the kernel in the first place. Took a bit of searching, so I hope this might help someone else. Here's how I got all the hardware to work. This is for a Dell Studio XPS 13z.
Download this stuff:
https://aur.archlinux.org/packages/l...nline-dellxps/ (these are kernel patches that the dell hws team applied to a kernel for ubuntu). Download the tarball
http://www.kernel.org/pub/linux/kern...nux-3.7.tar.gz This is kernel 3.7.
extract your tarballs to somewhere (In my case, /home/quyzi/Downloads)
cd into the directory of the linux kernel code
|All times are GMT -5. The time now is 01:07 AM.|