LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-12-2012, 01:16 PM   #1
ITCowboy
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
Can't boot win7


FOR GOOGLERS WHO HAVE JUST ARRIVED HERE, CHECK MY SECOND POST, WORKED FOR ME, PM ME IF YOU HAVE ANY QUESTIONS.


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

Quote:
# 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):
prompt
# 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:
change-rules
reset
# Normal VGA console
vga = normal
# Ask for video mode at boot (time out to normal in 30s)
#vga = ask
# VESA framebuffer console @ 1024x768x64k
#vga=791
# VESA framebuffer console @ 1024x768x32k
#vga=790
# VESA framebuffer console @ 1024x768x256
#vga=773
# VESA framebuffer console @ 800x600x64k
#vga=788
# VESA framebuffer console @ 800x600x32k
#vga=787
# VESA framebuffer console @ 800x600x256
#vga=771
# VESA framebuffer console @ 640x480x64k
#vga=785
# VESA framebuffer console @ 640x480x32k
#vga=784
# VESA framebuffer console @ 640x480x256
#vga=769
# 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
read-only
# 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
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,299

Rep: Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894
Have a look at this -->http://www.codecoffee.com/tipsforlinux/articles/6.html

Quote:
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
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,130

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

See this. http://tldp.org/HOWTO/Linux+WinNT-3.html

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
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
http://neosmart.net/blog/2009/window...-repair-discs/
 
Old 06-14-2012, 12:32 AM   #5
ITCowboy
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Changed the other line from
Quote:
other = /dev/sda3
to
Quote:
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.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration