I have grub 2. I want to load a file from grub. When list of OS appears when Computer load grub, I want to choose some option and load a file. I want to load a file called sda.mbr which is placed in /sda.mbr I added in grub
Code:
title test
root /sda.mbr
but nothing happend. I know how to add entries to grub2, (in 40_custome). Problem is how to edit the entries. The commands.
I had Fedora 7 and Windows Vista dual booting on my computer. I just installed Fedora 10. When the live CD asked me where to install it, I chose "Remove all Linux Partitions and create default layout" The installation went perfectly, but now when reboot my computer, it boots directly into Fedora; GRUB does not load to ask me which OS I want to load. I know I did not overwrite Vista because I can still view my Vista files through Fedora. Here is my grub.conf file:
[Code]...
What do I need to do to make GRUB load again upon booting?
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?
When I start the computer the boot menu doesn't prompt, when I try to load it manually it doesn't prompt neither, it just reset the command line.The grub.cfg was generated by update-grub.It's really annoying to load the kernel manually each time the computer starts.
When I try and boot my Debian computer I get the messages: Grub Loading stage1.5. Grub loading, please wait... Error 15 Is there any way of recovering from this - or is it simply a fresh install? I was attempting an upgrade from Lenny to Squeeze and despite a few hurdles it looked like it was all happening. Got the new kernel loading, and the new grub. It looked as though grub2 was working so I ran the grub-remove-legacy-support command (something like that) and now my computer won't boot grub or Linux.
I'm assuming the MBR on my harddrive is lost, however I don't know what state the partition is in. I'm guessing that maybe this has been lost as well. I tried a few tools from the Ultimate Boot CD but nothing here was able to re-install my grub or boot from any partition or even mount my file-system. I'm fearing the worst but would like it confirmed before I blow it all away with a new install.
I just did a restart on my computer (so the new keyboard layout I made would load up). After the grub screen, I just got a black screen and a flashing cursor. My caps lock indicator was also flashing for some reason.
Tried booting to recovery mode. Got some messages I didn't understand and then the same thing. I'm posting from my LiveUSB.
I was messing with some files in /usr/share/X11/xkb, but I don't see why that should make a difference.
Edit: copied from my post below So, I copied some of the messages down that I got from trying to boot to the recovery kernel. I didn't copy them all, cause they went by quickly, but here is the stuff from the last page where it starts to look bad.
There are numbers before each line that look something like this:
Code:
I didn't copy those.
Code:
And then there were a bunch of lines that looked more or less like this with different specifics:
Code:
I can get the rest if they are important.
There may be small mistakes, as I copied this all by hand (since my damn computer is broken and all).
I am testing on Sun Virtual Box.I have 2 IDE Hard Disks
Primary Master Secondary Slave
I have Windows on Master. I am using NTLDR as the bootloader and have 2 options in boot.ini 1.'Windows' 2.'Linux'
'Linux' is a 512byte file dumped from the 1st sector of the secondary hard disk using dd.Should this work or does Grub take up more than the '512' bytes magic sector that MBR's should use?My problem is when I click Linux I get the letters GRUB in the top left of the screen and than nothing, I have to reset.I am all out of ideas as to why this is not working, by all reports I have heard Grub is supposed to be 'the best boot loader' and 'windows sucks etc' but I cant get Grub to load Linux.I have re-installed about 10 times changing settings but nothing works. The only thing left to do is tick the box to write the boot loader to MBR, no!!
I was having problems with a video driver for ubuntu 10.10 64 bit so decided to try and down grade to 32 bit.I kind of carelessly just deleted the ubuntu partition with Gparted thinking that worse case scenario I would still have access to windows 7, since I was running a dual boot. This was a terrible idea and I ran into a bunch of problems. I managed to reinstall ubuntu and it runs fine. However when I try to load windows 7 it justs loops back to the grub screen. Trying to avoid reinstalling everything to get a proper boot
I'm having difficulties booting into my Wubi 10.04 install on my computer. I've been using this install for at least 6 months now with minimal problems, but this one is serious enough to make me have to use my old Microsoft Vista install (which is no fun because it's, well, Vista). But anyway, to the problem:I got on my computer this morning and turned it on. It came up like normal showing the logo DELL as the BIOS (I believe revision A12 if it matters at all) boots up and then goes to the Windows GRUB menu. From there, like normal it shows two options: Windows Vista and Ubuntu. And from there I selected Ubuntu. Like normal it has a few small command-line things it goes through, but then it does one that I've never seen before and goes so fast I wasn't quite able to read it, and then the screen stops and restarts from the beginning.
Normally, after this it would bring up the GRUB menu showing the various kernels that are installed for Ubuntu. There, I would select the latest kernel and continue on to the Ubuntu login screen where I would login and there I'd be on Ubuntu.This might be because yesterday I did some system updates on Ubuntu and it wanted a restart (it said "Restart Required" and the power button on the screen was red). But, instead I just delayed the restart and eventually just Shut Down the computer that night, thinking the Shut Down might render the same thing.I'm hoping I can at least go back and recover the files I had on Ubuntu. Not that any were really important, but I'd kinda want them back regardless. If this is impossible, what should I do to get back at using Ubuntu again? Should I try to partition my harddrive? Should I reinstall Wubi? Or should I even just try to fix whatever is broken that prohibits me getting on to Ubuntu?
I have two HDD, one of 80 GB with Lubuntu and a broken windows, the other HDD is 160 GB with another Win Xp, but it seems its windows boot loader is broken or the windows boot loader was essentially on the 80 GB HDD and was replaced by GRUB. GRUB only detect the WinXp on the 80 GB HDD. How can I make GRUB detect winXp on the 160 GB HDD?
So a few days ago I was running windows clearing things out and decided to not have ubuntu anymore. What I did was uninstall wubi and then went into disk manager and deleted the corresponding partitions. And a long time ago i decided to upgrade from 10.x LTS to 11.04 again still having windows and that messed with my grub. I phoned a "friend"(we aren't anymore I forgot to pay him for his service) and he had a grub image or something and set that up after the bad install of 11.04.
Anyway back to the main problem. After deleting the partitions I realized OMG i may have subsequently did what every he did to make grub work so i could get into windows. My fears were right apon reboot i didn't have grub and it went into rescue mode. So i took my seemingly "bad burn" of 11.04 live CD image and installed it thinking since the conflicted partitions have been removed and it actually worked! But alas no grub to load it just boots into 11.04. code...
none of them worked because i kept getting errors of directories not found, no specified area, ect. And my only other solution is to reload windows but OH NOES!! I lost my product key for XP pro. This is what prompted me to fix grub in the first place since thats all i need to get into XP! So please, PLEASE! give me a hand here i'll tell you anything you need to know to help me fix this, monday august 8th is my project deadline and all my work was on windows.
while trying to boot in windows 7, I accidentally hit the wrong Grub option, which started a recovery service for window. I got a white screen with red letters saying ERROR and the computer froze there. I decided to reboot it, but now all I get is the Grub rescue prompt.
I have ubuntu 9.04 ultimate edition 2.4 ,I am getting grub load error 18 from many days .. how can i get rid of this problem .. i used to remove the jumper & CMOS battery of motherboard whenever i got this problem ,but now even that is also not helping .. for some 2 days there wont be any problem & then the problem again repeats
i have installed debian but during installation my installed windows 10 was not found by the grubloader. i have installed windows 10 on my ssd and the debian on my hdd. nevertheless i installed the grub loader on the master boot record, because it said i could still configure it so it can boot both the windows and the debian.The debian installation is running fine. But i now want to boot the windows too. The problem is i have never worked with the grub loader yet and i am little scared that i will do something wrong.How can i get grub to load my windows ?
I am using Debian Squeeze, having installed it after Windows 7, each on a separate HD.
What happened was that Win7 became unbootable and, after failing to recover it, decided to live without it.
After a (happy) week of Windows-free life, I'm wondering if I can safely remove GRUB ("Grub-pc" and "Grub-common" are installed) since, as far as I know, GRUB is there only to boot/load more than one OS?
I have happily been booting debian through grub2 by chain loading it with efi (rEFIt), until today, and now get to begin another learning experience I've been using linux for a while, and kept seeing the guides for splitting up /, /var, /tmp, /usr, and /home, into different partitions, so I did just that when I switched from Ubuntu to Debian (I've realized that this was a little bit pointless because I formated them all as ext4, but at least it acts as a safety for mission critical drives when I overfill /home. I unfortunately didn't give /tmp enough space, and it kept crashing SimpleScan so I decided to use gparted to resize it.
The operation went alright as far as I can tell, and was straight forward because there was some free space behind it so I only had to append the partition. I synced the master boot record through rEFIt as usual, but when I booted the linux partition grub did load, and only a blank screen is presented. I eventually figured out I could use the gparted live cd to boot back into debian, and have been screwing around for a while with grub commands trying to figure out how to allow rEFIt to successfully boot GRUB on its own again. I ran grug-mkconfig to replace my /boot/grub/grub.cfg file and have rebooted but that did not help.
I tried reinstalling grub and grub-common with apt-get, but I didn't purge configuration settings for fear of losing something important. My current focus is on the command grub-install. I think i just need to run this command with the /boot device, like su - root; grub-install /dev/sda1 or some thing like that. wipe out the MBR on /dev/sda1, or screw up what good configuration is left in grub, so I want to make sure that I'm using the right /dev. Currently the gparted output looks like this:
/dev/sda1: fat32 - GPT (gpt from fdisk, gparted shows EFI with the boot flag) /dev/sda2: hfs+ - MacOSx /dev/sda3: ext4 - /root
[code]...
how the gnome live gparted disk would have been able to boot. I have access to a hard drive so I'll probably end up making backup images of as many of the partitions as I can, and then try more drastic bashing around, but if anyone has any suggestions/wisdom they could offer while I'm researching solutions I'd appreciate it. I eventually want to try to axe my osx partition and boot directly from GRUB2-EFI so I figure it is worth the investment in time to get to know grub a little bit more intimately.
I had Win XP on my T61. I installed Fedora 11 from Gnome LiveCD. Now I cant even see GRUB. The laptop boots directly into Win XP. I had the partitions like this:
Installed GRUB on the MBR (/dev/sda, and not on any partition). Once I completed installing Fedora 11 from the LiveCD and rebooted, the laptop directly boots into Win XP. No sign of Fedora there. How do I get to install GRUB now?
After I do a fresh install of Fedora 10 and reboot the computer, nothing happens. All I get is a blinking cursor at the top of the screen. It's like Grub is messed up and won't load. Grub is installed on the Master Boot Record of the drive I need to boot from.
I have an ASUS P4C800 motherboard with one SATA drive that Fedora 10 is installed on. I also have a HighPoint RocketRaid 1740 SATA RAID controller card. When I take the RocketRaid card out, everything boots like normal, but when it is installed all I get is a blinking cursor at the top of the screen. I need the RocketRaid card because it houses my RAID5 array with all my documents. The reason I got the RocketRaid card is because it has linux support and my motherboard was listed on their compatibility chart. I had this exact same setup running Windows XP and everything worked fine. I did not load any drivers for the RocketRaid card and was going to do that after the system was setup. I don't know if that is the problem since the installer does not see the raid array on the RocketRaid during install. I was thinking that maybe Grub is seeing another disk and doesn't know what to do and sits there with a blinking cursor.
I don't know where to go from here and I am a linux newbie. On a side note. If anyone knows of a good linux book (specifically Fedora), please let me know.
So after having performance issues with Karmic in ext4 I decided to install Hardy with ext3. Was blazing fast, epic, I loved it. But I wanted firefox 3.5 & all the other cool stuff Karmic has.. so I decide to install Karmic, but this time with ext3 instead of 4.
First installation: After the installation went fine, no errors while installing or anything. I remove the CD and reboot. "GRUB Loading, please wait.. Error 15" I did my googling, with the live CD to try and figure out a way of fixing this error. No luck. I did find out that the error is caused by the GRUB trying to load form the wrong drive. So I try to boot directly from the Karmic drive, Error 15. Try to boot directly from the Windows drive, Error 17.
This is the first time this has ever happened to me. First time installing Hardy, everything went great. Installing Jaunty, everything went great. Installing Karmic (for the first time) everything went great. Uninstalled Karmic and installed Hardy, everything went great. Uninstalled Hardy to install Karmic = FAIL!. I did a clean install every single time. The OS is being installed (clean) in the same drive.
A 40GB drive for Windows. A 200GB drive for Ubuntu +/home +swap, and a 120GB(FAT32) for storage.
I installed Karmic 3 times, yes.. 3 times. The last time I installed I removed both the 40GB & the 120GB drives. Leaving only the one I was going to use for Ubuntu, the 200GB drive. After the installation I rebooted and Karmic loaded without problems. I'm in Karmic right now and it isn't all sluggish like it was with ext4, guess my old drives aren't good with ext4 *sight*.
But I can't use my Windows drive. When trying to boot directly from it, it gives me "GRUB Error 17" - I have to disconnect the Ubuntu drive to boot into Windows. Quick question: What the **** is going on?
Someone help, please.. I'm tired of this ****.. and if I have to install Karmic one more time, I won't. I'll just give up and disconnect my Ubuntu drive, put it away and let it accumulate dust somewhere, seriously.. Someone help me correct this without having to install the OS again.
The GRUB error is while the GRUB is loading. It doesn't give me the option to select a OS.
My system will not start. It reaches "Grub loading stage 1.5" and "Grub loading please wait....", then the machine tries to restart from scratch. I have tried using my bootable Heron CD but it gets to "Loading Kernel 100%" then tries to restart. I used the Normal option; the other options do not seem to work. Other symptoms are that the wireless mouse has been double clicking for one btton press and resuming from hibernation has often led to the system freezing within a minute or two. Memtest shows the RAM to be OK.
I messed it up with the grub in Ubuntu Netbook and the grub loader just prompt the "grub console" during the system boot.
However, I can boot manually by selecting manually the kernel:
Code: kernel /boot/vmlinuz-2.6.32-24-generic boot
But, of course, that is not really practical for an everyday use.
I tried with the update-grub command, but nothing happens, the grub.cfg is there, with all the kernels list, but the grub loader won't load it! It is just ignoring it!
If I load the config file manually it prompts the grub command line again (with the "welcome" message), so, it IS loading the grub.cfg, but it's not working!!!
This is the content of my grub.cfg file:
Code: # # DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub
I have finally installed ubuntu 10.4 alongside windows 7.However, the grub doesn't show windows 7 so I can't boot into it.
Attached is a screenshot of "gparted". Windows 7 is installed on "sda2" and Ubuntu is on "sda6". How do I edit the grub to be able to load into windows 7?
And I faced another problem after installation. The pc kept freezing, I couldn't enter ubuntu nor use the live version on my usb stick. It kept freezing.
EDIT: I restarted and it froze again. I had to restart at least times before it allowed me into ubuntu. I'm wondering if it's a hard-disk issue since it's giving me a hard disk error whenever I login. Even though I've been running windows 7 for the past 9 months without any problem.
I had installed Ubuntu 10.04 within Windows 7nd everything work perfect until this morning. When I turned my laptop on I was told that Grub could'nt find the storage device and was presented with a grub command line
On reboot the GRUB2 installer shows me the options for OS - I select Windows XP and then I get a blank screen with a flashing cursor - and nothing.. I CTRL ALT DEL and it reboots back to GRUB2 and I select UBUNTU and I log in. This is the first time I have tried to reboot Windows XP after fresh install of UBUNTU
When I start my computer GRUB starts, but it only says:Grub Loading stage1.5.Grub loading, please wait...and nothing happensHere is what happened before:I had a dual boot on my computer with Windows and Ubuntu. There was also a problem with Windows, but that's another thing. Now I had not upgraded Ubuntu for a long time. I think I still had Ubuntu 8.9 . So I wanted to upgrade and let Ubuntu do it automatically, it showed the upgrade to 9.4. So let it upgrade, but it asked if it had to change menu.lst, but since I had menu.lst modified in the right way, I choose the option to keep the already installed version. But it just kept asking the same question, so 4 or 5 times and a few hours later I choose the option to change it to the default package version. Then it didn't ask this anymore, but it hung at a later stage.
So I waited several hours longer, but it didn't proceed anymore, so I had to shut it down.It shut down OK, but then when I restarted, what I described above happened.Now I have another problem, my disk reader (CD/DVD) doesn't work either, so I cannot simply use a LiveCD.
i was using dual operating system windows xp and linux ubuntu. I was upgrading my windows from xp to windows 7 and as usual the windows messedup it stopped installation halfway and now it gives me only two options for rollback or go to the previous windows (which it is not going to either). It is not loading the UBUNTU GRUB. Did windows kill my ubuntu ?
Grub installed from 9 or 10 ubuntu simply won't load Windows.Ubuntu and GRUB on IDE hdd, Windows on SATA HDD.Installed all default options, just clicked thru install and when attempting to boot Windows XP screen is blank with a blinking cursor in the top corner.Same thing happened earlier when I ran Fedora 11 then 12.Different version of same result.Can't Canonic work with Grub developers to at least make a workable configuration r it's default setup?Searched the web, in a 1000 places same solution is offered: adding a few lines to menu.lst.1) the lines are already there2) this is for the old version of grub.Does grub actually work for anyone out there? Or is it only supposed to work in weird configurations?
I'm trying to install Debian 6.01 on my PC. I have only 1 hdd and it has 3 partitions. On first there is windows 7 and on second ubuntu 10.10 and GRUB is installed to MBR and I can load both systems with no problems.As PC has no optical drive I was trying to install debian using USB stick but had no success. I was ready to give up when I've discovered that there is a W32 installer that I can run under Win 7. So I downloaded it and executed, it starts and download certain files and then it asks for reboot.
After reboot I can still chose between Win 7 and Ubuntu. If I chose win 7 I'm given a choice to run Windows or to continue setup for debian. Very well installer starts and I can chose all the classic stuff between languages etc. Then I come to a point where I need to choose partitions, ok as I have free 30 Gb partition i choose it for debian with settings:
Format in Ext4 Mount point: /
I already have a swap part that I can use. Done that I can start with selection of packages which goes fine and installs everything directly from debian mirrosrs. After that I choose GRUB to be installed into MBR and it goes fine. Some final steps and reboot.
After reboot GRUB offers me again Ubuntu or Win 7. So I can boot either Ubuntu or win 7 which gives me the same choice from before, Windoes or continue Debian setup. I tried doing the setup again with some repair options that it offers but still nothing happens.