LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 02: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, 02:37 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
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, 02: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, 03: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, 01: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 01:17 AM.
 
Old 08-06-2008, 09: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


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


All times are GMT -5. The time now is 06:52 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