LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-15-2010, 07:28 PM   #1
Isix
Member
 
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

Code:
/etc/# Start LILO global section                                                                                                                                                    
compact                                                                                                                                                                        
lba32                                                                                                                                                                          
append                  ="vt.default_utf8=1"                                                                                                                                   
boot                    =/dev/sda                                                                                                                                              
prompt                                                                                                                                                                         
timeout                 =100                                                                                                                                                   
default                 =Slack64                                                                                                                                               
# Override dangerous defaults the rewrite the partition table:                                                                                                                 
change-rules                                                                                                                                                                   
reset                                                                                                                                                                          
# 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                                                                                                                                               
read-only                                                                                                                                                                      
image                   =/boot/vmlinuz-huge-2.6.33.4                                                                                                                           
root                    =/dev/sda2                                                                                                                                             
label                   =Slack64-dist                                                                                                                                          
read-only                                                                                                                                                                      
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,
Code:
table                   =/dev/sda
correct? Should it not be
Code:
table                   =/dev/sda1
or where are things wrong?
 
Old 12-15-2010, 07:48 PM   #2
Isix
Member
 
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

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

Rep: Reputation: Disabled
Hi,

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
Code:
fdisk -l
The last line of the lilo.conf should be "table = /dev/sda"

Markus
 
  


Reply



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

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

All times are GMT -5. The time now is 06:02 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