You are not logged in.

#1 2011-08-01 21:26:56

Simz
Member
Registered: 2011-08-01
Posts: 3

[solved] Error booting custom kernel built using makepkg

Hi,

I have problems booting a custom kernel built using makepkg... I'm not modifing any config. Just applying an acpi patch.

ERROR:

Root device '/dev/disk/by-uuid/b76ee42b-ee19-4626-8635-fe38086ca0e0' doesn't exist.
Attempting to create it.
ERROR: Unable to determine major/minor number of root device '/dev/disk/by-uuid/b76ee42b-ee19-4626-8635-fe38086ca0e0'.


menu.lst

#not working acpi patched kernel
title  Arch Linux (lt22 2.6.39)
root   (hd0,0)
#kernel /vmlinuz26 root=/dev/disk/by-uuid/b76ee42b-ee19-4626-8635-fe38086ca0e0 ro
kernel /vmlinuz26 root=/dev/sda3 ro quiet
initrd /kernel26-lt22.img

# working stock kernel
# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/b76ee42b-ee19-4626-8635-fe38086ca0e0 ro
initrd /kernel26.img


I've also tried to replace the uuid with /dev/sda3 without success.

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

UUID=b76ee42b-ee19-4626-8635-fe38086ca0e0 / ext4 defaults 0 1
UUID=bbae9320-d4f1-4fd9-9008-e4ab4182cda9 swap swap defaults 0 0
UUID=c8e2950f-d9ef-4bc3-92cb-d2c4f99329e0 /boot ext2 defaults 0 1
UUID=f7c7b731-25bf-4f19-8e11-81490099a449 /home ext4 defaults 0 1



ls -l /dev/disk/by-uuid/
lrwxrwxrwx 1 root root 10 Aug  1 17:05 b76ee42b-ee19-4626-8635-fe38086ca0e0 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug  1 17:05 bbae9320-d4f1-4fd9-9008-e4ab4182cda9 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug  1 17:05 c8e2950f-d9ef-4bc3-92cb-d2c4f99329e0 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug  1 17:05 f7c7b731-25bf-4f19-8e11-81490099a449 -> ../../sda4

Last edited by Simz (2011-08-02 00:01:11)

Offline

#2 2011-08-01 22:56:55

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: [solved] Error booting custom kernel built using makepkg

Simz wrote:

kernel /vmlinuz26 root=/dev/sda3 ro quiet
initrd /kernel26-lt22.img

Shouldn't it be vmlinuz-lt22?

Offline

#3 2011-08-01 23:24:13

Simz
Member
Registered: 2011-08-01
Posts: 3

Re: [solved] Error booting custom kernel built using makepkg

Right on !
thank you very much sir !

Offline

#4 2011-08-01 23:56:45

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: [solved] Error booting custom kernel built using makepkg

Glad I could help. Don't forget to set the thread as solved by editing the title of your first post.

Offline

Board footer

Powered by FluxBB