Kernel panic - not syncing : attempted to kill int ! exit code=0x00007f00

This is not "memory issues or BIOS stuff" at all. The panic screen — which you have not transcribed in full in your question but really should so that the text will be indexed and people will find it in the future — says Comm: sh. That, plus the knowledge that this is the panic screen that results when process #1 exits with status code 127, tells us that you booted with init=/bin/sh, or that this is an init shell script that is provided in an initramfs.

In the former case, you explicitly did something to cause the shell to exit. In the latter case, something aborted within the shell script, which would have most likely printed an error message that has unfortunately scrolled off the screen.

You need to find out what that error is. Without it, you cannot diagnose this problem, as it could be any one of a number of very different things. Here are just some of the various possibilities:

  • kernel panic error in ubuntu 12.10 —
    /bin/sh: error while loading shared libraries:libc.so.6 cannot open shared object file:no such file or directory
  • https://bbs.archlinux.org/viewtopic.php?id=159565 —
    /bin/sh: nodevfs: No such file or directory
  • https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1421117 —
    /init: line 325: chroot: not found
    /bin/sh: 0: Can't open splash
  • https://unix.stackexchange.com/questions/244750/ —
    Targeted filesystem doesn't have requested /sbin/init.

Booting with a serial console (that can scroll back or display more than the 24 lines that your laptop's console does) attached is one way to find this out. Persuading the boot loader to switch the screen into, say, 50 line mode would be another.

Further reading

  • https://unix.stackexchange.com/a/195978/5132
  • https://unix.stackexchange.com/a/197472/5132