LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-21-2008, 08:28 AM   #1
AerS
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Rep: Reputation: 0
slackware 12 forgot install lilo


Hi again (:

I just install slackware 12 in my pc with windows xp...
Thinkin in have grub for boot loader i SKIP the liloconfig in slack install
to configure grub later..
BUT.. when the slack install over, it asked to reboot.. so what happen? the
the PC load windows(omg! ^^)

what can i do now? can i download files on net for lilo or grub to load it from disket ? or there is another way to configure boot ?!

thank you

cya
 
Old 01-21-2008, 10:25 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
You can install lilo by booting from the Slackware install CD (or DVD) again. You can tell the installer to start the Slackware that sits on your hard disk! There, you can run "liloconfig" and install lilo to fix your problem.

When the CD boot-up is complete you will see the message on-screen:
Code:
In a pinch, you can boot your system from here with a command like:

boot: hugesmp.s root=/dev/hda1 rdinit= ro 

In the example above, /dev/hda1 is the / Linux partition.
This is what you should do. If your root linux partition is something other than /dev/hda1 you should use that device in the command of course.

Now, the Slackware that you installed on the computer will start. You log on as root, with the password you supplied during setup. Then run
Code:
liloconfig
and follow directions. Since you already have MS Windows installed on your PC, the best option would be to install lilo into the MBR and let "liloconfig" detect and add your Windows partition as a selection in the lilo menu.

If that scares you, you will have to install lilo into the Slackware root partition, and then adapt C:\boot.ini so that Windows adds an entry to start Slackware in the Windows bootloader menu. You will have to read a Windows/Linux dualboot howto if you do not know what is required to let Windows boot your Slackware installation. Google for "linux windows dualboot dd 512"

Eric
 
1 members found this post helpful.
Old 01-21-2008, 11:56 AM   #3
AerS
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Original Poster
Rep: Reputation: 0
thank you Alien Bob
it works!
Cya =@
 
  


Reply



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
i seem to have forgot to run lilo... systelm Linux - Kernel 2 06-05-2006 05:41 AM
lilo ntldr missing after running lilo after slackware install SeriousArnoud Slackware 1 08-16-2005 09:07 AM
Forgot to run /sbin/lilo justin_p Slackware 3 08-26-2004 06:53 AM
What to do when you forgot to 'lilo'...(my little guide) RohanRNS Slackware 14 05-05-2004 07:45 AM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:11 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
Open Source Consulting | Domain Registration