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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-12-2012, 01:16 PM
|
#1
|
LQ Newbie
Registered: Jun 2012
Posts: 2
Rep:
|
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.
|
|
|
06-12-2012, 02:33 PM
|
#2
|
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
|
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.
|
|
|
06-12-2012, 04:29 PM
|
#3
|
Moderator
Registered: Mar 2008
Posts: 22,130
|
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.
|
|
|
06-12-2012, 07:22 PM
|
#4
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
|
|
|
06-14-2012, 12:32 AM
|
#5
|
LQ Newbie
Registered: Jun 2012
Posts: 2
Original Poster
Rep:
|
Changed the other line from to
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.
|
|
|
All times are GMT -5. The time now is 05:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|