LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-29-2006, 10:45 AM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
add linux booting partition / option to grub.conf


My current working grub.conf is:
default=0
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
root (hd0,4)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358.img
title Windows
rootnoverify (hd0,0)
chainloader +1

Besides the Fedora Core 2 and windows installations on the hard disk, I had installed linux on the hard disk previously but I forgot what are the distributions.
How do I find out what linux distributions are installed on the hard disk?
How to modify grub.conf so that I can boot into those linux distributions?

# fdisk /dev/hda

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

Device Boot Start End Blocks Id System
/dev/hda1 * 1 3213 25808391 7 HPFS/NTFS
/dev/hda2 4519 9726 41833260 f W95 Ext'd (LBA)
/dev/hda3 3214 3342 1036192+ 82 Linux swap
/dev/hda4 3343 4518 9446220 83 Linux
/dev/hda5 4519 4534 128488+ 83 Linux
/dev/hda6 4535 9726 41704708+ 83 Linux
 
Old 03-29-2006, 02:13 PM   #2
burntfuse
Member
 
Registered: Sep 2005
Location: Laurel, MD, USA
Distribution: Slackware 10.1, FC5
Posts: 164

Rep: Reputation: 30
Try mounting (su, cd /mnt, mkdir hdaX, mount /dev/hdaX ./hdaX) those other partitions marked as 'Linux' (hda4, hda5, hda6), and seeing what's on them to find what else is installed. Adding them to your GRUB menu is more complex, and I would give some advice, but I haven't done it much myself.
 
Old 04-04-2006, 05:07 PM   #3
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
I remember hda6 has a FC2 installation.
Now I installed FC3 on hda4.
How to modify the grub.conf to allow booting to FC2?

grub.conf is:
default=0
timeout=5
splashimage=(hd0,3)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core 3 (2.6.9-1.667)
root (hd0,3)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
title windows
rootnoverify (hd0,0)
chainloader +1



# ls /boot
config-2.6.9-1.667 initrd-2.6.9-1.667.img vmlinuz-2.6.9-1.667
grub System.map-2.6.9-1.667

# cd /mnt
# mount /dev/hda6 hda6

No files in /mnt/hda6/boot directory?
# ls hda6/boot/
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
the "default" ( as we have in grub.conf ) option of lilo.conf ??? b0nd Linux - Newbie 4 09-14-2005 05:51 AM
grub help booting into another linux partition newusermike Linux - Newbie 3 08-04-2005 10:34 AM
Booting more than one linux - GRUB and \boot partition questions rozoweskarpetki Linux - Newbie 8 05-25-2005 05:58 AM
How do I add a Shell option to grub DiSGuiZ Linux - Newbie 4 04-15-2005 03:28 PM
how to add floppy option in grub? JIV Linux - Software 3 05-03-2003 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03: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
Open Source Consulting | Domain Registration