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 installed Debian on an old computer which already had Windows 98 installed. Windows and its original bootloader is on /dev/sda, Debian on /dev/sdb and GRUB on the MBR of /dev/sdb. I also created a FAT32 partition on /dev/sdb to get some extra space to be used in Windows.
However, when Windows 98 is booted via GRUB, it doesn't see the new partition or the CD drives. It also warns about possible virus on the MBR (:D). If I change the BIOS boot order so that it boots the Windows disk directly everything is fine.
Is there a way (more convenient than messing with the BIOS boot menus) to solve this problem? Should I edit some GRUB settings?
Grub 0.97 or Grub 2? The old grub could map the drives; if you look at some old threads... Grub 2, I have no idea, it's a PITA. Try google "grub map drives windows" the first entry is http://blog.firetree.net/2005/08/26/...ows-with-grub/
Last edited by mostlyharmless; 01-08-2013 at 03:44 PM.
It's GRUB2 (although it says "1.98xyz..." in the boot menu). The config file that apparently contains the Windows entry is /etc/grub.d/30_otheros and it looks like this:
Well, as I said, I haven't played with grub 2 much. I'd probably backup the MBR on sda and install grub on sda...
Is it Win 98 or the BIOS or another program complaining about a virus? I wasn't aware that Win 98 had a built in virus checker. If it does it is almost certainly obsolete, as are any BIOS virus scanners, so I'd probably disable those.
You might take a look at the link below. This person resolved the mapping (post number 2). You might try that. I would make a backup of your windows 98 menuentry in a text file somewhere in case it fails:
There is some additional useful information further down in the post if you are interested.
The number in the 'search' line of your entry after 'set' doesn't look right. It is usually a uuid number which you should be able to get by running the blkid command in Linux for your windows 98 partition.
Well, as I said, I haven't played with grub 2 much. I'd probably backup the MBR on sda and install grub on sda...
Is it Win 98 or the BIOS or another program complaining about a virus? I wasn't aware that Win 98 had a built in virus checker. If it does it is almost certainly obsolete, as are any BIOS virus scanners, so I'd probably disable those.
Installing GRUB to /dev/sda is not an option, I wan't to keep the Windows disk untouched.
The virus warning seems to be a feature of Win 98. Did boot sector viruses exist during Windows 98 era? Such a check could actually be useful now that there are MBR-based rootkits in the wild (TDL-4 for example), although most rootkit makers would probably try to disable it right away.
Quote:
Originally Posted by yancek
You might take a look at the link below. This person resolved the mapping (post number 2). You might try that. I would make a backup of your windows 98 menuentry in a text file somewhere in case it fails:
There is some additional useful information further down in the post if you are interested.
The number in the 'search' line of your entry after 'set' doesn't look right. It is usually a uuid number which you should be able to get by running the blkid command in Linux for your windows 98 partition.
No, I need Windows 98 as the primary use of that computer is to run old software such as legacy phone service tools that don't work properly on modern OSes. I installed Linux just for fun.
Ok, removing the search line results in "invalid signature" error when trying to boot Windows. More tests next weekend...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.