wyoos icon indicating copy to clipboard operation
wyoos copied to clipboard

Package grub-legacy is not available

Open sloganking opened this issue 5 years ago • 16 comments

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.

sloganking avatar Nov 14 '19 09:11 sloganking

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

Juha3141 avatar Nov 24 '19 05:11 Juha3141

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

circutrider21 avatar Apr 29 '20 19:04 circutrider21

I did install grub2 and this worked for me.

M1sterPl0w avatar Sep 14 '21 08:09 M1sterPl0w

Are people still using this tutorial?

circutrider21 avatar Sep 14 '21 15:09 circutrider21

Are people still using this tutorial?

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

fgsoftware1 avatar Sep 14 '21 17:09 fgsoftware1

@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
  • Stivale2 Barebones - A kernel written in C that uses limine bootloader
  • Osdev Wiki - The greatest resource to a hobby operating system developer

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!

circutrider21 avatar Sep 14 '21 17:09 circutrider21

@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
  • Stivale2 Barebones - A kernel written in C that uses limine bootloader
  • Osdev Wiki - The greatest resource to a hobby operating system developer

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

fgsoftware1 avatar Sep 14 '21 18:09 fgsoftware1

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.

circutrider21 avatar Sep 14 '21 18:09 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

fgsoftware1 avatar Sep 14 '21 18:09 fgsoftware1

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.

circutrider21 avatar Sep 14 '21 18:09 circutrider21

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

fgsoftware1 avatar Sep 14 '21 18:09 fgsoftware1

@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 :)

M1sterPl0w avatar Sep 15 '21 07:09 M1sterPl0w

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

circutrider21 avatar Sep 15 '21 11:09 circutrider21

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

he talking about this tutorial i think

fgsoftware1 avatar Sep 15 '21 12:09 fgsoftware1

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?

M1sterPl0w avatar Sep 15 '21 12:09 M1sterPl0w

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

fgsoftware1 avatar Sep 15 '21 12:09 fgsoftware1