Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Installation
Reload this Page Newbie - Dual boot issue
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Installation Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Reply
 
Thread Tools Display Modes
Old 06-03-2008   #1 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 3
Newbie - Dual boot issue

Hello All,

I am a newbie and do not know many detail about Linux. I hope to get some detail (step-by-step) help from some of you expert out there.

My system was previously installed with Windows XP and Suse 10.3. I used GParted to add a new partition and install CentOS 5.1 on this new partition. After complete, now I can only see Windows and CentOS from boot menu. Could someone tell me if it is possible to get back my OpenSuse 10.3 and add it to the Grub menu? basically, I wish to have all three OS running on this system.

Thank you very much.
ashwickhouse is offline   Reply With Quote
Old 06-03-2008   #2 (permalink)
Linux Guru
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,582
Welcome to the forums ashwickhouse

Open a terminal and type
Code:
su
fdisk -l
cat /boot/grub/menu.lst
Let us know which is your root partition in SUSE.
Jonathan183 is offline   Reply With Quote
Old 06-03-2008   #3 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 3
Wow! thank you very much for the fast response.

Here is the /sbin/fdisk -l command gives me:
Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 5099 40957686 7 HPFS/NTFS
/dev/hda2 5100 10011 39455640 f W95 Ext'd (LBA)
/dev/hda5 5100 5361 2104483+ 82 Linux swap / Solaris
/dev/hda6 5362 7244 15125166 83 Linux
/dev/hda7 7245 8229 7911981 83 Linux
/dev/hda8 8230 10011 14313883+ 83 Linux

I beleive that SUSe 10.3 is on the hda1 and sure that the hda8 contains CentOS 5.1

Below is my menu file:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,7)
# kernel /boot/vmlinuz-version ro root=/dev/hda8
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-53.1.21.el5xen)
root (hd0,7)
kernel /boot/xen.gz-2.6.18-53.1.21.el5 crashkernel=128M@16M
module /boot/vmlinuz-2.6.18-53.1.21.el5xen ro root=LABEL=/ rhgb quiet
module /boot/initrd-2.6.18-53.1.21.el5xen.img
title CentOS (2.6.18-53.el5xen)
root (hd0,7)
kernel /boot/xen.gz-2.6.18-53.el5 crashkernel=128M@16M
module /boot/vmlinuz-2.6.18-53.el5xen ro root=LABEL=/ rhgb quiet
module /boot/initrd-2.6.18-53.el5xen.img
title WindowsXP
rootnoverify (hd0,0)
chainloader +1

Thank you.
ashwickhouse is offline   Reply With Quote
Old 06-03-2008   #4 (permalink)
Linux User
 
Join Date: Oct 2007
Location: Tucson AZ
Posts: 400
When you installed CentOS you wrote over your opensuse bootloader and CentOS did not detect it and make an entry in the grub.conf file for opensuse. hda1 is definitely not opensue as it is ntfs and a windows partition and if you are sure that CentOS is on a sda8 then opensuse is either on hda6 or hda7. Boot up CentOS and as root run the command: mkdir /mnt/opensuse and then run: mount /dev/hda6 /mnt/opensuse, if that doesn't work try:
mount /dev/hda7 /mnt/opensuse

You should then be able to see the opensuse files and go to /boot/grub/menu.lst and copy the entry for opensuse to CentOS grub.conf file.
yancek is offline   Reply With Quote
Old 06-03-2008   #5 (permalink)
Linux Guru
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,582
As yancek indicated SUSE will not be on sda1 it will be on either sda6 or sda7. I suggest you edit the grub menu file and add the following lines, save changes then restart your system and try each option and see which one brings up your SUSE menu.
Code:
title suse grub menu (sda6)
root (hd0,5)
configfile=/boot/grub/menu.lst

title suse grub menu (sda7)
root (hd0,6)
configfile=/boot/grub/menu.lst
You can remove the option that does not work.
Jonathan183 is offline   Reply With Quote
Old 06-04-2008   #6 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 3
Thank you both so very much.

Thing sounds so simple when you know what you are doing.
ashwickhouse is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 04:45 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0