LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-05-2005, 05:33 PM   #1
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Rep: Reputation: 30
WinXP+Slack10.1+LILO+BOOTLOADER


Hey guys,

I have read dozens of threads on linuxquestions.org and yet to have find the answer. Here is my setup:

/dev/hda1 - WinXPro
+Clean install. Bootloader on MBR.

/dev/hdb5 - Slackware 10.1
+Clean install. LiLo on root part.

When computer boots, goes directly to WinXPro. Realized I didn't edit the boot.ini file and so I did.

Code:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
multi(0)disk(1)rdisk(0)partition(1)\Linux="Slackware 10.1"
Start the system, both options are given, WinXPro fine, Slack10.1 gives an error stating that "Windows could not start due to incorrect hardware" etc.

I know I made a mistake in the boot.ini file. Any suggestions?

Thanks,
Abid Kazmi
 
Old 04-06-2005, 10:11 AM   #2
tommyj27
Member
 
Registered: May 2003
Distribution: Ubuntu, Slackware
Posts: 43

Rep: Reputation: 15
have you tried using lilo instead of the windows bootloader? it's very easy to setup, edit /etc/lilo.conf with your linux and windows partitions, then run 'lilo' from a command prompt. i attached a copy of my lilo.conf from my desktop running slack-current (pre-10.1) and winxp. you may also want to backup your bootsector before you go doing things in case you go breaking things instead. if you aren't familiar with that, there's some information at http://www.sysdesign.ca/guides/partitions.html

good luck

Quote:
# lilo.conf

boot=/dev/sda
prompt
timeout=50
lba32
vga=normal
menu-title="-=edge=->"
default = vm26.114
#image = /boot/vmlinuz
# root = /dev/sda5
# label = Slackware
# read-only
image = /boot/vm26.114
root = /dev/sda5
label = vm26.114
read-only
image = /boot/vm26.10
root = /dev/sda5
label = vm26.10
read-only
other=/dev/sda1
label=Sindows
 
Old 04-06-2005, 01:07 PM   #3
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Original Poster
Rep: Reputation: 30
Post

Hey,
Well, there is no real difference between lilo and winbl. I really want to link/point lilo through the boot.ini file. I am very well aware of the option of using lilo as the bootloader. I'm currently at my school so I will get back to you when I have completed your suggestion. I am still curious as to how to configure the boot file for windows to start up linux. And no, I'm not a noob, I don't mess things up Any suggestions will be appreciated.
BTW: This is not a difficult problem. It's a simple boot.ini problem.

Thank you,
Sincerely,
Abid Kazmi

Last edited by securehack; 04-06-2005 at 01:10 PM.
 
Old 04-07-2005, 03:30 PM   #4
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Original Poster
Rep: Reputation: 30
Still trying to figure what the problem is. I'll be using LiLo as the bl I guess. If anyone finds out, please post.


Thanks,
Sincerely,
Abid KAzmi
 
Old 04-10-2005, 08:23 AM   #5
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,105
Blog Entries: 6

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
Am I reading this wrong?

/dev/hdb5 - Slackware 10.1
That's partition 5 on the drive

multi(0)disk(1)rdisk(0)partition(1)\Linux="Slackware 10.1"
That's the 1st partition on the drive
 
Old 04-10-2005, 10:02 AM   #6
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Original Poster
Rep: Reputation: 30
No, you are reading correctly. It was my mistake. I tried multi(0)disk(1)rdisk(0)partition(5)\Linux="Slackware 10.1" and it still doesn't let me boot. It gives the same Windows hardware config err.

-Abid KAzmi
 
Old 04-11-2005, 03:57 AM   #7
DoctorSubtle
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
There's a tool called boot.exe that can record your master boot record and turn it into something the windows bootup procedure can use. It's at http://www.computing.net/howto/advanced/linuxnt/. Just understand that you'll have to install lilo to the mbr to get this to work, and that you'll have to get a new copy of the lilo mbr every time you reinstall lilo (such as after installing a new kernel). Hope this helps.
 
Old 04-11-2005, 08:25 AM   #8
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Original Poster
Rep: Reputation: 30
As I have said before about lilo being on the MBR, I know it can be done but I want windows to link to lilo through its bootloader.

--Abid Kazmi
 
Old 04-11-2005, 03:38 PM   #9
DoctorSubtle
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
I should have been more clear, but it was really late at night. The program I referenced makes a soon-to-be-restored copy of the windows version of your mbr, which you keep on a bootable floppy along with the tiny program. You then start linux and *temporarily* install lilo to the mbr. Once it's there, you boot to the floppy disk with that little program on it, run it again and get a copy of the lilo version of the mbr. Once you have that lilo copy, you restore the windows version. Lilo is out of the mbr, Windows is back in, and you can use the lilo version you just created as a bootsect file for the windows loader (the way DOS used to use a bootsect.dos file). All told, lilo is only on your mbr for about three or four minutes.
 
Old 04-11-2005, 05:34 PM   #10
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Original Poster
Rep: Reputation: 30
Oh, no problem. I just downloaded the program. I will try it out after I finish my stack of homework. Then I'll see what the difference is in the boot file and sectors. And most likely solve this problem.

Thanks alot,
Abid Kazmi
 
Old 04-20-2005, 07:37 PM   #11
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Original Poster
Rep: Reputation: 30
Hey,
Well I tried the program and it worked but for a normal user, it is not friendly. Will try a simpler way.

Thanks,
Abid Kazmi
 
  


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
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 09:55 PM
Lilo only half works... after Slack10.2 A.C. Helm Slackware 11 09-29-2005 11:46 AM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
slack10 lilo won't install diz12 Slackware 6 07-29-2005 03:42 PM
Using grub for WinXP bootloader Termina Linux - General 1 12-16-2004 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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