After Linux installation my notebook can not boot up properly

OK so I installed Linux ubunto and I was double booting with my standard version of Win when me and my friend tried to just go back to Windows we restored it back to the original with the backup disk only problem is that now the program (GRUB) that loads when you choose your operating system is still on the computer.
It gives me an error 22 message every time... I was told I need to reset the master boot record or something like that but I do not know how so if someone plz could help me?
That would be greatly appreciated!

Your MBR (Master Boot Record) contains GRUB loader. You must recover its original contents.
For win95/98/me you use "fdisk /mbr" with a startup disk.
With win2000/xp you boot into the recovery console using the installation CD and type fixmbr
Albert

Similar Messages

  • 13" late 2011 MacBook Pro has frozen after Yosemite installation. I can, however, boot from a clone of my MacBook Air that is on an external drive. Despite the fact that I can boot from the external, could it be the RAM that's the prob

    My daughter's 13" late 2011 MacBook Pro has frozen (null sign displays) after Yosemite installation. I can, however, boot from a clone of my MacBook Air that is on an external drive. I reinstalled Yosemite on the MBP HD, but it still hangs in mid install. Despite the fact that I can boot from the external, could it be the RAM that's the problem? I'd happily put 8 GB in if it seems probable that would solve the problem. I've tried all the suggested procedures that I've seen posted here. Disk Utility, and my older version of DiskWarrior indicate the HD is OK. I have DiskWarrior 5 on order.

    Boot the MBP with the OPTION key down.  If successful, you should see two HDD icons,  Select the recovery partition (on the right).
    From the 4 option menu select Disk Utility.
    Run Disk Utility>First Aid, Verify and Repair.
    If the disk cannot be repaired, it will have to be replaced.
    Ciao.

  • [SOLVED] Can not boot after mishap with clonezilla

    Hi
    I was trying to back up my computer with Clonezilla. It kept telling me that the drive I was trying to back up (the only hard drive in my laptop and only has Arch Linux installed on it) had a GPT and MBR partition table. I thought that this was odd so booted back into Arch Linux and loaded up gparted and it said that the drive was MBR. So I ran clonezilla again and it said about a command to run to remove the GPT if you are sure that you are using MBR so I went ahead (stupidly) and ran it thinking that everything would be ok and now I can not boot back into my Arch Linux. I just get a black screen with GRUB and a flashing cursor. I think the command that I ran was either:
    gdisk -z /dev/sda
    or
    sdisk -z /dev/sda
    I'm not too sure and I should have written it down or researched it first. (That will teach me.) I have booted the computer from a Knoppix DVD and can see all the partitions on the drive (root, swap and home) and also read all the data. I have tried to reinstall grub (install-grub /dev/sda deom the Arch install cd) but this has not worked. I hope that as will most things Linux I can fix this. Please can you point me in direction I need to go to fix this?
    Thanks
    Robert
    Last edited by toca180 (2012-02-25 17:20:11)

    Hi
    I have fixed it. I ran testdisk from Knoppix and let it write out the partition table again as MBR then reinstalled grub from the Arch Linux install CD by doing the following from with in grub:
    root (hd0,0)
    setup (hd0)
    Lesson learnt. I'll read and research before just blindly running commands again. Thank you all for reading.
    Thanks
    Robert

  • Can not boot to external drive

    Hey there
    I have a MacBook2,1 running 10.7.4
    I am trying to create an external boot drive but I can not boot to an external drive.
    If I mount an install disk to any drive I have it will not boot to it. If I select it in startup drive or option boot it will not work.
    Please help. need this fixed ASAP

    Drive Preparation for Lion
    1.  Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button. Select Disk Utility from the main menu and click on the Continue button.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    After formatting is complete quit DU and return to the main menu. Select Reinstall Lion and click on the Continue button. When the installer begins it will default to installing on the Macintosh HD volume. Click on the link below to Show All Disks. Locate your external drive and select it as the target.

  • I have lost my cd's and screen became gray i can not boot what should i do?

    Hi all
    i have lost my cd's and screen became gray i can not boot what should i do?
    i have tried to reset Vram
    tried to run safe boot
    but nothing happends
    i have a macbook pro core 2 duo 2GB ram 160 gb hard disk

    Use the computer your on now to download and burn a ISO of PartedMagic to a cd.
    In Windows 7 you can right click on the downloaded ISO and click burn to disk, other Windows versions use the free ImgBurn software.
    In OS X you can burn the ISO using Disk Utility.
    Hook up a external drive to the target Mac.
    Stick the PartedMagic disk into the Mac and reboot holding option and c keys (I forget which one works)
    Use the first option (default) to load PartedMagic into memory (watch out the disk will eject!)
    Once in PartedMagic there is a Mount Drive icon on the right, doubleclick it twice to open two windows (three total) you can now transfer your files after mounting the disks/partitions using the two open file windows.
    Unmount the drives before using the "Start" like menu in the lower left corner to quit PartedMagic.
    If your Mac works with all this then your in good shape, you just have a hosed operating system and a $29 Snow Leopard install disk (c boot off of it) and a Disk Utility Erase (with Zero Erase preferred) and a reinstall of OSX Snow leopard will do the trick.
    If your computer boots off the PartedMagic cd, but you can't find/access the internal drive, then your boot drive is dead and you need to replace it or have someone replace it for you.
    If your computer doesn't boot off the PartedMagic cd, then it's likely a serious hardware issue.

  • Can not boot from OSX disc

    I recently partitioned my internal drive with an 80 gig partition to run Ubuntu , removed Ubuntu and now can not resize hd to recover the 80 gig that I used , there was a program with this Ubuntu install called rEFIt that was installed for the dual boot , My problem is that Itunes keeps crashing and I have spent somewhere around 8 hours trying to fix this issue and in the process I discovered that I now can not boot from the osx disc but I can boot from the Ubuntu disc , what can I do to correct this issue or is there anything that I can do to correct this and recover the 80 gig that I used ?

    The only solution was to erase hd and restore from time machine backup......
    According to everything that I have seen , read and tried when you partition the mac hd the way that mac is designed it will lock the hd thus preventing any access even using the startup disc to repair. As far as restoring everything after the erase and reinstall of the OSX that was easy and painless. FOR ANYONE WHO DOES NOT BACKUP THEIR DATA THIS IS WHY YOU SHOULD!!!!
    Once OSX is reinstalled the migration assistant will ask if you want to restore from a backup , if you have time machine or any other sort of backup simply choose the one you wish to restore from and continue , must admit I was a bit hesitant at first , I must say that everything restored with the exception of some settings that I have had to restore but they were not major settings  , after the backup is restored simply run update check and reinstall all updates , may need to do this a couple of times.
    Depending on the amount of data you have will determine the length of time for restore (500 gigs about 6 hrs.) but it will restore user account settings , connection settings  and network settings.
    Hope this will help if anyone has experienced the same problem.

  • Imac 21" mid 2011 can not boot from USB device?

    Hi,
    hope someone can help me.
    Bought the new imac 21" and replaced the superdrive with a ssd drive.
    Works great but it seems that the imac is not able to boot from any usb device.
    I put my osx install disk in my external dvd drive and powered my mac.
    While booting up (pressing cmd) the mac does not recognize my external dvd drive. This works great with my MBP late 2008. But the imac can not boot from the dvd drive. Also pressing "c" while booting does not work. Doing that a grey screen appears and after some time mac boots from hdd.
    So i installed mac os via target mode over firewire withbmy old imac. This works.
    But now i want to install windows on a bootcamp partition.
    I can't boot from the windows 7 professional dvd, too. So i tried to create a bootable win 7 thumbdrive. Mac can't boot from this too. Reading many threads in some forum i tried with rEEfit. Reefit shows the usb thumbdrive whike booting, but using this will end in a black screen error from bios: "no bootable device....". Tried a knoppix on the usb thukbdrive, too.... No bootable device....
    It seems that there is no way to boot from ANY external usb device like dvd drives or thumbdrives......
    What more can i do? I tried for 2 evenings now, but nothing worked out for me......
    Currently i don't see any any to install win 7 without an internal superdrive, but can this be??
    Thanks for any comments.
    Kwicks

    Internal is definitely the easiest but you can boot from external HD or external optical drive, the mac is just very picky on what works and what doesn't.
    For an external drive or usb stick it has to be GUID partition table and have 10.4.5 or better installed on it, for more info check this link out ( http://support.apple.com/kb/ht1948 )
    Hope this helps,
    Joe

  • Battery Error 601 and Notebook will not boot

    My notebook will not bootup anymore.  It was running fine then I just closed the screen and went to class.  Usually this just puts it to sleep.  When I opened it back up, it would not start...  It was totally dead.  When I plug it into the charger, I see a "Pimrary Battery Error" 601 displayed for a few seconds and then it starts to bootup.  It never fully boots-up, it shuts off totally before I get past the little HP splash.
    When I plug the charger into the notebook, I see the charging orange LED for a little while, but then it switches to white and then back to orange and then totally off.   I have tried multiple chargers and it always does the same thing.
    Since the notebook will not boot even when plugged in, I am suspecting something in the charging system/main board more than the battery.  Is there anyway to tell which components are bad?
    This is an almost 2 year old Envy 4-1215dx, Product ID: D1A99UA#ABA 
    It's been a great notebook upto now...  Any ideas on what to check and how?
    Steve

    Here's a link with an explaination and troubleshooting steps for the error you are experiencing.
    HP Battery Alert
    You can also try a Hard Reset in order to get you PC to boot long enough to run a diagnostics.
    Hard Reset
    You may also try with the battery removed and just the AC Adapter.
    If nothing seems to work you can always try a new main battery since they usually are fairly inexpensive. Just Google the Part# shown on your battery.
    If you found my answer helpful please say thanks by clicking on the Thumb's Up icon. Thanks!

  • DVD module of this G60-231WM notebook can not be accessed

    HP Notebook G60-231WM with Vista Home Premium Op system. The DVD module of this notebook
    can not be accessed.  Thank you, Pete Reno  

    poptang, welcome to the forum,
    please try the following: when you have shut down the system, remove and then replace the drive. Instructions can be found here. (I know they're for a T61, but it's the same method for a T400). Then at boot press F1 (for BIOS) or F12 (for Boot Menu), and see if you are able to open the drive.
    Please let us know if this helps.
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • I can not boot on DVD

    Hello,
    I have a G580
    I can not boot on DVD to install Linux distribution. I have tried with multiple install disks.
    I access BIOS and Boot menu by the novo button.
    With the Boot menu I have only choice between ATA HDD and PCI LAN. In the BIOS Setup I have changed
    Boot Mode to Legacy Support
    Boot Priority to Legacy First
    USB Boot Enabled
    Boot Priority  Order :
    ATAPI CD
    USB FDD
    ATA HDD
    etc.
    and in Exit menu I have changed OS Optimized Defaults to Other OS
    Can someone help me
    Thank you
    Solved!
    Go to Solution.

    Hi,
    In the BIOS "Boot" menu? I have the settings....
    Boot Mode     [Legacy Support]
    Boot Priority   [Legacy First]
    USB Boot        [Enabled]
    EFI
    Windows Boot Manager   ( ....)
    Fedora                                  ( ....)
    Legacy
    SATA ODD            : HL-DT-ST DVDRAM GU70N     #  <===  this is the dvd.
    SATA HDD            : LITEONIT LSS-24L6G
    SATA HDD            : ST1000LM024 HN-M101MBB
    Network Boot       : Atheros Boot Agent
    In the "Exit" menu of BIOS?  I have...
    Load Default Settings
    OS Optimized Defaults        [Other OS)
     Leave nothing plugged into the USB ports.
    This configuration boots off the Optical Disk  (DVD) of my Y410p Win 8 64.
    Oh yes ,,, and  rather than click the OK Restore button? i just press F2 while the black  LENOVO splash screen is up.
    Oznola_
    X1 Carbon 3443CTO, Intel(R) i7-3667U @ 2.00GHz 2 core 4 Logic Processors, 8GM RAM, Windows 8 Pro.

  • Hello ,my dvd rw driver (f:) in my hp pavilion dv7-3186cl entertainment notebook can not read cd's o

    Hello ,My DVD RW Driver (F, in my HP Pavilion dv7-3186cl Entertainment Notebook PC / Operating System 64-bit, after installing new hardware ( printer ) can not read CD’s or DVD’s is not working ,How can I fix it?

    Hi,
    First, try the automated fixit from Microsoft on the relevant link below.
    Windows 7
    Vista
    Check if the drive is now working.
    If it still doesn't work, click the Start Menu, open All Programs, open Accessories, right click the Command Prompt and select 'Run as Administrator'.  In to the prompt type the following command and hit enter.
    sfc /scannow                 ( note that there is a space between sfc and the / )
    Let the process complete, then type exit and hit enter. 
    Next, click the Start Menu, open the Control Panel and click on Device Manager.  Next click to open DVD/CD-ROM Drives.  Right click the drive and select uninstall.  Do not delete drivers if asked.  When the device has uninstalled click on the 'Scan for Hardware Changes' icon ( usually just below Help on the toolbar ).  Let windows reinstall the drive and see if it now works.
    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

  • Hard drive issue, can not boot past disk utility

    I got off work this morning and was wanting to do a clean install of osx10.10, unfortunately I did something bad, with my lack of sleep. I think I canceled the operation when I clicked cancel during the reinstall of OS X. Now I can not boot past the disk utility screen. There is also no sub menu under my listed hard drive "Macintosh HD." Is there a way I can fix this?
    It's a brand new MBP, 15inch retina. I had it for only a week and I am at work right now. So if there is anything I can do from here that would be great!!
    I also tried to reinstall OS X from the disk utility and when it asked to select disk to install OS X my only option was the recovery HD

    Ok, I will try that. I still have my old MBP that I am supposed to be trading in. Good thing i haven't mailed it off yet.
    I just reset the SMC and Pram and tried to boot in recovery. Once it downloaded everything online and i went to install OS X, it asked me to select and disk where i want to install. Well, there wasnt a disk listed at all...
    So, now I will try to create a USB installer when i get home from work and try that out. I will keep you posted
    Thanks,
    Keith

  • Compile programs after linux installation

    Hello,
    when execute a transaction for first time after Linux installation the program is compiled. The server is a dialog instance with Red Hat and the central instance  and database server  have  HP-UX  O.S with Oracle. Why do this?
    Regards.

    ABAP programs are stored in text in the database table REPOSRC (often accessed from database view TRDIR).  The first time any ABAP program is executed, it must be compiled first.  Each time a program is executed, the compiled version is compared to the text version - if the text version has changed since the last compile, it will be compiled again.  If you have a heterogenous install (for example, Unix and Linux application servers), then the programs must be compiled once for each platform.
    The transaction code SGEN can help you to pre-compile all of your programs, if you wish.
    Cheers,
    David.

  • After call commit sql , data can not flush to disk

    I use berkey db which support sql . It's version is db-5.1.19.
    1, Open a database.
    2. Create a table.
    3. exec "begin;" sql
    4. exec sql which is insert record into table
    5. exec "commit;" sql
    6. copy database file (SourceDB_912_1.db and SourceDB_912_1.db-journal) to Local Disk of D, then use a tool of dbsql to open the database.
    7. use select sql to check data, there is no record in table.
    1
    sqlite3 * m_pDB;
    int nRet = sqlite3_open_v2(strDBName.c_str(), & m_pDB,SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE,NULL);
    2
    string strSQL="CREATE TABLE [TBLClientAccount] ( [ClientId] CHAR (36), [AccountId] CHAR (36) );";
    char * errors;
    nRet = sqlite3_exec(m_pDB, strSQL.c_str(), NULL, NULL, &errors);
    3
    nRet = sqlite3_exec(m_pDB, "begin;", NULL, NULL, &errors);
    4
    nRet = sqlite3_exec(m_pDB, "INSERT INTO TBLClientAccount (ClientId,AccountId) VALUES('dd','ddd'); ", NULL, NULL, &errors);
    5
    nRet = sqlite3_exec(m_pDB, "commit;", NULL, NULL, &errors);
    Edited by: 887973 on Sep 27, 2011 11:15 PM

    Hi,
    Here is a simple test case program I used based on your description:
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include "sqlite3.h"
    int error_handler(sqlite3*);
    int main()
         sqlite3 *m_pDB;
         const char *strDBName = "C:/SRs/OTN Core 2290838 - after call commit sql , data can not flush to disk/SourceDB_912_1.db";
         char * errors;
         sqlite3_open_v2(strDBName, &m_pDB, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, NULL);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "CREATE TABLE [TBLClientAccount] ( [ClientId] CHAR (36), [AccountId] CHAR (36) );", NULL, NULL, &errors);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "begin;", NULL, NULL, &errors);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "INSERT INTO TBLClientAccount (ClientId,AccountId) VALUES('dd','ddd'); ", NULL, NULL, &errors);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "commit;", NULL, NULL, &errors);
         error_handler(m_pDB);
         //sqlite3_close(m_pDB);
         //error_handler(m_pDB);
    int error_handler(sqlite3 *db)
         int err_code = sqlite3_errcode(db);
         switch(err_code) {
         case SQLITE_OK:
         case SQLITE_DONE:
         case SQLITE_ROW:
              break;
         default:
              fprintf(stderr, "ERROR: %s. ERRCODE: %d.\n", sqlite3_errmsg(db), err_code);
              exit(err_code);
         return err_code;
    }Than I copied the SourceDB_912_1.db database and the SourceDB_912_1.db-journal directory containing the environment files (region files, log files) to D:\, opened the database using the "dbsql" command line tool, and queried the table; the data is there:
    D:\bdbsql-dir>ls -al
    -rw-rw-rw-   1 acostach 0 32768 2011-10-12 12:51 SourceDB_912_1.db
    drw-rw-rw-   2 acostach 0     0 2011-10-12 12:51 SourceDB_912_1.db-journal
    D:\bdbsql-dir>C:\BerkeleyDB\db-5.1.19\build_windows\Win32\Debug\dbsql SourceDB_912_1.db
    Berkeley DB 11g Release 2, library version 11.2.5.1.19: (August 27, 2010)
    Enter ".help" for instructions
    Enter SQL statements terminated with a ";"
    dbsql> .tables
    TBLClientAccount
    dbsql> .schema TBLClientAccount
    CREATE TABLE [TBLClientAccount] ( [ClientId] CHAR (36), [AccountId] CHAR (36) );
    dbsql> select * from TBLClientAccount;
    dd|dddI do not see where the issue is. The data can be successfully retrieved, it is present in the database.
    Could you try putting in the sqlite3_close() call and see if you still get the error?
    Did you remove the __db.* files from the SourceDB_912_1.db-journal directory?
    Did you use PRAGMA synchronous, and if so, what is the value you set?
    If this is still an issue for you, please describe in more detail the exact steps needed to get this reproduced and provide a simple stand-alone test case program that reproduces it.
    Regards,
    Andrei

  • Is there any dependency between osx version and boot environment???? I can not boot my bootabe software on my macbook pro with osx 10.8!!!!

    even i can not boot lion 10.7.4 bootable dvd!!!!!
    what can i do??? the boot device will apear in boot menu but they do not boot

    Then, I imagine there's a problem with the DVD.
    http://www.macworld.com/article/1161069/make_a_bootable_lion_installer.html
    It would run a lot faster on another drive or pocket drive.

Maybe you are looking for

  • Can I get rid of my iTunes and go back to an older version?

    I have had too many problems with my newer versions of iTunes. I just want to go back to an older version where I didn't have any problems. I want to go back about 2-3 versions. My dad has it on his because he never updated it and he has no problems

  • Multiple channels, multiple waveform graph

    Hello, there! I am trying to read four signals from four channels on DAQ device. I need to show the first two signals on one diagram and the other two on another diagram. So I wrote a simple VI as I attached. It gives me an error message like the pic

  • Unable to recognise &amp as "&"

    Hi all, I am trying to access a picture from my content server via the URL that is generated by the function module ALINK_RFC_DOCUMENT_URLS_GET. Example of the URL: http://10.10.1.166:1090/ContentServer/ContentServer.dll?get&pVersion=0046&contRep=ZD&

  • SP Transaction on the Vendor Ref. No. of AP Invoice

    please give me a stored procedure code which will block an empty Vendor Ref. No field while posting an AP Invoice. Thanx. Antony

  • Tab not changing focus in a JTextArea

    Hi I am writing a little program that at a certain point uses a JTextArea. What bugs me a lot is that the JTextArea keeps focus when I press the Tab button I see two solutions to this. Either I extend JTextArea into MyJTextArea and override the proce