Ubuntu :: Write Grub2 To MBR?
Jul 19, 2010I have made a new /boot/grub/grub.conf file.
How do I write it to MBR? Do I have to be running from CD?
I can't find new Grub2 instructions anywhere.
I have made a new /boot/grub/grub.conf file.
How do I write it to MBR? Do I have to be running from CD?
I can't find new Grub2 instructions anywhere.
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5
[Code]....
I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?
View 2 Replies View RelatedI installed Fedora 15, which was my first real departure from Debian based Linux OSs. I absolutely love the new Gnome 3, and was able to configure F15 to work as I wanted it to. On rebooting I realized that there was no boot loader screen, that F15 just booted and didn't give me a choice as to which OS I wanted to use. Eventually I was able to configure grub to let me see the boot loader and added my old boot loader as a choice. This worked well, maybe not a perfect solution, but it worked. This weekend I installed LMDE (Linux Mint Debian Edition) to another HDD. LMDE uses grub2 and after the install F15 was not recognized.
Two questions: Is there a way for grub2 to see F15? or Can F15 be installed using grub2? I really don't mind re-installing from scratch.
I want to load grub2 from grub4dos.I want to load directly the grub2 core. I know how to load first 512 bytes from some patition by chainloader and load grub2, but what I need is to load directly grub2 core without passing by bootstriping code (first 512 bytes).So, my first boot manager is grub4dos, then I can load grub2 and later I load Ubuntu. But I think I have to edit --set-root
What I dont know is how.
In hdd 0,7 (sda8) I have Ubuntu 10.10 and /boot/grub/core.img is in sda8 (hd0.7)
I tried this way:
Code:
title grub2
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img
solve the following problem...mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combiningThis i am getting many lines in DMESG.
View 10 Replies View RelatedIve installed Gaussian '03 on fedora Core 10, but I'm unable to run it. It aborts and i get the following error
Code:
Erroneous write during file extend. write -1 instead of 4096
Probably out of disk space.
Write error in NtrExt1
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
View 8 Replies View RelatedI can't write to USB on Natty. I can read the files and copy them to my netbook fine, but I can't change anything, I can't write or delete files
View 1 Replies View Relateddf -h [URL] I did the following command to find everything is in /usr or /var, then tracked it down to /usr/lib and /usr/share as the main offenders, but out of all the directories none are more than 1mb or so.
du -sh /* | sort -gr | head -n 5
I tried to uninstall firefox, which is what got me in this mess in the first place, the log claims it will remove ~240 mb but failes on a "E: Write error - write (28 No space left on device)" [URL] If I could juggle something onto an external hard drive so I can uninstall firefox I would be out of the wood. Failing that I believe a new install is in order.
Is there a way to set a key map in grub2? I know you could do it in grub1 with the setkey option, but that doesn't seem to work in grub2.
View 2 Replies View RelatedI tried searching for this both in the forums and on google but it seems that everything goes back to MBR installation. I know that "grub-install /dev/sda1" should install it to the sda1 partition, but instead of installing it keeps giving me the following error:
Code:
grub-probe: error: cannot find a device for /boot/grub.
No path or device is specified.
Try ``grub-probe --help'' for more information.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
I tried this with a fresh installation of Karmic on both of my PCs. I tried with --recheck option as well, same error. Installing it to MBR works fine, but I don't want it there, have another bootloader chainloading grub. Every single guide I found installs GRUB2 to MBR, and some briefly reference to "grub-install /dev/sdaX" without going into any detail. At first I thought the problem was because Ubuntu was installed on a logical partition, so I created a separate /boot partition and formatted it as ext2, still getting the same problem.
Grub2 fails when trying to boot into Win 7 from Grub2 menu. No such a device. I did run boot_info_script055.sh Here is the result:
Boot Info Script 0.55 dated February 15th, 2010
============================ Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks for
(UUID=34c6661d-7609-441c-b7b9-1d60d1e44fd5)/boot/grub.
[code]....
I am in the process of trying out different Linux distros. This is what my hard drive partitions look like:
sda1 - Ubuntu
(Free space - about 150 GB)
sda3 - Windows (sadly)
sda4 - Windows Recovery
I successfully installed Fedora to the free space, which is now sda2, but when I was installing, I chose to keep my current bootloader so it wouldn't mess anything up. Now, I can't get Grub to detect my Fedora install, even after running 'update-grub' from the current Grub root (sda1).How can I get Grub to detect my Fedora install?
Once again an update broke my Lucid When I start my laptop, I can't see the options to choose a kernal or Windows as I used to see before. know my grub is deleted or overwritten after recent automatic update (on 27th May 10). Now I have a bootable 10.04 CD.Please let me know how to recover the grub2. I don't want to reinstall my linux or windows.
View 5 Replies View RelatedI have decided to dual boot again because I found a old hard drive laying around.
primary drive: sata 500 gb
ubuntu 10.4 64 bit installed with
boot
[code]...
secondary drive: 120 gb ide drive with xp installed. xp was installed first and wrote the mbr to sda1. I then installed ubuntu 10.4 and it overwrote mbr on sda with grub2. I have tried every combination of the 40_custom script for xp I have found here on the forums but to no avail. The 30_OS probe never seems to see it either. Grub 2 will not see xp. I have it in the menu from the custom_40 but it just reboots the system when I choose it. Any advice is greatly appreciated as I am ready to go back to legacy grub which only took 5 minutes to dual boot last time I did dual boot. I want to give grub2 a chance, since it supposed to be better, but I am getting frustrated.
Here is the output from the boot info script.
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 #1 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb
[code]....
I'm a hardcore ubuntu user and have ubuntu 10.04 on my dell Inspiron 1525. I dual booted it with fedora 13 recently and fedora grub has wiped out ubuntu grub2. I want to re-install grub2.
View 4 Replies View RelatedIntalled GRUB using Live CD. My problem is very similar to these..
Code:
1. sudo grub-install --root-directory=/mnt /dev/sda
2. sudo mount -o bind /dev /mnt/dev
3. sudo mount -t proc none /mnt/proc
[Code]....
After the nightmare of installing Ubuntu10.04 as my second os, with windows 7, dual booting using grub 2 ( GRUB PUTS NOT FOUND). I am using wubi and the win 7 bootloader, I still have the splash screen of grub 2 after I select Ubuntu off the win7 boot loader. I really don't think I need this. Could I get rid of the grub 2 loader, it really doesn't serve any purpose except take up boot up time? go easy, it took me a while to figure out how to shorten the DEFAULT boot load time in grub 2
View 2 Replies View RelatedThere are 2 osx entries in the grub menu one is 32-bit and the other is 64-bit, how i can get rid of the 32-bit one? i am using ubuntu 10.4 and snow leopard 10.6.3
View 9 Replies View RelatedCan anyone post the methods to set grub2 splashimage?
View 5 Replies View RelatedI have an acer aspire one. I had iPC osx86 10.5.6 installed on it. then I installed ubuntu 10.04.1 and now i cant get OSX to start up. OSx shows up in grub but when i select it i just get a blank screen.
View 2 Replies View RelatedI'm running Kubuntu 10.4. I cloned an old xp installation into the first primary partition on my disk and I was trying to add it to grub2. I can access the files when I mount it which means that the xp filesystem is working fine. When I do an update-grub though it doesn't detect it. I think that the problem is related to the fact that I cannot find a boot.ini file into the xp installation.
View 1 Replies View RelatedI've been trying to figure out how to start Ubuntu without a GUI with grub2 (I had it figured out for legacy GRUB). Done several searches, and there are a few threads, but they all give different advice that I either don't understand or that don't work.
I tried editing /etc/default/grub with GRUB_TERMINAL=console then updated grub. gdm still loads automatically. I'm probably one of those people "The Idiot's Guide" were written for,can you tell me specifically where the configuration file is that I may have to edit, and exactly what goes on the line that I have to edit? And what does "editing on the fly mean?" I see that a lot in these GRUB tutorials.
Small issue with grub 2. I installed fedora on a usb drive and i'm trying to get it to boot from grub 2. I did update-grub and it found the kernel on /dev/sdd2 but for some reason it is trying to point the kernel file to /boot directory in grub but the kernel is on the usb drive and when i try to set it to look at the usb drive it says file not found.
View 5 Replies View RelatedI'm currently learning about linux systems and all but,I installed Ubuntu onto a partition (2nd) and it worked.After that when I tried to boot it would just boot without showing the GRUB menu.This is because 1.I messed up Windows boot files 2.GRUB needs some tuning.
I would like to ask how to configure the grub.cfg in Ubuntu since when is earched they were only thread for GRUB legacy...
easy way to change the menu in grub2 , was used to editing the menu.lst but it`s gone i know theres a new file called grub.cfg that is done on the fly.
View 2 Replies View RelatedIf I use Clonezilla to backup my Ubuntu partition I get all sorts of problems trying to re-install Grub2 after image reinstall. If I backup the whole HD will this include Grub so when I re-install the image I get the whole thing back again?
View 4 Replies View RelatedMy machines are using Kubuntu 9.10 but not from a fresh install. They are being upgraded from 8.04, 8.10, 9.04 until this version. So I still have GRUB1 as the bootloader. Can I upgrade to GRUB2? If yes, how? Will I gain anything with this upgrade?
View 3 Replies View RelatedI have been reading for hours and just do not get how to do this simple task. I need to add a couple of kernel options to the 3rd menu item that shows in my grub.cfg list. I understand which files to edit (not grub.cfg) and run the updater.
If I look in /etc/default/grub I cannot figure out how to add a kernal parameter unless it is the default.
So basically I want to change the equivilent of this line below:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
But for a kernel menu item that is not the default.