After much googling and trial-and-error, I have finally decided to ask about this problem. I have an hp tm2t-1100, a computer that supports efi/uefi booting. However, when I install grub-efi, it installs itself to my hard drive (even though I'm using GPT!) and sets itself up to boot BIOS-mode and then EMULATE EFI. How can I get grub to install to an EFI system partition? I know I need a FAT32 partition named HP_TOOLS and a /boot/efi/ directory on it. I already have those things, but I cannot figure out for the life of me how to get grub-efi to install for a real actual efi-boot instead of what it is doing now (installing like normal grub and emulating efi).
In sda, I have 4 partitions, and I have windows 7 in one of the extended partitions [not in the primary partition].
In sdb, I have 3 partitions. 2 for storage, and 1 10GB drive for Ubuntu. Again, Ubuntu is not of a primary partition.
I had ubuntu 10.04 running on that for a long time. However, I wanted to reinstall ubuntu and use 10.10.This is what I did EXACTLY:Booted from Ubuntu install CD
Chose advanced istall
Selected sdb3 for Ubuntu
I installed GRUB2 on the SAME partition as Ubuntu aka sdb3 Installed then rebooted
I can boot into Ubuntu fine, but whenever I select Windows 7 bootloader from the GRUB menu, the screen goes black, and my PC reboots.
Boot Info:
Code: Boot Info Script 0.55 dated February 15th, 2010 [code]....
ls: reading directory sda6/: Input/output error
I have tried the testdisk/update-grub method, but it didn't work.
I have always been a Redhat user, and ESXi User. I decided to try ubuntu because of it's strong recommendations as a file server. I have tried several fixes listed in the forums with no luck. I tried the live CD and I have no issues there. I tried gparted, and it sees all my drives. Seeing that most ask for the boot info script to be run, i was proactive. I know its a boot issue with were grub is pointing too. However, that is where I get stuck. I am not an expert at using grub. In a Nut shell, I had no issues installing. I choose the Jmicron 150G Raid 1 drive. Used full drive space with LVM. When it came to reboot I did, and it just sits after it does the boot from cdrom. I hate to go back to windows 7 for a file server/web server. Oh Windows was installed at one point, I think that is where the script sees the GPT partitions.
Machine details: AMD 1055T 8G Gskill 4850 ATI card Intel Pro 10/100/1000 PT
After windows 7 failed to install and decided to take my partitions with it I managed to restore them from liveCD.I now can't get grub to work properly. I finally got it to find boot into one of the my two OS', but then borked grub it again when trying to update-grub2.Output from bootinfoscript attached.
I installed Ubuntu 10.04 LTS to dual boot with Win Xp and everything went fine with the installation untill I went to boot back into Windows. My keyboard fails to respond in the boot loader so I am stuck with the default setting of booting back into Linux. To be clear, the keyboard works when the BIOS loads, I can hit DEL and go to the BIOS menu, etc, it's only when I hit the boot loader. The keyboard also works fine in Linux and Windows.
I started out with a RAID 0 of 3x 500GB drives. Partitioned to a 200gb Windows 7 install (plus the 100mb partition), a 50gb partition I was going to use for Ubuntu 9.10, and the around 1081GB NTFS storage partition. It wouldn't work, I tried a bunch of things, EasyBCD, ect, rebuilding grub, and everything else... wouldn't work for me. So I gave up, backed up everything and then rebuilt my RAID into to "separate" drives so that I could just change the booting drive depending on the flavour of frustration I was looking for at the time. Installed W7 back, installed Ub9.10 back. Windows loaded through it's drive fine. Ubuntu will not freaking load. So I ran a script I found laying around on one of the many.... MANY posts I read and will attach the outcome.
Had a working WinXp/Karmic dual boot system. Tried to upgrade Karmic to Lucid and my daughter rebooted the system during the upgrade. I decided to do a fresh install of ubuntu, leaving Windows in place and it succeeded until the end when it said it could install the bootloader, so I proceeded without. I meant to say "it said it couldn't install the bootloader, so I proceeded without.
On booting, Grub drops to the command line. I get grub>, not grub-rescue> I did ls in grub and it showed the partitions I expected /sda5 is /boot /sda6 is /swap /sda7 is / /sda8 is /home
I tried to follow the grub2 command line manual by entering Code: set root=(hd0,7) (success) linux /boot/vmlinuz-2.6.32-24-generic root=/dev/sda7 ro (failed - couldn't find file) so I'm now a bit stuck.
Here are my bootinfo_script results (by the way, sdb is just an e-SATA hard disc with nothing installed on it, I don't know why bootinfo thinks Windows is there. Windows is on /sda2 with some sort of backup/recovery partition on /sda1) Code: Boot Info Script 0.55 dated February 15th, 2010 Boot Info Summary: => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #7 for /boot/grub. => Windows is installed in the MBR of /dev/sdb .....
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 reinstalled windows, which wiped out my boot partition. I then booted to a live CD, to attempt to reinstall GRUB. However the usual method and directions aren't working.
I didn't get any responses to my question yesterday about grub with multiple disks
By "best," I don't mean with the most technical detail about each and every option. Instead, I'm looking for a guide that provides a step-by-step instructions about how to do some of the more common tasks, e.g.: configuring grub to work with MS Windows 7 and XP how to reinstall the MBR with grub after MS Windows' install program overwrites the MBR reinstalling the MBR from Fedora's LiveCD (without going through the whole install process) because I can't boot to my hard drive. configuring grub to work with multiple OS on separate hard drives
Again, I'm looking for a guide that starts with the basics about how to create a configuration file and write it to the MBR.
I have a VIA Epia M 5000 system with 2 western digital 1TB NAS SATA drives connected through SATA<->IDE adapter. Everything installs and writes as expected except... grub. It never boots, after a message 'Grub loading' I always get 'error: no such disk'. I've tried numerous times and has been attemping to fix the issue for the past 2 days.
/dev/sda 0.999TB 0xfd linux raid autodetect partition 1GB 0xfd linux raid autodetect, logical partition
/dev/sdb exactly the same 0.999TB 0xfd linux raid autodetect partition 1GB 0xfd linux raid autodetect
/dev/md0 RAID1 of /dev/sda1 and /dev/sdb1 marked as ext4, boot point /
/dev/md1 RAID1 of /dev/sda5 and /dev/sdb5 marked as swap
update-grub2 in rescue mode generates grub.cfg with SET root=/mduuid/UUID_OF_SDA1 then after that there's search --no-floppy etc --set root=/mduuid/UUID_OF_MD0
I'm writing this from memory but simply the two uuids are different. Is this correct? I get those UUIDs to compare from blkid. All partitions are marked as bootable. grub-install /dev/sda and grub-install /dev/sdb produces no errors. grub-install /dev/md0 does not work, complains about superblocks or something similar.
Grub.cfg file contains insmod raid mdraid1x and similar lines, so that should be ok. Grub drops to rescue mode with message error: no such disk. Not device, but disk. Google finds many results for 'no such device' error, but I am not getting that error. 'ls' produces (hd0) (hd0,msdos1) (hd1) (hd1,msdos1) ls ANY_VALID_PATH produces empty newline being printed, nothing more.
setting prefixes manually does not work, with error message 'error: file not found'. ls (hd0,msdos1)/boot/grub also produces empty line being printed. Rescue CD and auto-assemble of md0 and md1 works, the files are there, everything okay, except grub.
I wrote a GRUB multi-boot configuration so I can boot multiple distributions and have storage space on one 32GB flash drive.
set imgdevpath="/dev/disk/by-label/multiboot"
Code: Select allmenuentry 'Debian Jessie amd64' { set isofile='/iso/debian-8.0.0-amd64-DVD-1.iso' loopback loop $isofile linux (loop)/install.amd/vmlinuz initrd (loop)/install.amd/initrd.gz }
This works in virt-manager when I boot the physical usb device a virtual disk with a usb bus and it works flawlessly, but when I plug it into a physical machine the cdrom detects fails to mount /dev/sdb1 as fstype=iso9660.
I have an HP Pavilion m7480n PC with Windows XP installed on the C-drive. I successfully installed FC 12 onto the spare USB drive. When I rebooted the PC all I got was a blinking underscore at the extreme upper left position of a totally black screen. After a bit of experimenting I found that if I hit the F1 key during the boot process, go into the BIOS setup, do nothing within the setup, and press ESC to get out of the setup then the PC will go back into the boot cycle a second time. During the second time however a small text message appears with words to the effect "Press any key to enter GRUB..." after which the GRUB splash screen comes up with the choice for FC 12 or "Other" (referring to Win XP). At that point I can boot into either one.
So I have 2 ide hdds but whenever they are both connected, grub gets stuck at GRUB loading stage 1.5. how can I resolve this problem? both are Maxtors with ext4 fs. primary is 20 gb and secondary 80 gb. Jumpers are set to cable select. Boot order in bios is correct. (primary first, secondary isn't in the list at all)
Ive been running windows 7/Ubuntu dualboot for some years now and never had any problems.Some months ago I got a new Patriot Inferno ssd. Ofc the first thing I did was to installl windows 7, it had no problems, ran fast and smooth. Then when I reinstalled grub I started to get error when trying to start windows, the logo never apeared and all I got was the message "Windows failed to start. A recent hardware or software"Status: 0x00.00F" "Info: The boot selection failed because a required device was inaccessible.". It does not matter what order I install windows and ubuntu in, or how many times Ive tried to reinstall grub. Windows 7 will not work while I have grub/windows installed. Right now Ive got them installed on separate drives, ubuntu on the ssd and windows on a partition on a 1tb hdd. Unfortunately I need to have windows for .net programing and gaming..
I installed 10.04 (clean install) on a 250G drive (partitioned to 107G for the system files). It was working fine, until I wanted to install Window$ for the use of Adobe stuff. I popped the Windows XP disc in, it loaded its files, then I tried to choose a partition for installation. There was an error saying that I can't do that, and needed to delete a partition blah blah. I thought it was too much trouble, so I quit and just wanted to use my 10.04. Booted, and it says "Error booting operating system" I WAS SHOCKED.
I tried to install grub (but don't need that right? I DO NOT want to dual boot now), but the usual method ( the sudo grub; root (hd0.0)...) doesn't work ,because something like "stage1" is missing. I tried many methods by still the same error. The reason I do not want a clean install is that I did many fixes on my 10.04 so that it would work with my EeePC 1001pxd, and I do not want to go through that again. I will be checking my email frequently on other computers if I have a chance.
Ubuntu 10.04 was in small slave-disk, and I put other bigger disk same type IDE/ATA.In first start I get message: "no such device....., grub rescue."Anyway, I make installation in this disk and and now after start message is: "error: out of disk, grub rescue.So now I can not use master/XP and no slave/Ubuntu.
The first is I seem to have 3 GRUB installs. So whilst I update the one from my live session, the change does not appear in the boot up menu. I had installed 10.10 from a CD into a different partition (sda6), but that will not boot, so I have just deleted this and done another grub install and update. The kernel I am using has just been updated from 10.04 to 10.10 too, and it is this that I use and the Grub I have been working on (sda5).
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:
So my computer has ubuntu 9.10 installed 1st and I want to install win 7 in a separate partition. Basically, ubuntu 1st, win 7 later so far from what I learned from search results, grub 2 have problem with win 7 installed later and what was recommended was install win 7 before ubuntu. how ever I do not have the time to start over again because there are too many things to back up or install again. can I simply revert grub 2 to grub 1 again and resolve the problem?
Upgraded from Ubuntu 9.04 to 9.10 via upgrade manager System is AMD 64 Have dual boot with XP on seperate hard drive
[code]....
Then the wheelspin:
Seem to have knocked out GRUB as normal loading screen does not appear anymore. Worse, I think I accidently installed grub to something labelled SDC5.
Cannot get anything except the "grub rescue" prompt. I'm not sure if using the LiveCD (9.10) can help. Have tried a few prompts from other threads but just ended up with mud splattered all over the place. I'm gathering I need to load grub, but can I do it using any grub rescue commands?
installed windows 7..then tried restoring grub using live cd....mounted partition somewhere else....then installed ubuntu again where it was installed previously and now grub is not detecting windows 7 but i am able use my windows files
If I use the super grub disk I can get to my ubuntu partition otherwise my windows partition boots automatically. I spent over an hour in the community documentation using the live cd to reinstall grub and nothing has fixed it. I think that grub is installed and the windows bootloader is just taking precedence.
I have ubuntu 10.10 running on my HP dv5 pavilion laptop So today i tried to reinstall grub on my pc .. i removed grub-pc and grub-common using synaptic then booted up with a live cd of ubuntu 10.04 i then mounted sda11 to mnt using sudo mount /dev/sda11 /mnt sda11 being my ubuntu directory containing the /boot then i installed grub to it using sudo grub-install --root-directory=/mnt /dev/sda it reported as installation finished.No error reported then i unmounted /mnt and checked for /boot/grub/grub.cfg seems like the file is missing so are the files in /etc/grub.d/ reinstall my grub back
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 was installing command-line-only version of Ubuntu from alternate cd. I already have an existing standard Ubuntu installation on a separate partition. Both installations share the same /home partition. When asked to choose the /boot partition, I provided the /boot partition that was used by my previous standard installation. Now that installation has finished successfully, when I try to boot, GRUB only points to the later installation (no X). Is there a way to point GRUB to my first installation as well?
I was installing sqeeze i386 on my laptop VOSTRO 1400 and got this the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot.
I am trying to install my laptop in a triple-boot configuration with Fedora 10, Windows XP and Windows 7 beta. I did already installed them in that order. This is how it is layed out on the harddisk:
Now i want to use grub to present a menu at boot so i can select an OS. Because I installed XP last it boots straight into XP. I've understood i should be able to do the following:
All goes well until the last step (grub-install). It gives an error stating that /dev/sda doesn't exist, which is correct; It doesn't. I do have the "device" listed outside of the chrooted environment.
My question is: How do I get /dev/sda available in my chrooted environment?
I have a Windows / Ubuntu dual boot system and I recently upgraded my system to 10.04 from the package manager. I ran into what seem to be not an unusual issue with the new version of GRUB2 being installed hosing up the MBR. When I try to boot now I get a message stating: the symbol 'grub_puts_' not found.
There are a few posts and solutions out there about the issue... but the most promising ones, using the Ubuntu 10.04 liveCD don't work for me. The GRUB changes don't seem to stick. It's almost like I'm doing all the grub command line work in a virtual system that gets wiped out as soon as I reboot.
For reference, here is one of the posts I've been working w/, some links in there seemed very promising, but again nothing seem to stick for me from the liveCD:[URL]..Should I be using some rescue disk of some sort? Or is there a way to boot directly to a command line from the Ubuntu CD menu?
I have 9.10 running with a dual boot with Windows 7 using EasyBCD, I want to upgrade to 10.04 doing a clean install. Problem is, I don't think it will work out using EasyBCD, others are saying in my other thread asking if it works, that I should just let GRUB be my boot manager. Well the problem is, although I have never had one problem with GRUB or GRUB2 in my life, that was on an old Dell Machine running XP, now I have my new laptop and it runs Windows 7, should I continue to use EasyBCD or try GRUB, I don't have one of those Windows 7 Repair CDs, and my recovery is on a partition (factory restore), I get into it by holding "0" when I turn on the computer, if I use GRUB, will I lose that functionality? GRUB2 seems like it would work (When I chose Windows 7 after clicking Ubuntu from the Windows Boot Loader, it starts Windows 7). I am just dead scared and already have the shivers thinking of it.