LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-13-2004, 02:04 PM   #1
avoidmoney
Member
 
Registered: Oct 2003
Location: south africa
Distribution: slackware
Posts: 36

Rep: Reputation: 15
dual booting seting up lilo


sorry for this stupid question, but ive been trying to get this right for a few hours now....

my master hard drive contains, slackware
and because of academic requirements i had to get windows (for cadkey)
so now i have installed winxp on another hard drive

i have now set that hard drive to slave

how must i set up lilo to dual boot between these OS?
(linux=master, xp=slave)
this is what i have done so far::

image /boot/vmlinuz
root = /dev/hda1
label = linux

other = /dev/hdb1
table = hdb
label = lamedows


i did /sbin/lilo
it added lamedows, but it does not want to boot....
please help
 
Old 02-13-2004, 05:57 PM   #2
Mortus Canis
LQ Newbie
 
Registered: Jun 2003
Location: Gonzaga University
Distribution: Slackware, RHEL
Posts: 23

Rep: Reputation: 15
I don't know if this was a typing error, but the table entry for lamedows should be "table=/dev/hdb"
 
Old 02-13-2004, 06:20 PM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
In addition to that, windows is greedy, and will not boot unless it's first in the game. To trick it, you have to use the following:
Code:
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
Add it just below your "label" entry above, the one for windoze.

Cool
 
Old 02-13-2004, 06:22 PM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
I don't know which windows you had to install. If it is windows 98, make sure that the partition it is on is active. Also, you may have to change which drive is the master. Windows 98 may also need to be installed to the first partition of the first drive in order to run. If you installed windows XP, then use the windows ntldr to root into linux. Just google for 'NT Lilo boot howto' for instructions.
 
Old 02-15-2004, 10:32 AM   #5
avoidmoney
Member
 
Registered: Oct 2003
Location: south africa
Distribution: slackware
Posts: 36

Original Poster
Rep: Reputation: 15
i browsed around in the HOW-To files, and found that i had to add:

boot-as=0x80

just after the label.....
now its working, should i be happy that windows is working on my pc now?
i dunno, but now i can run some programs i needed to run

btw, does neone know of a good CAD program for linux?

anyway thanks for all help
 
Old 02-15-2004, 03:52 PM   #6
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Go to
http://linuxshop.ru/linuxbegin/win-l...en/table.shtml
 
  


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
Dual Booting Ubuntu With Lilo And Mandriva viajante Ubuntu 8 11-06-2005 02:39 PM
lilo vs grub, dual-booting binkgle Ubuntu 6 05-16-2005 01:39 AM
Dual Booting LILO issues... [WebCarnage] Linux - Software 6 03-08-2004 05:30 PM
Dual Booting - XP/LILO loader lawadm1 Linux - General 1 02-29-2004 05:15 AM
Lilo dual booting Slackwares Linux - Software 3 10-11-2003 03:42 AM


All times are GMT -5. The time now is 10:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration