LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lilo won't boot win98 (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-wont-boot-win98-34999/)

manifold 11-09-2002 03:13 PM

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

GT I.N.C 11-09-2002 07:35 PM

What happens when you select to boot win98?

What error comes up?

#Garry

p.s. Welcome to LQ

linuxcool 11-09-2002 11:12 PM

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

manifold 11-10-2002 03:12 PM

thanks, that worked.

How does it work?

chilibowl 11-10-2002 08:51 PM

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

MasterC 11-11-2002 03:07 AM

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

linuxcool 11-11-2002 11:19 PM

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.

linuxcool 11-11-2002 11:28 PM

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.

chilibowl 11-14-2002 08:26 PM

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


All times are GMT -5. The time now is 08:54 PM.