Linux - NewbieThis 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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
===================================================================
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.