LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2007, 05:31 AM   #1
mohdniyas
LQ Newbie
 
Registered: Oct 2006
Location: Bangalore
Distribution: Ubuntu
Posts: 7

Rep: Reputation: 0
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)
 
Old 01-04-2007, 05:37 AM   #2
mohdniyas
LQ Newbie
 
Registered: Oct 2006
Location: Bangalore
Distribution: Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
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)
 
Old 01-04-2007, 06:50 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
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.
 
Old 01-04-2007, 07:03 AM   #4
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
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
 
Old 01-04-2007, 07:46 AM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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).
 
Old 01-04-2007, 08:29 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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.
 
Old 01-04-2007, 11:34 AM   #7
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
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
 
Old 01-04-2007, 12:06 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
See my reply in the other thread (I have reported the duplicate and asked that they be combined.)
 
Old 01-04-2007, 04:12 PM   #9
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,580

Rep: Reputation: 191Reputation: 191
Threads merged.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 06:04 PM
Newbie needs Mandrake/Win98 dual-HD, dual boot system design help... buddha Linux - Newbie 20 09-04-2003 09:57 PM
Win98 - Mandrake dual boot justinv Linux - General 10 01-23-2003 10:22 PM
Linux/Win98 Dual Boot, Win98 won't boot TIMMY! Linux - Software 21 04-18-2001 04:17 PM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:54 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