Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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...
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......
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
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......
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.