Visit Jeremy's Blog.
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 06-12-2012, 01:16 PM   #1
LQ Newbie
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
Can't boot win7


Hello fellow...linuxers(I guess). I recently (2 months ago) installed Slackware 13.37 and with it, LILO. This is the first time I've needed to dual boot between Slackware and another OS. Below is my lilo.conf file

# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255

# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
# Normal VGA console
vga = normal
# Ask for video mode at boot (time out to normal in 30s)
#vga = ask
# VESA framebuffer console @ 1024x768x64k
# VESA framebuffer console @ 1024x768x32k
# VESA framebuffer console @ 1024x768x256
# VESA framebuffer console @ 800x600x64k
# VESA framebuffer console @ 800x600x32k
# VESA framebuffer console @ 800x600x256
# VESA framebuffer console @ 640x480x64k
# VESA framebuffer console @ 640x480x32k
# VESA framebuffer console @ 640x480x256
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda3
label = Windows
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda6
label = Linux
# Linux bootable partition config ends
So basically, my question is this, is there a way to fix my Windows 7 without having to reinstall Windows 7 and Slackware 13.37 again. Any help will be greatly appreciated, and I need Windows 7 for a freelance job I'm about to start next week.

PS, I've googled around solutions to this, but to no avail. EasyBCD only works on windows (from what I gather).
When I try to boot Windows 7 it says the MBR is broken (can't remember the exact wording, but the concept is basically that).

Last edited by ITCowboy; 06-14-2012 at 12:33 AM.
Old 06-12-2012, 02:33 PM   #2
LQ Guru
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,086

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Have a look at this -->

The lines we are concerned with is default=win and the last 2 lines
You may only need to add the default=Windows.

Hope this helps.
Old 06-12-2012, 04:29 PM   #3
LQ Guru
Registered: Mar 2008
Posts: 15,142

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Might be able to use liloconfig to try to fix it.

See this.

I doubt you would need to re-install them. It is just a boot loader issue.

Side note.
It may become an issue later if you borked the recovery partition.
Old 06-12-2012, 07:22 PM   #4
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Old 06-14-2012, 12:32 AM   #5
LQ Newbie
Registered: Jun 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Changed the other line from
other = /dev/sda3
other = /dev/sda2
sda2 is labeled recovery and is 100MB. Has worked wonders for me and didn't have to change lilo.conf that much.

Thanks everyone for helping me out.


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
not able to boot into Win7, dual boot with Fedora, getting error BOOTMGR missing.. mrprassad Linux - Newbie 3 05-09-2011 10:29 AM
Win7 wont boot Henkii Linux - Newbie 14 01-30-2011 12:23 PM
[SOLVED] lilo can't boot win7 from dual boot Isix Linux - Newbie 2 12-16-2010 02:26 AM
[SOLVED] bootmgr is missing while boot win7 laoxu Linux - Newbie 1 07-29-2010 12:01 PM
[SOLVED] After Upgrading from Win7-32 to WIN7-64 can't mount cifs shares pobrika Linux - Networking 2 07-21-2010 08:15 PM

All times are GMT -5. The time now is 08:21 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration