LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-09-2002, 03:13 PM   #1
manifold
LQ Newbie
 
Registered: Nov 2002
Location: LA
Distribution: Redhat 6.2
Posts: 2

Rep: Reputation: 0
lilo won't boot win98


Hi,

I am dualbooting and I have two harddrives one for each OS. Both contain native installs.

Problem: I want to be able to boot win98 from LILO.

hda is the linux drive- RedHat 6.2 - I believe that lilo is written on the MBR hda
hdb is the win98 drive

I know that windows shouldn't be able to boot from hdb (if say hda was taking a nap) however my bios rocks and gives me a menu where I can pick the boot drive at startup. This is, however, a problem when I am doing the 3 reboots necessary to get win98 to do anything interesting. I'd really like to be able to boot win98 from LILO.

What am I doing wrong?

Here is my lilo.conf-

boot = /dev/hda
timeout = 1200
compact
prompt
default = linux
vga = normal
read-only
map=/boot/map
install=/boot/boot.b

image = /boot/vmlinuz-2.2.###
label = linux
root = /dev/hda2

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


I've already tried- other = /dev/hdb with the table line absent.

Thanks for any help you might have!

Keith
 
Old 11-09-2002, 07:35 PM   #2
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
What happens when you select to boot win98?

What error comes up?

#Garry

p.s. Welcome to LQ
 
Old 11-09-2002, 11:12 PM   #3
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Windows doesn't like being the primary slave drive. It wants to be the primary master drive. Try remapping the drives like this:

other = /dev/hdb1
table = /dev/hdb
label = win
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
 
Old 11-10-2002, 03:12 PM   #4
manifold
LQ Newbie
 
Registered: Nov 2002
Location: LA
Distribution: Redhat 6.2
Posts: 2

Original Poster
Rep: Reputation: 0
thanks, that worked.

How does it work?
 
Old 11-10-2002, 08:51 PM   #5
chilibowl
Member
 
Registered: Sep 2002
Location: woodstock-kingston ,ny usa
Distribution: Started out Ma R dhat 6.0 , then Suse 8.2 , 9.2 ,10.open suse , KNOPPIX 2.73 &5.1 DVD any Live dis
Posts: 129

Rep: Reputation: 15
Howdy ,I have a similar yet different newbie question. On my simple box (a COMPAQ deskpro2000/133 with 32 meg ram ) and matrox millenium Vidcard. My Drives are<hda> Primary 1.2 gig (REDHAT-MANDRAKE 6.5 <redhat helios6.1 with "enhancements"-was installed by a TECH> Secondary drive 1.2 gig<HDB -if Iam correct> I installed SuSE 6.3 from CD-rom (auto install feature).

How does One access or try to BOOT-UP from the Secondary H-Drive in order to use the SuSE Software??? I know it sounds stupid ,but If it were a WINDOWS Machine I would go to "My Computer" and click on one of my Drives Icons. Is there any thing Similar to this in LINUX or am I desperate???

Once a NeWBiE ,Always a NEWBIE ,Chilibowl
 
Old 11-11-2002, 03:07 AM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Well, you can mount the /dev/hdb (or whatever you determine it is) to any directory, and then access the files there. So, lets say you want to mount it on /mnt/suse then you would open up a terminal, and as root type:
mount -t ext3 /dev/hdbX /mnt/suse

Where ext3 is replaced with the filesystem you chose when you installed suse, and hdbX is the drive/partition you have SUSE installed to.

Then to browse the files:
cd /mnt/suse
ls -l

HTH

Cool
 
Old 11-11-2002, 11:19 PM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
manifold, when the computer boots up, the BIOS assigns numbers to the drives that it finds. If it finds that a drive is connected to primary master, it gives it the hexadecimal number 0x80. A primary slave drive would be 0x81.

The remapping lines switch those numbers around so it appears that the primary master is now the slave and the slave is the master. Windows likes being on the primary master drive and usually refuses to work if it's on any other drive. The remapping fools windows into thinking it is on primary master.
 
Old 11-11-2002, 11:28 PM   #8
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
chilibowl, if you're using lilo to boot up red hat, you might be able to add two lines to it to get it to boot suse.

Edit your red hat /etc/lilo.conf file and add these two lines:

other=/dev/hdb?
label=suse

Replace the ' ? ' with the partition number where the boot loader for suse is installed. If it installed the boot loader on the MBR, then the line would look like this:

other=/dev/hdb

Don't forget to run /sbin/lilo after making any changes to /etc/lilo.conf.
 
Old 11-14-2002, 08:26 PM   #9
chilibowl
Member
 
Registered: Sep 2002
Location: woodstock-kingston ,ny usa
Distribution: Started out Ma R dhat 6.0 , then Suse 8.2 , 9.2 ,10.open suse , KNOPPIX 2.73 &5.1 DVD any Live dis
Posts: 129

Rep: Reputation: 15
didn,t try it yet, I installed Suse over my RedHat ,My primitve way of doing thingz.. Suse is OK (6.3) got it in a QUAKE3 The Arena Box Set @s an evaluation Disk. Ilike Yast (Yet Another System Tool). It still is a mysterious Linux GUI and oS (not as much colors as REDHAT -but OK ,NEXT Project put REDHAT 6.1 Helios back in place.


Hell to pay ,when you play with Linux..... ChIliBowl
 
  


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
Booting Win98 with Lilo from SCSI bitpicker Linux - Newbie 3 08-17-2003 08:28 AM
win98,xp,mandrake 9.0 lilo problems Relja Linux - General 3 01-12-2003 01:35 PM
LILO with RH7.2 and Win98 timward Linux - Newbie 3 10-09-2002 03:19 PM
Why cannot i boot win98 with it selected in lilo menu whepin Linux - Newbie 9 12-20-2001 10:01 PM
Linux/Win98 Dual Boot, Win98 won't boot TIMMY! Linux - Software 21 04-18-2001 03:17 PM


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