Ubuntu :: Grub Can't Find Partition At Boottime
Sep 14, 2010
I had my HD partitioned with Win7 and 2 versions of Xubuntu (32 and 64 bit). and Grub as multiboot loader. I removed the 32 bit version and assigned the free space to the 64 bit version using the Gparted bootCD, but now Grub can't find any partition anymore at boottime. All I get is this message and prompt when I try to boot my computer: error: no such partition grub rescue. My Linux partition is supposed to be sda6. When using the 'ls' command I get quite few entries, from which one is (hd0,6), which is sda6 I suppose.I can list the contents of directories on (hd0,6).I've tried instrucions from this page, but many commands don't work, like 'linux', 'initrd' and 'boot'.I really don't want to loose my current OS's. Is there a way to recover fom this so I get the Grub boot menu with my Win7 and Xubuntu entries again?
View 4 Replies
ADVERTISEMENT
Nov 1, 2010
I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.
After "fdisk -l",
I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?
View 24 Replies
View Related
Jan 7, 2011
I messed up my mbr by deleting my other drive which I guess had the MBR for both my OS (2 Windows 7's). So i installed Ubuntu in an attempt to fix it all hoping to get the GRUB. It then booted directly into Ubuntu.So I ran bootsect.exe tx the mbr and it said success.Still boots into Ubuntu directly without and grub.
I ran sudo update-grub
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
Found memtest86+ image: /boot/memtest86+.bin
done
View 9 Replies
View Related
Jun 27, 2011
I recently installed Ubuntu 11.04 on a clean hard drive. Everything went well and I ended up giving /home it's own partition. After a while I figured I would dual boot with windows 7 and my mbr got overwritten. Now after this happened I googles how to fix it and found the same answer almost everywhere. It had me go into terminal and run grub an find my partition and setup grub again. All of this was done off a livecd. The only problem was that my livecd didn't have the grub shell installed. Everytime I ran "sudo grub" it would say "sudo: grub: command not found" I tried to install it but it kept giving me errors and I only once actually got into grub, but it could not find my partition. Whenever I typed "find /boot/grub/stage1" it said directory does not exist. So I attempted to fix it my own way. I installed another version of ubuntu along Sid the first. This allowed me to triple boot between the two versions of ubuntu and windows 7. So I booted into my original ubuntu (11.04) and deleted the older version of ubuntu with gparted. I deleted the partition and restarted, but when I restarted I got an error saying that grub could not find the partition. I can boot into my original ubuntu through the ultimate boot cd but it is a round a bout way of doing it. Is there anyway I can set grub to search for ubuntu 11.04 on startup instead of the deleted version of ubuntu?
View 9 Replies
View Related
Jul 4, 2011
i have 500 GB SATA drive with windows 7 and Ubuntu 11.04 500 GB drive divided in 3 partitions on one partition thers is windows 7 and on 2nd Ubuntu now i'm installing a software it's asking where you want to load your Grub and i don't know in which partition my GRUB is. my question is is there any way to find out which parition got my Ubuntu GRUB?
View 3 Replies
View Related
Oct 4, 2010
I have a 9.10 ubuntu desktop on a tower (bought 2004) working fine, and wanted to add a 10.4 server on an additional partition. After install, I stated grub may be newly written, as the list of os was fine. After reboot I got "grub rescue>" I managed to get the system working again, and now I have a grub2 menu list stating correct entries. But when I select the server entry the boot fails telling "disk not found" (The UUID of the partition given is correct, and also shown when accessing the partition from the 9.10 desktop (this needs an additional authentification when mounting) grub shell command ls does not show the partition, all other tools (life-CD, working installation, gparted etc.) do show it normally, I cannot find any difference. The partition is on the beginning of the disk
View 3 Replies
View Related
Aug 29, 2010
I am playing with grub and i change the root using:
How can i know what's x for /dev/sda7 ?
The problem is that in Gparted view, the order is not like sda5, sda6, sda7, ...but the order is like:
So what's x for /dev/sda7 ?
View 2 Replies
View Related
Apr 14, 2011
I deleted the wrong line in grub.conf, and now cannot boot into my Windows Vista anymore. I really need to get it back right away, I am trying to do my taxes, and they are on there, and I can't get to them. I added this to grub.conf, but no luck.
Vista
root (hd0,0)
chainloader +1
View 2 Replies
View Related
May 2, 2009
This is an (apparently) very simple question: I would like to execute a command upon bootup of my system. It is a hardware related command which echoes a parameter into a sysfs file.
I thought the proper place for such a command would be /etc/rc.d/rc.local. But it does not work, the command seems to be ignored (no idea why...) :(
Does rc.local require special syntax after all? Or is there a better way to specify bootup commands? Ok, I could create a standard init script, but it is not really a service which has to be started/stopped/restarted..
View 11 Replies
View Related
Jan 24, 2011
I ran across something while installing amd64-kernel.I did so cause i wanted to test hadrets xfce-4.8 repo.viewtopic.php?f=16&t=58733#p341988It boots very fast.I usually don't care about such things, cause i am very happy how it is, but i wanted to check if it is a feeling, or for real.I followed gnududes how-to use bootchart:viewtopic.php?f=16&t=38869So, that was the long story, here comes the short version:On i368, but a full installation with all kind of stuff, it takes 20 seconds to boot.On amd64, with only a few basic packages, it takes 8 seconds.Is the fast boot time due to 64, or is it due to the little amount of apps?(that was my question for this thread, in case no one realized).
View 11 Replies
View Related
Jan 31, 2010
I've trawled the internet but can't seem to find the exact same issue, so I've made a new thread. So, I installed Ubuntu onto a 160gb drive. I have other drives in the system, but I disconnected them so that the system drive would be sda. Ubuntu installed perfectly with no issues whatsoever. I connected the other drives in the system, and again it booted up perfectly (although I can't remember whether the 160gb drive remained as sda or became sdd). Then I attached some extra drives temporarily to do some data shuffling.
This moved my system drive to become sdf. My computer booted fine multiple times like this, but when I was finished with the drives I rebooted and suddenly everything broke. For some reason my ubuntu installation showed up in the GRUB twice, and neither of them booted. So, I popped in the Live CD (which I'm using to type this post), and decided to update the grub. I chrooted into my system drive and ran update-grub, but it simply returned something like this:
[Code]....
View 7 Replies
View Related
Dec 16, 2010
I updated yesterday and now when I start my laptop it goes in to grub rescue mode. I have booted from a 'live cd' and thought I could repair grub from there. In gparted however the partition with ubuntu (sda1) is seen as unknown file system, in terminal when I list the partition table it shows up as FAT16 type. When I try a grub-install it gives this error message:
[Code]....
View 9 Replies
View Related
Jun 5, 2009
I've got myself the curious situation where, when I boot the system, I can get grub to start, but it always drops to the prompt.
I can run:configfile /grub/menu.lst
and this brings up the menu with no problems, and from there I can boot the system to either linux or windows. What I don't understand is why it wont go to the menu in the first place?As far as I can tell, grub/Kubuntu got confused when installing, as each of the hd#,# settings in the menu.lst have needed tweaking to let the system boot. (e.g. windows is actually hd0, but the original install had it at hd2. Likewise linux is on hd1, but the menu.lst had it at hd0). I've happily tweaked these to make the system boot, but would appreciate any help in convincing grub to actually load the menu without me having to use the prompt.
View 7 Replies
View Related
Mar 9, 2010
is it possible to use a Windows-based recovery partition on a dual-boot computer to overwrite the Ubuntu partition and remove the GRUB loader? For instance, if you booted up your computer, accessed the hidden recovery partition and used it to reset the computer to it's factory default settings, would that effectively remove the Ubuntu partition and the GRUB loader? Would a completely new installation of Windows overwrite/uninstall Ubuntu and GRUB automatically?
View 4 Replies
View Related
Feb 25, 2010
I having a problem getting my grub loader to see one of my hard drives. I added a drive, and my grub loader lost track of where everything was. I couldn't get my old linux (Red Hat 9) so I installed SuSe on my new hard drive. But I need my be able to boot from my old hard drive because it has apps that only run on the earlier version. From /proc/partitions the old hard drive is sdd
major minor #blocks name
8 0 976762584 sda
8 1 2104483 sda1
8 2 20972857 sda2
[code]....
View 27 Replies
View Related
May 8, 2010
I don't know if this is possible however would like to know how to move grub from one partition to another.I may not have explainded that very well. I have a computer that i use to checkout different linux distros, however since the introduction of grub2 things have become difficult. I have a number of primary partitions on the one hdd If I install a o/s that uses grub on a partition and another partition has a o/s that uses grub2 then on startup the o/s with grub2 no longer appears on the grub start up screen so I cannot boot into the grub2 o/s. The reverse is ok i.e. if I install a grub2 o/s after a grub o/s all appear on the grub start up screen.
This leaves me in the situation where I have to always reinstall a grub2 o/s after i install a grub o/s. Hope that makes sense! This is why it would be easier (I hope) to be able to move grub from one o/s to another. I must admit I don't really understand it all that well and I know that mbr plays a role in it, however I think it's correct that the mbr can remain on an o/s yet grub is on another?
View 4 Replies
View Related
Mar 27, 2010
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.
View 4 Replies
View Related
Nov 23, 2010
I am still using Lucid with a Luks/dm-crypt setup. I picked up an upgrade today that included grub. It gave me a box that had me choose my location to install the upgrade. I chose /boot. When apt did its upgrade thing, I got the following message: Setting up grub-pc (1.98-1ubuntu ... /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.. /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.. Installation finished. No error reported. I looked in /boot/grub and found no menu.lst file.
View 4 Replies
View Related
Sep 24, 2010
After several times install & reinstall,i got a stable dual boot vista / ubuntu 10.10.,but i can't access or even see my windows partition from ubuntu,i installed my dual boot with wubu this time,in previous installation when i didn't use wubi , i didn't have such a problem & windows partition with all my files in it (windows files,media ,etc,) was easily accessible from "places" on ubuntu . I already disabled windows firewall & other security options but nothing changed
View 3 Replies
View Related
Aug 30, 2011
I am currently running a dual boot machine with Ubuntu 11.04 and Windows Vista.Is there any way I can delete the Linux partition and Grub boot loader without affecting the Windows partition at all?I would also like to be able to repartition all of the space that was previously occupied by Linux.
View 2 Replies
View Related
Jan 12, 2010
Is there any grub editors out there now? I tried to search synaptic and that new stupid software thing ubuntu just got, but I can't find a grub editor anywhere. FInding a grub editor used to be easy, but now it's damn hard to find ubuntu software.
View 4 Replies
View Related
May 30, 2010
I'm trying to fix my booting problems on 10.04 by following this guide. Except the grub file is not in /etc/default. Grub is definitely installed (0.97 legacy) and the computer boots ok-ish so it must be somewhere.
View 2 Replies
View Related
Dec 23, 2010
i just know about this : Boot Info Script 0.55 dated February 15th, 2010
[Code]...
View 9 Replies
View Related
Jan 30, 2011
To start im going to specify as many things as i can think of that may help this process.
1. My laptop came originally with Windows 7 on it.
2. I installed Lubuntu based off Ubuntu 10.10 i'm assuming the slight differences between Ubuntu and Lubuntu shouldn't make this to much trouble.
3. This was installed off of a flash drive.
4. Windows was working fine until the partition of Lubuntu.
5. My old windows files can still be accessed so i'm going to assume windows 7 was not partitioned over or deleted.
6. I'm running off of a Lenovo computer which i believe to have partitioned a section off for some of it's own features never looked into it or touched that partition
7.Currently GRUB gives me four different choices 2 being of Lubuntu connection and 2 being of some memtest thing that i have never seen before.
8. I can't think of how to copy this but when i type in sudo fdisk -l i get partitions from /dev/sda1 through /dev/sda7 every one filled. code...
View 9 Replies
View Related
Sep 2, 2010
how do i find out what grub is used in mint 9? grub or Grub 2
View 6 Replies
View Related
Jun 24, 2010
I've a new format in my HDD and put win7 and ubuntu 10.04. I made a partition about 50GB so that i can get files from ubuntu to windows and the other way around.I can see that partition in windows but not in ubuntu.
P.S. i can see the windows partition in ubuntu
View 9 Replies
View Related
Apr 27, 2011
I messed up a 500GB USB hard drive by confusing it with another drive, accidentally trying to erase it, realizing my error and pulling out the cable in panic. Running Testdisk has found no partitions to fix. Photorec can find most of my files but sorting them out again is going to take weeks. Are there any methods I can use to try and save my folders/file system on the HDD? I'm very much a novice as far as partitions and file systems go.
View 9 Replies
View Related
May 18, 2011
I have a laptop with dual boot and I think because it is a dual boot I can't find the linux partition, installed when I knew nothing about linux, so I most likely went with the default settings, I'm an absolute convert now and have run out of space for ubuntu.So got on the net and seen many screen shots of gparted with a clearly visible linux partition, swap etc, so I make myself a gparted live cd and mine is just not there.Really don't want to do another ubuntu re-install. This k52f has too many setting to correct with ubuntu and took me a really long time!!
Or is there is a different solution to to this other than expanding a possibly hidden linux partition? Is the alternative storing files on a shared partition both os can share?
View 9 Replies
View Related
Feb 5, 2010
I primarily need to remove several listings from my boot menu. After many updates and upgrades the list is HUGE.I know you can edit the grub menu.lst file, but I don't have one.
[Code]...
And, I did read the guide on removing entries from grub 2. The problem is, some of the kernels in the current grub menu are no longer in synaptic on this install. Currently I have WinXP, Ubuntu 8.10, and Ubuntu 9.10 installed. I want to leave 8.10 installed, but not have it available in the Grub menu. How can this be accomplished? Grub 2 seems quite obtuse compared to earlier versions where there was a simple menu file
View 9 Replies
View Related
Feb 5, 2010
I had Windoze 7 on my wife's laptop, it started running crappy so I install Ubuntu 9.10 via Wubi (so it is not a partitioned dual-boot). I did the latest update, which I think included a kernel update. When I rebooted and chose Ubuntu from the windows dual boot window, instead of loading the GRUB I see an error message flash:
Code:
TRY hd0: NTFS no Wubi(something-or-other)
it flashed almost too fast for me to catch - it took about 10 reboots to figure out that much... and then it goes to a screen that says
Code:
GNU GRUB version 1.97~beta4
sh:grub
I tried several different commands (you can prompt it to give you available commands by hitting TAB), but it said it couldn't detect a kernel. Also, before I updated, I had tried to install iTunes via these instructions. iTunes seemed to have installed fine, but I hadn't tried it yet.
View 3 Replies
View Related