LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-30-2002, 09:25 PM   #1
Alasis
LQ Newbie
 
Registered: Jul 2002
Location: Bontoc, Mt. Province, Philippines
Posts: 24

Rep: Reputation: 15
Question Problem on RH Linux and Win98SE Dual Booting


I am currently using Windows 98SE as my Operating System and I bought a SAM Book and with it comes a full RH Linux 7.2 Edition.
I installed the RH Linux 7.2 on other Hard Disk so that means my Windows 98SE is installed on the other Physical Hard Drive.

The problem comes when I tried to Dual Boot my machine using the Linux as my Default OS.
I tried manipulating the Boot Manager (LILO) at the root but when I select the Windows (I named it as Windows) in the Graphical Log-in, It cant load the Windows Operating System so its only the RH Linux that can load correctly.

The first drive contains my Default OS which is RH Linux 7.2 and I placed the LILO on the MBR.
While the other drive contains the Windows 98SE (Partitioned into 3 drives).

Here is my LILO configuration file:

prompt
timeout="50"
default=linux
boot="/dev/hda"
map=/boot/map
install=/boot/boot.b
message=/boot/message linear

image="/boot/vmlinuz-2.4.7-10"
label="linux"
initrd="/boot/initrd-2.4.7-10.img"
read-only
root="/dev/hda2"

other=/dev/hda
label="Windows"
image="/dev/hda"
root="/dev/hda2"
initrd="/boot/initrd-2.4.7-10.img"
password="Filter"

Could you please check the errors in this LILO.conf because I can't boot on the Windows. It's only in the RH Linux that works properly.
Thank You.

Sincerely;
Ian Ace
 
Old 07-30-2002, 09:43 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Well, to start off, Windows doesn't like to be the second hard drive if you have it setup that way. And you shouldn't need to specify a:

image="/dev/hda"
root="/dev/hda2"
initrd="/boot/initrd-2.4.7-10.img"
password="Filter"

Usually looks more like this:

other=/dev/hda1
label=Windows
read-only

And is this two physical hard drives or two partitions ?
Try searching the forums here, this is asked all the time.
 
Old 07-30-2002, 10:28 PM   #3
Alasis
LQ Newbie
 
Registered: Jul 2002
Location: Bontoc, Mt. Province, Philippines
Posts: 24

Original Poster
Rep: Reputation: 15
I'l try to change my settings...
That would be 2 physical Hard drives.

Thanks
 
Old 07-30-2002, 10:34 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Ok, two physical hard drives means that one setting should be /dev/hda and the other /dev/hdb followed by the partition number if applicable of the image or root partition.

As follows, depending on how you have your hard drives connected goes like this:

1st IDE Primary = /dev/hda
1st IDE Slave = /dev/hdb
2nd IDE Primary = /dev/hdc
2nd IDE Slave = /dev/hdd

Maybe that points you in the right direction on what settings you should have your lilo.conf file set to to get your dual boot working.
Also after making changes, always remember to run lilo to make the changes...

/sbin/lilo
 
Old 07-30-2002, 11:02 PM   #5
jetblackz
Member
 
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
I remember I messed up my lilo.conf in the learning process back then. Those were the days.

# Windows98
other=/dev/hda1
label=Windows98

Is all you need.
 
Old 07-30-2002, 11:46 PM   #6
Alasis
LQ Newbie
 
Registered: Jul 2002
Location: Bontoc, Mt. Province, Philippines
Posts: 24

Original Poster
Rep: Reputation: 15
My second IDE drive w/c contains the Windows 98SE is configured using the 2nd IDE Primary.
So, ill only be changing my lilo.conf to contain:

other=/dev/hdc
label=Windows
read-only

Could I do this in the Boot manager and not in the konsole? If it would be on Boot Manager would I still run /sbin/lilo?
Thanks Again.

Sincerely;
Ian Ace
 
Old 07-31-2002, 12:04 AM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Change this line:

other=/dev/hdc

