Ubuntu :: GRUB Loads On Every Boot / "error: No Such Disk"?
Mar 5, 2011
I have Ubuntu 10.04 installed on an external Seagate FreeAgent 320 gb hard drive. I have windows 7 installed on my internal 160 gb hard drive. But whenever I just want to boot in windows 7, I get the
"GRUB Loading..."
"error: No such disk"
"grub rescue>"
screen. This only happens when my external hard drive isn't plugged in. How do i fix this? It hasn't always happened like this. I have a windows 7 install disk, but it never gives me the option to repair windows or go to command prompt.
Edit: This is somewhat inaccurate, please see post #16 on page 2 for my actual situation
I'm more than a little confused by this. A little while back I had to reinstall my machine because I had a hard disk failure and I replaced my primary drive.Everything went perfectly smoothly, but then a couple of weeks after that when I rebooted, it dumped my into the grub rescue console
Code:
error: out of disk. grub rescue>
So, I found a solution to the problem on these forums, rebooted perfectly fine, and thought everything was fine. Until the next time I rebooted, when it happened again. And now, every single time I reboot, I get the same issue.I have to do the following, each and every time I want to reboot - and i'm at a loss to explain why grub is borking itself every time.Boot off a live cd.Open a konsole window
Code:
sudo su - mount /dev/sda6 /mnt mount /dev/sda1 /mnt/boot mount --bind /dev /mnt/dev
tried to install 11.04 using wubi and wouldnt work so created a boot disk and did it that way: the boot disk loads but it freezes after the loading dots
My system has Windows XP Pro SP2 installed on /sda1 and originally a 10.04 on /sdb1-3, now upgraded to 11.04. The Ubuntu system works fine (teething troubles with nvidia drivers on upgrade but fixed now), and the Windows system shows up in the grub menu, but when it's selected, I just get `GRUB Hard Disk Error' and nothing else. Windows installed properly, and booted successfully until I installed Ubuntu in the first place. I can still access the files on that drive from within Ubuntu.
I've tried fixboot in the Win Recovery Console, which sounded like it did something, but didn't fix the problem. This problem isn't new to grub2, by the way - I just haven't needed Windows in a year.
I have a dual boot System with Ubuntu 10.04 Netbook Remix and Windows XP SP3 on an Asus eeePC 1000HE. I had some troubles with updating kernels etc. and I ended up with following problem:
After grub reinstall, I am able to boot Ubuntu, also I can mount the windows partition properly. Trying to boot into Windows, I get the error:
Code:
It's all on one hard drive which doesn't show any errors:
Code:
Partition table entries are not in disk order
Code:
Some partitions don't show a file system because they are luks-encrypted.
As I mentioned earlier, I am able to mount sda1. I think the problem is that the Partition Boot Sector is corrupted, even though I am not sure if the ntfs partition is damaged at all or if GRUB is the problem.
As I said I had problems with a kernel update and therefore had to reinstall GRUB. I think, but I am not sure, that I accidentally installed GRUB on sda1 (the windows partition) instead of on sda. After I installed GRUB on sda again, I was able to boot linux and fixed sda1 with testdisk. Before, sda1 showed as four partitions (sda1p1, ... , sda1p4). I was not able to mount sda1 till I fixed it with testdisk. testdisk says the Boot Sector of sda1 is OK, so does ntfsfix.
Finally, an extract from my /boot/grub/menu.lst:
Code: ...
The Windows XP entry is added by myself. I don't know much about grub, so there might be the error.
I tried to keep it as short as possible (this is only the end of the story), I hope I didn't forget anything important. Please ask if there is something not clear.
I am in Tanzania with this netbook, so it is not possible to boot Windows CD and fix the windows partition with it, also I don't have a very fast Internet connection.
Is there a way to fix this without a Windows CD? Maybe it is just a dumb mistake in the menu.lst?
The problem is I've set up a dual boot with Xp and Ubuntu 10.04. Ubuntu was working fine till 2 days back but now when I select Ubuntu from the grub screen i get a whole lot of numbers next which it'll say Usb drive or sd card reader etc.. these go by quickly and then the comp stops running. If i press enter on the keyboard I get Initramfs and then i can type but nothing happens even if I type reboot. if I press cntrl+alt+F2 then i get a blank screen with flashing cursor. Same with recovery mode. Windows boots fine. The grub2 screen comes fine. The last thing i did before this happened is reconfigure the grub2 screen, but it seems to be fine (i had added a background img and reordered the boot options) I did not edit grub.cfg. I would prefer not to reinstall it as iv done it a half a dozen times already in the last few weeks..
I am fresh to Ubuntu and am having trouble getting it to boot on my system. I normally run XP, but recently added a second internal hard drive and installed Ubuntu on it. The installation went fine and upon initial reboot I received -
GRUB loading. error: no such disk grub rescue>
I am wondering if there is an issue between two different operating systems upon boot. I am not familiar with GRUB commands.
Downloaded Ubuntu 10.04.1 Desktop AMD64, tried to install it to a cleand HDD using the whole HDD, i.e. gave it permission to use the whole HDD. Installation process appeared to run OK but when it came to the restart it just fired up the message
error: out of disk grub rescue>
I've searched this forum and found numerous references to these error messages but cannot make head nor tail of the diagnostic suggestions. Apart from anything else they suggest strings of command lines which I don't understand and can't enter anyway since they don't correspond to my keyboard layout (if I hit > or ) something completely different appears on the screen). Is there someone here who can provide a step-by-step solution in lay language ? Or is there such a thing as a bootable file which can be downloaded and inserted into my CD drive to correct this problem ?
When I boot my pc it used to take me to a prompt which asked which OS I would like to boot. Today randomly, some grub rescue menu came up. I read online that that meant I had to fix my grub menu, which I did. Now a regular grub menu pops and and I have no idea what to do with it. Whats a grub menu? How can I just get back to my regular boot screen? I run dual boot xp and ubuntu, is grub a program of xp or ubuntu? I have no idea what this grub menu is and whats going on with my pc!
My Wubi installation of Ubuntu (version 9.10, I think) that I recently installed was working fine at one point, but now it isn['t. I select Ubuntu instead of Windows from the Windows boot loader, but instead of getting the usual menu of different linux versions (I think 2, as I updated it at same point), and Windows, I get the GRUB command prompt instead.I've looked at th2e Wubi Guide (https://wiki.ubuntu.com/WubiGuide), and I've followed the instructions for "How can I access my Wubi install and repair my install if it won't boot?", but that reveals no problems.For the record, I'm fairly new to linux and ubuntu, but I'm good with computers generally. The main operating system on my computer is Windows Vista, but I'm currently typing this from a Live CD of Ubuntu 9.10. The virtual disk (root.disk), is currently mounted as vdisk, as indicated in the Wubi Guide.
Ideally I would like to get Ubuntu to load as it used to (with a menu). However, if there is a way to boot from the GRUB command line that would be good too. I'm not at all familiar with GRUB, and the commands I've tried (boot and linux, I think), get errors saying no kernel specified, or loaded, or something like that.
I performed a clean install of Fedora 15 from DVD and it goes fine until the end when the install program says to reboot the computer. Once I do that, the computer hangs before Grub loads, i.e. just after all of the BIOS messages, so there isn't any error message to indicate what is wrong. I had no issues with Fedora 14.
I know nothing about this at all. I have never programmed a computer.. I loaned my tower to a friend who put this on ...now i have it back and cant get to my windows 98. all i get each time i boot is ...
GRUB loading ... error:no such disk grub recover>
I have tried ubuntu sec 8.4 recover mode and all i get is unreconized command.. i do not know how to set anything.. i have no disks for this not even the orginal windows recover disk.. is their anything i can do to get win to run as it use to??
00:12.0 VGA compatible controller: nVidia Corporation GeForce 7150M (rev a2)Linux rpmL 2.6.27.24-170.2.68.fc10.86_64 #1 SMP Wed May 20 22:47:23 EDT 2009 x86_64 x86_64 x86_64 GNU/Linuxere my predicamenti got a HP pavilion laptop running that Nvidia graphics card, on that build. So it was a fresh FC10 install, but it would hang up, and only load if i hit the keypad/mouse, which it still does. Eventually it gets to the shell login screen. root login and i then did a yum update, which got me to the current build. that didnt work. NO x window still.
tried startx again, got me an error. found something that said add "vga=ask" to the grub loader, which still loads into shell, but when i do startx, it made me a xorg.conf.new, which i copied into /etc/X11 rebooted and tried again. still have to move the mouse or keypad for the load to start (no idea y) but it loads to shell, and startx works.
I do not know what to do, i cannot load windows partition. it just loads grub again. this must have been something that happened when i upgraded to the 10.04 or w/e. can someoen help me out with what i can do to stop this or fix it. maybe i can reinstall but i want to know what will work first, i do not have a lot of time to fool with my computer like this again. i spent a week getting ubuntu on my computer the first time so i do not ever want to spend that much time again especially in finals week. !
I'm trying to install Fedora for the first time on my Desktop. Unfortunately, upon restart once the installation is complete I get the following error:
Code:
This is from Fedora 12 x86_64 DVD. I presume that this obviously has to do with my disk selection during partitioning, during which I deselcted the two drives that I didn't want to be part of the install and left the one that I did selected. I also selected "use entire disk". The drive had copies of both Ubuntu and Windows 7 on it, which I expect were wiped out during install.
I know that the details are sparse...but that's all I did. I'm happy to go back into the installer to retreive any necessary information that may be needed/to reinstall.
I have a dual boot system with Windows 7 and Ubuntu 9.10. I booted into Ubuntu and started the process to upgrade to Ubuntu 10.04. When it was all finished, it restarted and attempted to boot into the GRUB load screen. However, I get this message:
Firstly, I'm ubuntu-naive so things may need to be explained painfully slowly. Secondly, I tried doing a search for similar problems but I had a hard time following the solutions so rather than just jump on another thread I figure i'd start a new one.I am trying to move on from XP and tried setting up 9.10. I did the LiveCD; followed the installtion prompts and installed, and restarted. Following restart I get the following;GRUB loading.error: no such diskgrub rescue>I've tried doing the boot info script lines but I keep getting "unknown command sudo" msgs.I can't get beyond this point.
I just replaced the HD in my computer with a larger one (1tb) and installed Ubuntu Lucid 64bit onto two partitions (100gb for / and the rest for /home). I rebooted and it loaded up fine. Did some stuff, had to restart (NVidia drivers) and it stopped at a GRUB rescue prompt, reporting the error "Error : Out of Disk". So I rebooted again and it worked no problem. But since then, every second bootup or so delivers this error, while other times it loads Ubuntu fine. I've tried running update-grub a few times and this always seems to work. But ultimately, the problem never goes away. I also had a look at this [URL] But it seems the advice given to change the 10_linux file must be only for an earlier version of GRUB2 as the file on my machine is very different.
EDIT: I've attached the output of a Boot Info Script that I got here: [URL]
what I think will be a long post, but I want to include as much information as possible to get some help. I post my question here because it is mostly a boot issue and not strictly a server issue, although that is what I am trying to install. I bought a used server, motherboard has all IDE connectors for HD and cd/dvd. The board is am Asus cuv4x-d. It is a rather old board, introduced to market around Sept. 2000. The two IDE hard drives that came with the mobo have presented the problem as what I will describe for the SATA problem. I wanted to use my SATA-Hard Drive as my storage. I bought an SATA-to-IDE adapter. I installed the hardware and booted from the Ubuntu Server cd. Everything went fine and the installation smooth. When the initial reboot started, this is where the error comes. I get an error that says, Error: out of disk. The next line shows a grub rescue prompt. It appears that Grub can't be found. The motherboard has a Primary and Secondary IDE connection. I have tried connecting the adapter to both.
So my hard drive crashed. (i was running Linux 10.4)so i put in another hard drive, installed Ubuntu 10.4, and on boot up i get that error. I've tried reinstalling it with the server edition. different hard drives. all I get is that message.
I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.
I have a (slightly complicated) dual/multi boot system.
I keep getting boot errors (when choosing ubuntu from the grub2 menu)
Code: Serious errors were found while checking the disk drive for /boot
If I switch off and restart, ubuntu will then start without issue.
My setup is like this ....3 disks, one with 10.10 clean install - so Grub2, separate partitions for /, /boot and /home, one with windows 7, one with windows XP and 10.04 wubi (this is my old disk which I will trash once I'm happy with my upgrade to 10.10 & 7 on separate disks.
I installed 7 and 10.10 with ONLY their disks installed. After both were working, I added all disks and rejigged the grub2 menu (using update-grub and StartUp-Manager).
This problem only seems to occur if my previous boot was not 10.10 ( I will investigate this further). It's as if something (grub2 ?, the bios ?) is remembering part of the previous boot and not using the grub2 menu completely.
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:
I installed Debian squeeze amd64 (using LVM with ext4 for /, /home, and ext2 for /boot). This is on a whole hdd on its own. Before I installed it, I have win7 on it. There is also another hdd with winxp. The dual boot loader is in the hdd. After I installed Debian, grub 1.98 was installed. After reboot, grub says "welcome", and after 10 seconds, it says "error: no such disk". It went on to display the menu with a choice of my debian and MS windows.
There does not seem to be any effect of this "error:no such disk". However, after I chose Debian to boot, gnome comes on, and I typed in the username and password. The screen goes blank for about 30 seconds before my desk top comes on.
I have 2 questions:
1. How do I fix my grub "error:no such disk" message? 2. Is there something wrong with a 30 seconds delay for the desktop to show after typing username and password, and if so, what can be done?
Trying to do a new install of ubuntu 10.10 to my laptop. Installation and all works fine, but upon rebooting, after the bios screen i get:
Code: error: out of disk. grub rescue> I tried using following some instructions i found after googling for the problem: Code: ls (displays the partitions and devices Grub can see) set prefix=(hdX,Y)/boot/grub
[Code]...
but after the 5th step, i get another "error: out of disk" message. The odd thing is that I had an install of 10.10 on this laptop a month ago, and it worked fine. As a side note, I installed fedora 14 after this happened, which worked fine. Reinstalled ubuntu, and it was back to the same problem. I also tried installing with a kubuntu cd I had, to make sure it wasnt the install media, and had the same problem.
i finally decided to updgrade from Hardy Heron to Lucid Lynx. for this i made a backup of my old install, then i couldnt find my Lucid CD so i used a Karmic one to partition my old ext3 to ext4. There were some errors but after trying a few times it worked. Installed Karmic, rebooted (worked fine), downloaded all updates - (did NOT reboot to let updates take effect) and upgraded to Lucid.
Everything went fine so far. Now when i try to boot into Lucid the system hangs, i've also got a windowsXP partition on there so i tried booting that, first grub tells me Error 29: Disk write error then trying again windows seems to boot but it takes much longer than it should and seems to hang.
Then i tried Karmic and Lucid LiveCD (which i found in the meantime) none of the LiveCDs make it to boot after about 20 minutes. (previously they worked fine)looking at the errors it seems to be something about the harddrive. Why the harddrive would stop the LiveCD booting is a mystery to me but the same messages appear when i select Recovery from the Grub menu so i guess the problem is related.
I was installing fedora 13 just for fun and it move grub boot to different partition. Now I can't boot anything but fedora I know I need to be booting from hd0 sa1 but grub loads from hd0 sa7 .I just need my ubuntu os back .