You are not logged in.

#1 2009-01-26 19:34:13

ybotspawn
Member
From: Oz
Registered: 2008-04-06
Posts: 140

replacing lilo with grub

I don't see a wiki for this so before I started playing with it, I thought I'd post up and ask.  Are there any special instructions on how to replace lilo with grub?  My thoughts were load the arch cd and tell it to install the grub bootloader and do a pacman -R lilo when I boot back into my system.  Any advice?

Thanks!


"As long as people are going to call you a lunatic anyway,
why not get the benefit of it? It liberates you from convention. "

Offline

#2 2009-01-26 20:46:18

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,563

Re: replacing lilo with grub

Arch comes with Grub. Did you already install, and used Lilo? Did you already have Lilo on the system, and now want to install Grub with Arch? If it's that last one, the Grub setup in the Arch install will wipe Lilo.

Please be more specific in the future - offer background info smile

Last edited by Ranguvar (2009-01-26 20:46:40)

Offline

#3 2009-01-26 21:23:49

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Re: replacing lilo with grub

Because I was already familiar with lilo (from Slackware) but not with grub, I actually kept using lilo for several years after first installing Arch, then decided to switch to grub.

I remember that this how-to was helpful for going from lilo to grub:

http://www.varesano.net/blog/fabio/conv … +lilo+grub .

This should be helpful if you've already installed lilo and now want to change to grub. It has the advantage of having been written by a fellow Arch user.

Last edited by dhave (2009-01-26 21:27:50)


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#4 2009-01-26 21:29:22

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: replacing lilo with grub

Just what I wanted to do too.

I have been using lilo.
I set up my /boot/grub/menu.lst
Translating /dev/sda5 -> (hd0,4) and appending kernel options.

But following the wiki, I get this error:

grub> root (hd0,4)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no

EDIT:
OK I got the files now after grub-install

Last edited by Procyon (2009-01-26 23:47:46)

Offline

#5 2009-01-26 21:41:19

ybotspawn
Member
From: Oz
Registered: 2008-04-06
Posts: 140

Re: replacing lilo with grub

lol sorry folks, im suffering a little bit of a headache today.  Yes this system was installed with lilo not grub.  I have been using lilo on this arch system for a little less than a year and now would like to switch to lilo.  Do I understand that I can just run the install cd and tell it to use the grub bootloader?  Thanks!


"As long as people are going to call you a lunatic anyway,
why not get the benefit of it? It liberates you from convention. "

Offline

#6 2009-01-26 23:11:28

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,563

Re: replacing lilo with grub

OK, so you already have Arch installed, and it's using LILO? Then don't run the installer again tongue

That link seems good. Basic procedure is to just remove LILO with pacman, install grub, read up on grub man pages to set up your config, and use grub-install to install GRUB to the MBR.

By the way, this may be worth checking out if you're up for a challenge smile

Offline

#7 2009-01-27 01:43:15

ybotspawn
Member
From: Oz
Registered: 2008-04-06
Posts: 140

Re: replacing lilo with grub

got it folks smile  thanks and sorry for the newbness, working on graphical grub smile


"As long as people are going to call you a lunatic anyway,
why not get the benefit of it? It liberates you from convention. "

Offline

Board footer

Powered by FluxBB