Ubuntu Installation :: Karmic Grub Updated And Destroyed Itself
Jul 26, 2010
I'm a GRUB novice, unfortunately. My system is a 7-year old Dell tower. Two hard drives, each sliced up into a bunch of ~30 GB partitions. I dual-boot WinXP and Ubuntu Karmic Koala 9.10. I think I have GRUB2, but don't know how to check without being able to boot. This problem arose during a standard upgrade when I didn't pay attention and GRUB updated and apparently destroyed itself. Now when I boot my system, I get the following message:
Code:
Booting from local disk...
GRUB loading.
error: no such disk
grub rescue>
Almost every fix I found in my searching involved:
Code:
grub> find /boot/grub/stage1
but none of the solutions said what to do if that file wasn't found.
When I boot from my Ubuntu install DVD, I can mount my various partitions and browse their filesystems, so it appears that my data is all still intact, I just can't get to it. What should I try next?
i made a few updates and now i am stuck into windows. I have Windows Xp, and installed ubuntu 10.04 using wubi. I was using ubuntu, updates poped up, and after they finished i restarted and...crash!
Now, if i try to run ubuntu instead of Windows my pc will reset. I have tried to make a bootable ubuntu version into my pendrive and to use Super GRUB2 Disk, but cant launch any of them. Any idea of how to solve this problem? Maybe it ispossible to install grub from windows?
So I have been using Ubuntu for the past couple of months using Wubi, mainly because my parent's are afraid that I'll screw something up on the computer if I partition the hard drive and stuff like that. And Today I installed the latest updates for 9.10, asked me to restart the computer, and now whenever I try to boot using the latest kernel GRUB keeps telling me to "Load kernel first". The funny thing is that I can boot with the older kernel fine, But I would really like to get the lates updates, which I can't using the older kernel.
So I am experimenting with other linux distros.....I just installed a small partition with OpenGEU, the one still based on Ubuntu.....now it wont recognize Mint. Ubuntu Studio is next on my list, but before I invest any more work I want to make sure I can add more partitions to grub, not just the most recent linux partition...
I think that future distros of linux should have a fix for this....if you install linux it should detect every other operating system on the disk, not just windows plus the most recent linux install.
install /boot separate? I always create a / and /home partition but never separate boot. Does that make life easier?
-Ran Windows XP Media Center for most of the life of this HP Pavilion notebook with 2 hard drives, C: and D:, no partitions except the default HP recovery partition
-Yesterday, installed Ubuntu 9.10 through Wubi on D: from an ISO (because the CD drive doesn't work). I assigned it 30gb on D:, which I assume created a 30gb FAT32 partition on this secondary drive.
-Dual booted successfully from Grub between XP and Ubuntu, so I thought, "Mission accomplished" and started making friends with GNOME. Got a pretty good score in Tetris.
-Was asked if I would like to update to the latest Ubuntu (10.04 I think?) which struck me as a good idea. Everything went smoothly until it asked me to reboot.
-Reboot brought me to a command-line that says "grub rescue>" and above it says "error: no such device: e76e00f3-........" (there's more, I can write it out if that helps)
-Rebooted several more times (cause that usually fixes things) but just got back to "error: no such device: ..." and "grub rescue>"
And that's where I am now. I have almost no experience with how Linux (UNIX?) works differently than Windows or how to use the command line. I know that the hard drives are (hd0), (hd1) instead of C: and D: and that everything important seems to start with "sudo" and that's about it. I was going to ease myself into the whole thing gradually, picking up little bits as I go along. But now I'm just stuck in command line limbo and none of my usual troubleshooting strategies apply here, not even yelling rude things about the computer's manufacturer.
I'm running Karmic Server with GRUB2 on a Dell XPS 420. Everything was running fine until I changed 2 BIOS settings in an attempt to make my Virtual Box guests run faster. I turned on SpeedStep and Virtualization, rebooted, and I was slapped in the face with a grub error 15. I can't, in my wildest dreams, imagine how these two settings could cause a problem for GRUB, but they have. To make matters worse, I've set my server up to use Luks encrypted LVMs on soft-RAID. From what I can gather, it seems my only hope is to reinstall GRUB. So, I've tried to follow the Live CD instructions outlined in the following article (adding the necessary steps to mount my RAID volumes and LVMs). [URL]
If I try mounting the root lvm as 'dev/vg-root' on /mnt and the boot partition as 'dev/md0' on /mnt/boot, when I try to run the command $sudo grub-install --root-directory=/mnt/ /dev/md0, I get an errors: grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea. grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Somewhere in my troubleshooting, I also tried mounting the root lvm as 'dev/mapper/vg-root'. This results in the grub-install error: $sudo grub-install --root-directory=/mnt/ /dev/md0 Invalid device 'dev/md0'
Obviously, neither case fixes the problem. I've been searching and troubleshooting for several hours this evening, and I must have my system operational by Monday morning. That means if I don't have a solution by pretty early tomorrow morning...I'm screwed. A full rebuild will by my only option.
I have received an Lenovo T400 as a gift and am going to get rid of the Vista Business OS on it! It is a resource hog and sometimes has trouble hooking up to our router. I was curious yesterday on how much RAM was being used on idle and it was between 900mb and 1gb! I'm downloading Karmic 64-bit and would like to use the old GRUB instead of the beta Grub2. At least with the legacy grub I could edit it easier than the beta one. I am also wondering if Karmic would run fine using ext3 instead of ext4?
i had a system running ubuntu karmic and grub2. Last day i installed fedora 12 on another partition and also installed the older version of grub that came along with it(because i was more used to it). The current status is:1. can boot into fedora, cannot boot into ubuntu.
2. can boot into fedora, chroot into the ubuntu partition 3. no data loss
However, i just can`t boot into ubuntu from the older version of grub which i have presently. Question is: How do i boot into karmic from the older version of grub? do take some time off and reply of you know the answer!
I just installed Karmic Koala on one of my hard harddrive. The other disk has Windows XP. Previously I had a working dual-boot setup, but after problems with Ubuntu I reinstalled it. On booting, I get the following:
There is no Grub menu which might allow me to drop to a Grub prompt and evaluate. This occurs whether I boot with the Ubuntu harddrive or re-set the BIOS to boot with the Windows harddrive. If I boot with a LiveCD, I see that both my Ubuntu and Windows harddrives exist and are readable; the Ubuntu was indeed wiped clean and reinstalled; the issue is with the boot process. How can I set this up to boot?
I had a nicely working karmic 64bit/windows XP install, but the "upgrade" button to 10.04 has finally got the better of me. Now, when the PC boots up, the following failure occurs:Memory CheckPCI device listingVerifying DMI Pool Data ......error: no such device:e9eb88c2-67f2-47a7-bf9d-50b77b2d3480grub rescue>_Some more information.linux is on sdb1when I type "ls" I get: "(hd0) (hd1) (fd0)"however, I've not managed to get "ls (hd1,1)" or similar to do anything, the best I get is "error: no such partition".the command "find /boot/grub/grub.conf" results in the error "Unknown command 'find'"I've tried swapping the boot order in the bios from hd0 to hd1 but that has made no difference.There is no grub loader, no linux, no windows, no operating system of anykind, just the "grub rescue>" prompt.
I've been trying to get Grub 2 to work on a desktop system I'm trying to install Karmic Koala on. It's currently got two similar hard drives, which I've partitioned into a small /boot partition and the rest as a large general partition. Both are fd (linux software RAID) types. I boot from the Ubuntu live CD then create the RAID arrays as RAID 1 (requires installing mdadm to work). Then I start the arrays and begin the install.
I select manual partitioning and create the first RAID array (/dev/md0) as an ext4 /boot. The second array (/dev/md1) requires a new partition table. I then partition it as 20G for /, 2G for swap and the rest as /home, giving me /dev/md1p1, /dev/md1p2 and /dev/md1p3. When the install finishes, I mount the various partitions in /mnt (for /dev/md1p1) and below, including binding /dev and /proc. Then I chroot and install mdadm in the new system. I update grub, re-install it on /dev/sda & /dev/sdb then update the initramfs.
A quick reboot and things go wrong... Grub boots me into a recovery console. Apparently it can't see the partitions in the second RAID array. how to get Grub 2 and/or mdadm to work in this situation? I know that apart from the RAID, the above process worked to allow me to set up a Grub 2 boot on an antique laptop with an incomplete install.
GRUB has not updated properly for some reason, and now I am left with an un-bootable system. I would like to know how to re-install grub without needing to re-install Ubuntu.
I have just updated my Ubuntu linux to Ubuntu 10.4, not my grub menu isnt letting me boot to Windows Partition.The problem seems to be with grubs new update from using an editable menu.lst file to using a non editable grub.cfg file. Everywhere I look it states "DO NOT EDIT THE GRUB.CGF FILE". I am at a loss as what to do. I figured that the new configuration has screwed up the Windows Boot File. Anyone have any suggestions on how to fix this. I am not sure if it is a windows issue or an issue with the Grub boot menu.
I'm having a problem with Wubi on my netbook, and while I could fix it easily (though probably only temporarily) by reinstalling, I've been using it since January and many of the files are files I cannot afford to lose. I'm dual booting with Windows XP, but when I choose Ubuntu 9.10 from the menu at startup, it takes me straight to Grub with the following message:
Quote: GNU GRUB version 1.97~beta4 [minimal BASH - like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device/file completions.] sh:grub>
I've had this problem once before, but I was able to fix it with the wubildr patch. Both instances of this problem have occurred after updates, though it hasn't happened after every update, just the two so far.I've also tried several of the command-line suggestions that have fixed this problem for other users, but I've been getting "unknown filesystem" when I attempt them. If anyone has any idea how to fix this without losing the files I have on my current install,
I had installed 10.10 on another partition, and then I wiped it, so I need to reinstall grub on my 9.10 partition. I have tried a few methods, including one that had worked for me in the past.But every time I boot my computer, it just says "GRUB loading.", and hangs. How should I fix this?
Althought /etc/default/grub has GRUB_DEFAULT=6, after grub-update nothing changes and the default menu entry is still the first. Can someone tell me how to change the Grub default menu entry?
I want to try out the realtime kernel to get my audio latency down. I have installed the realtime kernel packages according to the Ubuntu Studio preparation documentation here - I have also run sudo update-grubHowever, when I boot up, the realtime kernel option does not show up in grub2. The current kernel I am using is 2.6.31-17, but the only options in grub for it are -386 and -generic.
There is a previous entry of 2.6.31-9-rt which I had attempted to use previously (sometime last year) but if I select it, it doesn't even boot at all.I checked my /boot directory and there is no vmlinuz-2.6.31-17-rt file .... Which I am assuming is why it doesn't show up or add when I run update-grub ... But I am currently at a loss for how to actually get the 2.6.31-17 realtime kernel file and add it to grub2.
Just out of the blue, the layout of my 10.10 Opera was destroyed. If you take a look at the attachment you will see that Class: tag everywhere. How the heck did it appear and how can I make it work like it did before?
I can now no longer access my desktop. the only way I can access ubuntu is through the recovery kernel, and logging in through the command prompt. I installed this theme using install.sh also with the package is uninstall.sh though I can't access it through commands.
What happened is I downloaded the package,extracted it and ran the install.sh. It went through all of the setting up that it was supposed to do and in the end looked like it was working like it was supposed to. However my compiz got shut off so I decided to turn it back on through the desktop settings. Everything looked fine, I hit ok to accept the settings then that's when my screen went haywire. Everything on the screen was blown apart so I had to reboot, hoping that would fix it. now when I try to log back in It will go to the splash screen then go all black before the login page.I've tried resetting Gnome with rm -rf .gnome .gnome2 .gconf .gconfd .metacity though that will not work either. I guess I need to have access to the desktop for that to work. I don't know what to do, can my Os be saved or am I looking at a reinstall.I think if I can disable compiz perhaps long enough to boot I might be able to get rid of that theme. thoug I can't find any info on how to do it. everyanswer I find is based on having the desktop running and using gtk programs such as metacity --replace.anyone have any ideas on how I can access my desktop again?
My problem isn't directly related to ubuntu or linux, but I figured that my best chance at a fix would be on ubuntu forums. The problem is that every time I reboot my computer, my partition table gets destroyed. I tried fixing it with testdisk and gparted, but as soon as I rebooted, everything is back to broken. So far I've troubleshooted to the point where I know it's not an operating system's fault. I'm hoping it's nothing more severe than a bad hard drive.
OK so i burn a copy of 9.10 to a CD and started up the live desktop, when i got in i started up gpart. i desisted to give 40 GB to ubuntu i put in the numbers and came out with a 39.04 GB empty partion, so i toyed with it to try to get to 40 on the nose. this is the point where i should have walked away while i was ahead but i did't, i kept toying with it till i was almost there, but when i finally got it i realized i still had to finalized the changes so i hit the green check mark and let it run after 10 min's of gpart was reading my entire 180 gb partion which i had windows on. i grew in partion, and i remembered it was much quicker in the past when i partioned from inside the install so foolishly not knowing what i was doing i hit cancel. then my heart stopped when i saw the word unknown where it used to say ntfs. i relised i just destroy my windows install. i started to panic, because my backup of all my files where on another computer and guess what 3 days ago the hard drive died on it and i never got a chance to back up the stuff from this one to somewhere else. then i relised i had a 10 gb factory installed backup partion. so i restarted the machine and got nothing operating system not detected, and when i trying to got to the started up menu i didn't have the option to boot in recovery mode which i was expecting. but i had one last saving grace i upgraded from vista to 7 for free and still have the install disk, so i started up the install disc and selected recovery mode after trying automatic recovery and falling i tried restore from system image, it couldn't find the partion, as a last ditch effort i tryed system restore and as expected failed
i am at my wits end and have no idea what to do next short of wipe the drive and do a clean install, which i relay don't want to do because I'll lose all my data.
I have a laptop with Karmic Koala in dual boot with Lenny. I need to reinstall Lenny however if I do that I will loose Karmic Koala in the grub screen because of the new version of grub that comes with Karmic Koala. Which means that I will need to reinstall Karmic Koala after Lenny so that they both appear in the grub screen at startup. If I reinstall only Lenny is it possible to use Gparted to change the boot back to Karmic Koala and have them both in the grub screen again? Or is there another way around it?
I have a sister-in-law, married to an accountant who lives and breathes WinSoftware. I worked hard at convincing her to switch to the simplest Linux available imho, an Ubuntu, latest edition.She tried it, worked fine, was happy.Thenstarted to kernel update.It destroyed the 'boot on Windows' option I had setup, making it a daily pain for her husband to get on his Windows. I need not insist on the fact that Linux won't ever be back on that computer, because Ubuntu's update scripts can't do something as simple as check if Windows is the primary boot
I had opensuse 11.0 on a system at home. Decided to install 11.2 since I had read that 11.2 can do upgrades from then forward.Well I fiddled with the partitioning settings, made sure that it was configured exactly like it was before - /dev/sda1 is /; /dev/sda2 is swap, /dev/sda3 is /max.I knew I would have to do a clean install, but thought it would not touch my other partition /max. I explicitly told it to NOT format /dev/sda3.Well when it booted, it goes into maintenance mode - says my partition is hosed. fsck tells me that maybe my /dev/sda3 is a zero length partition.Hallelujah that I turned off my external drive.So,for sure I will NOT be installing 11.2 on my other two systems at work.Now that my entire machine at home is a vegetable, think I might go take a look at Debian. This is not fun.Thought Linux would be a bit better than Windows in this respect.
I have stellarium 0.10.2 but whenever I run it, it does not save my settings. A look at its output is:
Code: $ stellarium QProcess: Destroyed while process is still running. [ This is Stellarium 0.10.2 - [URL] ] [ Copyright (C) 2000-2009 Fabien Chereau et al ] Writing log file to: "/home/arthur/.stellarium/log.txt" File search paths: 0 . "/home/arthur/.stellarium" 1 . "/usr/share/stellarium" Config file is: "/home/arthur/.stellarium/config.ini" Sky language is: "en_US" Application language is: "en_US" Loading Solar System data ... Loaded 38 / 38 planet orbits Loading star data ... Loading "stars_0_0v0_1.cat": 0_0v0_1; 5013 Loading "stars_1_0v0_1.cat": 1_0v0_1; 21999 Loading "stars_2_0v0_1.cat": 2_0v0_1; 151416 Loading "stars_3_1v0_0.cat": 3_1v0_0; 434064 Finished loading star catalogue data, max_geodesic_level: 3 navigation/preset_sky_time is a double - treating as jday: 2.45151e+06 Loaded 10051 / 13226 NGC records Loading NGC name data ... Loaded 222 / 222 NGC name records successfully Loaded 88 / 88 constellation records successfully for culture "western" Loaded 85 / 85 constellation art records successfully for culture "western" Loaded 89 / 89 constellation names Loading constellation boundary data ... Loaded 782 constellation boundary segments Loading star names from "/usr/share/stellarium/skycultures/western/star_names.fab" Loaded 230 / 230 common star names Loading star names from "/usr/share/stellarium/stars/default/name.fab" Loaded 3215 / 4359 scientific star names Creating GUI ... try_pbo_zcopy: failure 2 try_pbo_zcopy: failure 2 try_pbo_zcopy: failure 2 try_pbo_zcopy: failure 2 try_pbo_zcopy: failure 2 try_pbo_zcopy: failure 2 try_pbo_zcopy: failure 2 try_pbo_zcopy: failure 2 try_pbo_zcopy: failure 2 try_pbo_zcopy: failure 2
The failure continues for as long as the app is running.
I use Ubuntu 10.04 2.6.32-25-generic kernel After I did some automatic updates, in my Openoffice documets page numbers and other references are destroyed. Example, only "pagenumber" is written instead of page number.
I've found a serious bug in KMail 4.14.1 (Debian 8): When you delete an attachment from an HTML message, all other content of that message (i.e. the whole body part) will be destroyed.
How to reproduce:
Create an HTML ("Rich Text") e-mail message and save it as draft (or send it if you like) Mark your saved (or sent) message, right klick on the attachment and choose "Delete Attachment"
The content of the body will be replaced with text like this:Code: Select all. You deleted an attachment from this message. The original MIME headers for the attachment were:
I was trying to perform a new install, so sensibly made a back-up of my data to my external drive. Unsensibly, I didn't unplug the disc before starting the install and the install trashed the partition table/FAT on the external drive.I've used disktree and can "see" that the disk has lots on it, but I cannot access it.