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 01-24-2010, 01:49 AM   #1
treschen
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Rep: Reputation: 0
Installed suse now cant boot into Red Hat


Hi guys

Please help. I initially had Red Hat 5 on my pc on my primary 40 hard drive, then i added a second hard drive as a secondary master and went on to install suse on it, now when suse boots it doesn't even give me the option to boot red hat, i did not touch any of the partitions on the red hat hard drive during the suse installation. Is there hope ???

PS: I am total Newbie when it comes to linux

Thanks
 
Old 01-24-2010, 02:16 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55
Hi treschen...

Try this..

1. Boot the machine with SUSE Linux
2. Try to find where RHEL's /boot partition is mounted. i.e.,For eg:
Code:
[root@vinay firefox]# fdisk -l /dev/sda

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x61290840

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        6374    51199123+   7  HPFS/NTFS
/dev/sda2   *        6375        6387      104391   83  Linux
/dev/sda3            6388       19457   104984775    f  W95 Ext'd (LBA)
/dev/sda5            6388        8998    20972826   83  Linux
/dev/sda6            8999       11609    20972826   83  Linux
/dev/sda7           11610       14220    20972826   83  Linux
/dev/sda8           14221       14481     2096451   82  Linux swap / Solaris
/dev/sda9           14482       19457    39969688+  83  Linux
3. From above output my boot partition is mounted on /dev/sda2..I believe your RHEL installation is on /dev/sda and SUSE installation is on /dev/sdb

4. mount the drive and check for vmlinuz and initrd files
Code:
mount -t /dev/sda2 ext3 /mnt
5. Check the files vmlinuz and initrd under /mnt and add them properly in grub.conf file as shown below

6. Now Add following lines to /boot/grub/grub.conf file
Code:
title SUSE Linux 
        root (hd0,1)  # hd0 is first harddisk, 1 is 2nd primary partition
        kernel /vmlinuz.*.*
        initrd /initrd.*.*
7.reboot the machine

Hope this helps....Do revert back if the issue persists....

Cheers !!!

Last edited by vinaytp; 01-24-2010 at 02:20 AM.
 
Old 01-24-2010, 03:30 AM   #3
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by treschen View Post
Hi guys

Please help. I initially had Red Hat 5 on my pc on my primary 40 hard drive, then i added a second hard drive as a secondary master and went on to install suse on it, now when suse boots it doesn't even give me the option to boot red hat, i did not touch any of the partitions on the red hat hard drive during the suse installation. Is there hope ???

PS: I am total Newbie when it comes to linux

Thanks
What file system did Red Hat 5 use ?
Is it ext3 or or ext 4
As opensuse still use GRUb 1 it can not read ext 4
in that case it is better to use Red hat GRUb , but than you have restore Red hat GRUB.
 
Old 01-26-2010, 01:02 AM   #4
treschen
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks alot guys,it is ext3, i will try it out later today.....
 
  


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
how to boot red hat if i installed GRUB in the /root cosgeo99 Red Hat 4 02-17-2005 11:14 AM
I can't boot to XP after I installed Red Hat 8(UNMOUNTABLEBOOT_VOLUME)? Deon General 2 10-19-2004 02:15 AM
Dual Boot Red Hat 9: 2 images installed - Why??? snyderJD Red Hat 1 03-29-2004 12:38 PM
I installed Red Hat 9 and it won't boot from harddrive but floppy works? ablack33 Linux - Newbie 0 08-26-2003 12:01 PM
red hat 8.0 is installed but won't boot Valek Linux - Software 10 12-29-2002 12:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:31 PM.

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