[solved]Can't reinstall grub2_bios

Several weird things have just happened.
I just removed my Fedora partition.  I was just some logical partition in extended with swap.  That was pretty normal.  Getting rid of Fedora is the only sane thing to do with it.  anyway, Gparted got rid of it, I gave a little more space to the Debian partition, shrunk extended, grew /home.  That all exited fine.
Then I rebooted and Arch wouldn't load.  I thought it might have something to do with the bootloader (which was stupid, cause the bootloader  actually did it's job fine, it was actually something about diskcheck failure),  I reninstalled grub2 to my Ubuntu partition with a LiveCD.  This didn't fix the problem.
Anyway, then I went try and fix the disk check problem in Arch.  It only let me log in as root for some kind of rescue mode thing.  Anyway, the only partitions that didn't check out were the ones with Ubuntu and Debian (which I mount into Arch as well for mantinance, since Debina is Sid, and Ubuntu is the current beta).  I don't actually know how to fix disk check failures, so I tried the next best thing, having them not be checked at boot.  I couldn't do it from the rescue console. It told me I was trying to edit a read-only drive (and I was root).  I logged into debian and tried.  This worked, though I still don't know why they can't be checked, nor why I couldn't edit the file from the rescue console.
Anyway, now I'm in arch, but I'm booting through the Ubuntu boot loader.  I want my arch bootloader back.  I tried to reistall it with...
# grub_bios-install --boot-directory=/boot --no-floppy --recheck --force /dev/sda1
... but it says "rm: cannot remove `/boot/grub/core.img`: Operation not permitted"
And yes, I'm running it as root, before anyone asks.
So what's up?
Last edited by ninjaaron (2011-10-01 15:07:18)

ninjaaron wrote:
Anyway, now I'm in arch, but I'm booting through the Ubuntu boot loader.  I want my arch bootloader back.  I tried to reistall it with...
# grub_bios-install --boot-directory=/boot --no-floppy --recheck --force /dev/sda1
... but it says "rm: cannot remove `/boot/grub/core.img`: Operation not permitted"
And yes, I'm running it as root, before anyone asks.
So what's up?
Run
# chattr -i /boot/grub/core.img
# grub_bios-install --boot-directory=/boot --no-floppy --recheck --force /dev/sda1
# chattr +i /boot/grub/core.img
Anyway as said in the wiki, its better to install grub2 bios to the MBR rather than the partition boot sector.
Last edited by skodabenz (2011-10-01 11:02:04)

