LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 08-05-2008, 02:26 PM   #1
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67
Thanked: 0
Lilo boots window's recovery partition


[Log in to get rid of this advertisement]
When I select windows on the lilo boot screen it starts my windows pc recovery!? I'm running slackware.
gNguyen is offline  
Tag This Post , , ,
Reply With Quote
Old 08-05-2008, 02:37 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: atop the Blue Ridge
Distribution: Debian Lenny, CentOS 5.2
Posts: 7,250
Thanked: 31
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
jailbait is offline     Reply With Quote
Old 08-05-2008, 02:39 PM   #3
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,866
Thanked: 25
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
blackhole54 is offline     Reply With Quote
Old 08-05-2008, 03:47 PM   #4
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67
Thanked: 0

Original Poster
ohhh I have to run lilo for the changes to take effect?
gNguyen is offline     Reply With Quote
Old 08-06-2008, 01:11 AM   #5
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,866
Thanked: 25
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..
blackhole54 is offline     Reply With Quote
Old 08-06-2008, 09:48 AM   #6
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67
Thanked: 0

Original Poster
Yes, I fixed it thank you for all the help! Also thanks to blackhole54 for the info.
gNguyen is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 05:45 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration