[CentOS] CentOS 5 grub boot problem
Bowie Bailey
Bowie_Bailey at BUC.com
Wed Aug 5 17:11:38 UTC 2015
On 8/5/2015 1:00 PM, Chris Murphy wrote:
> On Wed, Aug 5, 2015 at 10:52 AM, Bowie Bailey <Bowie_Bailey at buc.com> 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 at buc.com> 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
More information about the CentOS
mailing list