LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-13-2013, 04:08 PM   #1
440Music
LQ Newbie
 
Registered: Jan 2009
Location: Chicago, IL USA
Distribution: CentOS 6.4
Posts: 11

Rep: Reputation: 0
CentOS 6.4 boot issue


I'm using CentOS 6.4 which is basically RedHat and I though I could edit the boot order. Although after making the change in grub.conf I went to run lilo and foudn it nolonger exsist. Now if I try to load windows7 Pro I get an error saying something like(not verbatum) Invalide Operating System. I'm sure I messed up the MBR but haven't been able to find anything that works.

grub -update
yum install grub or grub2 files can not be found or do not exsist

It's been almost 7 years since I last needed to change the order of a dual booting system and what I thought I knew has change and I feel like a newby not knowing how to solve my error.

HELP!!!

TBones
 
Old 10-14-2013, 04:07 AM   #2
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,290

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
check out this link it might give you an idea:
http://askubuntu.com/questions/26501...edit-grub-menu
 
Old 10-14-2013, 07:05 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,982
Blog Entries: 46

Rep: Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203
Moderator Response

Moved your post & associated post to a new thread.
 
Old 10-16-2013, 10:56 AM   #4
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,710

Rep: Reputation: 504Reputation: 504Reputation: 504Reputation: 504Reputation: 504Reputation: 504
Hi 440Music,

Can you post the exact message you get?

I've just stuck Centos 6.4 (Well, it is now after the 500 odd upgrades from 6.2!) on a Proliant ML370 M4 over a couple of SmartArray RAIDED disks. I've also got a couple of disks on a separate SCSI controller with Ubuntu 12.4 and Fedora 14 on them. Neither of them is seen by Grub, which is my problem!!

From what I can see, Centos uses the Legacy version of Grub, i.e.not Grub2, so editing the grub.conf file in /boot/grub seems to be all that's needed to add selections to the boot menu. grub-update seems to be used by grub2 only to incorporate any custom_42.whatever files so not needed here. Please correct me if I'm wrong.

I've no idea how to map the /dev/cciss/c0d0p1, /dev/sda1 and /dev/sdb1 to an hd0, hd0, or whatever's needed to identify the disks so I got the UUIDs of all my disks using a live CD (Mint & GParted)and added the appropriate "root=uuid=" lines to grub.conf.

The entries show up in the grub menu during boot but I get "file not found" errors (Yes, I've specified the kernel vmlinuz & initrd.img files within /boot on the other two drives)

I know that if you're running a dual boot system with both Windows and Linux that you should install windows first. Any examples of a Windows entry that I've seen differ from the Linux ones but there are quite a few examples littering the internet.
I've also found out, usually the hard way, that before you mess about with a .conf file you should make a .conf.old file so you can back out easily.

Let me know what error message you get and what the entries are in grub.conf. I've maybe found something relevant somewhere already.

Play bonny!

Last edited by Soadyheid; 10-16-2013 at 10:57 AM.
 
Old 10-18-2013, 07:52 AM   #5
440Music
LQ Newbie
 
Registered: Jan 2009
Location: Chicago, IL USA
Distribution: CentOS 6.4
Posts: 11

Original Poster
Rep: Reputation: 0
OneBuck, Thank you, I thought I was in the wrong place.

JJJCR, this is good information although it doesn't work with CentOS 6.4

Soadyheid, After several frustrating hours for info on how to fix my error I tried doing a repair and now when I choose Windows grub sends me back to the choices, which are the original install and the latest up-date. I have three options:
CentOS (2.6.32-358.18.1.el6.i686)
CentOS (2.6.32-358.el6.i686)
Windows

Screen goes dark and after 3 or 4 seconds I get the message saying that in 10 seconds that CentOS (2.6.32-358.e16.i686) will boot.

I've mounted the drive and all the information is intact and I'm guessing that some how I messed up the master boot record.

I wish Ubunta users would stick to Ubunta forum!!
 
Old 10-24-2013, 07:58 PM   #6
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,290

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
hi 440, check out this link it discusses about how to restore windows mbr after dual booting with Linux.

http://www.linuxbsdos.com/2012/03/10...ng-with-linux/
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dual Boot Slackware with CentOS using CentOS GRUB frankbell Slackware 9 10-26-2011 11:04 AM
[SOLVED] CentOS 5.4 / Grub issue? System hangs on boot Xyan Red Hat 12 04-26-2010 02:15 PM
Booting Centos 5.4 Issue: "CentOS CD Not found in any of the media drives. Please i g.navink Red Hat 1 04-07-2010 04:12 PM
centos 5 boot issue extendedping Linux - Software 3 05-25-2007 06:41 PM

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

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