Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-23-2019, 01:59 PM   #1
Registered: Apr 2007
Location: Oxfordshire, UK
Distribution: Arch, Sparky, Salix64
Posts: 117

Rep: Reputation: 23
Problems reinstalling Grub on Nethserver (CentOS based)

Not really sure where I should put this, but here goes...

I look after a Nethserver 7.6 server for a local small business. Yesterday, I found the server making some fairly nasty noises and accessing the hard drive continuously. Not sure if its a drive problem or an interface problem, but the quickest thing to do was to use fsarchiver to clone the server / partition to a new drive and see if that fixed the problem.

No problems creating an fsarchiver image file or dumping it to a new drive. I then fitted the new drive, booted from the latest super-grub CD, and attempted to reinstall Grub. A technique I've used multiple times in the past with no problems, though never on a CentOS based machine. Took me a while to find /sbin/grub2-install, which I then ran. It didn't report any problems, but the machine refused to reboot from the hard drive - just came up with "no boot device available".

Wondering if there might be something unusual about the CentOS boot loader install, I searched for methods of reinstalling grub on CentOS 7.6. Found several references, including one from Redhat:

I tried that, using the Nethserver install flash drive. It failed, couldn't find some of the Grub components. So I tried again with a CentOS USB. That found everything, but came back with this error:

grub2-install: warning: Attempting toinstall GRUB to a disk with multiple partition labels. This is not supported yet...
grub2-install: error: embedding is not possible, but this is required for cross-disk install.
I'm hoping someone may be able to tell me what the problem is. I can't find any partition labels at all, so I'm lost...

Last edited by toothandnail; 07-23-2019 at 02:06 PM. Reason: Interesting - LQ seems to think I'm running Ubuntu. Very odd...
Old 07-23-2019, 06:26 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,342

Rep: Reputation: 3833Reputation: 3833Reputation: 3833Reputation: 3833Reputation: 3833Reputation: 3833Reputation: 3833Reputation: 3833Reputation: 3833Reputation: 3833Reputation: 3833
Sounds ugly. How (where) did you restore the fsarchiver to ?.
From a liveCD, go to bootinfoscript, grab the script and do as it says. Post the RESULTS.txt - it will tell us what the boot layout really is; including the partitions.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: CentOS-Based NethServer 7.5 Linux OS Launches with New Mail Server, NextCloud 13 LXer Syndicated Linux News 0 06-12-2018 04:45 AM
LXer: NethServer 7 Linux OS Released with Nextcloud 10 Support, Based on CentOS 7.3 LXer Syndicated Linux News 0 02-09-2017 03:52 AM
LXer: CentOS-Based NethServer 7 Linux Adds Active Directory Integration in Third Alpha LXer Syndicated Linux News 0 05-23-2016 11:33 AM
LXer: CentOS-Based NethServer 6.6 Distro Officially Released with New Software Center LXer Syndicated Linux News 0 03-26-2015 04:22 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration