Results 1 to 10 of 10

Thread: Deleted Ubuntu grub rescue!

  1. #1
    Join Date
    Feb 2007
    Location
    Braga - Portugal
    Beans
    113
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Deleted Ubuntu grub rescue!

    Hi!

    I have an eee pc tha had xp and Ubuntu. Yesterday I've deleted Ubuntu and wanted to keep only xp.

    Now I am stuck in the grub rescue....

    Isn't possible to restore grub or fix mbr without live cd? I'm on vacations and I only have an iPad and an android phone with an sd, my eee can boot from sd cards, any help?


    Thanks a lot, this is a little bit urgent :/

  2. #2
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Deleted Ubuntu grub rescue!

    You will have to create a usb stick or sd card with ubuntu that can boot into live mode. Or a cd if the computer has a cd-rom.

    When you boot into live mode, open terminal and execute:
    sudo apt-get install lilo
    sudo lilo -M /dev/sda mbr

    There will be a warning about the lilo configuration but ignore that. Those commands will write a generic mbr that can boot xp.

    Another option if you have a cd-rom in the machine and a cd of xp, you can repair the bootloader with the xp cd.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  3. #3
    Join Date
    Feb 2007
    Location
    Braga - Portugal
    Beans
    113
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Deleted Ubuntu grub rescue!

    As i said , I'm on vacations so limited access, so no CDs etc.... Ubuntu live could work?

  4. #4
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Deleted Ubuntu grub rescue!

    I was trying to cover more information with a single post. Just select what is suitable for you.

    I did say at the start that a usb stick or sd card with ubuntu that can boot in live mode will work.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  5. #5
    Join Date
    Feb 2007
    Location
    Braga - Portugal
    Beans
    113
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Deleted Ubuntu grub rescue!

    Yes, but downloading Ubuntu on my android isn't suitable at all, and I don't think that I can create an bootable ad from my android either...

  6. #6
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Deleted Ubuntu grub rescue!

    I am sorry, but I don't know of a way to fix this without any CDs, without any ubuntu live usb options, without anything. How do you expect to fix it if you can't have access to anything?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  7. #7
    Join Date
    Apr 2012
    Beans
    7

    Re: Deleted Ubuntu grub rescue!

    Neo4 I got the same problem with grub rescue. If you want to keep Xp only, you have to repair it XP CD or bootable usb or sd card. I saw some way that you can give some commands to grub & solve the problem itself long time ago. But I don't know that method, & It's hard way .. Sorry

  8. #8
    Join Date
    Apr 2012
    Beans
    24

    Re: Deleted Ubuntu grub rescue!

    Quote Originally Posted by Neo4 View Post
    Hi!

    I have an eee pc tha had xp and Ubuntu. Yesterday I've deleted Ubuntu and wanted to keep only xp.

    Now I am stuck in the grub rescue....

    Isn't possible to restore grub or fix mbr without live cd? I'm on vacations and I only have an iPad and an android phone with an sd, my eee can boot from sd cards, any help?


    Thanks a lot, this is a little bit urgent :/
    Would it be possible to buy a pendrive & use an Internet Cafe to get a live pendrive image onto it?

  9. #9
    Join Date
    Feb 2007
    Location
    Braga - Portugal
    Beans
    113
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Deleted Ubuntu grub rescue!

    In have a USB but all pcs in hotel have limited accounts that cannot access USB or cannot format it... :/

    I tried download unetbootin and damn small Linux but with limited access the pcs can't format the USB pen

  10. #10
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Deleted Ubuntu grub rescue!

    I do not know which of the Windows/Linux repair CD/USB include a way to repair Windows MBR.

    This is Supergrub's all in one
    http://rescatux.berlios.de/wiki/Main_Page

    This is Boot-Repair which you can add to a liveCD or download as a liveCD

    Boot Repair:
    https://help.ubuntu.com/community/Boot-Repair
    You can repair many boot issues with this or post the link to a run of boot info script so we can see your exact configuration.

    But all these will require you to be able to write to a CD or USB flash drive.

    If you know anyone with Windows 7, you can use it to fix the MBR. It still should boot any Windows.

    Make your own Windows repairCD (not vendor recovery):
    http://windows.microsoft.com/en-GB/w...em-repair-disc
    http://forums.techarena.in/guides-tutorials/1114725.htm

    Windows 7 repair USB, Also Vista if service pack installed
    http://www.intowindows.com/how-to-re...tion-dvd-disc/
    http://www.webupd8.org/2010/10/creat...usb-drive.html
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Bookmarks

Posting Permissions

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