Review your favorite Linux distribution.
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!


LinkBack Search this Thread
Old 12-15-2010, 07:28 PM   #1
Registered: Mar 2007
Location: Windhoek, Namibia
Distribution: Slackware, Kubuntu, Mandriva & PCLinuxOS
Posts: 80

Rep: Reputation: 18
lilo can't boot win7 from dual boot

Hi all,

I cannot boot into the Windows 7 partition, which I guess is /dev/sda1. I have Slackware installed on /dev/sda2 which boots fine, my /etc/lilo.conf looks like

/etc/# Start LILO global section                                                                                                                                                    
append                  ="vt.default_utf8=1"                                                                                                                                   
boot                    =/dev/sda                                                                                                                                              
timeout                 =100                                                                                                                                                   
default                 =Slack64                                                                                                                                               
# Override dangerous defaults the rewrite the partition table:                                                                                                                 
# Insert pretty boot-menu graphic here:                                                                                                                                        
bitmap                  =/boot/slack.bmp                                                                                                                                       
bmp-table               =60,6,1,16                                                                                                                                             
bmp-timer               =65,27,0,255                                                                                                                                           
bmp-colors              =255,0,255,0,255,0                                                                                                                                     
# End LILO global section                                                                                                                                                      
# Linux bootable partition config begins                                                                                                                                       
image                   =/boot/bzImage-2.6.35-pf11                                                                                                                             
root                    =/dev/sda2                                                                                                                                             
label                   =Slack64                                                                                                                                               
image                   =/boot/vmlinuz-huge-                                                                                                                           
root                    =/dev/sda2                                                                                                                                             
label                   =Slack64-dist                                                                                                                                          
image                   =/boot/memtest86+.bin                                                                                                                                  
root                    =/dev/sda2                                                                                                                                             
label                   =Memtest86+                                                                                                                                            
# Linux bootable partition config ends                                                                                                                                         
# Other bootable partition config begins                                                                                                                                       
other                   =/dev/sda1                                                                                                                                             
label                   =Win7                                                                                                                                                  
table                   =/dev/sda                                                                                                                                              
# Other bootable partition config ends
Is the last line of Win7,
table                   =/dev/sda
correct? Should it not be
table                   =/dev/sda1
or where are things wrong?
Old 12-15-2010, 07:48 PM   #2
Registered: Mar 2007
Location: Windhoek, Namibia
Distribution: Slackware, Kubuntu, Mandriva & PCLinuxOS
Posts: 80

Original Poster
Rep: Reputation: 18
Hi again,

I got this fixed using the install CD of Win7, I just had to ask it to fix the MBR

Old 12-16-2010, 02:26 AM   #3
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848

after fixing the MBR with Windows I guess that lilo won't boot but Windows???

When I read your post I thought about that preinstalled Win7 comes with a recovery-partition which may be /dev/sda1.

If you are experiencing further problems, please post the output of
fdisk -l
The last line of the lilo.conf should be "table = /dev/sda"



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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Attempting DUAL BOOT Win7 with Kub 10.04 Bhakta Neal Linux - Newbie 33 07-28-2010 05:39 PM
how to make a win7 and backtrack 4 dual boot? kevinx17910 Linux - Newbie 1 06-08-2010 12:09 AM
Dual Boot Win7 and Mint9 using 2 HDDs Honkeychops Linux - Newbie 14 06-07-2010 04:22 AM
Dual boot with Win7 and ICH10r Raid5 badogg Ubuntu 1 02-01-2010 02:29 PM
adding Fedora 10 to dual boot with Win7? lenny45 Fedora 11 10-19-2009 12:04 AM

All times are GMT -5. The time now is 03:14 AM.

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