Sunday, May 8, 2011

OSDEV Series - Episode 1.3 - Babysteps

Section 1: Introduction
Episode 3: Babysteps




Covered topics in this episode:

Theory: the boot process, components of an operating system
Practice: setting up GRUB

In the next episode, we start writing our kernel, and we will learn more about kernel designs.

8 comments:

  1. i am getting this problem

    mkfs.msdos myos.img
    -bash: mkfs.msdos: command not found

    how pt can be solved

    ReplyDelete
  2. What operating system are you using? A linux distribution, windows with cygwin?

    The sudo command is specific to Ubuntu, Debian and other distributions based on these two (Mint etc). The reason it is used is that the normal user doesn't have the permissions to mount drives, or modify system files, so this is where the super user comes in (su or sudo). In different distributions, permissions may not be implemented in the same way. On windows, this is not the case, you don't need to use 'sudo' or 'su' or any similar command.

    ReplyDelete
  3. Oh, and about mkfs.msdos... The most likely problem is that you don't have this application, although afaik it comes with most distributions. Well, check in your package manager if you can find it, or look up on the internet.

    ReplyDelete
  4. thanx for reply, i m using window 7, i have searched on net,but they r not useful and i m still getting the same error.....plz suggest some other way....thanx

    ReplyDelete
  5. i m using windows with cygwin

    ReplyDelete
  6. There is another way... Mkfs is used to format the floppy image, but it is not the only way to do it.

    Generate the file using dd, like in the tutorial, and mount it using Virtual Floppy Drive. Format it using windows.

    ReplyDelete
    Replies
    1. Hey, I've got the same problem with mkfs.msdos. Searched for package in installation, but didn't find. Is there any way to fix it without this "Generate the file using dd, like in the tutorial, and mount it using Virtual Floppy Drive. Format it using windows."?

      Delete
    2. There might be an option to create a disk in Virtual Floppy Drive, but i'm not sure.

      Delete