LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dual boot problem after windows 7 upgrade (https://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-problem-after-windows-7-upgrade-778698/)

jamesshill 12-29-2009 09:32 AM

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?

anonobomber 12-29-2009 09:39 AM

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.

slacker_et 12-29-2009 09:43 AM

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

pixellany 12-29-2009 09:43 AM

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.......;))

jamesshill 12-29-2009 11:24 AM

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


All times are GMT -5. The time now is 05:45 AM.