Similar Messages

  • When Firefox was automatically updated, it removed my yahoo toolbar and I can't reinstall it.

    When Firefox was automatically updated to 29, it removed my yahoo toolbar and I can't reinstall it. I go through the motions of installing the toolbar and when I restart Firefox, the toolbar is there for a split second and then is deleted from the display. I have since removed the automatic update feature from Firefox and will only update if I deem it necessary and non-destructive. In the past your software has also removed the Social Fixer add-on. I am aware that Facebook does not like Social Fixer. Mozilla should remain neutral. You should not do Facebook's dirty work for them. I can do without Facebook and I can also do without Firefox.

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a&s=troubleshooting&r=3&as=s#w_5-reinstall-firefox here].
    <b>WARNING:</b> Do not run Firefox's uninstaller or use a third party remover as part of this process, because that could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be recovered unless they have been backed up to an external device!</u>
    Please report back to see if this helped you!
    Thank you.

  • Hi, Accidentally somebody screw up Photoshop CS4 and InDesign CS4 Master edition on a MAC computer in the school. The install discs did not start to run therefore I can't  reinstall the 2 missing programs. I want to install the softwares, therefore I down

    Hi, Accidentally somebody screw up Photoshop CS4 and InDesign CS4 Master edition on a MAC computer in the school. The install discs did not start to run therefore I can't  reinstall the 2 missing programs. I want to install the softwares, therefore I download those from here.  The downloaded program refuse to accept the serial number which was given to the school when they purchased the Master Collection CS4 MLP A00. Thank you for your help, in advance.

    Hi Jeff,
    Thank you. I am a little bit busy at work, sorry for the delayed reply. I tried to solve the problem, but it still exists. The 3rd of the Adobe disk is damaged someway. I tried to run on my mac at home and it has a failure. So I think we have no other choice that to download the full pack of master collection. I had a discussion with the IT expert and he figured out that company does not exist any more from where they purchased the Adobe Master Collection for Mac and PC. So If you would be kind to help me, what kind of information ID or any kind of document would be needed to identify the purchaser institute (us). I don't think any of us has an account at the Adobe. I will try to figur out. I desperately need to replace Photoshop and InDesign as without them it's really harsh to teach the kids fot the graphic design.
    Sincerely yours.
    Peter

  • I was delete iPhoto and i can't reinstall again!

    i was delete iPhoto and i can't reinstall again and i appstore when i press accept it say: "These apps cannot be accepted on this computer." "Future updates of these apps can be found through Software Update." ... whats prob ? and how i can solve it?

    yes i have iphoto before and im delete it becous he want update but cant and i was delete it to update by reinstall again but they say this massege: "These apps cannot be accepted on this computer." "Future updates of these apps can be found through Software Update." ...
    and im bought it before 2 days, and i have not any System Restore Disks!
    Thanks Terence Devlin

  • Can I reinstall last month and then change back if needed?

    If I select my HD and reinstall back from say January 1 and it does not solve my problem can I reinstall yesterday and get everything as it is yesterday. I guess also that it will take a long time like the first time it backed up.
    I have a program for wireless printers and for some reason the software worked for one or two days and not upon opening says "SXUPTP Driver has not been installed. Please install the application again."
    I am trying to get back to when it worked and don't really know what the problem is. But I have installed it on another MacBook and it works fine. So it something in mine.
    Thanks
    Larryb

    I've found that out but this software from Sitex is suppose to install that driver in the right place and for some reason it does not. I have been in contact with their technical people and they have not figured it out so far. They are now going to Japan which is their engineering I guess.
    See I have Fusion with XP also and this software is supposed to handle all of it. It works fine with the PC here. Worked for a day or two on the mac also then quit.
    LarryB

  • How can I reinstall a previous version of muse?

    How can I reinstall a previous version of muse? I tried under Apps in Creative Cloud - previous versions- but there are no previous versions of muse showing up. What can I do? Ever since muse upgraded yesterday it crashes every time I try to publish, preview or save a site...
    Edward

    The last update is horrible:/
    Muse crashes again and again and again. Not possible to work with this version!!!
    Sorry, but we don't have time to try this or try that... The fact is, using version 2014.2 no problems. Suddenly it's impossible to work with.
    Make a version 2014.2 available for download so that we can downgrade. I can't wait until the problems are solved, because we have to change some things very urgently.

  • Can't reinstall Facebook Symbian on 5230

    Hey all
    I did a little board search but couldn't find the answer I need.
    My predicament is this; My 5230 came wih Facebook for Symbian preinstalled but through human error I accidentally uninstalled it.
    The problem is that Ovi store remains adamant that the 5230 can't run Facebook Symbian so I can't reinstall it again.
    Does anyone know of a work-around/solution?
    (Thanks for your time)
    Solved!
    Go to Solution.

    I recentely had this problem too! With enough searching around I found the answer
    Just go here: http://www.nokiasymbianthemes.com/free-mobile-applications/facebook-application-nokia
    Download the .sis file. Install it using Nokia Ovi Suite and into your phone! Easy as that.
    Hope this helps

  • Can't reinstall iMovie revisited

    I have the same problem as reported by Jim Mccarty, i.e. can't reinstall iMovie 4 with iTunes 4.7.1 installed. I have followed the instructions given to solve this problem: Log out, log in while holding down Shift key until Finder comes up. But when installing iMovie from the CD I receive the same message as before: "This installation cannot proceed because one of the following applications is running: GarageBand, etc." What am I missing here?--Mike

    "Error: No valid packages (-9997)"
    That MIGHT be relevant since iMovie is delivered as a
    "package". There are also "packages" in
    /Library/Receipts
    You can try to open that folder and delete the iMovie
    receipts.
    There are no iMovie receipts in /Library/Receipts. The only packages there are
    JavaSecurityUpdate4.pkg
    PantherJavaStartup.pkg
    SecUpd2005-002Pan.pkg
    SecUpd2005-005Pan.pkg
    SecUpd2005-006Pan.pkg
    SecUpd2005-007Pan.pkg
    SecUpd2005-008Pan.pkg
    SecurityUpdate2004-10-27Pan.pkg
    Does the error message say anything about where (in
    which folder) it doesn't find any valid packages?
    No, it was just in reply to applying the "Verify Permissions" test to the HD.
    This may be of interest:
    http://www.macosx.com/content/faq.php/q684/Verify-Or-R
    epair-Disk-Permissions.html
    Yes, interesting. Like the person posting the initial question "Verify-Or-Repair-Disk-Permissions," I also do not have BaseSystem.pkg in /Library/Receipts. And I did a clean install of OS 10.3.9 just 2 days ago!
    The BaseSystem.pkg still resides in /Library/Receipts of the system I archived on an external drive prior to most recent reinstallation of the OS. Is it recommended that I copy that into the /Library/Receipts folder on my internal HD?--Mike

  • Can't reinstall iMovie

    I removed iMovie but can't reinstall it. When I try to reinstall it via the App Store I get a message that I need to look at the list of previously bought apps but when I do, iMovie is not in that list.
    How can I solve this problem?
    Thanks!

    I have the same problem as Jim, trying to reinstall iLife 04 with iTunes 4.7.1 installed. I followed the instructions for logging out, restarting computer while holding Shift key, etc. Still receive message that iLife cannot be installed because GarageBand, iTunes, etc. is running. What am I missing? Mike

  • Lost serial number for microsoft office and can't reinstall on new hard drive

    I recentlyt had to replace the hard drive on MacBook Pro and can't reinstall Microsoft Office because I don't have the required  serial #. I think it was originally installed when I bought the computeer at an Apple store. Any ideas about how to solve this problem?

    Try contacting MS and see if they have the registration code since they had to activate it originally.
    Do you have the receipt from your original purchase?  That will itemize what was installed beyond the packaged operating system material.  That will add proof of purchase.

  • HT2509 I cant find fontbook on my imac, could i have deleted it? how can i reinstall it? by acident

    I cant find fontbook on my imac, could i have deleted it by accident? how can i reinstall it?
    I cant install any new fonts and its really anoying ,I Would very much appreciate any ideas on how to solve this.

    Hello, you mean it's not in the Applications folder?
    What happens if you just double click on a new font?

  • How can I reinstall Microsoft hearts card game to my game list?

        My hearts game disappeared from my game list. How can I reinstall it? It was on the game list I get when I click start and then click games.

    Hi,
    Which version of Windows are you using - ie Vista, Windows 7 etc?
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • How can I reinstall JAVA on Mountain Lion?

    The last Java Update screwed up Java on Mountain Lion. Thanks a lot, Apple. This is where blinking/flashing images etc etc start, and it also affects the three-finger word-look-up gesture. I compared my mac running Facebook in Safari with one in an AppleStore and the one in the shop renders the Java stuff flawlessly -- no blinking or flashing graphics, and the three-finger tap gesture works perfectly. Both macs were running the same version of Java, OS X and Safari.
    If I turn off Javascript and Java (in Safari) I don't get the flashing images and three-finger-tap works.
    So my question is (after reading similar threads of the same topic): IS there any one-click solution to this -- can I reinstall Java, or do I have to re-install Mountain Lion... JUST to get Java working again??!?
    And per the above.. why ISN'T there a standalone Java re-installer for OS X? How difficult could it be??

    I just found the solution, thanks to the "MORE LIKE THIS" links:
    http://support.apple.com/kb/DL1572
    That's where you can download the standalone installer!! I did it, ran it, and it works. Solved all the problems I've been having.
    Thing is.... why is it hidden???

  • How can I reinstall OS X without signing to App Store

    I had Mountain Lion on my macbook pro and I wanted to reinstall it. So I formated the hard drive and tried to use "Reinstall OS X" from restore hd. I only forgot one thing, this version of system was bought by my friend and with his Apple ID. I had bought 10.6 I thing but there is no way to downgrade. How can I solve this? I don´t know anybody else with mac and I don´t have any contact on that friend. I don´t have Time Machine backup.
    (Sorry for bad english.. it isn´t my mother tongue)
    Thank you.

    I only forgot one thing, this version of system was bought by my friend and with his Apple ID.
    You can't reinstall Mountain Lion without knowing your friend's Apple ID and password. In other words, you had been using an illegal copy of ML. You need to purchase your own. It's only $20. Apple will not help you reinstall ML from another user's account.
    Since you do own Snow Leopard, you have to do a two step reinstall to get back to Mountain Lion.
    1) Insert the Snow Leopard DVD and boot to it by restarting and holding down the Option key. Once the screen to choose a startup disk appears, choose the DVD and install Snow Leopard onto the hard drive.
    2) Once the install is complete, your Mac will be 10.6.3 at the newest since that was the last version released on disk. You must then download and install the 10.6.8 Combo Update to get the App Store installed.
    3) Launch the App Store and login with your Apple ID and password, which is the same one you use to login to these forums. Purchase Mountain Lion. It will download and automatically launch the installation. With a legal copy under your Apple ID, you will always be able to get it again in the future without paying for it again.

  • How can I reinstall my Deskjet F4180 if I do not have the install disk

    How can I reinstall my Deskjet F4180 if I do not have the install disk

    Jerry, welcome to the forum. Since you didn't mention which OS you are using, I provided the Software and drivers page for Win 8.1.  It provides the HP Deskjet F2100/F4100 All-in-One Printer series Full Feature Software and Driver.  This will install the printer.  If the OS is not correct, you can provide the correct one. Please click the "Thumbs up + button" if I have helped you and click "Accept as Solution" if your problem is solved.

Maybe you are looking for