LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Not able to dual boot Ubuntu with Win98 (https://www.linuxquestions.org/questions/linux-newbie-8/not-able-to-dual-boot-ubuntu-with-win98-516174/)

mohdniyas 01-04-2007 04:31 AM

Not able to dual boot Ubuntu with Win98
 
Hi,i had Ubuntu installed in hdb( of 6 GB,slave) and win-xp on hda1( of 80GB,master) and both were working fine.. When xp crashed,i installed win-98 to the slave hard disk and am trying to install Ubuntu( Breezy badger) to hda1. GRUB is writing the MBR but after restarting, the system boots to Win98 directly..it's not showing the grub loader in which selection of OS is possible..
During installation of grub it is not detecting win98 but is telling that it detected xp,(surely it would be the crashed one)..
What could be the problem..??

(XP crashed when i tried to do Hard Disk installation of DSL from a liveCD)

mohdniyas 01-04-2007 04:37 AM

Not able to dual boot Ubuntu with Win98
 
Hi,i had Ubuntu installed in hdb( of 6 GB,slave) and win-xp on hda1( of 80GB,master) and both were working fine.. When xp crashed,i installed win-98 to the slave hard disk and am trying to install Ubuntu( Breezy badger) to hda1. GRUB is writing the MBR but after restarting, the system boots to Win98 directly..it's not showing the grub loader in which selection of OS is possible..
During installation of grub it is not detecting win98 but is telling that it detected xp,(surely it would be the crashed one)..
What could be the problem..?? And Solution....

(XP crashed when i tried to do Hard Disk installation of DSL from a liveCD)

unSpawn 01-04-2007 05:50 AM

Please post your thread once and in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of http://www.linuxquestions.org/questi...d.php?t=516174.

IndyGunFreak 01-04-2007 06:03 AM

Quote:

Originally Posted by mohdniyas
Hi,i had Ubuntu installed in hdb( of 6 GB,slave) and win-xp on hda1( of 80GB,master) and both were working fine.. When xp crashed,i installed win-98 to the slave hard disk and am trying to install Ubuntu( Breezy badger) to hda1. GRUB is writing the MBR but after restarting, the system boots to Win98 directly..it's not showing the grub loader in which selection of OS is possible..
During installation of grub it is not detecting win98 but is telling that it detected xp,(surely it would be the crashed one)..
What could be the problem..?? And Solution....

(XP crashed when i tried to do Hard Disk installation of DSL from a liveCD)

First, I'd try something a little more recent than Breezy. 6.06 Dapper or 6.10 Edgy will be far more supported than Breezy is nowdays(repositories won't be closed, etc.,._)

I've never installed Breezy, so I'm assuming that its the same process as Dapper and Edgy, and pretty much installed grub "automatically" with no input from you. Is it possible Grub was installed on the MBR of your hdb(6gig) drive? You can try going into your BIOS, and set it to boot your slave drive first, and see if Grub loads.

If you're sure the install went smooth, I bet thats probably what happened...

Otherwise, your grub install might have went haywire, in that case you may have to re-install Grub, sorry, I can't help you with that.

IGF

b0uncer 01-04-2007 06:46 AM

I myself would first format both of the discs to make a clean start; then install Win98 to the slave disc, then Linux to the master disc (you wanted it that way, right?). If you then have problems, you should come here and ask for more instructions, but one thing you can try right away is to take the "bootable" flag (using fdisk for example) off the Win98 partition and if needed, give it to your Linux' boot partition. Linux does not use the boot flag, but it might cause some trouble in certain situations as Windows does use it. Anyway a clean start is the best, then there is no remains of XP or anything else. Ubuntu should be capable of finding your Win98 from the other harddisk during the setup if everything is right; a bit over week ago I installed Kubuntu on a slave-sata-disk and it detected Windows off the master-sata-disk without problems so I'm confident it should do it in your case too.

I hope a clean start helps you, but in case you still run into problems, you can come back here. And if you get Grub working but it doesn't detect Win98, you can just aswell add the entry for your Windows manually; there are a lot of examples on the net, as is here at LQ too (the Windows section in Grub's /boot/grub/menu.lst is small, only 3 lines or so).

pixellany 01-04-2007 07:29 AM

OK--it's booting 98, which means that the Windows installer got past the fact that it was the slave drive--or you set the bios to boot from slave. (Windows has an ego issue and likes to be #1)

The Ubuntu install presumably sees the remnants of the XP install (ie the mbr code).

First, see if you can disconnect the primary, and move the win98 disk to primary--make it the first HD in the bios. Assuming that Win98 still boots OK, then put the other drive in as secondary (#2) and install Ubuntu there. I should then detect the Win 98 install, and proceed to put GURB on the MBR of disk 1.

kernel_geek 01-04-2007 10:34 AM

Sorry i may have double posted but i would get a live cd like knoppix and

this way you dont have to uninstall any linux or windows os's.

open a terminal and do the following


mkdir /mnt/templinux
mount (your linux partition) /mnt/templinux

*if you have a seperate boot partition - then after the aabove commands type

mount (your boot device eg., /dev/hda1 ) (/mnt/templinux/boot*


then open a text editor and point it at /mnt/templinux/boot/menu.lst

if it is blank then point it at grub.conf instead

and type the following

default 0
timeout 10

title (The name of you linux distro/whatever you like)
root (your root of your linux partition/boot partition eg., hda1 = hd0,0 hda2 hd0,1)
kernel /(the name of your linux kernel)
initrd /(if you have one)
boot

title Windows 98
rootnoverify (root of your windows part)
chainloader +1
makeactive
boot

then open up a terminal again and

chroot /mnt/templinux /bin/bash

then type


grub

root (where your files are stored to boot)

then type

setup (the harddrive ie hda = hd0)

then type

quit

Hope this helps

pixellany 01-04-2007 11:06 AM

See my reply in the other thread (I have reported the duplicate and asked that they be combined.)

Mara 01-04-2007 03:12 PM

Threads merged.


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