LinuxQuestions.org
Visit Jeremy's Blog.
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 11-30-2011, 07:36 AM   #1
jbumgarjr
LQ Newbie
 
Registered: Jul 2006
Posts: 28

Rep: Reputation: 15
dual boot problem


I installed Salix 13.32 on a different partition on my c drive. It uses lilo for dual booting. When I try to boot Windows 7 from lilo it tells me I need to fix the mbr. But if I try to boot Salix all is fine. What do I need to do so I can boot either one?
 
Old 11-30-2011, 08:44 AM   #2
CrusaderAD
LQ Newbie
 
Registered: Nov 2011
Distribution: Ubuntu
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by jbumgarjr View Post
I installed Salix 13.32 on a different partition on my c drive. It uses lilo for dual booting. When I try to boot Windows 7 from lilo it tells me I need to fix the mbr. But if I try to boot Salix all is fine. What do I need to do so I can boot either one?
The Windows disc usually has the MBR. I believe you have to do a "recovery" from the windows disc to repair it, but I'm not sure how it will effect your other partition.
 
Old 11-30-2011, 08:51 AM   #3
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
/etc/lilo.conf contains bootloader configuration.

A sample code will be like this :
Code:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
compact
prompt
timeout=50
image=/boot/vmlinuz-2.0.36
	label=linux
	root=/dev/hda2
	read-only
other=/dev/hda1
	label=win
check whether your file contains windows partition details.
 
Old 11-30-2011, 09:02 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,225

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
If you can't correct it with the advice above, while booted into Salix go to the site below and download the bootinfoscript and run it. You will get a results.txt file with lots of useful information on drives/partitions, uuids and boot files and location. You can post it here to get help.

http://bootinfoscript.sourceforge.net/
 
Old 11-30-2011, 09:49 AM   #5
jbumgarjr
LQ Newbie
 
Registered: Jul 2006
Posts: 28

Original Poster
Rep: Reputation: 15
Boot script error

boot_info_script version: 0.60 [17 May 2011]

"blkid" could not be found.
"fdisk" could not be found.
"filefrag" could not be found.
"losetup" could not be found.

Please install the missing program(s) and run boot_info_script again.
jb[Downloads]$
 
Old 11-30-2011, 09:54 AM   #6
jbumgarjr
LQ Newbie
 
Registered: Jul 2006
Posts: 28

Original Poster
Rep: Reputation: 15
Boot script error

When I ran the boot script program I got this.


boot_info_script version: 0.60 [17 May 2011]

"blkid" could not be found.
"fdisk" could not be found.
"filefrag" could not be found.
"losetup" could not be found.

Please install the missing program(s) and run boot_info_script again.
jb[Downloads]$

When I went into lilo.conf it shows this

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

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/salix.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,20,255,20,255,20
# 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,29,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 = 50
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# 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/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda2
label = Linux
read-only
# Linux bootable partition config ends

I was afraid to change anything before I asked for help. I want to thank you guys for helping me because I like this distro after trying out 15 other live distros.
 
Old 11-30-2011, 01:37 PM   #7
jbumgarjr
LQ Newbie
 
Registered: Jul 2006
Posts: 28

Original Poster
Rep: Reputation: 15
Solved

I solved the problem by reinstalling. I chose the make your own lilo and chose add windows and then set it to boot from /dev/sda3. Lilo was setting it for /dev/sda1 which of course didn't work. I hope this will help some other person in the future. Many thanks to all who sent me suggestions! I appreciate it!
 
  


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 Dual hdds, Download of ubuntu 10.1, no vista or dual boot jim d Linux - Newbie 4 11-25-2010 04:18 PM
[SOLVED] Can't select XP OS in a dual boot with Isadora at boot screen (grub problem) faby1321 Linux Mint 10 08-10-2010 06:07 PM
dual boot dual drive XP and FC6 problem arjay Fedora 2 05-20-2007 11:38 AM
Problem with dual boot/dual drive setup Norab Linux - Hardware 10 08-29-2005 03:13 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM


All times are GMT -5. The time now is 02:27 PM.

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