Ubuntu :: GRUB2: Error: No Such Disk?
Mar 3, 2010
I have a machine with two internal SATA drives sda and sdb. Winows XP is installed on sda and I installed Ubuntu 9.10 on sdb. After installation I rebooted and was able to choose either OS from the grub menu.After shutting down and rebooting I was greated with the grub rescue prompt and the messageerror: no such diskI was able to boot to a live USB and use my system again. I thought the problem came from grub being installed to the MBR of sdb, rather than sda. Therefore I installed Ubuntu again, however installed grub to the MBR of sda.
Same thing happened again - the first reboot works fine, then subsequent reboots grub cannot find the disk and I am forced to boot from live usb.Attempt 3 saw me install the root partition onto sda. A couple of reboots later and I was back at the grub rescue prompt. Two days later and after lots of reading I discovered that after doing a reinstall of Ubuntu, rebooting the system then doing a 'sudo update-grub' seemed to fix the disappearing grub problem.I was wrong. It lasted about 6 reboots between Ubuntu and XP, but has broken again. I don't see what the problem is,One point to note is that the BIOS does not let me choose which of the two internal drives to use as primary, infact it sees them as a single eSATA drive.
View 9 Replies
ADVERTISEMENT
Mar 13, 2010
I have a Dell machine with two hard drives that has Windows XP Home on the first disk (sda) and I just installed Karmic to the second hard disk (sdb) and when the install finished installing Grub2 to the MBR and the system restarted, I get the no such disk error and the grub rescue prompt. There is no option in BIOS to boot from the second disk. What do I need to do to get this working?
View 2 Replies
View Related
Feb 9, 2011
This is my specific solution to my specific problem. After updating to Squeeze from my prior Lenny distro (amd64 with whole disk encrytion using LVM2, dm-crypt, LUKS) everything went well - at first. I was duped like so many, thinking that all was well and I could remove the legacy-grub (aka: Grub1) and just use grub-pc (aka: Grub2). As soon as I removed the legacy-grub and rebooted my laptop, I was confronted with:
GRUB Loading stage1.5 GRUB loading, please wait..Error 15 At this point I wasn't sure if it was a Grub problem or a deeper encryption problem - especially after reading that some people had missing packages in Squeeze (lvm2, dm-setup, initramfs-tools, etc.)
Okay, the solution for me.
1. download and burn to disk: debian-live-6.0.0-amd64-rescue.iso[URL]..
2. scroll to and press enter/return on: text rescue
3. choose a root directory - for example: /dev/blah/root (I wrote down the list of possible /dev/.... for reference - this helped me remember where and what I had partitioned in Lenny)
4. choose: Execute a shell in /dev/blah/root
5. once in the shell, I discovered I needed to mount a few of those partitions that I had written down in order to get access to grub-probe, update-grub, grub-install, etc. You may not have to if your partitions are minimal. I you need to use other partitions, type (for example):
[Code]...
View 1 Replies
View Related
Apr 15, 2010
I just installed Ubuntu 10.4 beta. The installation is fine, but grub2 isn't loading Linux. Instead of booting into the OS, I get the message: No such disk grub rescue >I have two hard drives: /dev/sda and /dev/sdb. Ubuntu is the only OS and is located on /dev/sda1. I ran the "boot info" script and include the results here. One problem I see is that I have grub2 on the MDRs of both /dev/sda and /dev/sdb. BTW: From the Live CD, I can select boot into hard drive and Ubuntu will start up just fine. I can also use "Super Grub" CD and everything loads fine.
View 7 Replies
View Related
Sep 1, 2010
Originally, computer had 20GB drive dual boot WinXP and LinuxMint using so-called grub legacy. I upgraded another WinXP machine by cloning its 120GB drive to a new 250GB drive. I put the 120GB in the Linux machine and gparted it to free 40GB. I tried loading Ubuntu 10.04 Studio in 10GB partition. Something went wrong during software unpacking phase and was left with commandline (c/l) 10.04. Kept 10cl in the partition. Tried again in new 10GBpartition to load Ubuntu 9 Studio - success. Grub2 is now new bootloader. Boot options = c/l 10.04, 9 Studio, XP from 120GB, LinuxMint, and XP from 20GB. The 120XP is unbootable (HardwareAbstractionLayer problem I expect). Tried to install 10.04 (regular not studio) over c/l 10.04 but managed to install in addition to i.e. did not overwrite. But otherwise 10gui install is ok. FYI: Grub2 is the initial boot loader however selecting LinuxMint on orig 20GB drive shows grub = legacy in LM (grub -v) term box, the Ubuntus on the 120 show grub 1.9x in term.
I wanted to delete 10cl from disk and grub. Originally intend to gparted->delete partition from U10gui then run grub update but could not because a partition (i.e.10gui) on the target disk was mounted. So I booted into LM and deleted 10cl partitions (ext and swap). That was a bad move! Could not boot machine - grub2 would not boot because 10cl partition was not found. It left me at the "grub rescue" prompt. I wound up reinstalling Linux to the empty partitions.
How do I delete the 10cl o/s from grub and the disk?
Later I will want to delete unbootable 120WinXP o/s from grub and the disk. However, with the WinXp, I will want to keep the data and just delete the o/s.
View 38 Replies
View Related
Jul 20, 2011
Dual boot PC, boot disk and WIN XP are on good disk, Ubuntu was installed on failed disk. (I prefer separate disks for each OS).
I know I will need to reinstall Ubuntu later, and of course, GRUB2 now crashes without the Ubuntu disk.
Confirm that the only thing I need to do when I get the new drive installed and partitioned is to boot my XP disk in Recovery Mode and type "fixmbr", (then reboot to confirm clean WIN operation on the existing disk) then install Ubuntu as normal on the new disk.
View 1 Replies
View Related
Jan 26, 2011
I have a very strange problem. My computer is unable to boot from any hard disk but is able to boot from any CD or DVD. I have double-checked the BIOS settings and I am unable to figure out why is this happening. I have noticed that the Windows installer boots from the CD only if one presses a key when the message "Pressany key to boot from CD..." is displayed on the screen, otherwise it boots from the first hard disk.I have a triple boot system with Windows 7 (64-bit), Ubuntu 10.10 (64-bit), and Fedora 14 (64-bit). I have a dedicated GRUB2 partion on one of my disks. What I want is a boot-loader (any would do) on a CD/DVD/USB drive to chain load the GRUB2 present on my hard disk, without a delay, that is, without showing any message, menu, warning, etc. So, is there a way to do that?
View 6 Replies
View Related
May 8, 2011
I have been frustrated attempting to get Grub2 to boot a Debian Live system from hard disk. Have set aside a 4gb partition /dev/sda1 to contain the Debian Live and some other recovery tools. I actually have them all working from a 4gb USB stick successfully, but getting it to work on my HDD has proved challenging. On USB, I have PartedMagic, Gparted, Grml, and of course my standard 6.01 Squeeze. I have also managed to get the Debian Live booting from that USB stick. Very slick.
However, I can NOT get Debian Live to boot from my HDD; altho all of the others above boot fine. Have tried it two ways - one using an iSO image, which is how it is done on my USB stick. The other attempt is to copy the entire contents of the ISO to a directory.
Here are my directory structures:
debian_live_gnome_squeeze_i386- contains the following: debian-live-6.0.1-i386-gnome-desktop.iso initrd.gz initrd.img vmlinuz which is how it is laid out on my USB stick debian_live - contains the files from the ISO image The error I get is something like "panic unable to find live filesystem" My grub.cfg snippet for the two methods I have tried - the 2nd menuentry is similar to how it works on the USB stick.
menuentry "Debian 6.01 Live (on /dev/sda1)" {
insmod part_msdos
insmod ext2
set root=(hd0,msdos1)
[code]....
Probly don't really need to get it working since PartedMagic can do almost everything I need for recovery and I can use the USB for reinstall or whatever else.
View 8 Replies
View Related
Apr 9, 2010
This is the third 9.10 install to do this on two different laptops, so wondering what's up...
In both cases, the goal was to leave a large chunk of unpartitioned disk after the Ubuntu partitions, for a second OS install or a filesystem Ubuntu cannot create like NTFS.
When I install with manual partitions, the system can't boot and asks for me to insert a system disk and press any key. When I reinstall telling Ubuntu to "use the entire disk" it then works.
First laptop, first try:
Remainder of the 500GB disk is free space.
Fails to boot, "insert system disk".
First laptop, second try without the /boot partition:
Remainder of the 500GB disk is free space.
Fails to boot, "insert system disk".
"use entire disk" works perfectly.
Second laptop, first try:
Same thing, non-system disk or disk error, insert system disk.
Second try "use entire disk" is currently in progress but I expect the same to happen.
View 3 Replies
View Related
Jun 14, 2011
I downloaded the latest version of wubi and when I click to run i get the error "pyrun.exe - No Disk. There is no disk in the drive. insert a disk into drive DeviceHarddisk2DR2".
View 2 Replies
View Related
Apr 30, 2010
After upgrading to 10.04 from 9.10 Win7 wouldn't startup any more. So I tried this HowTo: [URL] to restore Grub2. But now each time I boot up I get this two lines: error file not found grub rescue> I have NO idea what to do.
[Code]...
View 9 Replies
View Related
Oct 24, 2010
I have a long running 9.10 installation. All of a sudden, on boot, I get this error: "loading initial ramdisk error: file not found" If I hit 'E' at the menu entry, I can scroll all the way to the end of the boot command, and it appears that the last 'c' on 'generic' is missing from the kernel name. If I add the c and hit ctrl-x it boots fine. The grub.cfg appears to be correct, it has the full generic spelled out.
View 9 Replies
View Related
Jan 22, 2011
After installation of debian, using the squeeze net-installer, on a HP elitebook 6930P, i get the following error. "non-system disk or disk error"
It is right after boot process, and just when it should load grub. Grub is installed in the MBR. Windows7, is installed as well, and is not an option to remove. (Should not be the problem though).
/ is set with the bootable flag.
The installation went without any issues, and I have actually tried to install twice with the exact same thing.
View 6 Replies
View Related
Feb 14, 2010
When I boot up, Grub flashes a message along the lines of "vga=7xx is deprecated, use setting y instead,". Where would grub2 log this error, and what file would I have to edit to change from the old to new resolution setting?
View 1 Replies
View Related
Oct 17, 2010
I have windows and linux distros on my /dev/sda. I tried to install fedora 13, but after reboot I cannot boot up to any of installed systems. I'm getting: Non-System disk or disk errorreplace and striky any key when readyWhen I use ubuntu 10, boot from first hard disk, I'm able to get GNU GRUB version 1.98...nd boot up to any system. but without ubuntu in a cd-rom I'm getting this error.I tried: grub-install /dev/sdX in one of my installed linux distros, but without any success.
View 1 Replies
View Related
Mar 7, 2010
I've been using Ubuntu since 7.10 Gutsy Gibbon. I only recently fully switched to Linux OS's, and Ubuntu is now my primary. I currently have 9.10 installed. CURRENTLY I also have Backtrack 4, and Fedora 12 (Ugh!).Previously, I thought something was wrong with my my filesystem in Ubuntu 9.10, and after an upgrade of the linux kernel, I started to get Error: You need to load the Kernel First. That's where my problems started. I had upgraded to 9.10 from 9.04 and I still had Grub Legacy, so I went through hoops to try and get it to work, but eventually everything just kind of broke, and I completely wiped off my partitions on it and started fresh installs of all 3.
And now that the new linux kernel is released, 2.6.31-20 generic (I think... That's what the highest number on a file I can find in /boot is)I went through a few more hoops and ladders and tried to get it to work, but to no avail. I've looked the internet for a solution to this and tried just about everything but there is no unified answer, and I've seen on Launchpad there are alot of bugs that are classified as 'Fixed', but the problem still remains.I took out the 'quiet splash' part in the GRUB2 line for the newest kernel and it didn't do anything. It only changed it to "Error: Couldn't find file".This is the top two kernels (Main and Recovery for the new, and Main and Recovery for the previous working one)
Quote:
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-20-generic" {
recordfail=1
[code].....
View 9 Replies
View Related
Mar 15, 2010
I am dualbooting Karmic, windows 7, and fedora. When I boot, Grub2 will boot everything but Windows 7. Instead it says:
Code:
reloc offset is out of the segment
abort.
I've tried reinstalling and updating grub2 and I also tried grub. It wasn't a problem until I put Lucid on a 4th partition that's always been there. I let lucid install grub2 and after that windows didn't work, but I got the same error when I reinstalled it from karmic. I got a different error from grub (that I don't remember), but I wasn't positive about the configuration so that may have been my fault.
View 1 Replies
View Related
Jul 6, 2010
I have mandriva 2007 install on my desktop. I tried to update to grub2. When I run the ./configure I got the following error message.
This script, last modified 2009-06-10, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from [url]and [url]
If the version you run (./config.guess) is already up to date, please send the following data and any information you think might be pertinent to <config-patches@gnu.org> in order to provide the needed information to handle your system.
View 4 Replies
View Related
Apr 8, 2009
after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work
View 3 Replies
View Related
Apr 20, 2011
I was installing last night some applications , then i forgot to plugin my laptop so suddenly it turned off , anyways today i turned it on , while booting it gave me this error : "error where found when mounting the disk file /"so i press I to ignore , and it works , but now how can i fix this error?
View 1 Replies
View Related
Jan 6, 2010
I am having trouble upgrading from old grub to grub-pc. I have a clean install of 9.10 on a system with a new ASUS motherboard with Nvidia RAID configured as RAID 0.Although I read the page on SATA pseudo-RAID, this doesn't seem to apply, as both 9.10 and Windows XP installed cleanly without any additional drivers required.I did notice that contrary to the documentation, 9.10 installed with grub v0.97, not the new one as claimed. It is working fine, but just to be ornery, I'm trying to upgrade to the new one, and this is where I ran into trouble.Whenever I try to run grub-upgrade, I get an error from grub-probe that 'no mapping exists for' my raid partition. Apparently grub-probe can deal with the device, but not with the fs_uuid, as follows:
twescott@latitude:~$ sudo grub-probe -t device /boot/grub
/dev/mapper/nvidia_fcacbeib5
twescott@latitude:~$ sudo grub-probe -t fs_uuid /boot/grub
grub-probe: error: no mapping exists for `nvidia_fcacbeib5'
The system seems to be recognizing the RAID with no problems, as in:
twescott@latitude:~$ sudo blkid
/dev/mapper/nvidia_fcacbeib1: UUID="28D83EB2D83E7DDE" TYPE="ntfs"
/dev/mapper/nvidia_fcacbeib2: UUID="4344165e-07c3-4da6-b640-da9bf964a74e" TYPE="swap"
/dev/sda: TYPE="nvidia_raid_member"
[code]....
I'm thinking the problem may be in my grub device.map file, which only lists the SATA raw device aliases, but I may be completely wrong:
twescott@latitude:~$ cat /boot/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
View 5 Replies
View Related
Jun 18, 2011
Im running Ubuntu 10.10 32 bit and Grub2. When running the update manager, I get the following message while it is configuring grub-pc: The Grub boot loader was previously installed to a disk that is no longer present, or whose normally unique identifier has been changed for some reason. It is important to make sure that the installed Grub stays in sync with other components such as grub.cfg...I change my hardware, including hard disks, frequently so that is likely the cause. My computer still boots but I like to fix this if possible. My disk partitions are:/dev/sda1/boot/dev/sda2/ /dev/sda3/home
View 6 Replies
View Related
Jul 2, 2011
I have Lucid installed on a computer. I added a second drive, installed Windows 7. Windows 7 boots fine if it is the only drive connected, or it is selected as the boot drive in the BIOS. I booted into Lucid, ran 'sudo update-grub' and it found the Windows 7 install on the second disk. When I try to use that Grub entry to boot Windows 7, I get this error screen:
Code:
Windows Boot Manager Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
1. Insert your Windows installation disk and restart your computer.
2. Choose your language settings, and then click "Next."
3. Click "Repair your computer."
If you do not have this disk, contact your system administrator or computer manufacturer for assistance.
File: BootBCD
Status: 0xc0000225
Info: An error occurred while attempting to read the boot configuration data.
I seem to remember in the Grub 1.x days there was a map command that would 'swap' the drives so Windows would think it was the boot drive, but the Grub2 autogenerated command doesn't have anything like that.how to get Grub2 to boot Windows 7?
View 4 Replies
View Related
Feb 2, 2010
I'm trying to boot my Fedora 12 partition, but am failing miserably, when I try to boot Fedora 12 I get "ERROR: NOT AN ASSIGNMENT"
my 40_custom file is as follows:
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
[code]....
Note that I tried this using the entry that is currently commented out and I had the same result. Does anyone know what is wrong? The entry that is currently uncommented came directly from the grub entry created by fedora itself (before I installed ubuntu).
View 4 Replies
View Related
Aug 17, 2010
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.
[Code]...
View 3 Replies
View Related
Jan 9, 2011
I have a Windows Vista-Ubuntu 11.04 dual-boot. However, I have lost the ability to boot Windows Vista. I can select Windows in the GRUB menu, but GRUB says
Quote:
error: symbol not found: 'grub_err_printed_errors'
I have repeatedly searched Google for any help, but have found nothing that applies to my situation. I need Windows because I have an iPod Touch with a tethered jailbreak and can't use it right now.
View 8 Replies
View Related
Jul 12, 2010
I am getting the same errors everytime I boot the server up:
Error: no such device {SOME-UUID}
Error: no suck disk
After that the system boots normally, but Im afraid ignoring this error can make my system crash in the future. I figured it was a grub error and I tried the update-grub2 command, it does detect all installed kernels no problem, but after I reboot I get the same error message.
View 9 Replies
View Related
Mar 23, 2011
Alright, what I thought would be a simple task has me tied in knots.
I wanted to make a multiboot USB flash drive that I could easily manipulate to switch to various distros easily. My plans were:
1. Partition my 8GB drive to one large first partition (5GB) so that windows could access it. (P.S. GParted didn't partition correctly, needed to use fdisk. THIS MIGHT BE IMPORTANT IN SOLVING THE PROBLEM BECAUSE THERE MIGHT BE A BLOCK ERROR). I then made an extended partition with 5 500MB logical partitions.
2. Install Grub2 to MBR from Ubuntu
3. Expand ISO's of varios distros (Acronis Recovery, Puppy linux, etc.)
to the partitions, and create syslinux.cfg files for each (from the isolinux.cfg files that were already there)
4. Install syslinux to each partition's boot sector
Code:
#syslinux /dev/sdb5...
5. make grub.cfg on /dev/sdb1 chainload each partition.
THE GRAND PROBLEM:
Grub2 loads, but when selecting what I want to boot, I get the error
Boot error
which is syslinux, not grub2. So I know it's chainloading, but syslinux doesn't seem to find ldlinux.sys.
P.S. I'm not asking for other ways to make a multiboot drive, I know I can just direct boot from Grub2, but I want to be able to pass the boot to the boot loaders on the other logical partitions.
View 7 Replies
View Related
Mar 19, 2010
I have a Debian Lenny box with two hard drives in it (no dual boot; /home and /var are on the second drive). This machine was working fine until earlier this week when I ran an upgrade and restarted it. I think during this upgrade Grub got upgraded to Grub2, and now when I try to reboot I just get this:
Code:
GRUB Read Error
Hitting Enter yields Operating System Not found. This is it, I can't get into the grub screen to enter the boot command or anything. I booted the machine into the rescue environment on the Install CD, and was able to mount all the file systems and chroot in. I tried reinstalling grub2, but this did not help. I ran fsck on my /boot file system, but it appears fine. The boot partition is also marked with a bootable flag in fdisk. I did try to downgrade back to grub1.5 which, while it didn't given an error did hang shortly after it loaded.
View 4 Replies
View Related
Apr 20, 2011
I have an old computer that I use for trying out software and other things before putting them on my newer machine so as to avoid irreparable damage. The machine has 2 hard discs; the first disc contains Windows and I wanted to use the second disc for Linux. I installed Fedora 14 on the second disc and followed this with Ubuntu 10.10.
After I installed Fedora I re-booted and had a choice between booting into Windows or Fedora. After adding Ubuntu I assumed that Grub2 would pick up both Windows and Fedora and add them to the grub menu but instead, the grub menu only contained the options to boot Fedora or Ubuntu. I tried running 'sudo update-grub' but got the following message:
"cannot access /var/lib/os-prober/mount/boot
Boot: No such file or directory"
When I had a look in /os-prober all that was there was a file called 'labels' and when I opened it it consisted of the one line "Fedora 1" It looks to me, who doesn't know a lot about grub2, that something is missing from grub and had wondered whether to re-install it or whether doing so would be jumping out of the frying pan into the fire.
View 4 Replies
View Related