Re: CentOS 5 grub boot problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 8/5/2015 1:00 PM, Chris Murphy wrote:
On Wed, Aug 5, 2015 at 10:52 AM, Bowie Bailey <Bowie_Bailey@xxxxxxx> wrote:
How would I go about pointing it at the partition?

What I am currently doing is this:
device (hd0) /dev/hdg
root (hd0,0)
setup (hd0)

setup (hd1,0)

It's hd1 if your device map is correct and hdg is hd1. And then ,0 is
for the first partition assuming that's an ext3 boot partition.

What I am doing on my other system (where everything is working), is forcing grub to install to both drives as hd0. I found that when the first drive dies and I remove it from the system, grub will see the remaining drive as hd0, regardless of what it was before. So if I install grub to the second disk as hd1, then it won't boot as a single drive.

And to get this back to a single thread:

On 8/5/2015 1:03 PM, Chris Murphy wrote:
On Wed, Aug 5, 2015 at 10:58 AM, Bowie Bailey <Bowie_Bailey@xxxxxxx> wrote:

I tried 'smartctl -a' and 'hdparm -I', but I don't see anything about
Advanced Format.  What am I looking for?
# smartctl -i /dev/hdg | grep -i sector
Sector Size:      512 bytes logical/physical

I don't get a "Sector Size" line.

smartctl version 5.38 [i686-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD10EZEX-60M2NA0
Serial Number:    WD-WCC3F6AX0119
Firmware Version: 03.01A03
User Capacity:    1,000,204,886,016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   9
ATA Standard is:  Not recognized. Minor revision code: 0x1f
Local Time is:    Wed Aug  5 13:09:16 2015 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

--
Bowie
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux