LinuxQuestions.org
Visit Jeremy's Blog.
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 10-22-2012, 11:32 AM   #1
anjumanu321
Member
 
Registered: May 2011
Location: Hyderabad, India
Distribution: RedHat 6,Centos,Debian Squeeze
Posts: 49

Rep: Reputation: Disabled
Centos 6 going blank at startup


hello all,

I have centos6 installed in my system.All was well until I installed Windows 7 alongside centos.I can see both Centos and Windows 7 from the grub menu.But after selecting centos the screen goes blank while booting.
I tried going into single user mode but same thing happens.

Currently I am using a live cd, please suggest how to proceed further.

--
Anji
 
Old 10-22-2012, 12:19 PM   #2
Shammyhealz
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Rep: Reputation: Disabled
Goes blank while booting? As in it comes back? If so, I see very little issue with that. If it does not come back, I would like to see a layout of your partitions now, and what you think they were before. You could do this with a live cd, I believe the command is fdisk or using a SuperGrub disk to list the partitions. I suspect you may have written over all or some of your CentOS partitions
 
Old 10-23-2012, 03:59 AM   #3
anjumanu321
Member
 
Registered: May 2011
Location: Hyderabad, India
Distribution: RedHat 6,Centos,Debian Squeeze
Posts: 49

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shammyhealz View Post
Goes blank while booting? As in it comes back? If so, I see very little issue with that. If it does not come back, I would like to see a layout of your partitions now, and what you think they were before. You could do this with a live cd, I believe the command is fdisk or using a SuperGrub disk to list the partitions. I suspect you may have written over all or some of your CentOS partitions

It just stays blank and nothing happens.

here is my partitions info:

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 3888 512000 83 Linux
/dev/sda3 3888 8478 36864000 83 Linux
/dev/sda4 9102 30402 171087872 5 Extended
Partition 4 does not end on cylinder boundary.
/dev/sda5 9741 22488 102398278+ 7 HPFS/NTFS
/dev/sda6 22489 30400 63553108+ 7 HPFS/NTFS
/dev/sda7 9103 9613 4096000 82 Linux swap / Solaris
/dev/sda8 9102 9102 1255+ 83 Linux


Thanks,
Anji

Last edited by anjumanu321; 10-23-2012 at 04:04 AM.
 
Old 10-23-2012, 05:20 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,245

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
yep ( dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS )
the above dose show that Microsoft tried to convert you to the Borg

it replaced a perfectly good and working GRUB install with MS's bootloarer

just read the wiki on reinstalling grub

http://wiki.centos.org/HowTos/GrubInstallation
see section 3
"3. Installing Grub using grub-install"

then set up grub to boot windows
 
Old 10-23-2012, 07:57 AM   #5
anjumanu321
Member
 
Registered: May 2011
Location: Hyderabad, India
Distribution: RedHat 6,Centos,Debian Squeeze
Posts: 49

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
yep ( dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS )
the above dose show that Microsoft tried to convert you to the Borg

it replaced a perfectly good and working GRUB install with MS's bootloarer

just read the wiki on reinstalling grub

http://wiki.centos.org/HowTos/GrubInstallation
see section 3
"3. Installing Grub using grub-install"

then set up grub to boot windows
Thanks, I just tried this and after rebooting still nothing happens.

Output:

grub> root (hd0,1)
root (hd0,1)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... 26 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd0) (hd0)1+26 p (hd0,1)/grub/stage2 /grub/grub.conf"... succeeded
Done.


Here is my grub.conf file:

cat (hd0,1)/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title centos (2.6.32-71.el6.i686)
root (hd0,1)
kernel /vmlinuz-2.6.32-71.el6.i686 ro root=UUID=e158af07-5c3f-4cac-9d8b-43829ebd7c25 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-71.el6.i686.img
title Other
rootnoverify (hd0,0)
chainloader +1
 
Old 10-24-2012, 02:26 AM   #6
anjumanu321
Member
 
Registered: May 2011
Location: Hyderabad, India
Distribution: RedHat 6,Centos,Debian Squeeze
Posts: 49

Original Poster
Rep: Reputation: Disabled
Resolved after reinstalling the grub..
 
  


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
[SOLVED] Blank screen on startup, no POST deathmonkey6 Linux - Hardware 2 12-03-2007 12:13 PM
Ubuntu blank screen on startup dkbg Linux - Software 4 12-31-2005 05:26 PM
Thunderbird blank on startup chilehead Linux - Software 7 11-25-2005 01:15 PM
blank screen during startup imranmakbar Linux - Software 0 07-15-2004 03:26 PM
blank screen Xwindow startup mooner Linux - Newbie 1 12-12-2003 10:47 AM

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

All times are GMT -5. The time now is 08:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration