LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-05-2008, 01:26 PM   #1
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Rep: Reputation: 15
Lilo boots window's recovery partition


When I select windows on the lilo boot screen it starts my windows pc recovery!? I'm running slackware.
 
Old 08-05-2008, 01:37 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Could you post the output from fdisk to list what partitions you have?

fdisk -l

Could you post the contents of /etc/lilo.conf to show what partitions lilo knows about.

--------------
Steve Stites
 
Old 08-05-2008, 01:39 PM   #3
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
My guess is your recovery partition is the first partition on your disk and the installer mistook that for MS Windows. I would think you could straighten this out by (both as root) editing /etc/lilo.conf and then running the command lilo.

If you need more detailed help, please post the output of

Code:
fdisk -l
run as root, and the contents of /etc/lilo.conf
 
Old 08-05-2008, 02:47 PM   #4
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Original Poster
Rep: Reputation: 15
ohhh I have to run lilo for the changes to take effect?
 
Old 08-06-2008, 12:11 AM   #5
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by gNguyen View Post
ohhh I have to run lilo for the changes to take effect?
Yup. That is one of the differences between LILO and GRUB. To use a very imperfect analogy (if you happen to have done any programming), LILO is a bit like a compiled language (i.e. you have to run the "compiler") while GRUB is more like an interpretive language (you only have to change the config file).

Should I understand from your question that you have solved your problem?

EDIT: You should also be aware that LILO (unlike GRUB) stores the absolute locations of the files it uses. So if you change the absolute disk location of any of the files LILO uses to boot, you need to run lilo again or you can't boot. (I got burned by that one when I "defragged" a MS Windows partition that contained the (handful of) files for DAMN SMALL LINUX, which was one of multiple options for booting using LILO.)

Last edited by blackhole54; 08-06-2008 at 12:17 AM.
 
Old 08-06-2008, 08:48 AM   #6
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Yes, I fixed it thank you for all the help! Also thanks to blackhole54 for the info.
 
  


Reply

Tags
boot, lilo, partition



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
grub boots system recovery ololad8 Linux - Newbie 2 07-08-2006 11:32 AM
GRUB boots XP RECOVERY partition instead of XP. Miah Linux - Newbie 3 06-06-2006 11:00 AM
Lilo boots sproradically Socalguy Linux - Software 2 05-24-2006 12:15 PM
Fedora picked wrong partition for windows/boots to recovery simeandrews Fedora 6 06-21-2005 01:19 PM
lilo and changing where it boots from true_atlantis Linux - General 10 12-01-2003 04:56 PM

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

All times are GMT -5. The time now is 09:50 PM.

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