LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-29-2009, 10:32 AM   #1
jamesshill
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, 10:39 AM   #2
anonobomber
Member
 
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, 10:43 AM   #3
slacker_et
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 113

Rep: Reputation: 23
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.

Code:
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.

--ET

Last edited by slacker_et; 12-29-2009 at 10:45 AM.
 
Old 12-29-2009, 10:43 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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, 12:24 PM   #5
jamesshill
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
JSH
 
  


Reply


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


All times are GMT -5. The time now is 06:46 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration