LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-14-2012, 11:03 PM   #1
rajini23
Member
 
Registered: Sep 2011
Posts: 162

Rep: Reputation: Disabled
Not able to boot linux machine.....


hi,

I have installed redhat5 OS in my desktop and later in secondary harddisk i have installed ubuntu OS,
Now i am not able to see my Rehat OS,Ubuntu is booting up has defualt OS,

Please help me on this...

My "fdisk output" of ubuntu....hear yout can find sda= Redhat5 installed and sdb=ubuntu installed.....


Disk /dev/sdb: 20.4 GB, 20416757760 bytes
255 heads, 63 sectors/track, 2482 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa869a869

Device Boot Start End Blocks Id System
/dev/sdb1 1 122 975872 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2 122 2483 18959361 5 Extended
/dev/sdb5 122 487 2928640 82 Linux swap / Solaris
/dev/sdb6 487 2483 16029696 83 Linux

Disk /dev/sda: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006ac66

Device Boot Start End Blocks Id System
/dev/sda1 * 1 127 1020096 83 Linux
/dev/sda2 128 509 3068415 83 Linux
/dev/sda3 510 4865 34989570 8e Linux LVM
user@user-desktop:~$
 
Old 02-14-2012, 11:47 PM   #2
eeekster
Member
 
Registered: Sep 2011
Posts: 163

Rep: Reputation: Disabled
When you installed Ubuntu on the other drive it put its own boot loader on the boot drive. You'll need to update Ubuntu's to include the Red Hat installation as a choice in the boot menu. For Red Hat (and Fedora) systems the configuration would be in /etc/grub.conf.
 
Old 02-15-2012, 12:05 AM   #3
rajini23
Member
 
Registered: Sep 2011
Posts: 162

Original Poster
Rep: Reputation: Disabled
Hi,

I am not able to find any menu.lst file in my Ubuntu machine...i user ububt10.04 OS
 
Old 02-15-2012, 04:22 AM   #4
eeekster
Member
 
Registered: Sep 2011
Posts: 163

Rep: Reputation: Disabled
Quote:
Originally Posted by rajini23 View Post
I am not able to find any menu.lst file in my Ubuntu machine
Why were you looking for one?
 
Old 02-15-2012, 06:14 AM   #5
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 271

Rep: Reputation: 6
Just find your grub.conf and edit it.

to edit mine, in a terminal with super user, I use:
Code:
nano /boot/grub/grub.conf
nano is the editor I use and the location points to my grub.conf

Your grub may be in another location so you need to look for it.

My grub looks like this for my gentoo install:
Code:
default 0
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux
root (hd0,0)
kernel /boot/gentoo-kernel root=/dev/sda2
make an entry and point grub to your os.
 
Old 02-19-2012, 11:58 AM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
sudo update-grub
should find the other OS
 
Old 02-22-2012, 12:44 AM   #7
slarti_42
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
Yes, EDDY1 is right. Do not go meddling around with the configuration files unless you know what you are doing and have a good reason to do so. Grub is very good at finding OS's on its own - whenever you install a new OS and grub needs to find it, simply run the "sudo update-grub" command and it will look for all installed operating systems and automatically add them.
 
Old 02-22-2012, 03:27 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If update-grub doesn't work when you run it mount the boot partition for sda & run it again.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
My linux machine does not boot lillk Linux - Newbie 7 07-06-2009 08:10 AM
How to dual boot a linux machine rwalkerphl Linux - Newbie 1 10-12-2004 10:35 PM
boot dos machine to linux shamz Linux - Networking 1 12-29-2003 03:11 PM
Want dual boot Linux on XP machine marshouser Linux - Newbie 2 08-13-2003 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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