LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dual boot windows 7 and slackware 13.37 (https://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-windows-7-and-slackware-13-37-a-918463/)

Prasanna_Adhikari 12-13-2011 03:41 AM

Dual boot windows 7 and slackware 13.37
 
Successfully installed windows 7 and slackware 13.37
But there was error while installing lilo. Now when I boot my PC it directly starts windows 7 instead of prompting me to choose option for starting windows or linux. Is there any solution for getting option to choose windows or linux?

Nylex 12-13-2011 04:49 AM

You can boot your Slackware installation using the DVD or CD; instructions are given when you boot from the CD and see the "boot:" prompt. You can then try installing LILO to the MBR again by running "lilo" after you log in. If you need more detailed help, we're going to need to know what the problem was when trying to install LILO the first time.

ogbi-web_kenobi 12-18-2011 08:51 PM

Nylex, I just had same problem. MBR is installed in the wrong place. Remember where it asks where to install lilo? 3 options: 1- superblock 2-something.. 3- is the default. I bet you choose 1 because of stuff about dual booting. Wrong. leave it a option 3- Install MBR or something like that. Unfortunatly i had to go back and reinstall. go boot [enter]-> login [root] -> run setup and install software. Tried to run lilo but told command not found. maybe someone can make life easier by telling why. anyone trying to dual boot slackware, remember... stick with option 3- install to MBR, no matter what screen says.

oh, by the way everyone. I just slacked my cherry on an Asus. now to config it and make it pretty, fast, fast and fast.

TTFN
Og

colorpurple21859 12-18-2011 09:10 PM

boot your slackware using the dvd. once logged in run
Quote:

liloconfig
and when asked where to install to select MBR

Prasanna_Adhikari 05-04-2012 10:34 PM

Dual boot Win 7 and Slackware 13.37 in separate disks
 
I somehow managed to install them in same hard drive by selecting MBR, it worked.
Now I have two different drives. I want to use first drive for Linux and second for Windows.
I installed Linux root is in dev/sda2 and Windows in /dev/sdb1. I tried installing Lilo by using MBR again. But there was error like this:

Warning: Device 0x0810: Inconcistent partition table, 1st entry
CHS address in PT: 0:1:1 --> LBA (63)
LBA address in PT: 19 --> CHS (0:0:20)
Fatal: Either FIX-TABLE or IGNORE - TABLE must be specified
If not sure, first try IGNORE - TABLE (-p ignore)

I'll be waiting for your help.

war49 05-05-2012 07:01 AM

Try running lilo again with -p, it will ignore table... should work..

Prasanna_Adhikari 05-05-2012 08:03 AM

confused
 
I'm confused, where to insert -p, there are only options to choose, I'm not finding any place to type.

war49 05-05-2012 09:49 AM

Quote:

Originally Posted by Prasanna_Adhikari (Post 4670958)
I'm confused, where to insert -p, there are only options to choose, I'm not finding any place to type.

Have you enter the shell? as root check /etc/lilo.conf,

image = /path-to-your-linux-kernel
label = slackware
root = /dev/sdaX

other = /dev/sdbY
label = windows
table = /dev/sdb

You must make sure that partition for windows and slackware (/dev/sdaX & /dev/sdbY) are written properly in lilo.conf. Then you can run lilo (or lilo -p) to update that config.


All times are GMT -5. The time now is 03:30 PM.