General :: Grub2 Just Isn't Working
Dec 9, 2010
I am wanting to install ubuntu 10.10/mint 9 onto my existing system, while allowing the old distros to boot.My setup is mirrored mdraid. Never had any issues before with grub picking up my old systems, but grub2 just isn't working.I've installed mint OK and it boots fine. But the main grub menu doesn't show, it just boots straight into mint.This includes the rescue entries in the menus - it neither shows them or any custom entries.If I run a test in virtualbox without using raid it picks up my old suse distro no problem and gives me an entry at boot.But using md it wont.
View 6 Replies
ADVERTISEMENT
Mar 16, 2010
I am very curious about updated graphics in GRUB2. So I want to compile and load grub2. Where can I get the grub2 source code. While browsing I got two links [/COLOR]
[URL] [URL]
First one has upto 1.98. Second link is not working. Can someone point the link where GRUB2 is available.
View 2 Replies
View Related
Mar 10, 2010
i ve some issue with burg on my inspiron14(core i3 ATI4330). i ve followed tutorials which i m posting here too.pls tell me whats wrong with my system
[Code]...
View 2 Replies
View Related
Mar 21, 2010
I have been trying to get a boot image to display on a minimal install of Ubuntu. I have followed the steps in the grub2 wiki but I can't get it to work. attached are the steps I have taken with no change in boot. (No Image)
~$ grub-install -v
grub-install (GNU GRUB 1.97~beta4)
sudo apt-get install grub2-splashimages
sudo cp /usr/share/images/grub/*.tga /boot/grub/
[code]....
View 5 Replies
View Related
Oct 2, 2010
I have a dual boot config with
sda1 /boot
sda2 Win7
sda3 /
sda4 Truecrypt Partition
i have grub1 working and chaonloading truecrypt loader if i choose "win7" in grub1 menu I want to install a new kubuntu (no upgrade) I have read that that there are problems with grub2 and truecrypt actually a bug that grub2 dont chainloads truecrypt boot loader many ppl seem to have problems with grub2 then i read somewhere that ubuntu install is not asking for grub2 to be installed and just installing it. is this right?
i think at least for the alternative install cd its wrong. i installed it on another pc and it asked me! it works for win7 and Ubuntu and i guess its grub2 but there is no truecrypt installed anyway, i wanted to ask is the live cd installer asks me for grub2 and what is the best and easiest way to stay with my grub and just change the menu.lst to the new kernel (i guess there will be one)
View 1 Replies
View Related
Mar 7, 2010
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]....
View 3 Replies
View Related
May 17, 2010
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 Related
Jul 11, 2011
I 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.
View 10 Replies
View Related
Jan 24, 2011
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
View 2 Replies
View Related
Nov 8, 2010
How can we add a kernel to grub2? i knew the stuff we could do with the former versions, but it seems to have changed. What files should we edit?
View 5 Replies
View Related
Aug 24, 2011
I am booting a new Xen kernel and it all goes fine up until some point during the boot process when the machine reboots without warning. Unfortunately, I don't see errors flash up just before that happens. Is there a way of booting the machine with a working kernel and looking at a log of the previous boot or something? What I didn't notice is that there is actually an error on the screen. It just flashes up very quickly before the reboot. The error is related to not being able to mount the root filesystem because there is something wrong with my grub configuration.
A normal entry in grub.cfg looks like this:
menuentry 'Ubuntu, with Linux 2.6.32-33-server' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)' .....
I added the following in /etc/grub.d/40_default
menuentry 'Xen 4 with Linux 2.6.32.45-xen' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
recordfail
insmod ext2
set root='(hd0,1)' .....
But it's not working for some reason. I also tried the 20_linux_xen script. Unfortunately that's not working.
See these errors:
Found linux image: /boot/vmlinuz-2.6.32.45-xen
Found initrd image: /boot/initrd.img-2.6.32.45-xen
Found linux image: /boot/vmlinuz-2.6.32-33-server
Found initrd image: /boot/initrd.img-2.6.32-33-server
/etc/grub.d/20_linux_xen: 57: uses_abstraction: not found
Found linux image: /boot/vmlinuz-2.6.32.45-xen
Found initrd image: /boot/initrd.img-2.6.32.45-xen
/etc/grub.d/20_linux_xen: 156: gettext_printf: not found
Gettext is installed. I'm on ubuntu 10.04 LTS. The error flashed up on boot is something like "please insert a correct root=boot kernel option..." Why is this so hard and why are there so many different examples of grub2 xen? some put /boot in front some just /. I tried putting /boot in front but that didn't help. Also some have --set=root uuid and yet all my other working entries just have --set uuid. Is this something to do with a different grub2 version?
View 1 Replies
View Related
Jul 27, 2010
I generally use Slackware but I have also installed Ubuntu. Because of Ubuntu I have also Grub2 installed. My problem now is, that I have wireless keyboard and I am not able to select any OS in Grub2. But my wireless mouse and keyboard have full functionality in the OS itself.
View 7 Replies
View Related
Apr 25, 2010
I have Suse 11.2 and Win XP running from a Grub2 boot loader. I want to remove Win XP from the machine.What is the best way to do that? Is it safe just to replace the partition that Win XP is on with a Linux partition?
Assuming that is OK, will Grub then boot OK, and recognise automatically that the Win XP OS is gone, or do I also need to update the Grub configuration manually? I did try looking at the Grub Wiki, but I find it very hard to use
View 4 Replies
View Related
Feb 9, 2011
I have a busybox error when I try to run Debian 6. It's like Grub cannot find root (initramfs)
My system is:
- RAID0 with dmraid
- /boot ext2 (from moonOS installation --ubuntu based--)
- ext4 (moonOS wich have the Grub2 installation, where I can setup Grub)
- / ext4 (installed with dmraid=true)
After Debian installation (dmraid=true) I don't install grub, I run moonOS and I type:
update-grub
It detects:
Code:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-25-generic-pae
Found initrd image: /boot/initrd.img-2.6.35-25-generic-pae
[code].....
View 3 Replies
View Related
Sep 24, 2010
How to kill grub2? Even with a 20 second hard-drive delay grub2 throws a error: no such partition and will not boot to a floppy. I know there is no partition I deleted all and started over. How do I kill grub so I can install fresh? I can boot to a thumb drive with gpart how do I clear the partition table and bootstrap?
View 7 Replies
View Related
Aug 29, 2010
during moving my root partition, i used the old grub and installed the old grub on harddisk:
grub
grub > setup (hd0)
now how could i install GRUB2 on harddisk?
View 1 Replies
View Related
Dec 20, 2010
I multi-boot Windows XP and 5 Linux distros on a single hard drive. Some of the distros come and go but I keep at least two that are my daily use distros. My boot loader is grub1 located on a ext3 formatted distro. I have installed a distro that requests the partition be formatted ext4, which I did. I have been trying to edit my grub1 menu.lst so that I can chainload the ext4 distro get errors or it goes to the command line with the last word being Grub. My question is, can grub1 ext3 chainload a grub2 ext4 distro?
Here is a sample of my menu.lst
Code:
title MEPIS at sda7, newest kernel
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 nomce quiet splash vga=789
initrd /boot/initrd.img
boot
[Code]...
Mepis is the location of my menu.lst and is ext3 on sda7 and aptosid is the ext4 distro that I am trying to boot on sda9 and it uses grub2.
View 3 Replies
View Related
Dec 5, 2010
Sda2 is normally xp windows, but it installs a wrong partition type, and when I apply the mbr.bin, it works again with grub2, nope, it says:
Code:
autochk not found
Code:
# fdisk -l
Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005c9c1 .....
If I put the mbrofxp.bin (bs=512 count=1), then xp boots well but no grub2 so no linux
View 1 Replies
View Related
Dec 24, 2010
Very strange Grub2 issue on my Dell Mini 10.
Had Crunchbang Statler on it, and after an update, it would hang at grub, before the grub prompt. ("loading Grub, Welcome to Grub" then blinking cursor, but no prompt or ability to get into rescue)
So I booted into a liveCD, chrooted in, and reinstalled Grub2, purging everything. No dice. Same problem.
So I figured the device maps weren't right, so I pulled off any important files via the live stick, and reinstalled #!. Same problem.
Did a bit of googling, and it seemed like it was most probably not a true Grub2 error, but a bios problem, so I reinstalled XP, flashed to a new bios (A11).
Then reinstalled, this time with Zenwalk (figured it might be a debian thing). Same thing. (note I replaced lilo with Grub2 for puroposes of testing)
View 10 Replies
View Related
Dec 30, 2010
The reason I ask is I have not tried on bsd, solaris or a few others.
View 1 Replies
View Related
Jan 20, 2011
wanted to try out FreeBSD but I want to boot it from an ISO. I put my iso file on my first hd 3rd partition in /boot/iso/FreeBSD-8.1-RELEASE-amd64-dvd1.iso. But I can't seem find anything to boot freebsd this way. Is it possible and if so how. This is what I kinda got but its not working.
Code:
menuentry "FreeBSD1" {
insmod loopback
[code]...
View 3 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
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
Jan 30, 2010
I had Windows 7 installed on my system, then I installed Debian testing with grub2 as its boot manager.Initially I couldn't see windows entry in grub at all, so I ran:aptitude install os-prober kcpuload update-grub Now I can see the entry, but when I select it I get only Win7 system restore, instead of the the real thing. Any ides how to make it work?
EDIT: I tried the suggested approach to add a new file to /etc/grub.d, which generated an entry in grub.cfg, but it does not appear in the grub menu on boot :(
I have this:
grzes:/home/ga# cat /etc/grub.d/11_Windows
#! /bin/sh -e
echo Adding Windows >&2
cat << EOF
menuentry "Windows 7″ {
[Code]...
View 1 Replies
View Related
Feb 12, 2011
I'm trying to use GRUB2 in graphical mode with 1440x900 resolution, but the result is always garbled nonsense: the highest resolution I can get is 1280x800.
Word is from googling that long as vbeinfo lists a resolution, GRUB2 can use it. This doesn't seem to be true: vbeinfo says that 1440x900 is available but it doesn't work.
Testing it from the GRUB2 command line:
set gxfmode=1440x900
terminal_output gfxterm
# -> garbled nonsense
# back to trusty 640x480
terminal_output console
[Code]....
View 1 Replies
View Related
Mar 20, 2010
So, did anyone know this?
I dont remember seeing ti anywhere I accidently installed grub2 to my usb aand it actually worked and boots all my distros off fat32 usb
I though grub2 could only do ext2/3,etc
View 1 Replies
View Related
Jan 15, 2010
I want try controls how many kernels should be put into the GRUB2 menu on my Ubuntu 9.10 but since GRUB2 the #HOWMANY variable doesn't work. I found this post on the LQ blog about the #HOWMANY variable. I follow these instructions but I have a problem when I execute the last command "update-grub" because my result is this :
Code:
/usr/sbon/grub-mkconfig: 228: GRUB_HOWMANY: not found
I verified my work but I don't understand why it's doesn't work.
View 5 Replies
View Related
Nov 24, 2010
Don't know if I should have posted in Ubuntu specific section but since it involves grub2 and a quirk in my bios, I have attempted to multiboot 3 Windows versions and the problem I had was intalling a second Ubuntu. (Don't ask!) I had success multibooting with grub legacy on an older computer but this computer has a tricky mb which won't let me install grub to the second drive on an IDE port. What I mean by this is that since I already had boot files to the older drive in mbr- it won't allow me to install to mbr of the other drive in IDE port even if set first in bios boot order, my old computer allowed me to do so, exept perhaps its because 2 HDD were SCSI... (I have other HDD installed in RAID 0 on the other sata ports supported by mb (fakeraid) but I will use these for video editing as scratch disks later. One other HDD used for data is on the Raid port but not in an array).
I succeeded in installing Ubuntu desktop only after realising that I had to first switch my disk order in bios- otherwise the system would just hang. U. Desktop grub had sucessfully found Win bootloader links to both XP and Vista. I then installed Win 7 and used easy BCD and grub2 boot entry to link back to my Ubuntu Desktop grub 2 menu.
The problem occured when installing Ubuntu Studio ( for which I created a separate /boot partition) and I decided to install grub2 to mbr since it had correctly detected all my OSes! But then it seems it never installed correctly to the mbr. I still had Win 7 BCD bootloader in MBR! I tried to link easy BCD boot entry to the /boot drive but that didn't work and I ended up having to reinstall Win7 because I had overrid the BCD with faulty neogrub mapping entries- which I then removed and kept the orginal neogrub that still points to Ubuntu Desktop grub menu.
I also now realise that because I installed Ubuntu Desktop before I switched the HDD boot order in bios- U. Desktop's grub.cfg sees root of Desktop grub differently than neogrub BCD does root=(hd4,7) vs multiboot kludge (hd3,6) and at first I tried to install grub in the wrong hdds and partitions- I based mapping on neogrub's to find /Boot (hd3,2) and (hd3, 1) which is wrong!
What I am attempting to do now is to chainload grub2 from my Ubuntu studio located in /Boot with what I thought was the right mapping but still no success:
menuentry 'Chainloader' {
insmod chain
set root=(hd4,2)
chainloader +1
}
yielded error: hd 4,2 cannot get C/H/S values press any key to continue, also when in terminal in Ubuntu Desktop in
grub> find /grub/core.img
Error 15: File not found
I will attach Boot_info_script; at this point I am too tired and afraid that I will keep on installing grub to the wrong drive!
Note: I somehow got a problem loading into XP after all these failed attempts and a system 32 file seems to have gotten lost-haven"t attempted to fix yet. Just wondering in passing what happens if I chainloaded into Windows by error- if that could have corrupted it? Right now 3 out of 5 OS are bootable. I hope I can repair it without messing up my mbr again. Another issue is that some devices are on busy IRQs and then suddenly its resolved and my onboard LAN suddenly stops working at times so I don't know if any of this could cause XP to get stuck at loading screen.
View 2 Replies
View Related
Feb 9, 2011
I'm using debian testing with grub2. Is there a way to stop the FS check at boot (something like ctrl-c) after the check has started and continue with the boot process as usual?.
View 9 Replies
View Related
Sep 10, 2010
I've got a laptop I use for various things. I have one SATA HD with a number of partitions on it. It looks like this.
sda2 = System Reserved (Flag=boot)
sda3 = Windows 7
sda4 = extended
sda5 = Ubuntu
sda6 = WinXP
I started off with Win7 on there and added Ubuntu. Everything went fine and Grub added Win7 and I could boot to both. Since then I had to add WinXP. That wiped out Grub which I read it would. I tried adding Grub back which was unsuccessful so I just reinstalled Ubuntu which re-installed Grub, but not Win7 doesn't boot from the menu when I select it. Since then I've been trying to add Win7 and WinXP back into Grub with zero success. In addition I add the following which did not work.
[Code]...
View 23 Replies
View Related