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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
07-17-2003, 06:54 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: Miami, FL
Posts: 5
Rep:
|
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
|
|
|
07-17-2003, 07:51 PM
|
#2
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
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.
|
|
|
07-17-2003, 08:06 PM
|
#3
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
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
|
|
|
07-18-2003, 10:10 AM
|
#4
|
LQ Newbie
Registered: Jul 2003
Location: Miami, FL
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|