Installing Linux Mint in Virtual Box Win10 Kernel panic - linux

first up I don't even know if this is the right thread to post in, if not I'm sorry.
For my OS-class I need to install Linux Mint in Virtual Box.
I don't have any experience in that sort of thing and don't even know how I barely passed my programming class last year.
So. I installed Virtual Box. Downloaded the Linux Mint 64-bit ISO file?
I started a new machine in Virtual Box called it "Linux Mint", type Linux, Version other Linux (64-bit).
No problem so far. Then I configured all the stuff they ask you. (Yes, I have exactly no clue what I'm doing.)
Now. I started the machine and entered the previously downloaded file linuxmint-20-cinnamon-64bit.
That works, then the Virtual Box screen comes up, quickly after that it changes to the Linux Mint start screen saying "Welcome to Linux Mint 20 Cinnamon 64-bit" and below that options what to do. First of them is "Start Linux Mint".
If I either wait for it to boot automatically or click "Start Linux Mint" it takes a second and then comes up with the error message:
Kernel panic - not syncing: No working init found. Try passing init= option to kernel.
So, I don't know what that means. Can anyone help me with that?
Thanks in advance!

The issue has been resolved!
The ISO wasn’t corrupted, I just had to give the virtual machine more RAM. The suggested 512MB weren’t enough, I upped it to about 1.5GB and then it just worked.

Related

how to save a linux kernel and modules for use in other distro

Long story short, I bought a pre-installed linux laptop and would like to be able to run other linux distros, but use the same linux drivers w/ other distro so as to have all my hardware work flawlessly as it does with the custom linux Ubuntu 14.04 LTS.
If I could save or copy all of my hardware drivers someplace to reinstall once I've got a new linux distro installed.
So far I think the answer lays in compiling a linux kernel and modules from my running linux laptop, and try to get flashed in my new linux distro that I'm installing. Not sure if that will work? or is the easiest method.
Any help or ideas would be greatly appreciated.
i just want my linux workstation hardware to work as good as it does w/ Ubuntu 14.04, with any linux distro I choose to try.
Thanks in advance
A bit weired, but, as far as I gnow:
you can do the thing you ask for to customize the same distribution.
"Compiling a linux kernel and modules from my running linux laptop": You said the running one, so You can pick it instead directly from "/boot/vmlinuz-KERNEL_VERSION
"If I could save or copy all of my hardware driver": You can copy the content of "/lib/modules/KERNEL_VERSION" folder in the same emplacement in the target. This folder contains kernel modules, among others, device drivers.
After having these in place, you can make the drivers working with "modprobe", you should have a list for all modules (you might use "lsmod" in the original system) and load them one by one or find a way that manage to load them all at once for you; in CentOS, there is a scrpit "/etc/rc.d/rc.sysinit" that can among other stuffs, do that for you.
I really wonder why you are worried about drivers on Linux distributions, coz, as far as I know, they are really good when it comes to device drivers.

Touchpad on mac not working when ubuntu 12.04 is on .. how to fix touchpad in ubuntu on macbook pro?

So this is my problem :
I have a macbook pro. I have installed linux on a separate partition (Ubuntu 12.04) and everything was working fine (touchpad, keyboard, etc) and it was perfect. One day, I decided to download a program called wine for gaming purposes. After I did that and rebooted, the mouse (or touchpad) wouldn't work anymore (NOTE: The touchpad is working fine when I boot into mac osx but it does not work when I boot into ubuntu). Now I don't know if the direct cause for it not to work is me downloading wine or if its for any other reason, my question is:
How can I solve this problem?
How do I completely remove wine from my system with all of the files that come with it ? (If that even is the problem)
Is there some kind of configuration file for the touchpad found in the ubuntu system ? If so how do i access it and check it and alter it to work again or something. I just need any solution to this problem I really need the touchpad to work again. NOTE: Connecting an external mouse while booted in ubuntu MAKES THE MOUSE WORK but I don't want that I want the touchpad of the macbook pro to work.
Another side note : the program i use to dual boot is rEEfit.(I can access EFI shell from there .. Is that useful at all ?)
Thanks in advance ..
Wine is a software which helps to run windows applications under linux OS. It has nothing to do with your macbook touchpad drivers. Did you install any drivers or enable any PPAs? did you do a system upgrade just before it worked?
The touchpad on Macbook has always been less than perfect under Ubuntu but have a look at this answer here and the guides here. If you still cannot get it working it might be better if you post the question on Ask Ubuntu.

how to install XMHF on ubuntu 12.04

I am new to linux OS. According to the requirement of my project I have to install extensible Hypervisor Framework( XMHF) and then build the required hypapp over it. Grub is supposed to load the XMHF at boot time and then the ubuntu OS has to laod over it, But when i am trying to boot the system according to the steps mentioned to install XMHF the system stops at the Starting up.... state at the time of booting. I dont know where i have done mistake. I have checked it many times but nothing useful. Can anyone please help me with this?? "Installing XMHF" manual can be found at http://xmhf.sourceforge.net/doc/xmhf/doc/installing-xmhf.md.html
My grub entry for XMHF is
title XMHF
rootnoverify (hd0,0) // as i have no primary partition for the hard drive
kernel /boot/init-x86.bin
module /boot/hypervisor.bin.gz
modulenounzip (hd0)+1
I had the exact same problem.
I had to properly configure serial output, either physically or serial-over-lan, to see XMHF's output. In my case, I missed a Intel VT related switch in BIOS.
How to configure serial console can be found here: https://www.cyberciti.biz/faq/linux-serial-console-howto/
go through this http://xmhf.sourceforge.net/doc/xmhf/doc/installing-xmhf.md.html this will be helpful :D

How to install SmartOS in a Linux KVM instance?

I need to test a program on SmartOS. I don't have any spare systems lying around so I wanted to install it into a KVM image on my GNU/Linux distribution. I've installed Solaris 11 that way and that worked pretty well.
I downloaded the ISO and booted it inside KVM and the installation appeared to work fine. However when I boot the virtual machine it always starts to come up and says:
Booting from harddisk ...
and then it just sits there, with the virtual CPU pegged, and never proceeds any further. No key presses appear to do anything (except Ctrl-Alt-Del which starts the boot again, giving the same result).
I created my KVM from virt-manager with 2G RAM, 2 CPUs, 50G of disk space using a "raw" disk format, and selected "Solaris" / "OpenSolaris" as the OS type.
I don't have a copy of VMWare and it seems really expensive to get one for Linux, so I don't think using the SmartOS VMWare image is an option for me.
Anyone have any hints? Google shows me lots of information about creating Linux instances inside SmartOS KVMs, but nothing on doing it the other way.
I figured it out with some help from the mailing list. SmartOS is a PXE booting operating system: it doesn't actually install to the harddisk. When my installation was complete and the VM rebooted KVM automatically unmounted the ISO file from my virtual CDROM, so on boot it was looking for a PXE image to boot from and couldn't find it.
All I had to do was re-attach the ISO file to the virtual CDROM and it worked fine after that. Ugh.

Cross Compiling Linux Kernels and Debugging via VMware

I'm considering doing some Linux kernel and device driver development under a vmware VM for testing ( Ubuntu 9.04 as a guest under vmware server 2.0 ) while doing the compiles on the Ubuntu 8.04 host.
I don't want to take the performance hit of doing the compiles under the VM.
I know that the kernel obviously doesn't link to anything outside itself so there shouldn't be any problems in that regard, but
are there any special gotcha's I need to watch out for when doing this?
beyond still having a running computer when the kernel crashes are there any other benefits to this setup?
Are there any guides to using this kind of setup?
Edit
I've seen numerous references to remote debugging in VMware via Workstation 6.0 using GDB on the host. Does anyone know if this works with any of the free versions of VMWare such as Server 2.0.
I'm not sure about ubuntu thing. Given that you are not doing a real cross compilation (i.e. x86->arm), I would consider using make-kpkg package. This should produce an installable .deb
archive with kernel for your system. this would work for me on debian, it might for for you
on ubuntu.
more about make-kpkg:
http://www.debianhelp.co.uk/kernel2.6.htm
I'm not aware of any gotchas. But basically it depends what kind of kernel part you
are working with. The more special HW/driver you need, the more likely VM won't work for you.
probably faster boots and my favorite is the possibility to take screenshot (cut'n'paste) of panic message.
try to browse to vmware communities. this thread looks very promising, although it dicusses
topic for MacOS:
http://communities.vmware.com/thread/185781
Compiling, editing, compiling is quite quick anyway, you don't recompile you whole kernel each time you modify the driver.
Before crashing, you can have deadlock, bad usage of resource that leads to unremovable module, memory leak etc ... All kind of things that needs a reboot even if your machine did not crash, so yes, this can be a good idea.
The gotchas can come in the form of the install step and module dependency generation, since you don't want to install your driver in the host, but in the target machine.

Resources