Find the answer to your Linux question:
Results 1 to 10 of 10
Hi! I Installed ubuntu in XP using wubi. I decided to remove it and am surprised to find that the grub still shows ubuntu. I have removed the installation through ...
  1. #1
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,230

    Help removing Ubuntu in Grub wubi

    Hi!

    I Installed ubuntu in XP using wubi. I decided to remove it and am surprised to find that the grub still shows ubuntu. I have removed the installation through control panel>add remove software>remove and the systems seems to be cleared already, aside from the menu in grub.

    I have googled for a solution and have screwed up my xp when I tried to edit boot.ini in cmd of XP. I have to repair it using XP cd last night.

    I tried to search in our forums but am not getting any hits.

    Can somebody please teach me how to remove ubuntu grub in wubi? I would prefer that when I click xp in the main grub of my system, I can go directly to XP without passing that "other grub".

    Sorry if you find this confusing. Thank you for any advise.

    nujinini
    nujinini
    Linux User #489667

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,946
    I would prefer that when I click xp in the main grub of my system, I can go directly to XP
    What main Grub? You indicate you have xp and had a wubi install of Ubuntu. Where does the other Grub come in? What other operating system(s) do you have? What are you using as the primary bootloader? Do you have a system with Grub or Grub2 or both? I've never used wubi so I'm not sure how that works with the bootloader but have you taken a look at your menu.lst file (if you have Grub Legacy) or your grub.cfg file if you have Grub2?

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    You need to reinstall the Windows MBR. I cannot remember the specific steps, but as far as I remember you need to boot from a Windows installation CD/DVD, go to recovery mode, and issue the commands:

    fixmbr
    fixboot

    Or something like that. Perhaps some other lurker her can be more specific. Myself, I only run Windoze in Linux virtual machines...
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Boot up from Windows Installation CD, select Repair and execute fixmbr command. It will re-install Windows Boot Loader and fix problem.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,946
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

  6. #6
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,230
    Quote Originally Posted by yancek View Post
    What main Grub?
    Sorry for the confusion. My XP is multibooted with other OS'es and so when I choose XP from that "Main Grub", it still brings me to the wubi grub which I prefer to skip since I already uninstalled ubuntu and installed in the main HD partition.
    nujinini
    Linux User #489667

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Sorry for the confusion. My XP is multibooted with other OS'es and so when I choose XP from that "Main Grub",
    Problem is in boot.ini file only. Post the contents of boot.ini file here.
    Code:
    notepad C:\boot.ini
    Execute above command in RUN Dialog box or at Dos prompt.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,230
    Here it is:


    Code:
    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
    C:\wubildr.mbr="Ubuntu"
    nujinini
    Linux User #489667

  9. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Delete last line.
    Open Dos prompt or type cmd in Run dialog box.
    Code:
    C:\
    ATTRIB -R -S -H BOOT.INI
    COPY BOOT.INI BOOT.INN
    NOTEPAD BOOT.INI
    Now edit Boot.ini. When finished, save it and type
    Code:
    ATTRIB +R +S +H BOOT.INI
    If everthing works fine on reboot, delete C:\boot.inn file. It's a back up of boot.ini.

    Boot.ini file :
    Code:
    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #10
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,230
    Quote Originally Posted by devils casper View Post
    Delete last line.
    Open Dos prompt or type cmd in Run dialog box.
    Code:
    C:\
    ATTRIB -R -S -H BOOT.INI
    COPY BOOT.INI BOOT.INN
    NOTEPAD BOOT.INI
    Now edit Boot.ini. When finished, save it and type
    Code:
    ATTRIB +R +S +H BOOT.INI
    If everthing works fine on reboot, delete C:\boot.inn file. It's a back up of boot.ini.

    Boot.ini file :
    Code:
    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
    Done!

    Thank you very much for this. It feels good also to learn a little of windows, for trouble shooting.

    EDIT: Ooopsss, sorry I don't know how to delete boot.inn file from cmd. can you kindly show me too? Thanks!
    nujinini
    Linux User #489667

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...