AlgorithMan-de / wyoos

Source codes for the "Write your own Operating System" video-series on YouTube
http://wyoos.org
GNU General Public License v3.0
719 stars 222 forks source link

Package grub-legacy is not available #16

Open sloganking opened 4 years ago

sloganking commented 4 years ago
Package grub-legacy is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  grub-coreboot:i386 grub-coreboot grub2-common:i386 grub-pc:i386 grub-ieee1275:i386 grub-efi-ia32:i386
  grub-efi-amd64:i386 grub2-common grub-pc grub-ieee1275 grub-efi-ia32 grub-efi-amd64

E: Package 'grub-legacy' has no installation candidate

Error received on Linux Mint 19.1.

Juha3141 commented 4 years ago

try this:sudo apt-get install grub-legacy if this isn't work then you should update apt-get repository or upgrade

circutrider21 commented 4 years ago

Grub-legacy isn't no longer available. Instead you should use grub-common which has all the tools that grub legacy had.

M1sterPl0w commented 2 years ago

I did install grub2 and this worked for me.

circutrider21 commented 2 years ago

Are people still using this tutorial?

fgsoftware1 commented 2 years ago

Are people still using this tutorial?

im mixing various tutorials. if you want take a look repository

circutrider21 commented 2 years ago

@fgsoftware1 Don't create a 32-bit kernel, its 2021 and i386 came out in the 90s. Instead target x86_64, which most computers use nowadays

Also, you should look at these 2 resources...

  1. Use a acutal build system (I prefer GNU Make or Meson), using a shell script isn't the best of ideas
  2. Check out these 2 sites

If you have any questions, just ask here or on the Osdev Discord (I am devlooper on discord) With that said, I wish you the best of luck!

fgsoftware1 commented 2 years ago

@fgsoftware1 Don't create a 32-bit kernel, its 2021 and i386 came out in the 90s. Instead target x86_64, which most computers use nowadays

Also, you should look at these 2 resources...

  1. Use a acutal build system (I prefer GNU Make or Meson), using a shell script isn't the best of ideas
  2. Check out these 2 sites

If you have any questions, just ask here or on the Osdev Discord (I am devlooper on discord) With that said, I wish you the best of luck!

im migrating system to 64-bit and i use ninja to build

circutrider21 commented 2 years ago

Well, using writing ninja files by hand can get tedious, since ninja lacks the expression evaluation features of make. I also didn't notice that you we're migrating to 64-bit, my bad.

fgsoftware1 commented 2 years ago

Well, using writing ninja files by hand can get tedious, since ninja lacks the expression evaluation features of make. I also didn't notice that you we're migrating to 64-bit, my bad.

im following this https://github.com/davidcallanan/os-series

circutrider21 commented 2 years ago

That's a good resource I guess. Its more modern then this tutorial, that's for sure. You should see the links I sent earlier, they are what I used when I was starting.

fgsoftware1 commented 2 years ago

That's a good resource I guess. Its more modern then this tutorial, that's for sure. You should see the links I sent earlier, they are what I used when I was starting.

thanks

M1sterPl0w commented 2 years ago

@fgsoftware1 @circutrider21

Well, using writing ninja files by hand can get tedious, since ninja lacks the expression evaluation features of make. I also didn't notice that you we're migrating to 64-bit, my bad.

im following this https://github.com/davidcallanan/os-series

I guess this is more clear and modern, but it is far too shallow. He hasn't talked about GTD, Interrupts, networking e.g. And he isn't probably doing that in the near future. I am like many other an absolute beginner. This tutorial may be old, but its a starting point. OsDev.org is nice, but it isn't very handy to start.

Maybe you guys have a nice alternative :)

circutrider21 commented 2 years ago

Are you talking about this tutorial. Or the one fgsoftware is using

fgsoftware1 commented 2 years ago

Are you talking about this tutorial. Or the one fgsoftware is using

he talking about this tutorial i think

M1sterPl0w commented 2 years ago

Are you talking about this tutorial. Or the one fgsoftware is using

I was talking about the tutorial from David Callanan. This is more clear e.g. But this isn't quite extensive. The tutorial from this repo offers more information. If wyoos tutorial is not good, to start with, what is?

fgsoftware1 commented 2 years ago

Are you talking about this tutorial. Or the one fgsoftware is using

I was talking about the tutorial from David Callanan. This is more clear e.g. But this isn't quite extensive. The tutorial from this repo offers more information. If wyoos tutorial is not good, to start with, what is?

take a look at this repo