Enable the GRUB boot loader - osdev

I made my kernel for my operating system. I want to boot the kernel with the GRUB boot loader. How do I link my .bin file created by the i686-elf-gcc using the -T parameter with GRUB? Any suggestions on how to do this?

To create the GRUB file, you can visit this link. It contains info about how to link your assembly and c kernel file and how to create a GRUB configuration file to create a bootable ISO file with the GRUB bootloader on it. The only thing about that tutorial is it expects you to have the gcc cross-compiler setup or the commands will not all work.

Related

Google Cloud Single-Node File Server add another disk

I made a fairly standard deployment of the Single-Node File Server on Google Cloud. It works fine as I can mount the file server's disk from other instances.
However, now I want to add another disk to the same file server. The documentation says I should use the following command to add another file system:
zfs create storagepool_name/file_system_name
I tried to run this command on the VM that is acting as the file server, but I get the error that the command zfs is not found.
Now I can probably install zfs myself, but I wonder whether that will somehow collide with whatever the deployment has already set up on the machine.
Is installing and setting up zfs myself a problem? If so, how do I add another disk to the file server?
I figured out what went wrong with my setup of the Single-Node File Server.
First, the default deployment settings seems to choose xfs as the default file system instead of zfs. The file server I had was using xfs, as can be seen in the metadata of the instance itself.
Secondly, as user John Hanley commented in my question, even with zfs selected as the file system, only the root user has its PATH variable set-up properly to be able to directly use the zfs command.

Boot arch linux in efi mode inside of vmware fusion

When I do ls /sys/firmware/efi there is no file or directory. Everything I looked up on booting in this mode does not help me with the vm. I looked at a link from the vmware website that said to go to vm > settings and enable efi instead of bios, but it is not there for me.
go to your vmware directory, on mine is ~/Documents/Virtual Machines.localized/{Machine Name}.vmwarevm. Edit the file {Machine Name}.vmx and add the line
firmware = "efi"

Installing VirtualBox on CentOS 7

error: file /lib/modules/3.14.32-xxxx-grs-ipv6-64/kernel: No such file or directory
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:
yum install devel-
(The last command may fail if your system is not fully updated.)
yum install devel
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
error: file /lib/modules/3.14.32-xxxx-grs-ipv6-64/kernel: No such file or directory
This system is not currently set up to build kernel modules (system extensions).
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
Please try to disable the secure boot option and try to install the virtual box in CentOS. I've also tried the following command with root but it didn't solve the problem. After disabling the secure boot option in bios fixed the problem.
/sbin/vboxconfig

Mount and Run an application programmatically in my Application

Is there any one who knows how may I run an application package programmatically by giving file location path. Like if I want to install a software that needs Java for OS X. Then I might download the dmg file in background from url, save it and mount it. Then launch the .app or .pkg inside that DMG. I 'm looking any solution either in objective C or simple C/C++.

See TraceEvents when debugging Windows Driver

I'm trying to learn how to develop drivers for Windows, and wonder how I use the TraceEvents command.
I understand that I can use TraceView on the target computer, and that it must have a pdb or ctl file. My question is how I get over these to the target computer.
When I check the settings under Configuration Properties -> Driver Install -> Deployment I can not find any settings to send these files to the target computer. Do I need to manually send over these files or is it any better method? Or can I follow the trace from my host system?