Ubuntu Installation :: Grub Error 17 Upon Installing New HDD
Feb 14, 2011
I have just bought a new HDD and installed it in my Ubuntu server. The problem is that when I try to boot, I only receive the message "Grub error 17" and at that point the computer freezes.
In my troubleshooting I found that without the new drive, the computer starts and the hard drives are listed in BIOS as follows:
1. DVD-rom (ide) - Master
2. 80gb disk (with OS installed) (ide) - Master
3. 1tb disk (sata) - Master
In the new setup the disks are listed like this:
1. DVD-rom (ide) - Master
2. 80gb disk (with OS installed) (ide) - Slave
3. 1tb disk (sata) - Master
4. 2tb disk (sata) - Master
May this different listing in BIOS lead to the Grub error?
I have windows 7 installed on my copmuter and I ran the alternate disc cause the live disc didn't work for me. So installing was smmoth and I did everything right excpet for the grub part. It asked to be a master loader or something and I said yes. After restarting I see the grub menu but I only see two ubuntus(recovery mode) on the list and 2 test thingys ( memory test) So I go to the ubuntu tab and I get kubuntu ( as ecpected). Right now I am using kubuntu and it is fine but?
I have a dual boot system with ubuntu 9.10 x64 and Windows 7. Everything has been working fine for a a long time but yesterday I tried to delete an unused partition through the Disk Utility in ubuntu (System->Adminstration->Disk Utility) and everything was messed up. I used to get the "Grub error: Unknown filesystem". I managed to create an ubuntu bootable usb and followed some tutorials for fixing grub but all i managed to do is to get another error: "Grub error: No such disc". After some experimentation i got "Grub stage 1.5" which gave me a grub> command prompt./dev/sda is the drive containing Windows and Ubuntu.
Code:
[ Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive in partition #6 for /boot/grub/stage2 and /boot/grub/menu.lst.
I am having a problem installing SLES11 on a new server. It goes fine through the setup until it gets to GRUB, it gets me the following error message: Error occurred while installing GRUB
I currently have two hard drives. One of them is a dedicated Windows 7 x64 500gb drive. The other, is a 152gb drive that I plan to install Fedora in. When I booted from the live CD, I chose the option to use the entire 152gb disk and to boot from the 152gb disk. I'm not sure if I did something wrong there, but now, GRUB won't detect Windows 7 or Fedora 12.
I would also like to leave the Windows 7 hdd untouched.
I previously had a non-working OpenSUSE installation on the 152gb drive
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:
This is my first linux install ever, so I have no idea what is going on. I hope I have enough information to get this figured out as soon as possible. I was bored with windows 7 and wanted to learn another operating system. I made a boot cd with openSuSE gnome. On the internal hard drive is my windows 7 boot system that i do not want to touch, and on the external 1tb hard drive, i'd like to partition 50 GB for openSuSE. If this is not possible i have another method, but i'd rather not use it (which is use my secondary 80 GiB hdd). When installing, I am getting the error, "Error occured while installing GRUB" Which shows the following:
Before installing OpenSUSE I shrunk my Win 7 partition down in half, then created 3 partitions out of the new free space for /root, /home and /swap. I installed opensuse and when it got to the bootloader section I kept getting Grub error 17 - cannot mount selected partition, and so on. I made sure it was writing to the MBR and also into /boot if that makes a difference, but I did get a prompt that said YaST couldn't make changes to /dev/sda (I'm paraphrasing and can't remember the exact error message). At the moment I have suse installed and my windows partition intact, but no bootloader (not even windows one) so all I can do is boot to Live CD.
Below is the output of fdisk -l. There's quite a few more partitions than it's showing, sda3, sda4 and sda5 are my /home, /root, /swap and the other ones are windows partitions, like the system recovery along with the win7 install. During the suse install I formatted the home and root partitions with ext4 filesystem.
So I installed openSUSE 11.1, and got everything from yast2 and then finally got nvidia.ymp or whatever. Bascially, the one click install. When i did that, I couldn't boot into the SUSE GUI. I could boot into the command line but I couldn't start X server.When I did try the Ec2-openSUSE-2.62.27.9 option, I get grub error 13. It says that the ex2fs file system is not supported, only I did not format it with ext2. I am completely stumped and I'm a newbie.
I've got a dual boot set up with Windows on my first hard drive and Ubuntu Lucid on my second.Recently I had to Re-install Windows and it replaced GRUB on my master boot record.On a long shot I tried to boot into Ubuntu by going into my boot options from my BIOS and booting into my secondary drive but this just brought up a GRUB command line.So I booted into a Jaunty live cd (the Lucid live disk doesn't seem to like my graphics card) and in terminal I tried to run
Code:
sudo grub root (hd0,0) setup (hd0)
after running the final line I get the error: "Error 17: Cannot mount selected partition".I'm pretty certain that sda1 is my MBR so that would translate to (hd0,0) on GRUB right? here is my output of "fdisk -l";
Code:
Disk /dev/sda: 2000.3 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x1aae7bbb
I had a dual boot with windows 10 and Ubuntu 14.04, and I just decided to move from Ubuntu to Debian, but I didn't unistall Ubuntu. I just deleted it's partitions (/, /home, swap) and used the new allocatable space. When I was doing the partitions I noticed that the installer didn't allow me to choose between logical and primary partitions (not sure if this is important).
When I continued with the installation process, in the GRUB section the installer detected two Windows Vista options and later I selected /dev/sda as the disk for the GRUB (MBR). When I tried to boot, a GRUB command line screen from ubuntu appeared, when I wrote exit a message appeared "Boot succesfull" and then it sent me to the Boot selection from my laptop.
From there I can choose to boot Windows 10 normally or select a disk partition that sends me to the Debian GRUB from where I can boot Debian normally, but the Windows entries that appear (Windows 8.1 and Windows 8 recovery mode) fail to boot. So when I boot the Debian GRUB appears.
I was thinking of trying to install Window XP in a dual boot fashion but with the purpose of trying to configure wine to use it as it base instead of its normal setup. Only thing is Ubuntu is the sole controller of my laptop here atm and as you know installing XP will remove grub as boot controller. And while I know about SuperGrub I was wondering how, if possible,do I re-install grub from Karmic's LiveCD?
I am trying to install 10.04 to an external HD (not flash). I ran the live CD, installed to it and all seemed to work fine, but I don't want to use GRUB. I ran 7 repair and did a bootrec /fixmbr and it's booting normal, but I can't boot to USB.I want it to boot normal, unless I hit F12 to boot to removable device. Not much of a Linux person, but I am trying to be.
I have 10.10 installed on my machine. I'm trying to install 10.4 on another partition. Install completes, but when I reboot, there's no entry in the grub menu for the 10.4 install. I tried adding an entry to 40_custom in /etc/grub.d, but it still doesn't show up. I'm pasting my 40_custom below.
#!/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 # the 'exec tail' line above. menuentry 'Ubuntu 10.4' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd0,msdos10)' search --no-floppy --fs-uuid --set be888928-a477-4b31-b478-13271009c032 linux/boot/vmlinuz-2.6.32-24-generic root=UUID=be888928-a477-4b31-b478-13271009c032 ro quiet splash initrd/boot/initrd.img-2.6.32-24-generic }
I recently installed Ubuntu Studio on my PC, dual-booting it with Vista. Once the installation had finished, and I had rebooted, Grub showed the two Vista options:
Windows Vista (loader) Windows Recovery Environment (loader)
When I load up "Windows Vista (loader)" it opens my Acer eRecovery Management, but when I load "Windows Recovery Environment (loader)" it opens what looks like a normal version of Vista. Is it possible that on installation, Grub accidentally swapped the two around, or have I probably mucked up my computer?
I am currently installing the Ubuntu 10.04 Alternative, as I am having problem with video card. What I know is that I need to edit the Grub file in /etc/default/grub and add i915.modeset=1 for my video card. What I don't know is how to do that in the command line, what application should I use and how to save it? Also, if everything works well, I want to boot to gnome automatically. What I am looking for is a step by step instructions (as I can get lost).
Got Ubuntu 10.10 amd64 installed.. I've been using Fedora 13 64bit for some time now dual boot with WinXP.. Ubuntu installation to a free Hard drive went well till i rebooted, my Fedora installation was gone , and i thought Ubuntu is much installer friendly than fedora.
I have a raid 0 setup with 2 x 1TB drives. I have an ASUS P8P67 LE motherboard and am using Interl RST for the Raid setup. I'm utterly ignorant of raid and therefore forgive any mistakes... I already had windows 7 installed and was attempting to dual boot ubuntu.
I installed Ubuntu from CD. The raid was picked up properly as only one drive by ubuntu. So it picked up the windows MBR and the main windows partition. I resized the main partition and used the "install ubuntu and windows 7 side by side" option. Installation went fine but once I restarted the PC I was welcomed by a grub rescue screen with the message: "error: no such device e196.....". Edit: I used the Windows 7 disc to repair the windows bootloader so I can now boot into Windows 7.
Before doing so I used gparted on the live cd to check the partitions on the drives. The only ones present were the MBR and windows one. So ubuntu seemingly didn't install... Although GRUB did... I was advised by someone on the ubuntu IRC chat to avoid trying to reinstall ubuntu at that point just in case there was an error in the partitioning process. I've since checked the state of the partitions from within windows and there's the MBR partiton, the windows partiton AND the partition that I created for ubuntu... 965MB of the partition that I created is listed as used space as well...
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'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.
If I install a totally different Linux distro on my existing Ubuntu 9.10 system, will it break GRUB 2? I was thinking of installing Debian Lenny, but have held off because I do not want to inadvertently wreck the boot arrangement.
I've previously installed Windows after installing Kubuntu, and had to reinstall GRUB as the bootloader as a result. It wasn't a big deal with the old GRUB, but I don't know if it's that easy with GRUB 2.
I am not sure what bootloader Debian Lenny uses. I've been looking but haven't found the answer yet. I guess if it also uses Grub 2, I wouldn't have to fix anything.
I want to try out Lenny because an app I want to use (Teamspeak 3) doesn't play nicely with Pulseaudio. Pulseaudio is integral to Ubuntu 9.10, but I have other options with Debian Lenny. I'd like to see whether the app works better there w/LXDE.
I guess I could also just make a virtual Lenny machine in Virtualbox, but I wouldn't get full use of my hardware, so I wouldn't be able to play Urban Terror (which is why I want to use Teamspeak 3).
I installed unbuntu 9.10 on a dual partition for alongside windows. Grub failed during installation and now I can not boot to windows or ubuntu. I can not repair with the windows cd, I can not do anything in Windows recovery no format, no fixboot, no chkdsk, no anything, it tells me there is no valid drive when I am in dir C:. In Ubuntu live CD I can see all the files are there on the local disk. What do I need to do to fix this
I recently installed ubuntu studio 8.04 on a new partition and now ubuntu 9.10 is no longer showing up in the grub boot menu. How can I boot into ubuntu 9.10 and how do I edit the grub menu so it shows up again?
I am pretty new to ubuntu, and not sure if this question has been solved by anyone, I tried search this forum, but didn't find enough information. The closest thread I found here was this one:[URL].. Here is my situation, I have installed Ubuntu 9.04 a few days ago with an old Live CD, after running it pretty well, I upgraded it to 9.10 with the online update tool. (I guess this makes sure I was using Grub 1, the legacy Grub). After updated to 9.10, I installed a Windows XP on my hard drive, obviously, it wiped off my Grub from the MBR. So I tried to restore the Grub back to the MBR, but failed, please see below:I first run the fdisk
The default (graphical) installer did not work on my PC (i7 quadcore 8 GB DDR3). I have installed Ubuntu using the alternative installer (Desktop, 64 bit) on my external USB drive. I installed grub on the MBR of the second drive (/dev/sdb) as I did not want to touch my (first) Windows disk. After reboot (chosing the USB drive as boot device, else Windows is booted) grub reports an error and enters the rescue mode. I tried all possible combinations of "root=(hdX,Y)" in grub.cfg to no avail.
I repeated the whole procedure but now disconnected the internal HD with Windows. Installation went smooth again (Windows disk was not seen this time), but after reboot (the internal drive connected or not) I again get (slightly different this time) grub error: can not find file.
I used the upgrade manager to update to Ubuntu 10.10. It hung on installing grub. After trying the repairs, the system says it can't find grub_xputs and gives the grub rescue> prompt.
My dell machine has the following: A raid 0 SAS config with Windows 7 installed in one partition, and ubuntu in the other partition. Then two seperate sata hdd. The raid drive is set as first boot, and Windows views it as disk 0 and boots just fine. When I installed ubuntu 10.04 on the second partition, it viewed the disk as sdc. And when booting off the raid drive,im not given a grub menu to choose ubuntu orwin 7,windows 7 boots all on its own.
After installing Ubuntu 10.04 on an external HDD (via Live-CD), grub never shows a menu, it only goes to command line.Every time I want to boot, I have to enter these commands:
set prefix=(hd0,1)/boot/grub set root=(hd0,1) linux /vmlinuz root=/dev/sda1 ro
I have a HP Compaq 6710b notebook with W7 on it. I want to use Ubuntu for hobby activities, but as this is a company notebook, W7 should remain intact. I decided to install Ubuntu to an external drive.I set BIOS boot order to CD-USB-HDD.I attached a 2.5" 250GB WD Passport usb hard disk and installed Ubuntu to it from the CD.As a result, the clean install doesn't boot, I get a mere grub console (normal, not rescue).
Examining the situation I learned, that during Live CD session the inner hdd is hd0 and usb drive is hd1. Grub.cfg gets compiled to use /dev/sdb.When booting from usb drive, BIOS makes it to be hd0 and inner hdd becomes hd1 so grub tries to load kernel from W7 partition (and can't find it, I wonder why? )How to fix problem? Although grub.cfg is supposed not to be edited, may I change every sdb to sda in it?