Slackware This Forum is for the discussion of Slackware Linux.
|
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-17-2012, 01:59 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2012
Posts: 6
Rep: 
|
LILO can't boot Win7?
I loaded Slackware 14 on /dev/sdb1, Win7 was already on /dev/sda1 and was bootable before Slackware install using previous install of lilo.
Now, when I boot, Linux boots fine, Win7 reports BOOTMGR missing, ctrl-alt-del to reboot. lilo.conf contains:
boot = /dev/sdb
change-rules
reset
other = /dev/sda1
label = Windows
table = /dev/sda
image = /boot/vmlinuz
root = /dev/sdb1
label = Linux
read-only
Thanks in advance for assistance.
|
|
|
|
11-17-2012, 02:13 PM
|
#2
|
|
Member
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 959
Rep: 
|
What is the output of For a quick fix you can try to change sda1 to sda2 in the windows entry rerun lilo and see if that helps
|
|
|
|
11-17-2012, 02:23 PM
|
#3
|
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,856
|
Windows comes often with a boot partition and some systems have also a recovery partition (all NTFS), you should have the windows-boot partition in your lilo.conf
Markus
|
|
|
|
11-17-2012, 03:05 PM
|
#4
|
|
LQ Newbie
Registered: Nov 2012
Posts: 6
Original Poster
Rep: 
|
fdisk -l reports:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdfe23bdc
Device Boot Start End Blocks Id System
/dev/sda1 * 63 487372479 243686208+ 7 HPFS/NTFS/exFAT
/dev/sda2 487372800 488392703 509952 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2b411092
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 974745021 487372479+ 83 Linux
/dev/sdb2 974745022 1952562607 488908793 7 HPFS/NTFS/exFAT
/dev/sdb3 * 1952562608 1953525167 481280 7 HPFS/NTFS/exFAT
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00029ffd
Device Boot Start End Blocks Id System
/dev/sdc1 2048 488390655 244194304 83 Linux
/dev/sdc2 488392065 517726754 14667345 82 Linux swap
bash-4.2#
I'll change lilo to point to /dev/sda2 and report shortly.
|
|
|
|
11-17-2012, 03:13 PM
|
#5
|
|
LQ Newbie
Registered: Nov 2012
Posts: 6
Original Poster
Rep: 
|
Changing lilo to point to /dev/sda2 reports:
File: \Windows\system32\winload.exe
Status: 0xc000000f
info: The selected entry could not be loaded because the application is missing or corrupt.
Thanks in advance.
|
|
|
|
11-17-2012, 03:14 PM
|
#6
|
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,856
|
You have four Windows-partitions. Is Windows really installed on /dev/sda1 and /dev/sda2? If it's installed on /dev/sda, the boot partition is probably /dev/sda2 because it's the smaller one.
Markus
|
|
|
|
11-17-2012, 03:19 PM
|
#7
|
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,856
|
Quote:
Originally Posted by atlantaswl
Changing lilo to point to /dev/sda2 reports:
File: \Windows\system32\winload.exe
Status: 0xc000000f
info: The selected entry could not be loaded because the application is missing or corrupt.
...
|
Well, it would be good if you knew on which partition(s) your Windows is installed.
BTW: my lilo.conf looks like
Code:
# Windows bootable partition config begins
other = /dev/sda2
label = Win7
table = /dev/sda
# Windows bootable partition config ends
Maybe you'll change the entries for Windows in your lilo.conf.
Markus
|
|
|
|
11-17-2012, 08:39 PM
|
#8
|
|
LQ Newbie
Registered: Nov 2012
Posts: 6
Original Poster
Rep: 
|
Fortunately, I do know where windows is installed, /dev/sda1, with the system reserved partition on /dev/sda2. Perhaps had you read my posts, you would have seen that. I do know why I would change the lilo.conf to agree with yours; is it because the label is different, or that they point to different partitions? Anyway, thanks for looking, wish it was helpful.
|
|
|
|
11-17-2012, 11:27 PM
|
#9
|
|
LQ Newbie
Registered: Feb 2012
Location: Acadia,New Brunswick, Canada
Distribution: Slackware64-current
Posts: 8
Rep: 
|
Ono
Last edited by RoyaleWitCheese; 11-18-2012 at 09:36 PM.
|
|
|
|
11-18-2012, 07:11 AM
|
#10
|
|
Member
Registered: Apr 2010
Distribution: Slackware
Posts: 309
Rep:
|
problem could be the BIOS device numbering at boot time. Maybe Windows remembers the numbering from when it was installed, or it has certain undocumented expectations. This theory can be tested by installing LILO in /dev/sda and changing the boot device in the BIOS.
Btw, are you sure you need the "change-rules reset"?
|
|
|
|
11-18-2012, 11:05 AM
|
#11
|
|
Member
Registered: Nov 2003
Distribution: slackware 14
Posts: 530
Rep:
|
Is your Win 7 installation using UEFI and GPT by chance? If it's an x86_64, very likely yes...
Have a look here in case
http://www.rodsbooks.com/efi-bootloaders/index.html
Ciao
|
|
|
|
11-18-2012, 11:24 AM
|
#12
|
|
Member
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware (current), Mepis on the wifes lappy
Posts: 724
Rep:
|
Determine the partition Windoes is installed on using parted. Then point LILO to the bootable partition.
Win7 normal install tends to create 3 partitions. A rescue partition (dev/sda1), a boot partition (dev/sda2) and a user partition (dev/sda3) Parted wil show what you have and which is marked bootable.
|
|
|
|
11-18-2012, 11:39 AM
|
#13
|
|
Member
Registered: Nov 2003
Distribution: slackware 14
Posts: 530
Rep:
|
Quote:
Originally Posted by atlantaswl
I loaded Slackware 14 on /dev/sdb1, Win7 was already on /dev/sda1 and was bootable before Slackware install using previous install of lilo.
Now, when I boot, Linux boots fine, Win7 reports BOOTMGR missing, ctrl-alt-del to reboot. lilo.conf contains:
boot = /dev/sdb
change-rules
reset
other = /dev/sda1
label = Windows
table = /dev/sda
image = /boot/vmlinuz
root = /dev/sdb1
label = Linux
read-only
Thanks in advance for assistance.
|
Where did you install LILO? why on the first sector of the second disk? (boot=/dev/sdb)
Ciao
|
|
|
|
11-18-2012, 09:29 PM
|
#14
|
|
LQ Newbie
Registered: Nov 2012
Posts: 6
Original Poster
Rep: 
|
Thanks for the suggestions. First, I was able to save the \Users directory onto USB drive. Then installed Win 7 onto an NTFS partition on another drive. When bootmgr came up, I selected the second Windows 7 entry and the original Windows 7 came up. Whew. Never saw installing lilo breaking an existing Win 7 installation, been using linux since 1.2.8. Turns out the original Win7 install was, in fact, on /dev/sdb2.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:53 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
|
|