LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-17-2003, 06:54 PM   #1
rickym1
LQ Newbie
 
Registered: Jul 2003
Location: Miami, FL
Posts: 5

Rep: Reputation: 0
Question linux-win98 dual boot


I set up my computer to dual boot with win98 and linux. I did all the things that are mentioned in the bulletins here. When I reboot and choose linix from the menu, it works fine, when i choose win98 I get an error msg:
rootnoverify(hd1,0)
chainloader +1
Invalid Systemdisk

I installed win98 first, and made sure it's working fine. I then installed Linux (Red Hat 7.3). I specified to have the boot loader in the MBR. I had a smooth install but when the system rebooted I was not able to go to win98 anymore.

can anyone help me.

I can be contacted at rickym1@hotmail.com

thanks
 
Old 07-17-2003, 07:51 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
That line [i]rootnoverify(hd1,0) suggests that you have your Windows disk as primary slave - do you have two harddrives? Also, there should not be a space between the hd and the 1 in that line.

If you can boot into Linux, then issue this command: fdisk -l (as root) and find the partition/drive that has Windows installed on it. Ues the following to identify the grub partitiion naming from the Linux partition naming scheme:
Code:
Linux - Grub
hda1  - hd0,0
hda2  - hd0,1
hda3  - hd0,2
hdb1  - hd1,0
hdb2  - hd1,1
hdb3  - hd1,2
Once you've found your Windows and discovered the Grub partition name for it, edit the file (as root) /etc/grub.conf and change the line to reflect your findings.

Good luck.
 
Old 07-17-2003, 08:06 PM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
That path should be /boot/grub/grub.conf (or menu.lst)

To examine or post your partitioning scheme, as root command:

fdisk -l

My results:
Code:
root@uilleann ~ # fdisk -l

Disk /dev/hdc: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdc1             1      9729  78148161   83  Linux

Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      1217   9772056    c  Win95 FAT32 (LBA)
/dev/hda2          1217      1229     99855   83  Linux
/dev/hda3          1230      1676   3590527+  83  Linux
/dev/hda4          1677      4865  25615642+   5  Extended
/dev/hda5          1677      1742    530113+  82  Linux swap
/dev/hda6          1743      2189   3590496   83  Linux
/dev/hda7          2190      2636   3590496   83  Linux
/dev/hda8          2637      3751   8956206   83  Linux
/dev/hda9          3752      4865   8948173+  83  Linux
Thu Jul 17 09:07pm root@uilleann ~ #
Here is my config for an example
Code:
# Duron 950 uillean box /boot/grub/grub.conf file
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux 7.3
        root (hd0,1)
        kernel /vmlinuz-2.4.18-3 ro root=/dev/hda6 hdd=ide-scsi mem=nopentium
        initrd /initrd-2.4.18-3.img
title Mandrake Linux 9.0
        kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 devfs=mount hdd=ide-scsi quiet vga=788 mem=nopentium
        initrd (hd0,6)/boot/initrd.img
title Gentoo Linux
        root (hd0,1)
        kernel (hd0,1)/boot/bzImage root=/dev/hda3 hdd=ide-scsi mem=nopentium
title Windows 98 Sucky Edition
        rootnoverify (hd0,0)
        chainloader +1
 
Old 07-18-2003, 10:10 AM   #4
rickym1
LQ Newbie
 
Registered: Jul 2003
Location: Miami, FL
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up It worked

Thanks guys, you were right on the money!

After running the fdisk -l command I found out that I need to change the hd specification from hd1 to hd0. so i edited the grub.conf file and I changed -Rrootnoverify(hd1,0) to -Rrootnoverify(hd0,0)

when I rebooted and choose windows, it came up just fine.

Thanks for your great help.
 
  


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
Dual boot win98/xp and linux rama23 Linux - Newbie 10 10-08-2005 07:26 AM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 05:04 PM
dual boot win98 and Linux Chess007 Linux - Newbie 3 04-13-2003 06:40 PM
Linux/Win98 Dual Boot, Win98 won't boot TIMMY! Linux - Software 21 04-18-2001 03:17 PM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 09:00 AM

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

All times are GMT -5. The time now is 02:47 PM.

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
Open Source Consulting | Domain Registration