docs icon indicating copy to clipboard operation
docs copied to clipboard

Improving manual linux installation guide

Open FrosT2k5 opened this issue 2 years ago • 9 comments

  • Specify grub.d file to paste menuentry to, also specify to update-grub
  • Making data.img size changeable

FrosT2k5 avatar Jun 13 '22 14:06 FrosT2k5

sudo update-grub doesn't work on all distros and should be replaced with sudo grub-mkconfig -o /boot/grub/grub.cfg

saikat0511 avatar Jun 23 '22 18:06 saikat0511

sudo update-grub doesn't work on all distros and should be replaced with sudo grub-mkconfig -o /boot/grub/grub.cfg

Can u tell which distros it doesn't work in? I used debian based distros and it works fine in that. And not sure if it'll mess something up with regular update-grub command

FrosT2k5 avatar Jun 24 '22 18:06 FrosT2k5

sudo update-grub doesn't work on all distros and should be replaced with sudo grub-mkconfig -o /boot/grub/grub.cfg

Can u tell which distros it doesn't work in? I used debian based distros and it works fine in that. And not sure if it'll mess something up with regular update-grub command

update-grub is a debian exclusive command

literally any other distro that is not debian needs to use sudo grub-mkconfig -o boot/grub/grub.cfg

Snivine avatar Jun 29 '22 12:06 Snivine

I use Endeavour (arch) and It does not work on it

Snivine avatar Jun 29 '22 12:06 Snivine

sudo update-grub doesn't work on all distros and should be replaced with sudo grub-mkconfig -o /boot/grub/grub.cfg

Can u tell which distros it doesn't work in? I used debian based distros and it works fine in that. And not sure if it'll mess something up with regular update-grub command

All non-debian distros basically. update-grub is just a wrapper for grub-mkconfig -o boot/grub/grub.cfg to make it easier to use. Check it for yourself, cat $(which update-grub)

saikat0511 avatar Jun 29 '22 13:06 saikat0511

I replaced it, thanks for heads up. Let me know if you have anything else to change in this pr

FrosT2k5 avatar Jun 29 '22 15:06 FrosT2k5

you should add something along the lines of, "As an example for grub..." and "on other bootloaders you will need to adapt it to your needs"

Quackdoc avatar Jun 29 '22 18:06 Quackdoc

you should add something along the lines of, "As an example for grub..." and "on other bootloaders you will need to adapt it to your needs"

I don't think it's needed Most of the linux distros use grub as default and people who install distros without grub are experienced enough to configure things for their distros. I think if we add this it'll just create confusion for the newbies about figuring out which bootloader they use

FrosT2k5 avatar Jun 29 '22 18:06 FrosT2k5

a few distros are migrating away from grub, IE. popos. it won't add any more confusion or headache then trying to add a menu entry manually

Quackdoc avatar Jun 29 '22 19:06 Quackdoc