[SOLVED] Installing to secondary HD, it does'nt boot

General support questions
Post Reply
LeoKite
Posts: 2
Joined: 2011/07/15 06:16:00

[SOLVED] Installing to secondary HD, it does'nt boot

Post by LeoKite » 2011/07/15 07:32:39

I'm trying to compare 64/32 bit CentOS 6.0 in installing different HDs, 64bit on sda and 32bit on sdb, booting by chainloader from 64bit CentOS 6.0 on sda. Pre-loaded 64bit CentOS 6.0 on sda works fine. Afterward, if I install 32bit on sdb by installing GRUB on sdb1, it does not boot.

Viewing grub.conf by Rescue Mode of install DVD, I found the boot partition was recognized as (hd0,0) as if it were sda1, and not sdb1. So, I rewrote
(hd0,0) portion to (hd1,0) by vi, and execute #grub-install /dev/sdb1, then it became to boot well. The phenomena is the same in another clone, Scientific Linux 6.0. In case of installing another partition of sda, there is no problem. In case of Fedora 15, the booting is well on the same situation.

I wonder installation to the secondary hard disk is an out of scope of CentOS 6.0 in some reason such as preventing miss handling or so. Please make advice for me.

My Partition on sdb is;[code]

sdb1 /boot 200MB ext4
sdb2 swap 4000MB
sdb5 / 40000MB ext4 [/code]

Original grub.conf, just installed state is;
[code]
# 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,0)
# kernel /vmlinuz-version ro root=/dev/sdb5
# initrd /initrd-[generic-]version.img
#boot=/dev/sdb1
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title centos (2.6.32-71.el6.i686)
root (hd0,0)
kernel /vmlinuz-2.6.32-71.el6.i686 ro root=UUID=ba9d5ac2-3b83-4937-[/code][Moderator edit: Added [i]code[/i] tags to preserve formatting.]

My environment: CPU: E5400 2.4GHz, Memory: 2GB

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

[SOLVED] Installing to secondary HD, it does'nt boot

Post by pschaff » 2011/07/16 18:26:24

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

Sounds like this [url=https://bugzilla.redhat.com/show_bug.cgi?id=592184]upstream bug[/url] that has "Status: CLOSED NOTABUG". It should be possible to work around this in the installer but I can't give an explicit procedure without trying it.

Your grub.conf seems to have been truncated but gets the point across.

LeoKite
Posts: 2
Joined: 2011/07/15 06:16:00

Re: Installing to secondary HD, it does'nt boot

Post by LeoKite » 2011/07/17 04:46:15

Many thanks for your reply.
I carefully read your recommended site, and realized my mistake. on the selection of "Data Storage Devices"(Left hand site) and "Install Target Devices"(Right hand site). I remained sda on the Left hand site because no need for change, and moved sdb only to the Right hand site. In this case, I had to make the Radio Button of sdb on. else I could not proceed any more.

Finally I realized that this stage is, effectively, a selection of the first booting device. Therefore, I moved both of sda and sdb into the Right hand site, and put on the Radio Button of sda on, then installation was successful.

Since the selection stage is a different picture from CentOS 5.5/5.6 or earlier, I hope more appropriate explanation should be posted in future.
Thank you again!

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: [SOLVED] Installing to secondary HD, it does'nt boot

Post by pschaff » 2011/07/17 12:39:51

Thanks for reporting back. Marking this thread [SOLVED] for posterity. If it crops up repeatedly it may be added to the FAQs or release notes.

Post Reply

Return to “CentOS 6 - General Support”