To this:

other=/dev/hdc1

You need to specify the partition windows is installed on and /dev/hdc1 is probably where windows was installed.
 
Old 08-01-2002, 07:44 PM   #8
Alasis
LQ Newbie
 
Registered: Jul 2002
Location: Bontoc, Mt. Province, Philippines
Posts: 24

Original Poster
Rep: Reputation: 15
Unhappy Dual Boot cant still work

Im just wondering why my dual boot cant still work. I configured my LILO.conf and that my other option of OS which is Windows could not load when selected in the Graphical Option at boot-up. I tried using hda,hda1,hdc,hdc1 (For Windows to load) on my LILO.conf, it works, but it stucks whenever I choose to load using windows. I tried executing /sbin/lilo and yes, it registered windows but my system stucks/hangs whenever I choose windows. Its only the Linux which can load properly.
What could be the error in here......
 
Old 08-01-2002, 10:27 PM   #9
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Re: Problem on RH Linux and Win98SE Dual Booting

Quote:
Originally posted by Alasis
Here is my LILO configuration file:

prompt
timeout="50"
default=linux
boot="/dev/hda"
map=/boot/map
install=/boot/boot.b
message=/boot/message linear

image="/boot/vmlinuz-2.4.7-10"
label="linux"
initrd="/boot/initrd-2.4.7-10.img"
read-only
root="/dev/hda2"

other=/dev/hda
label="Windows"
image="/dev/hda"
root="/dev/hda2"
initrd="/boot/initrd-2.4.7-10.img"
password="Filter"
The problem you're probably having now is that windows likes to be on the primary master drive. You have it on the secondary master. Try adding map-drive= and to= lines to the windows section. I noticed that you have some lines in your lilo.conf file that you don't need. Make your lilo.conf look like the one below:

prompt
timeout="50"
default=linux
boot="/dev/hda"
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image="/boot/vmlinuz-2.4.7-10"
label="linux"
initrd="/boot/initrd-2.4.7-10.img"
read-only
root="/dev/hda2"

other=/dev/hdc1
label="Windows"
table=/dev/hdc
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80

Run /sbin/lilo and reboot.
 
Old 08-02-2002, 09:19 PM   #10
Alasis
LQ Newbie
 
Registered: Jul 2002
Location: Bontoc, Mt. Province, Philippines
Posts: 24

Original Poster
Rep: Reputation: 15
I now have a dual booting system, Linux and Windows98SE, Thanks to the LinuxQuestions.org forum. I could not have been succesful without you people out there.
Another problem is that how could I access my other files located at the other IDE drive in which my Windows98 is installed when I am under the Linux environment?
Thanks......

Sincerely;
Ian Ace
 
Old 08-03-2002, 11:14 PM   #11
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.

To access your win98 partition, you can use the mount command. Like this:

mount -t vfat /dev/hdc1 /mnt/win98

This will mount your windows partition at /mnt/win98. If this directory doesn't exist, use mkdir /mnt/win98 to create it. Then you can ' ls /mnt/win98 ' to see the partitions contents.

To make it easier on yourself, you can make an entry in your /etc/fstab file. Like this:

/dev/hdc1 /mnt/win98 vfat noauto,user,ro 0 0

Then to mount it just run mount /mnt/win98. ' noauto ' means to not mount it at start up. ' user ' means that any user can mount the partition and ' ro ' is read-only.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux RH9 Dual Boot and Win98se stoney55 Linux - Newbie 35 02-18-2005 09:18 AM
dual booting Red Hat 9 and Win98SE stoney55 Red Hat 0 02-13-2005 04:37 PM
Dual booting problem - linux and windows XP supervillain Linux - Newbie 2 11-21-2004 09:29 AM
Dual-boot SuSE 8.1/Win98SE problem old codger Linux - Newbie 3 08-24-2003 08:23 AM
Dual Booting Info with Win98se and Lycoris MoonRaver Linux - Newbie 1 12-12-2002 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration