LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2006, 11:13 AM   #1
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
disabling 1 boot loader, and enabling other


Hello.


I've installed twice Slackware 11 today,
the first I've stopped with CTRL+C in the middle cause of configuration error, and it did installed GRUB (somehow... cause i don't think it even includes it... I don't know where it came from...)


after the second installation (where I chose to install LILO offcourse) + after I restarted I got GRUB as my boot loader..

it had error, it just written GRUB in the top left side of the screen and done nothing! so I couldn't continue to the next step.

I'm thinking about inserting the SLACKWARE 11 installation disk just to get to a terminal or something to disable this grub... (which I couldn't find via : [find / -name "*grub*" -print])


what shall I do to enable LILO instead (I'm doing it without any OS installed ATM [well slackware is installed, but it can't run before I settle this boot-loader issue]), what shall I do??!
 
Old 10-20-2006, 11:21 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Boot into Slackware using your first installation disc (instructions are on the first screen you see when the cd boots). After that make an /etc/lilo.conf and then run /sbin/lilo. If lilo is not installed, make sure you install this first and then run /sbin/lilo.
 
Old 10-20-2006, 11:23 AM   #3
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
I've checked if it exsist, and it does.

afterwards I wrote : "/sbin/lilo" and it ran, but it said:

Code:
Warning Partition 2 on /dev/sda is not marked Active.

Added Windows *
Added Linux *
I restarted computer, and got the same result... a dummy GRUB is occupied my comp :P

what shall I do? what am I doing wrong? shall I run /sbin/lilo in other option? how can I delete this grub?

Thanks!

Last edited by itz2000; 10-20-2006 at 11:39 AM.
 
Old 10-20-2006, 11:49 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
As far as I know Slack doesn't use GRUB, so are you sure its not LILO? Also where exactly are you installing the bootloader?
 
Old 10-20-2006, 01:05 PM   #5
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by reddazz
As far as I know Slack doesn't use GRUB, so are you sure its not LILO? Also where exactly are you installing the bootloader?
I'm now more then sure that it remained with the FEDORA FC4 somehow..
(I'm also sure slackware doesn't include grub..)

it's on MBR..
 
Old 10-20-2006, 03:18 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Can you post your /etc/lilo.conf. What is your primary drive?
 
Old 10-20-2006, 03:41 PM   #7
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by reddazz
Can you post your /etc/lilo.conf. What is your primary drive?
I cannot post it since that computer is not connected to the internet (it's also not recognizing ethernet... [check out other thread])
\

meanwhile... tell me what to look for (mmm grep that line and I will write that line....)


primary drive in my opinion = root "/" : /dev/sda2
 
Old 10-21-2006, 03:38 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Check to make sure that in your /etc/lilo.conf, you have "boot=/dev/sda". If not, edit whatever is in the "boot" section and change it o "/dev/sda". After that run /sbin/lilo.

If you keep having problems try installing grub.
 
Old 10-21-2006, 05:24 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Would appear you had FC4 then installed Slack.
Also appears you interrupted the install of lilo. Installing lilo won't rewrite the MBR, so the old grub loader code will still be there, but unable to locate the stage files.

You need to have lilo installed, and run /sbin/lilo after configuring it appropriately, as mentioned above.
 
Old 10-21-2006, 08:58 AM   #10
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by reddazz
Check to make sure that in your /etc/lilo.conf, you have "boot=/dev/sda". If not, edit whatever is in the "boot" section and change it o "/dev/sda". After that run /sbin/lilo.

If you keep having problems try installing grub.
GREAT!
It worked! thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read-only file system after enabling/disabling root benn333 Ubuntu 2 02-25-2007 01:42 PM
Disabling/enabling the wireless card evilmonkey Linux - Hardware 5 05-17-2006 10:26 PM
LXer: Enabling and disabling services during start up in GNU/Linux LXer Syndicated Linux News 0 04-02-2006 06:33 AM
Disabling Synaptics Touchpad, Enabling PS/2 Mouse alex_denner Linux - Laptop and Netbook 2 11-28-2004 05:37 PM
Enabling DMA through boot loader (grub) bxb32001 Linux - Hardware 6 10-29-2003 12:01 PM


All times are GMT -5. The time now is 10:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration