LinuxQuestions.org
Review your favorite Linux distribution.
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 04-18-2005, 11:31 PM   #1
RJEmery
Member
 
Registered: Jul 2003
Distribution: FC3/GNOME, Slack 10.1
Posts: 31

Rep: Reputation: 15
GRUB Directives for Booting W98 Systems


My hard drive has five installed operating systems which I boot using GRUB 0.95. I can boot just fine W98Prod, Slack and FC3. I cannot boot W98T1 or W98T2.

What changes must I make to my grub.conf file to enable booting of W98T1 and W98T2?

Reproduced below is my partition schme (from 'fdisk -l') and my grub.conf file.

===================================================================
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1787 9219 59705572+ f W95 Ext'd (LBA)
/dev/hda2 * 1 1786 14346013+ c W95 FAT32 (LBA)
/dev/hda3 9475 9729 2048287+ 1c Hidden W95 FAT32 (LBA)
/dev/hda4 9220 9474 2048287+ 1c Hidden W95 FAT32 (LBA)
/dev/hda5 1787 2551 6144831 b W95 FAT32
/dev/hda6 2552 3061 4096543+ b W95 FAT32
/dev/hda7 3062 4846 14337981 b W95 FAT32
/dev/hda8 4847 4999 1228941 b W95 FAT32
/dev/hda9 5000 5764 6144831 83 Linux
/dev/hda10 5765 5797 265041 82 Linux swap
/dev/hda11 5798 5810 104391 83 Linux
/dev/hda12 5811 7340 12289693+ 83 Linux

Partition table entries are not in disk order
===================================================================


===================================================================
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,10)
# kernel /vmlinuz-version ro root=/dev/hda12
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=25
color red/black green/blue
splashimage=(hd0,10)/grub/splash.xpm.gz
title W98Prod
rootnoverify (hd0,1)
chainloader +1
title W98T1
rootnoverify (hd0,3)
chainloader +1
title W98T2
rootnoverify (hd0,2)
chainloader +1
title Slack 10.1
root (hd0,8)
kernel /boot/vmlinuz-ide-2.4.29 ro root=/dev/hda9
initrd /root/.xinitrc
title Fedora Core 3 (2.6.9-1.667)
root (hd0,10)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-1.667.img
===================================================================
 
Old 04-19-2005, 03:16 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
It's difficult to decipher what's what from the above table but I am sure you'll know which partition contains the relevant os. Grub starts its numbering from zero and linux starts numbering the devices from 1. You need to configure grub remembering that the device partition numbers start from 1 and grub starts from zero so to get the correct partition number for grub to use in the (hdV,X) take 1 away from X in the /dev/hdaX. Hope this simplifies your task.
 
Old 04-19-2005, 09:29 AM   #3
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
My fading brain sees this

hda2 (should be hda1)

hda1 extended
hda5 to hda8 logical MS
hda9 and upwards linux including a swap on hda10

hda4 hidden MS (should be hda3 in number)

hda3 hidden MS (should be hda4 in number)

Mr Emery can you advise if you have used Partition magic or similar utility to move partitions around pls?

When you get a chance to read my tutorial you will notice that MS does not like seeing a second C drive before it .
so you need to use the HIDE command to hide your hda2 and while you are at it , it does not hurt to hide the other hda MS partitions even if they are allegedly after it or allegedly hidden from DOS.

BTW you can not hide MS from linux types. Anyone with a knoppix or live cd can soon see your other stuff if you allow them local access. so much for hidden, heh heh
 
  


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
FC3/W98 dual-booting - networks greenshade9 Linux - Networking 2 11-01-2005 01:01 PM
GRUB directives for Slack 10.1 RJEmery Linux - Distributions 4 04-20-2005 02:03 AM
GRUB Directives for Slackware 10.1 RJEmery Linux - Newbie 6 04-19-2005 08:57 PM
Booting to alternative operating systems nomenclator Linux - Newbie 39 10-15-2004 07:04 PM
Install W98 to second drive and boot with GRUB aus9 Linux - Newbie 2 05-07-2004 08:31 PM


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