[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't install GRUB
From: |
Paolo |
Subject: |
Re: Can't install GRUB |
Date: |
Mon, 5 Nov 2012 22:42:46 +0100 (CET) |
User-agent: |
Alpine 2.02 (LRH 1266 2009-07-14) |
On Mon, 5 Nov 2012, Paolo wrote:
From: Chris Murphy
Subject: Re: Can't install GRUB
Date: Mon, 5 Nov 2012 19:34:39 +0100
The file /boot/grub/stage1 not read correctly.
You're better off trying to get support for GRUB Legacy on the CentOS forums
than here, because here only GRUB2 is supported.
Sorry.
For the archive: I solved my problem using a workaround. Done a manual
partitioning of the disks (instead of the graphical wizard), so I can
force /boot to be the first partition.
This seems solve the problem (cylinder like old LILO's times?)
Device Boot Start End Blocks Id System
/dev/sdb1 1 130542 1048576000 fd Linux raid
autodetect
Device Boot Start End Blocks Id System
/dev/sda1 1 130542 1048576000 fd Linux raid
autodetect
In your partition scheme you've provided not a single sector for grub to
install into, it would seem. Normally there is at least 63 sectors of gap
between the MBR and the start of the first partition, into which most of GRUB
goes.
Just for my culture (if not too OT), My current partition schema is:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md1 66063436 2507340 60200176 4% /
tmpfs 1961908 0 1961908 0% /dev/shm
/dev/md0 233321 55309 165966 25% /boot
/dev/md2 980486564 204360 930474740 1% /home
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0003e650
Device Boot Start End Blocks Id System
/dev/sda1 * 1 30 240943+ fd Linux raid
autodetect
Partition 1 does not start on physical sector boundary.
/dev/sda2 31 8386 67119569 fd Linux raid
autodetect
Partition 2 does not start on physical sector boundary.
/dev/sda3 8386 132401 996150488 fd Linux raid
autodetect
I manually tried various values of Start/End sector to eliminate the
"Partition N does not start on physical sector boundary." warning.
How can I calculate the right values?
and .. is this a real problem for a working system (performance or other
problems)?
Thanks, P.