Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-29-2009, 09:32 AM   #1
LQ Newbie
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
Question dual boot problem after windows 7 upgrade

after upgrading to windows 7 on a dual boot system the boot loader no longer gives me an option to go to linux. Instead, after a long delay (maybe about 60 sec.) it boots to windows 7. I can't seem to figure out how to reinstall lilo without starting over.
The original system ran windows vista and Slack-12 using the lilo boot loader. I realize that lilo is old but I was somewhat familiar with it it came with Slackware and it worked. If it's not broken why fix it. Well, now it's broken!
I have the original Slackware disk but did not make a recovery disk.
can any one help?
Old 12-29-2009, 09:39 AM   #2
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
Boot any live cd and chroot your linux system and rerun lilo. Search with your favorite search engine for 'chroot linux lilo' and you'll find a ton of sites with directions.
Old 12-29-2009, 09:43 AM   #3
Registered: Dec 2009
Distribution: Slackware
Posts: 138

Rep: Reputation: 27
1) Boot with the Slackware installation CD.
2) Mount the Linux filesystem(s).
3) Run/use the lilo command that is on the Linux filesystem. And use the "-r" option.

Example: Assuming your Linux is on /dev/hda2.
Run these commands from the prompt you get when booting with the Slackware installation CD.

mount /dev/hda2 /mnt
/mnt/sbin/lilo -r /mnt
Of course if your Linux is on more than one partition. You will also have to mount the other partitions in the proper sub-directories.
Specifically boot, dev, and etc.


Last edited by slacker_et; 12-29-2009 at 09:45 AM.
Old 12-29-2009, 09:43 AM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I'd say boot from any live CD and install GRUB. I frankly do not understand why anyone continues using LILO. (I guess converting me to Slackware is just about hopeless.......)
Old 12-29-2009, 11:24 AM   #5
LQ Newbie
Registered: Nov 2007
Posts: 2

Original Poster
Rep: Reputation: 0
boot loader solution

I used ET's suggestion and it worked great.
thaks to everyone for your help


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
dual boot windows and linux - upgrade XP to windows 7 farmerdave Linux - General 5 09-25-2011 08:13 PM
My FC6 / XP dual boot to FC10 / XP dual boot upgrade plan... is this sane? rylan76 Fedora - Installation 6 02-03-2009 07:31 AM
Dual boot -fedora core 4 and windows xp- problem booting from windows xp cd r_desu Linux - Newbie 4 06-17-2007 04:33 PM
Windows XP Suse 9.2 dual boot problem:Yast doesn't find windows Salawat SUSE / openSUSE 1 03-31-2006 04:33 AM
SUSE 9 Windows dual boot problem jds62f Linux - Newbie 4 09-09-2004 09:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 AM.

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