Ubuntu Installation :: 9.04 - Any Way To Remove Grub And Restore MBR
Jan 19, 2010
I have installed Kubuntu on a usb stick. I installed version 9.04 from a disk that came with linux magazine. After installation I can only boot pc if the usb stick is plugged into pc before I turn it on. I then gat a menu with 5 options. The first is Kubuntu and the last is Windows XP. If I try to boot my pc without the usb stick plugged in I get a GRUB error message.
I think this is the GRUB menu which means that it must have amended the Master Boot Record. If I try to boot my pc without the usb stick plugged in I get a GRUB error message. This is generally a minor inconvenience and a great security measure. My worry is that I am notorious for losing usb sticks. If I lose this one I wont be able to boot pc. Is there a way to remove GRUB and restore the MBR?
Basically, I used a USB stick to run ubuntu 9.10 live, then tried to install to an external 500gb HDD connected with a Sharkoon Drivelink USB adaptor. The installation went fine, but I get a GRUB error 21 when booting a lot of the time. I figure this is due to the way in which the drive is connected. I am a complete noob, and I want to just ove GRUB completely and restore my Vista bootloader. Unfortunately, I do not have an installation disk as my laptop didn't come with one, and none of the others I have other PC's are the same version (home premium 32-bit).If you know of a way to fix the GRUB issue/sso I can use the external drive I would love to hear them too, but the main aim of this thread is to help me remove GRUB and restore the windows bootloader. If any more information is needed, just ask and I will provide it.HP Touchsmart TX2-1010Windows Vista Home Premium 32-bitExternal HDD:Seagate Barracuda 7200.11 SATAII (with jumper set for 150mbps)
I'm having some trouble removing unr from my asus eee pc 1005peb, I installed it about a month ago and sadly to say I need cash so I will be selling the eee pc. I want to restore it to factory settings. I already tried uninstalling unr, by deleting the partition it was on, that didn't work. Once I booted up again it gave me a grub error. So I reinstalled unr and now have a left over swap partition from the original install. I want the system to boot up as it did before the installation of unr. How would I go about doing this?
Is there any way to simply remove grub? Does GRUB reside in a specific partition? Do I have to just delete the partition that has GRUB on it?The way my bootable partitions work is something like this.
1)Installed Vista
2)Installed Ubuntu
3)Thought I removed GRUB
4)Put in new HDD(1) and installed Win7 onto it
5)Put in another new HDD(2) and put another Win7 onto that (but I disconnected every other HDD so that the bootloader would be written onto the new HDD(2). When I have all my HDD's plugged in now, I get a GRUB load error (I think it's 21).
I just made my system unbootable... Here is what i did.. I have two sata HDDs
160 GB (Contained Windows 7) 500 GB
I copied entire 160 gb as an mirrored image to 500GB HDD using Acronis Disk Director. I deleted entire 160 GB HDD.. Removed the 500 GB HDD and kept it seperate.. Installed ClearOS Enterprise 5.2 Worked a little bit... The i wanted to delete ClearOS.. So i connected 500GB HDD and booted again in Acronis Disk director Formated the entire 160GB HDD.. Copied back the entire 160 from 500GB HDD.. Now my sytem refuses to boot... Just 4 letters "GRUB" appears on the screen... I tried booting using XP CD.. It gives a blue screen.. I tried Windows 7 CD.. It says unable to fix due to MBR problem..
i hav dual boot system with Windows Xp and Ubuntu 9.1 using Wubi i have 5 partitions at one 250gb harddiskwindows is working on C:i have ubuntu on the 5th on G: installed under windowsWhile i am experimenting with startupmanager i selected to show spalshscreen and restarted ubuntuthen i found a problem with grubani have only a terminal to enter grub commands named sh:grub:>how can i restore the grub and boot into ubuntu
After upgrading from 9.10 to 10.4 computer stop working. Booting stops on grub with a massage:
Code: Grub loading. Error: the symbol 'grub_puts_' not found grub rescure> I try to restore grub but after command: Code: insmod /boot/grub/linux.mod I get error: Code: Error: the symbol 'grub_puts_' not found
I had windows XP and Ubuntu installed on my Asus 1000HE and the hard drive is failing so I need to RMA it. They told me to restore it to factory defaults which I just press F9 at boot 3 time and Ghost takes over and reformats, creates 2 partitions and installs XP on one of the and the other is for another OS or just storage if needed.
I did that now I get a grub rescue prompt when I boot my netbook. Is there a way that grub installed itself to my PE partition that's a hidden partition that came with the netbook? I've taken the drive out of the netbook and put it into my desktop and formatted both main partitions but not the restore one. Yet I still get the grub rescue prompt, how can that be?? I can't even boot from flash drive or get to bios it just goes straight to the rescue.I need to send the netbook back but can't unless its restored. Right now I'm on the 9.10 live flash drive I made on my desktop and my only hard drive attached it the netbooks.
I need to use the fixmbr command to fix my windows installation. I'd like to restore grub to its former state after doing so. I have searched how to do this and since my configuration differs slightly, I'd rather get more specific instructions. Right now this is what menu.lst looks like:
I just installed Win7 (I need it for work -.-") and, of couse, it installed its boot loader and I can't boot F13 any longer. The question is, how do I restore GRUB from a F13 live installation media without destroying Win7?
I remeber trying something like that a couple of years before when I had the same issue:
Unfortunatelly, that doesn't work and at the next boot I am stuck with Windows again how to restore grub from a F13 live CD?
I do computer forensics here in Afghanistan and I am trying to keep a clean image of a dual bootable hard drive. Here is what I try to do...
1. Boot into UbuntuLiveCD 2. I run "sudo dd if=/dev/zero of=/dev/sda conv=sync,notrunc bs=64K" to wipe the drive with all zeros. 3. I then install Windows by creating a new partician about 50GB. 4. I then install Linux by creating a partician in ext4 mounting it at '/' in addition I create a swap partician. 5. Next configure everything just the way I want it. I install all the drivers and software I need for my windows partician and build out the remaining part of the disc as a "data drive." 6. Then I use "dd" again to try to image my "clean slate" of a system. Remember I am dual booting. I dd the /dev/sda and gzip it. 7. When I go to restore it, I boot from the live CD again and unzip ig and "dd" it back onto /dev/sda. 8. I run fdisk -l and I get:/dev/sda1 * 1 6375 5120000000 7 HPFS/NTFS/dev/sda2 6376 11724 42965842+ 83 Linux/dev/sda3 11725 12453 ...... 82 Linux swap / Solaris.This means to me that it can "understand the file system" 9. But then when I take out the Live boot CD and try to get my "clean slate" machine back, the system goes into Grub Rescue mode with a grub command line "grub rescue>" 10. I tried using the tutorial on Grub2, but... a. It would not understand the command "linux" b. When I try to do insmod, it says it doesn't recognize the file system.
I had i a dual boot win. 7 and ubuntu 9.10,recently i had some problem in my windows os so i restored the c drive to factory settings since both operating systems where in c drive so when i tried to boot grub was showing problem.the information displayed was loading grub, the file does not exist rescue grub> so what should i do to restore grub so that i can boot again into windows 7 and ubuntu without loosing my data.
A few days ago I installed my first Linux product, which is Debian 6.0, and I installed the GRUB booting device on my main boot record, as it was suggested that it was a harmless step to take. Unfortunately, some quirk in my system made GRUB believe that I had XP when in fact I have Vista, so the options I have now are to boot Debian or to boot XP which is not on my computer. In other words, I have to get rid of GRUB now, but I'm realizing that he's not such an easy customer to kick out. I have moved my Linux installation to another drive, but the old GRUB always stays in place, and my Vista is stuck there frozen for eternity. So after considering all kinds of possibilities, I have come to the conclusion that the easiest way to restore my original boot record would probably be to find its backup copy that I assume the installation program made, and to copy it back into the right address at the beginning of the disk. I don't have the Vista recovery CD, so I really have to do this manually. So now my questions are these: did the installation program make a copy of the boot track, and if so, where did he put it and under what name, and finally, what command can I use from within the Debian terminal, which is now my only tool left, to copy the content of thesaid file into the first 512 bytes of the hard drive? I know that would be a simple matter for any serious geek, I guess I must be a little rusty. Anybody feel up to it?
I have an old Dell Dimension 4500 that, until recently, had 2 hard drives. One drive is running Xubuntu Koala and the other was running XP. I had set up Xubuntu to run LVM.
After needing XP again for a small project I tried reinstalling XP, got disk errors, took the drive out to just have Xubuntu, and now when I boot I get "Error loading operating system".
I have tried restoring GRUB from a Live CD with no help. Everyplace I look on the net talks about restoring GRUB after installing Windows on another drive. I'm trying to get GRUB working again after removing the XP drive.
I was trying to load up Ubuntu 9.10 on a thumb drive to load look at the files on a computer with a dead disk drive, I couldn�t boot up on the other computer, but that�s another story (yes the drive was marked as bootable)
When I restart my laptop whose diskdrive I used to install Ubuntu onto the USB drive, I get a GRUB error �No such device and can load anything unless I plug back in the USB drive. When it is plugged in, the USB boot is the primary (1st in the list) boot. I tried editing the .lst file on my laptop�s drive but it only has its kernels listed. Anyone know how to make my system quit looking for a USB mounted kernel? Or at least not fail if it can't find one.
I had Kubuntu 9.04 and Windows XP on a Dual Boot. I upgraded using the update manager to 9.10. (I know, I'm a fool.) The Kubuntu install stated freezing hard on startup, just after the GRUB OS selection screen, at a blinking cursor and otherwise blank screen. I'm pretty sure 9.10 will work great from a fresh install, but the live cd freezes after main Kubuntu boot screen and even Windows live cd only shows Windows partition. fixmb, fixboot, bootcfg etc. do NOT replace the grub as desired.
I have windows Vista and Ubuntu 9.04 on my asus laptop and use grub as boot manager. I tried to reinstall windows vista with the recovery CD delivered with my laptop in order to just get rid of the old installations. The Installation was OK, however when rebooting windows doesn't come up printing the error could not load GRUB Error 22.
Now I think I should remove grub from teh master boot record, and the system will supposedly work.My question is is this a solution and how do I reformat the master boot record? Can I do it with the Ubuntu instalation CD?
I have so many entries in GRUB and have to actually scroll down so much to see windows entry. How do I remove unwanted entries in GRUB? Also How can I make a background picture appear when grub manager comes up?
I have a grub menu with a ton of old kernel entries that I want to delete. I've scoured this forum, and haven't found anything that works. I've tried:
Code:"the easiest way to get rid of old kernels from grub is to uninstall the package, the post-install scripts will update grub
for example my current kernel is:
uname -a Linux hemma 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU/Linux
then remove older kernels found in /boot like this:
sudo aptitude remove linux-image-2.6.31-15-generic" When I tried that, the output showed the package being removed, but nothing was removed from the grub menu. I tried running the kernel I supposedly removed, and it wouldn't start, which is promising, but how do I get it out of the grub menu? I've also tried using Synaptic, but that didn't work either.
Basically my laptop did have a Windows 7 partition that came with the system(which I no longer need), a Ubuntu partition and a separate partition for storage. This was until I formatted the separate partition using Windows and it did something which gave me a file system error and would not let me boot into any os. Then because I was in a rush and had lectures in a hour I installed another Ubuntu partition of 3gb just to reinstall GRUB so I could boot into my original Ubuntu to get my files. Now I would like to delete the 3gb Ubuntu partition and the Windows partition to be left with my original Ubuntu partition and then merge the hard drive into just the one partition. My main fear before I attempt this is again destroying my GRUB. I know I have made a mess of this but would really appreciate being pointed into the right direction. I have done some searching and reading but struggled to find clearish instructions on how to do it properly.
I'm just slightly confused here, but... what the? Why does installing grub-doc remove BOTH grub-pc, and grub-common? So basically it seems like by installing grub-doc, I have uninstalled grub totally (yes, it is still there as the bootloader, but i have no way of updating it now!) from my system. What's the conflict between grub-doc and grub-pc, such that grub-pc has to be removed?
I am trying to restore my system to Ubuntu 10.10, using a system backup made with REMASTERSYS. When I reboot, I get the message: GRUB error:15 I found many threads discussing this issue, most notably here: [URL]
I have Windows 7 and Ubuntu 10.04 dual-booted on my machine. grub was aautomaticlu installed as the primary loader. Soon i want to nuke my ubuntu partition but i know that will delete grub. Can i remove grub or at least make Windows boot loader default.
I've had to give up trying to install linux. It just won't work on my machine, a Presario 6370us that has been upgraded over the years such that it is not compatible with linux, apparently. (You can read my travails elsewhere on this board; thanks very much to all who tried to help.)
Now, how do I remove the GRUB boot loader from my system? I need the system to boot directly to Windows XP.
I can't start linux in any way, shape, or form, so I need to either edit GRUB inside the GRUB environment itself, or to do so from Windows.
Ideally, I'd like to remove GRUB entirely. Failing that, I'd like to edit the GRUB config file so that only Windows is an option. Failing that, I need to make Windows the default OS.
I had Vista on my laptop and then started dual booting with windows.downloaded ubuntu today and installed but just not feeling it. i have looked in add remove programs but its not there. can someone point me in the right direction. How do i remove ubuntu including the grub screen and free the space up on the hard disk because i'm missing 25gb.
I have used Ubuntu 8.04 and uprgaded to the new 9.10 both using the gneom desktop. I wanted to work with KDE and SUSE so I bought the Linux Format magazine with the DVD 126 which had SUSE 11.1 with the KDE desk top. I have a Toshiba L455 laptop and had windows 7 on 110 gb and had ubuntu 8.04 on 50 gb and ubuntu 9.10 ob 48 gb. I had ran the installer and it identified both linux systems and I selected to install SUSE in the space allocated to 8.04. It only boots to suse with the option to select windows. It showes 9.10 mixed with suse. I have not used suse. Is there an uninstall that will allow me to start over with the installation after creating a partition first. How can I get 9.10 to boot or how can I recover data from it.
So I wanted to get rid of ubuntu 10.10 on my HP pavilion dv6 laptop as I wanted to make some hd space. Its a dual boot with windows 7. I deleted the ubuntu partition and expanded the windows partition to fill the whole hard drive again. When I restarted my laptop I got the "error: no such partition. Grub rescue>" message.
I tried inserting my ubuntu 10.10 boot cd but whenever I boot from the cd I get the exact same grub rescue error. Is it possible to remedy this situation from the error? I am currently unable to download a windows recovery cd so I'm stuck in the grub rescue page unless its possible to fix this mess from the error prompt.