You are not logged in.

#1 2010-12-17 14:03:02

Igelmann
Member
Registered: 2010-12-17
Posts: 3

[Solved] Custom Kernel doesnt boot

Hi,
I built a custom kernel as described on this site (with arch build system):
https://wiki.archlinux.org/index.php/Cu … n_with_ABS

When i try to boot, it gives me the following error message:
"unable to determine minor/major number of root device"

in the recovery shell i tryed "ls dev" and it seems like there arent any partitions recognised.
I used the same kernel .config like in my debian system where it works just fine.
On debian i used "mkinitramfs" instead of "mkinitcpio".
But i dont see how that would change anything since I put all the important filesystem- and device drivers in the kernel anyways.

menu.lst: I copyed the entry from the standard arch install and just changed the the filenames in /boot
HOOKS="base udev pata scsi sata filesystems" (also tryed autodetect)
System: Thinkpad T23

The standard arch-kernel works fine and its the same version (2.6.36)

I hope you can help me

Last edited by Igelmann (2010-12-18 22:40:59)

Offline

#2 2010-12-17 14:27:53

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: [Solved] Custom Kernel doesnt boot

In menu.lst, in the kernel line how do you specify root=blah? When I built filesystem drivers into the kernel, I had problems when "blah" was UUID instead of /dev/sda*

Last edited by dyscoria (2010-12-17 14:28:08)


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#3 2010-12-17 16:12:43

Skyalmian
Member
Registered: 2009-06-28
Posts: 121

Re: [Solved] Custom Kernel doesnt boot

Did you change the highlighted portion to match the Kernel? If it is not changed to match then it will give precisely the error you mentioned.

Example wrote:

# (3)
title  Kernel GIT Testing
root   (hd0,0)
kernel /vmlinuz26-git root=/dev/disk/by-uuid/f03753dc-b48e-4796-b86b-970afef7be70 radeon.modeset=1
initrd /kernel26-git.img

Last edited by Skyalmian (2010-12-17 16:19:53)

Offline

#4 2010-12-17 16:58:58

Igelmann
Member
Registered: 2010-12-17
Posts: 3

Re: [Solved] Custom Kernel doesnt boot

thanks for the answers.
i tryed /dev/sda2 instead of uuid but the result was the same.
My menu.lst should match the kernel in /boot , here it is:

 # (0) Arch Linux
 title  Arch Linux
 root   (hd0,1)
 kernel /vmlinuz26 root=/dev/disk/by-uuid/1b0067cb-809b-4c85-801b-3b03350847ef ro quiet
 initrd /kernel26.img
  
 # (1) Arch Linux
 title  Arch Linux Fallback
 root   (hd0,1)
 kernel /vmlinuz26 root=/dev/disk/by-uuid/1b0067cb-809b-4c85-801b-3b03350847ef ro
 initrd /kernel26-fallback.img
 
 # (0) Arch Linux min
 title  Arch Linux min
 root   (hd0,1)
 kernel /vmlinuz26-min root=/dev/disk/by-uuid/1b0067cb-809b-4c85-801b-3b03350847ef ro quiet
 initrd /kernel26-min.img

$ls /boot/
grub                   kernel26.img               kernel26-min.img  System.map26      vmlinuz26
kernel26-fallback.img  kernel26-min-fallback.img  lost+found        System.map26-min  vmlinuz26-min

seems right to me

Last edited by Igelmann (2010-12-17 17:03:19)

Offline

#5 2010-12-18 22:40:46

Igelmann
Member
Registered: 2010-12-17
Posts: 3

Re: [Solved] Custom Kernel doesnt boot

I actualy just forgot some kernel device drivers

Offline

#6 2010-12-21 18:32:59

nspattak
Member
From: Greece
Registered: 2008-05-21
Posts: 22

Re: [Solved] Custom Kernel doesnt boot

would you mind sharing them with us? it might help in the future.

Offline

Board footer

Powered by FluxBB