Re: [CentOS] Grub legacy on Centos 7

2015-08-21 Thread Sachin Gupta
Hello Everyone,

I am trying to use GRUB legacy with Centos 7. And it is giving me following
error.

systemd-fsck: fsck error 2(no such file or directory) while executing
fsck.ext3 for /dev/sda5
mount:unknown file system type 'ext3'.

Has anyone seen this error ?


Thanks
Sachin



On Wed, Aug 19, 2015 at 6:51 PM, Ian Pilcher arequip...@gmail.com wrote:

 On 08/16/2015 04:18 PM, Sachin Gupta wrote:

 We have centos6  server. And we are planning to upgrade it to Centos7.And
 GRUB 2 needs a new bios grub partition. Creating a new partition is too
 much risky. I am wondering if it is possible to replace Grub2 with Grub
 legacy on Centos7 machine?


 It is definitely possible to use GRUB legacy with CentOS 7.  I do it on
 several systems.  Note that there is a bug in the current EL 7 version
 of grubby which causes the initrd line to not be added to the stanza of
 newly installed kernels.

 Always check /etc/grub.conf before rebooting to a newly installed
 kernel, particularly when doing so remotely.  :-/


 --
 
 Ian Pilcher arequip...@gmail.com
  I grew up before Mark Zuckerberg invented friendship 
 


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Grub legacy on Centos 7

2015-08-19 Thread Ian Pilcher

On 08/16/2015 04:18 PM, Sachin Gupta wrote:

We have centos6  server. And we are planning to upgrade it to Centos7.And
GRUB 2 needs a new bios grub partition. Creating a new partition is too
much risky. I am wondering if it is possible to replace Grub2 with Grub
legacy on Centos7 machine?


It is definitely possible to use GRUB legacy with CentOS 7.  I do it on
several systems.  Note that there is a bug in the current EL 7 version
of grubby which causes the initrd line to not be added to the stanza of
newly installed kernels.

Always check /etc/grub.conf before rebooting to a newly installed
kernel, particularly when doing so remotely.  :-/


--

Ian Pilcher arequip...@gmail.com
 I grew up before Mark Zuckerberg invented friendship 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Grub legacy on Centos 7

2015-08-17 Thread Johnny Hughes
On 08/16/2015 04:24 PM, John R Pierce wrote:
 On 8/16/2015 2:18 PM, Sachin Gupta wrote:
 We have centos6  server. And we are planning to upgrade it to Centos7.And
 GRUB 2 needs a new bios grub partition. Creating a new partition is too
 much risky. I am wondering if it is possible to replace Grub2 with Grub
 legacy on Centos7 machine?
 
 
 I would build the CentOS 7 machine on new hardware, bring it up in
 parallel, then cut your applications over to it, and redeploy the old
 hardware as something else.
 
 

This is exactly what I would do as well.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Grub legacy on Centos 7

2015-08-16 Thread Chris Murphy
On Sun, Aug 16, 2015 at 3:18 PM, Sachin Gupta sachin3072...@gmail.com wrote:
 Hello Everyone,

 We have centos6  server. And we are planning to upgrade it to Centos7.And
 GRUB 2 needs a new bios grub partition.

BIOS boot partition is only necessary on GPT partitioned disks. For
MBR partitioned disks, the GRUB 2 core.img goes into the MBR gap, the
same as before. On rare occasion when the 1st partition starts at LBA
63 the core.img can't fit into the gap. The supported work around is
repartitioning such that 1st partition starts at LBA 2048. The less
supported and recommended work around is to use grub2-install with -f


Creating a new partition is too
 much risky.

It really isn't. You can use gparted to resize/move the /boot
partition/volume safely and fast. And if it blows up just reformat it
it in the installer which isn't a bad idea to do anyway. There's no
need to keep an old CentOS 6 /boot partition around anyway.

I am wondering if it is possible to replace Grub2 with Grub
 legacy on Centos7 machine?

Yeah just yum erase grub2 and then force the installation of the
CentOS 6 grub package; then run grub-install.

-- 
Chris Murphy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Grub legacy on Centos 7

2015-08-16 Thread John R Pierce

On 8/16/2015 2:18 PM, Sachin Gupta wrote:

We have centos6  server. And we are planning to upgrade it to Centos7.And
GRUB 2 needs a new bios grub partition. Creating a new partition is too
much risky. I am wondering if it is possible to replace Grub2 with Grub
legacy on Centos7 machine?



I would build the CentOS 7 machine on new hardware, bring it up in 
parallel, then cut your applications over to it, and redeploy the old 
hardware as something else.



--
john r pierce, recycling bits in santa cruz

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Grub legacy on Centos 7

2015-08-16 Thread Sachin Gupta
Hello Everyone,

We have centos6  server. And we are planning to upgrade it to Centos7.And
GRUB 2 needs a new bios grub partition. Creating a new partition is too
much risky. I am wondering if it is possible to replace Grub2 with Grub
legacy on Centos7 machine?

Thanks!!
Sachin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos