Re: [CentOS] CentOS 5 grub boot problem

2015-08-10 Thread Bowie Bailey
On 8/7/2015 8:35 PM, Chris Murphy wrote: On Fri, Aug 7, 2015 at 8:12 AM, Bowie Bailey wrote: I tried the grub commands you gave and still got the same results. I also have a copy of the SuperGrub disc, which is supposed to be able to fix grub problems. It can boot the drive, but it can't fix i

Re: [CentOS] CentOS 5 grub boot problem

2015-08-07 Thread Chris Murphy
On Fri, Aug 7, 2015 at 8:12 AM, Bowie Bailey wrote: > I tried the grub commands you gave and still got the same results. I also > have a copy of the SuperGrub disc, which is supposed to be able to fix grub > problems. It can boot the drive, but it can't fix it. If nothing else, I > guess I could

Re: [CentOS] CentOS 5 grub boot problem

2015-08-07 Thread Bowie Bailey
On 8/6/2015 5:11 PM, Chris Murphy wrote: On Thu, Aug 6, 2015 at 2:57 PM, Bowie Bailey wrote: Ok. I'll give that a try tomorrow. Just a couple of questions. install --stage2=/boot/grub/stage2 /grub/stage1 d (hd0,1) /grub/stage2 p (hd0,1)/grub/grub.conf It looks like this mixes paths relativ

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Chris Murphy
On Thu, Aug 6, 2015 at 5:19 PM, Chris Murphy wrote: > Now I get to look back at OP's first email and see > if he did this exact same thing already, and whether we've come full > circle. Shit. He did. All I can think of is that either the GRUB/BIOS device designations are wrong (they should be (h

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Chris Murphy
On Thu, Aug 6, 2015 at 5:04 PM, Chris Murphy wrote: > I might try nerfing the parted and grub stage 1 bootloaders on disk2, > and see if the grub shell (which I should still get to from disk 1) > will let me install grub directly on these two drives properly. OK I did that and this works. ## At

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Gordon Messmer
On 08/06/2015 02:19 PM, Chris Murphy wrote: stage 1 cannot point to another drive at all. It's sole purpose is to find stage 2, which must be on the same drive. Stage 1.5 is optional, and I've never seen it get used on Linux, mainly because in the time of GRUB legacy, I never encountered an insta

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Chris Murphy
On Thu, Aug 6, 2015 at 3:19 PM, Chris Murphy wrote: > On Thu, Aug 6, 2015 at 2:59 PM, Gordon Messmer > wrote: >> On 08/05/2015 10:23 AM, Chris Murphy wrote: >>> >>> Nothing about hd0 or hd1 gets baked into the bootloader code. It's an >>> absolute reference to a physical drive at the moment in t

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Gordon Messmer
On 08/05/2015 04:41 PM, Chris Murphy wrote: I do not know why there's a duplication of the install command. ... : Running... ['/sbin/grub', '--batch', '--no-floppy', '--device-map=/boot/grub/device.map'] : grub> device (hd0) /dev/vdb : grub> root (hd0,1) : grub> install --stage2=/bo

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Chris Murphy
On Thu, Aug 6, 2015 at 2:59 PM, Gordon Messmer wrote: > On 08/05/2015 10:23 AM, Chris Murphy wrote: >> >> Nothing about hd0 or hd1 gets baked into the bootloader code. It's an >> absolute reference to a physical drive at the moment in time the >> command is made. > > > Is that true? If I have a s

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Chris Murphy
On Thu, Aug 6, 2015 at 2:57 PM, Bowie Bailey wrote: > On 8/6/2015 4:39 PM, Chris Murphy wrote: >> >> On Thu, Aug 6, 2015 at 2:29 PM, Bowie Bailey wrote: >>> >>> On 8/6/2015 4:21 PM, Chris Murphy wrote: On Thu, Aug 6, 2015 at 2:08 PM, Bowie Bailey wrote: > Doing a new inst

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Leon Fauster
Am 06.08.2015 um 22:43 schrieb Chris Murphy : > On Thu, Aug 6, 2015 at 2:39 PM, Leon Fauster > wrote: >> Am 06.08.2015 um 22:21 schrieb Chris Murphy : >>> On Thu, Aug 6, 2015 at 2:08 PM, Bowie Bailey wrote: >>> >>> >>> Sounds like a pain. I would just adapt the CentOS 6 program.log >>> command

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Gordon Messmer
On 08/05/2015 10:23 AM, Chris Murphy wrote: Nothing about hd0 or hd1 gets baked into the bootloader code. It's an absolute reference to a physical drive at the moment in time the command is made. Is that true? If I have a system with two disks, where device.map labels one as hd0 and the other

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Bowie Bailey
On 8/6/2015 4:55 PM, Leon Fauster wrote: Am 06.08.2015 um 22:39 schrieb Leon Fauster : Am 06.08.2015 um 22:21 schrieb Chris Murphy : On Thu, Aug 6, 2015 at 2:08 PM, Bowie Bailey wrote: Doing a new install on the two 1TB drives is my current plan. If that works, I can connect the old drive,

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Bowie Bailey
On 8/6/2015 4:39 PM, Chris Murphy wrote: On Thu, Aug 6, 2015 at 2:29 PM, Bowie Bailey wrote: On 8/6/2015 4:21 PM, Chris Murphy wrote: On Thu, Aug 6, 2015 at 2:08 PM, Bowie Bailey wrote: Doing a new install on the two 1TB drives is my current plan. If that works, I can connect the old drive

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Leon Fauster
Am 06.08.2015 um 22:39 schrieb Leon Fauster : > Am 06.08.2015 um 22:21 schrieb Chris Murphy : >> On Thu, Aug 6, 2015 at 2:08 PM, Bowie Bailey wrote: >> >>> Doing a new install on the two 1TB drives is my current plan. If that >>> works, I can connect the old drive, copy over all the data, and th

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Chris Murphy
On Thu, Aug 6, 2015 at 2:39 PM, Leon Fauster wrote: > Am 06.08.2015 um 22:21 schrieb Chris Murphy : >> On Thu, Aug 6, 2015 at 2:08 PM, Bowie Bailey wrote: >> >>> Doing a new install on the two 1TB drives is my current plan. If that >>> works, I can connect the old drive, copy over all the data,

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Chris Murphy
On Thu, Aug 6, 2015 at 2:29 PM, Bowie Bailey wrote: > Definitely a strange problem. I'm hoping that doing a new install onto > these drives rather than trying to inherit the install used on the smaller > drives will work better. The CentOS installer, and parted, predate AF drives, so the partit

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Chris Murphy
On Thu, Aug 6, 2015 at 2:29 PM, Bowie Bailey wrote: > On 8/6/2015 4:21 PM, Chris Murphy wrote: >> >> On Thu, Aug 6, 2015 at 2:08 PM, Bowie Bailey wrote: >> >>> Doing a new install on the two 1TB drives is my current plan. If that >>> works, I can connect the old drive, copy over all the data, an

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Leon Fauster
Am 06.08.2015 um 22:21 schrieb Chris Murphy : > On Thu, Aug 6, 2015 at 2:08 PM, Bowie Bailey wrote: > >> Doing a new install on the two 1TB drives is my current plan. If that >> works, I can connect the old drive, copy over all the data, and then try to >> figure out what I need to do to get all

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Bowie Bailey
On 8/6/2015 4:21 PM, Chris Murphy wrote: On Thu, Aug 6, 2015 at 2:08 PM, Bowie Bailey wrote: Doing a new install on the two 1TB drives is my current plan. If that works, I can connect the old drive, copy over all the data, and then try to figure out what I need to do to get all the programs r

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Chris Murphy
On Thu, Aug 6, 2015 at 2:08 PM, Bowie Bailey wrote: > Doing a new install on the two 1TB drives is my current plan. If that > works, I can connect the old drive, copy over all the data, and then try to > figure out what I need to do to get all the programs running again. Sounds like a pain. I w

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Bowie Bailey
On 8/6/2015 3:56 PM, Gordon Messmer wrote: On 08/05/2015 08:12 AM, Bowie Bailey wrote: This is an old system with only IDE ports. There is an added Highpoint raid card which is used only for the two extra IDE ports. Why "extra"? Are there drives connected to this system other than the two

Re: [CentOS] CentOS 5 grub boot problem

2015-08-06 Thread Gordon Messmer
On 08/05/2015 08:12 AM, Bowie Bailey wrote: This is an old system with only IDE ports. There is an added Highpoint raid card which is used only for the two extra IDE ports. Why "extra"? Are there drives connected to this system other than the two you're discussing for the software RAID set

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Chris Murphy
Rats. That wrapped ugly. Here's that section in the log using fpaste. http://fpaste.org/252028/88181881/ Chris Murphy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Chris Murphy
I never thought I'd say this, but I think it's easier to do this with GRUB 2. Anyway I did an installation to raid1's in CentOS 6's installer, which still uses GRUB legacy. I tested removing each of the two devices and it still boots. These are the commands in its log: : Running... ['/sbin/grub-

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Always Learning
On Wed, 2015-08-05 at 13:11 -0400, Bowie Bailey wrote: > > # 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 On the latest Centos 5 =

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Chris Murphy
On Wed, Aug 5, 2015 at 2:54 PM, Bowie Bailey wrote: > That's because I'm intending to increase the size of that filesystem. The > raid should work as long as the new partition is at least as big as the old > one. Once I get this working, I will remove the original drive and add > another 1TB dr

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread m . roth
Bowie Bailey wrote: > On 8/5/2015 3:59 PM, m.r...@5-cent.us wrote: >> Dumb thought: I don't remember how, other than from a grub menu, but I'm >> pretty sure there's a way to default boot into a grub shell. Once there, >> you can see, using file completion, the drives, and where your initrd >> is.

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Bowie Bailey
On 8/5/2015 4:40 PM, Chris Murphy wrote: On Wed, Aug 5, 2015 at 1:59 PM, wrote: Dumb thought: I don't remember how, other than from a grub menu, but I'm pretty sure there's a way to default boot into a grub shell. Once there, you can see, using file completion, the drives, and where your initr

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Bowie Bailey
On 8/5/2015 3:59 PM, m.r...@5-cent.us wrote: Dumb thought: I don't remember how, other than from a grub menu, but I'm pretty sure there's a way to default boot into a grub shell. Once there, you can see, using file completion, the drives, and where your initrd is. Good thought. I went into the

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Bowie Bailey
On 8/5/2015 4:00 PM, Chris Murphy wrote: - Ahh OK now I see why I was confused. The originally posted partition map uses cylinders as units, not LBA. I missed that. Cylinder 1 is the same as LBA 63. And that is sufficiently large for a GRUB legacy stage 2. - OK this is screwy. Partitions 1 and 3

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Chris Murphy
On Wed, Aug 5, 2015 at 1:59 PM, wrote: > Dumb thought: I don't remember how, other than from a grub menu, but I'm > pretty sure there's a way to default boot into a grub shell. Once there, > you can see, using file completion, the drives, and where your initrd is. It's definitely not an initrd p

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread m . roth
Dumb thought: I don't remember how, other than from a grub menu, but I'm pretty sure there's a way to default boot into a grub shell. Once there, you can see, using file completion, the drives, and where your initrd is. mark ___ CentOS mailing l

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Chris Murphy
- Ahh OK now I see why I was confused. The originally posted partition map uses cylinders as units, not LBA. I missed that. Cylinder 1 is the same as LBA 63. And that is sufficiently large for a GRUB legacy stage 2. - OK this is screwy. Partitions 1 and 3 on both drives have the same number of sec

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Bowie Bailey
On 8/5/2015 1:30 PM, Chris Murphy wrote: Please, download this. http://sourceforge.net/projects/bootinfoscript/ Run it: http://bootinfoscript.sourceforge.net/ Post a URL to the resulting file somewhere. I suggest having the entire computer assembled as it should be in normal use, rather than si

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Chris Murphy
Please, download this. http://sourceforge.net/projects/bootinfoscript/ Run it: http://bootinfoscript.sourceforge.net/ Post a URL to the resulting file somewhere. I suggest having the entire computer assembled as it should be in normal use, rather than simulating device failure by removing a devic

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Chris Murphy
On Wed, Aug 5, 2015 at 11:11 AM, Bowie Bailey wrote: > On 8/5/2015 1:00 PM, Chris Murphy wrote: >> >> On Wed, Aug 5, 2015 at 10:52 AM, Bowie Bailey >> wrote: >>> >>> How would I go about pointing it at the partition? >>> >>> What I am currently doing is this: >>> device (hd0) /dev/hdg >>> root (h

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Bowie Bailey
On 8/5/2015 1:00 PM, Chris Murphy wrote: On Wed, Aug 5, 2015 at 10:52 AM, Bowie Bailey 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

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Chris Murphy
On Wed, Aug 5, 2015 at 10:58 AM, Bowie Bailey 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 That's what I get, but it's an SSD so it

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Chris Murphy
On Wed, Aug 5, 2015 at 10:52 AM, Bowie Bailey wrote: > > On 8/5/2015 12:34 PM, Chris Murphy wrote: >> >> On Wed, Aug 5, 2015 at 9:12 AM, Bowie Bailey wrote: >>> >>> I am trying to upgrade my system from 500GB drives to 1TB. >> >> I'm going to guess that there are no IDE drives that have 4096 byte

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Bowie Bailey
On 8/5/2015 12:37 PM, Chris Murphy wrote: On Wed, Aug 5, 2015 at 10:34 AM, Chris Murphy wrote: On Wed, Aug 5, 2015 at 9:12 AM, Bowie Bailey wrote: I am trying to upgrade my system from 500GB drives to 1TB. I'm going to guess that there are no IDE drives that have 4096 byte physical sectors,

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Bowie Bailey
On 8/5/2015 12:34 PM, Chris Murphy wrote: On Wed, Aug 5, 2015 at 9:12 AM, Bowie Bailey wrote: I am trying to upgrade my system from 500GB drives to 1TB. I'm going to guess that there are no IDE drives that have 4096 byte physical sectors, but it's worth confirming you don't have such a drive

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Chris Murphy
On Wed, Aug 5, 2015 at 10:34 AM, Chris Murphy wrote: > On Wed, Aug 5, 2015 at 9:12 AM, Bowie Bailey wrote: >> I am trying to upgrade my system from 500GB drives to 1TB. > > I'm going to guess that there are no IDE drives that have 4096 byte > physical sectors, but it's worth confirming you don't

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Chris Murphy
On Wed, Aug 5, 2015 at 9:12 AM, Bowie Bailey wrote: > I am trying to upgrade my system from 500GB drives to 1TB. I'm going to guess that there are no IDE drives that have 4096 byte physical sectors, but it's worth confirming you don't have such a drive because the current partition scheme you've

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Bowie Bailey
On 8/5/2015 11:52 AM, m.r...@5-cent.us wrote: m.r...@5-cent.us wrote: Bowie Bailey wrote: I am trying to upgrade my system from 500GB drives to 1TB. I was able to partition and sync the raid devices, but I cannot get the new drive to boot. This is an old system with only IDE ports. There is

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread m . roth
Bowie Bailey wrote: > On 8/5/2015 11:27 AM, m.r...@5-cent.us wrote: >> Bowie Bailey wrote: >>> I am trying to upgrade my system from 500GB drives to 1TB. I was able >>> to partition and sync the raid devices, but I cannot get the new drive >>> to boot. >>> >>> This is an old system with only IDE p

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread m . roth
m.r...@5-cent.us wrote: > Bowie Bailey wrote: >> I am trying to upgrade my system from 500GB drives to 1TB. I was able >> to partition and sync the raid devices, but I cannot get the new drive >> to boot. >> >> This is an old system with only IDE ports. There is an added Highpoint >> raid card wh

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Bowie Bailey
On 8/5/2015 11:27 AM, m.r...@5-cent.us wrote: Bowie Bailey wrote: I am trying to upgrade my system from 500GB drives to 1TB. I was able to partition and sync the raid devices, but I cannot get the new drive to boot. This is an old system with only IDE ports. There is an added Highpoint raid c

Re: [CentOS] CentOS 5 grub boot problem

2015-08-05 Thread m . roth
Bowie Bailey wrote: > I am trying to upgrade my system from 500GB drives to 1TB. I was able > to partition and sync the raid devices, but I cannot get the new drive > to boot. > > This is an old system with only IDE ports. There is an added Highpoint > raid card which is used only for the two ext

[CentOS] CentOS 5 grub boot problem

2015-08-05 Thread Bowie Bailey
I am trying to upgrade my system from 500GB drives to 1TB. I was able to partition and sync the raid devices, but I cannot get the new drive to boot. This is an old system with only IDE ports. There is an added Highpoint raid card which is used only for the two extra IDE ports. I have upgra