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
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
On Sun, Aug 16, 2015 at 3:18 PM, Sachin Gupta <sachin3072004 at 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
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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20150817/5ea115ee/attachment-0001.sig>
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 arequipeno at gmail.com -------- "I grew up before Mark Zuckerberg invented friendship" -------- ========================================================================
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 <arequipeno at 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 arequipeno at gmail.com > -------- "I grew up before Mark Zuckerberg invented friendship" -------- > =======================================================================> > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >