Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual Boot Windows 98 and Gentoo 1.4 GRUB Problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Rakd
n00b
n00b


Joined: 02 Jul 2003
Posts: 2
Location: Cambridge, UK

PostPosted: Tue Sep 09, 2003 4:58 pm    Post subject: Dual Boot Windows 98 and Gentoo 1.4 GRUB Problem Reply with quote

I am running a PII 300MHz with 64MB RAM and a 40GB disk. I have already installed Windows 98 and over the past two days, Gentoo has been compiling from stage 1. All was well, until a reboot when I got:
Quote:
GRUB: Hard disk error

Nothing more happens. I can't boot anything. And I have absolutely no idea why. So some more information.

My partition layout is as follows:
Code:
/dev/hda1  9GB Windows partition fat32 (flagged bootable)
/dev/hda2  extended partition
/dev/hda5  /boot ext2 30Mb (flagged bootable)
/dev/hda6  /  reiserfs  9Gb
/dev/hda7  /home  reiserfs  10Gb
/dev/hda8  swap  192Mb
/dev/hda9  /usr  reiserfs  12Gb


After emerging grub (which compiled with no problems) I did the install:
Code:
grub> root (hd0,4)
grub> setup (hd0)


This was fine.

My grub.conf looks like this, and I have linked it to menu.lst:
Code:
timeout=30
default=0
fallback=1

title=Gentoo 1.4
root (hd0,4)
kernel (hd0,4)/boot/bzImage root=/dev/hda6

title=Windows 98
rootnoverify (hd0,0)
chainloader (hd0,0) +1


This seems to be a problem with GRUB. If I boot GRUB from a floppy disk and type in the commands to boot Gentoo, it works fine. I haven't tried booting Windows from the GRUB floppy. I have however, used a Win98 boot floppy and re-written the mbr, like so:
Code:
fdisk /mbr

On reboot, Windows loads. What is also strange, what before I decided to re-install my system to re-partition and change Linux distro, I had a dual boot Win98/Redhat 7.2 system and used GRUB as my bootloader. I never had any problems.

Does anyone have any ideas as to why GRUB gives me a hard disk error? Any help would be appreciated.

Cheers,

Rakd
Back to top
View user's profile Send private message
mxc
Guru
Guru


Joined: 05 Mar 2003
Posts: 442
Location: South Africa

PostPosted: Tue Sep 09, 2003 5:41 pm    Post subject: Reply with quote

I think our problems may be the same except I get an error 17 from grub.

see

https://forums.gentoo.org/viewtopic.php?t=82258
Back to top
View user's profile Send private message
funeagle
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2003
Posts: 102
Location: London

PostPosted: Tue Sep 09, 2003 8:50 pm    Post subject: Reply with quote

IMHO your comp (bios) doesnt support booting after N cylinders

I would try using small booting partitions for both windows and gentoo for dual booting

see
https://forums.gentoo.org/viewtopic.php?t=79053
Back to top
View user's profile Send private message
Rakd
n00b
n00b


Joined: 02 Jul 2003
Posts: 2
Location: Cambridge, UK

PostPosted: Tue Sep 09, 2003 9:13 pm    Post subject: Reply with quote

missed that post in documentation and tricks :oops:

thanks for pointing it out. i do get the feeling that my BIOS can't handle the booting after n cylinders (it also has a problem booting from cds despite there being an option in the BIOS). i'll try putting a small boot partition at the beginning of the disk, but afaik windows 98 must reside in the first primary partition of the disk (unlike win2k and win xp).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum