You are on page 1of 7

20BAI1008

PUJA SAI THANDAVAN

OS LAB2 - Boot Loader

Ex1:Create a first Bootloader that does nothing

1. Create a file firstBootLoader.asm

2. Install NASM

3. Compile the program

4. Create a floppy image


5. Attach the floppy image to the Virtual machine and boot
OUTPUT:
Blank Screen is displayed.

Ex2:Create 2nd Bootloader that prints 'A' on the screen

1. Create a file secBootLoader.asm


2. Compile the program and Create a floppy image

3. Attach the floppy image to the Virtual machine and boot

OUTPUT:
Letter ‘A’ is displayed on the screen.
Ex3:Hello World Bootloader
1. Create a file thirdBootLoader.asm

2. Compile the program and Create a floppy image

3. Attach the floppy image to the Virtual machine and boot


OUTPUT:
Hello World is printed on the screen

Ex4:Printing Regno and Name Bootloader

1. Create a file fourBootLoader.asm


2. Compile the program and Create a floppy image

3. Attach the floppy image to the Virtual machine and boot

OUTPUT:
My name and my Regno is printed on the screen

You might also like