I'm using Salix 14.1 with Fluxbox and the default LILO on the MBR.
What do i have to install and how do i go about it? if i wanna switch to grub?
Been googling but i'm not sure i understood correctly:
1. remove LILO
2. install GRUB2 and os-prober
3. run grub-install as root
4. run update-grub as root
5. reboot
I'm not sure about this, (I am a little dense) would somebody please go step by step before i mess up and have to re-install?
Whatever happened to the idea of having the option of choosing lilo or grub during the installation ?
Thank you
Thanks,
How do i switch from LILO to Grub? [SOLVED]
How do i switch from LILO to Grub? [SOLVED]
Last edited by bobo on 5. Apr 2015, 19:37, edited 2 times in total.
Desktop: Celeron - 2 GB RAM - HD 160 GB - Slackel/Salix - icewm/jwm - Grub
KISS: Keep It Simple, Stupid
KISS: Keep It Simple, Stupid
Re: How do i switch from LILO to Grub?
I have to ask: why?
The procedure you're referring to should be fine. although I don't even remember the last time I used grub.
The procedure you're referring to should be fine. although I don't even remember the last time I used grub.
Re: How do i switch from LILO to Grub?
What I did was skip lilo in setup, and then "chroot /mnt" and "grub-install /dev/sdx"
In my case, the /dev/sdx was /dev/sda but it could be sdb or sdc depending on how many drives you got.
Since I had already written a grub.cfg by hand, there was no need for os-prober or update-grub.
You only need these scripts if you want to automatically create a new grub configuration.
In my case, the /dev/sdx was /dev/sda but it could be sdb or sdc depending on how many drives you got.
Since I had already written a grub.cfg by hand, there was no need for os-prober or update-grub.
You only need these scripts if you want to automatically create a new grub configuration.
Re: How do i switch from LILO to Grub?
Thanks Elcore, i will try that as soon as my electricity service is restablished.
I am posting from an internet cafe.
I am posting from an internet cafe.
Desktop: Celeron - 2 GB RAM - HD 160 GB - Slackel/Salix - icewm/jwm - Grub
KISS: Keep It Simple, Stupid
KISS: Keep It Simple, Stupid
Re: How do i switch from LILO to Grub?
@Elcore, i uninstalled salix and installed debian with grub, then reinstalled salix, omitted the lilo installation and rebooted,did the "upgrade-grub" as root from debian, and rebooted, now i got both distros on grub.
Desktop: Celeron - 2 GB RAM - HD 160 GB - Slackel/Salix - icewm/jwm - Grub
KISS: Keep It Simple, Stupid
KISS: Keep It Simple, Stupid
Re: How do i switch from LILO to Grub?
Yes, I can see how this might work, but is not very convenient to reinstall.
I would suggest backing up grub.cfg now, you may need it sometime later.
And if you want to configure it manually next time, there's this wiki article.
Specifically, there's a section about manual configuration, it works fine on any distro.
I would suggest backing up grub.cfg now, you may need it sometime later.
And if you want to configure it manually next time, there's this wiki article.
Specifically, there's a section about manual configuration, it works fine on any distro.
Re: How do i switch from LILO to Grub?
I know... but as the installation of salixos is so fast, i didn't know didly about grub, didn't take me long, as for the gentoo link, i save it for the next time. Right now I got debian/icewm and salix/jwm. Been playing with the idea of installing salix/ratpoison, it's only an "update-grub" awayelcore wrote:Yes, I can see how this might work, but is not very convenient to reinstall.
I would suggest backing up grub.cfg now, you may need it sometime later.
And if you want to configure it manually next time, there's this wiki article.
Specifically, there's a section about manual configuration, it works fine on any distro.
Later, and thanks again for all the info. Grub is for me.
Desktop: Celeron - 2 GB RAM - HD 160 GB - Slackel/Salix - icewm/jwm - Grub
KISS: Keep It Simple, Stupid
KISS: Keep It Simple, Stupid
Re: How do i switch from LILO to Grub?
Hi Elcore, i think i got it now.
For the following OSes, omit the boot installation (lilo or grub) boot the first OS and
Code: Select all
1.# slapt-get --remove lilo
2.# slapt-get -i grub
3.# grub-install /dev/sda (MBR)
4.# update-grub
5.# reboot
Code: Select all
#update-grub
#reboot
Desktop: Celeron - 2 GB RAM - HD 160 GB - Slackel/Salix - icewm/jwm - Grub
KISS: Keep It Simple, Stupid
KISS: Keep It Simple, Stupid