kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Cannot boot to compiled kernel
@ 2016-11-02 11:05 Daniel Bokser
  2016-11-02 11:27 ` Quentin Lambert
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Bokser @ 2016-11-02 11:05 UTC (permalink / raw)
  To: kernelnewbies

Hi Everyone,

I know this is probably the newbiest of questions, but I am trying to compile and boot off of the kernel.  
I am running Arch Linux and I am following this guide: https://wiki.archlinux.org/index.php/Kernels/Traditional_compilation

Despite using "linux480" below (I tried this a few weeks ago), the kernel version I am using is
Linux 4.9.0-rc3 "Psychotic Stoned Sheep" (I love these names). I use systemd-boot as a boot loader.

1) Pulled down kernel from git
2) Ran make localmodconfig
3) Ran make menuconfig and changed the local version to a custom string
4) Ran make 
5) Ran sudo make modules_install
6) Ran sudo cp arch/x86_64/bzImage /boot/vmlinuz-linux480
7) Added /etc/mkinitcpio.d/linux480.preset,
    which is similar to linux.preset except with linux480 names
8) Ran mkinitcpio -p linux480
9) Ran sudo cp System.map /boot/System.map-linux480
10) Added entry file to /boot/entries called linux480 and used the current entry as a template
11) Rebooted and selected linux480

Now I am thrown into the recovery shell with an 'Unable to find root device /dev/sdc2' (my SSD).
The real strange thing is that the (PS/2) keyboard doesn't work, so I can't even run commands.
Tried also USB keyboard to no avail.
I also have a bunch of "Unknown symbol" errors from scsi_mod which fill most of the screen. 

I'm thinking the RAM disk is bad, but not sure. No amount of Google-fu was able to help me out with this one. 

Any help would be appreciated.  Thank you!

-Daniel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-11-10 12:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-02 11:05 Cannot boot to compiled kernel Daniel Bokser
2016-11-02 11:27 ` Quentin Lambert
2016-11-03  2:56   ` Daniel.
2016-11-03 15:22     ` Matias Mucciolo
2016-11-08  4:26       ` Daniel Bokser
2016-11-08 10:28         ` Greg KH
2016-11-08 10:50         ` Andrey Skvortsov
2016-11-10  4:48           ` Daniel Bokser
2016-11-10 12:09             ` Daniel.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).