Ubuntu Installation :: Can't Get GRUB2 Installed

Nov 15, 2010

After discovering that the "/boot" partition did not end on a cylinder boundary, I booted back up into the alternate cd, re-partitioned everything and re-installed.It worked fine after thatI can't seem to get Grub2 Installed.

View 8 Replies


ADVERTISEMENT

Ubuntu Installation :: Grub2 - No Known Boot Loader Installed In MBR

Mar 12, 2010

I am trying to dual-boot windows xp and ubuntu 8.04LTS from two separate hard drives, on a compaq d510 evo SFF. With research, the best way to do that seemed to be to upgrade to Grub 2 and all would be well...not so much. I installed each OS with the other hard drive removed, fyi. I believe that this tells me that I SHOULD be able to boot off either drive, if I could get Grub 2 to recognize...

Code:
steve@Stewie:~$ sudo fdisk -l
Disk /dev/sda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb788b788 .....

Code:
steve@Stewie:~$ sudo update-grub
Updating /boot/grub/grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.24-27-generic
Found initrd image: /boot/initrd.img-2.6.24-27-generic
Found linux image: /boot/vmlinuz-2.6.24-26-generic
Found initrd image: /boot/initrd.img-2.6.24-26-generic
Found memtest86+ image: /boot/memtest86+.bin
done

I have also tried adding the proper code to the 40 custom file, and while I could at least get it to acknowledge my changes, I couldn't seem to find the magic code to get it right....
The other thing I tried was adding GRUB_DISABLE_OS_PROBER=false
to /etc/default/grub
and last but not least, here is my results.txt from the boot info script. I also tried uninstalling/reinstalling grub 2, perhaps I created issues there?

Code:
Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary:
=> No known boot loader is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb

View 5 Replies View Related

Fedora :: Dual Booting - Grub2 To See F15 Or Be Installed Using Grub2?

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

Ubuntu Installation :: Grub2 Can't Load Window 7 After Recovered Grub2 Using Live Cd To Boot Windows 7

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

Ubuntu Installation :: Grub2 Dosn't Save Windows As Last Selected + Boot Into Cdrom From Grub2?

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

Ubuntu :: Get Grub2 Find Newly Installed O/s

Mar 19, 2010

I'm playing with my hard drive partitions and trying out different O/S versions so I want Grub2 to be aware of them on its boot menu. Currently I'm using the maintainer's version of Grub2 that came with karmic. Do I have to do a re-install of Grub2 or is there a makefile I can use? Specific commands that I would need be nice.

View 5 Replies View Related

Ubuntu :: Command To Locate Where Grub2 Is Installed?

May 14, 2010

I'm trying to find out which partition grub2 is installed in. Is there a command for this, as I suspect that I may have told it to install to the wrong partition during the upgrade from Karmic to Lucid, and now, I suspect that I've crippled the boot sector for my vista installation

View 6 Replies View Related

Ubuntu :: Re-installed Grub2 But It Wouldn't Boot?

Sep 21, 2010

I have a 2 hard drive laptop. I have Mac OSX on /dev/sda and 64 bit Ubuntu on /dev/sdb. (I did have 32 bit Ubuntu on /dev/sda as well, but I have deleted that). So with the intention of deleting the 32 bit version and to make sure the 64 bit version on sdb still booted I re-installed grub2 to sdb before I deleted the 32 bit installation from sda. Sadly it wouldn't boot. It gave me the "no such partition - grub rescue" message. So I booted up the live cd and re-installed grub2 to sdb again, just to make sure. It ran ok but on reboot got the same message as before.So I booted up the live cd again and installed grub2 to sda and now it boots fine.I presume that the bios is looking at the first hard drive and if it finds nothing there it just gives up - not looking at the second drive at all. Is this normal on a 2 drive system? Unfortunately as it's a Sony Vaio the bios is almost completely locked so I suspect I cannot change it.

View 7 Replies View Related

Ubuntu :: Install Grub2 From Live Cd WITHOUT Installed On Hard Drive?

Jun 10, 2010

Is there a way to install grub2 from a linux live cd when linux isn't installed on any of the partitions? I'm setting up a multiboot partition for someone and I don't want to install linux anywhere on the computer since hard drive space is running short.

View 2 Replies View Related

Ubuntu :: Is Grub2 Automatically Installed In All RAID Drives Using Alternate CD

Jun 27, 2010

I am going to setup a new Ubuntu 10.04 using RAID 1 soon. Installation will be via the alternate CD. Older distributions required manually installing Grub to the second drive, to boot if the first drive fails. I found different statements about how this is handled since 9.10.e.g.

Quote:

Install GRUB boot-loader on second drive (this step is not need if you use Ubuntu 9.10)

or

Quote:

installing GRUB to second hard drive depending on your distribution

> grub-install /dev/md0
or
> grub-install /dev/sda
> grub-install /dev/sdb

is Grub2 automatically installed in all RAID drives using alternate CD 10.04 like executing sort of "grub-nstall /dev/md0" during the installation ?

View 2 Replies View Related

General :: Grub2 Can Be Installed To Fat32 Usb And Boot From It?

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

Fedora :: Grub2 Source Code Installed But Not Found After Reboot

Nov 9, 2010

I recently downloaded grub2 source code for my F13 installation and it compiled and installed perfectly, but when I rebooted nothing had happened and grub was still version .97. Is there something I didn't do?

View 1 Replies View Related

Ubuntu Installation :: Grub2 Won't See The Xp

Jun 9, 2010

I 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]....

View 8 Replies View Related

Ubuntu Installation :: Karmic And GRUB2 ?

Jan 14, 2010

I posted this about 3 weeks ago in the 'Desktop' forum and with no replies feel this may be a better area

I've got Karmic installed on my netbook which I understand uses Grub2 which is still a BETA version.

I still seem to have the original GRUB (legacy) within the file system, still have a menu.lst file but is appears to be showing the contents of grub.cfg at boot time.

What is happening at boot time, is GRUB Legacy handing over to GRUB2 at boot or is the an option for GRUB2 to hand over to Grub Legacy.

View 9 Replies View Related

Ubuntu Installation :: Where Does GRUB2 Get The Entry Name From

Jan 17, 2010

Here is my current setup. I have installed Windows 7 Home Premium 64-bit, Ubuntu 9.10 64-bit, and BackTrack 4 Final in that order. All operating systems are able to boot and all is working well. The only problem I'm faced with is really just an annoyance. Which is BackTrack is showing up with a "Ubuntu 8.10" entry name.

Now I did some research on this. I found out that BackTrack was based on the Ubuntu 8.10 OS so it makes sense why it would show up that way. I found several articles and topics explaining how to modify the GRUB programming files. I guess to change the entry name, but all of them don't seem fool proof to me nor the best way to go about doing things.

One thing I wasn't able to find info on is where GRUB2 actually gets these entry names from. My theory is if I can find out where GRUB gets this info from, I can simply log into the BackTrack partition and change where the "Ubuntu 8.10" entry is to "BackTrack 4" and then run the update-grub2 command within Ubuntu to update the entry names.

View 7 Replies View Related

Ubuntu Installation :: XP Won't Run After Installing 9.10 And Grub2

Mar 14, 2010

I installed Ubuntu 9.10 & grub2 on a Toshiba sattellite laptop last night:

- Win XP shows up in the Grub2 menu.

- When I boot Win XP, it says autock program not found, skipping autocheck, then Win XP stops booting.

- I did a little digging on the net, & found I have to unhide the NTFS partition for Win XP (hd0,1)

- Grub2 doesn't have an unhide command.

- I tried to run parttool, & got the "command not found".

View 3 Replies View Related

Ubuntu Installation :: Grub2 Can't See New Fedora

Apr 24, 2010

I installed Fedora 12 on my second drive.

Xubuntu 9.10 is on my master drive, and I use it to install/update grub.

When I installed Fedora, I answered "NO" to installing a boot loader.

After install, I booted Xubuntu and ran update-grub, grub couldn't find (apparently) my new fedora install.

I've tried adding it to /etc/grub.d/40_custom, and when I list /boot/grub/grub.conf, it appears to have added Fedora to the bottom of the menu.

When I boot, it doesn't stop at the grub screen, indicating only one installation of linux.

Here are the pertinent file listings, can you see where I've gone wrong?

Code:
dav@dav-desktop:~$ cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates

[Code].....

View 4 Replies View Related

Ubuntu Installation :: GRUB2 Won't Load / What To Do?

May 2, 2010

So I recently tried to install Ubuntu Lucid in the following configuration code...

The installation procedure went fine, and it said it had successfully installed GRUB2. But then, when I tried to boot up the fresh system, GRUB2 didn't even load!!

It's not giving me any GRUB errors, or giving me a 'grub recovery>' prompt, so I suspect that it really isn't even booting into GRUB.

I tried booting into the LiveCD, and installing grub to BOTH /dev/sda and /dev/sdb, but it still does not work, and I am at a loss.

Has anybody else had this problem?

View 9 Replies View Related

Ubuntu Installation :: Cannot Install GRUB2 After Win 7

Sep 27, 2010

Right I had to uninstall windows xp and install windows 7 to play more games! I use windows to play games and that is it. I have restored grub before and I even double checked with this guide: [URL]

I have two hard drives
sda - 320gb with windows
sdb - 100gb /home
-12 gb /
-480gb (NTFS) shared

However after reinstalling grub it still boots into windows! I will boot into windows properly then shut it down cos its coming up with windows was not shut down properly and if that doesn't work it has then been shutdown properly and I will install grub again.

View 3 Replies View Related

Ubuntu Installation :: Booting 10.04 With GRUB2?

Oct 16, 2010

I have Win 7 in my hard drive (sda) and I installed Ubuntu 10.04 in other hard disk (a usb disk), but when I try to boot my pc from the usb disk (sdb), the grub shell is displayed. No menu is displayed. When I boot Windows 7 from sda, it runs correctly. The problem it's when i wanna boot Ubuntu. I ran bootscript on the live CD and this is what I've obtained:

Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Windows is installed in the MBR of /dev/sda
=> Grub 2 is installed in the MBR of /dev/sdb and looks on the same drive in partition #1 for /boot/grub.

[Code].....

View 1 Replies View Related

Ubuntu Installation :: Burg Instead Of Grub2?

Dec 18, 2010

Anyone know of or use this NEW boot-loader (burg)instead of grub or grub2?

View 4 Replies View Related

Ubuntu Installation :: GRUB2 Cannot Boot?

Jan 15, 2011

GRUB2 won't boot. It hangs just after the 'Boot from CD' thing in my BIOS.I've had 1.97 working on my PC about 24 hours ago, but I decided to start afresh and go for Xubuntu 10.10.I'll post the PC specs in the morning, but in the meantime, does anyone know how to fix this?It's going to be a Xubuntu only system, and I've tried to repair the GRUB files via the Live CD and here.

View 4 Replies View Related

Ubuntu Installation :: Looking For A Grub2 Thread?

Feb 10, 2011

i know i should look more through the forum, but i've been stuck on installing ubuntu on my computer for 3 days now, reinstalling, manual grub installing and so on, but no go. but i found a good thread on my still no fully functional ubuntu computer that explained very well for a complete linux noob how to install grub2 on ubuntu via the livecd. but since i was booting from the live cd meant that i couldn't bookmark it, and very little on this forum, as far as i can see, gets sticky, makes it very hard to find.

the basic problem is, i completly reinstalled ubuntu 10.10, and the bootloader (that i now know is named grub2) could not be installed. so i've found several guides, including the wiki, but it haven't really worked. now instead of explaining all of this over again, like all of you have probably done a million times, can you just post the most informative links here, so i can pick and choose,

View 9 Replies View Related

Ubuntu Installation :: USB Boot Via GRUB2?

Mar 26, 2011

So I have a really old (about 10 years) desktop PC manufactured by Packard Bell, and would like to get Lubuntu 10.10 running on it. I had previously burnt a CD with it, but boot time was incredibly slow on the machine and installation of Lubuntu crashed my system. As a result, I created a LiveUSB (as you do).

When I entered my CMOS, I discovered the BIOS on my machine isn't able to boot from USB, and I wasn't able to find a BIOS update for my AMIBIOS chip on the American Megatrends website. So I booted my GParted Live CD and created an ext4 partition at /dev/sda3, which I proceeded to install GRUB2 onto via the commands:

Code:
$ sudo su
# mkdir /mnt/grub/
# mount /dev/sda3 /mnt/grub/
# grub-isntall --no-floppy --root-directory=/mnt/grub /dev/sda

This, as planned, succeeded; I can now get into a GRUB2 prompt when my machine boots...! The only problem is, GRUB2 won't detect my USB...or any device other than my hard drive

So, is there any way I can get GRUB2 to find my USB?

P.S. The USB works fine on my laptop, which does support USB booting. I can also boot the USB on my laptop via its GRUB2 command line, using:

Code:
grub> set root='(hd1,1)'
grub> chainloader +1
grub> boot

View 9 Replies View Related

Ubuntu Installation :: Grub2 Can't See Vista Partition

Jan 2, 2010

I have installed 9.10 to an existing Vista machine. Here is the fdisk

Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 9 72261 de Dell Utility
/dev/sda2 10 1315 10485760 7 HPFS/NTFS
/dev/sda3 * 1315 14031 102145543+ 7 HPFS/NTFS

[Code].....

View 9 Replies View Related

Ubuntu Installation :: Grub2 Does Not Find Filesystem?

Jan 11, 2010

Here is my problem. Grub2 outputs error: unknown filesystem. Then when i use "ls" command it outputs this:
(hd0), (hd0,4), (hd0,2), (hd1) and when i "ls (hd0,4)/ or any of them it says: error: no such disk

So, heres my story. I dual boot vista and ubuntu from my main 320GB hdd. Today i tried to fresh install 9.10 on a different external hdd. The 500GB hard drive already had two partitions, a 30GB Fat32 and the rest NTFS. both of these partitions had about 17GB used on them. I installed off a cd and i shrunk the NTFS to allow for more partitions. I made a 4gb swap as logical at the end then a primary ext4 / partition in front of it. The drives are Fat32 sdg0, ntfs sdg1, then an sdg3 (which im confused about and says is extension), and sdg4 (with linux) and sdg5 (swap). When finished with the partitions it asked me to select where to mount the ntfs and i said /windows. When i tried to boot up it did not recognize my external apparently because it was plugged in via firewire. I switched to usb and it booted but then i got the error message in grub. Also, when i switched from firewire to usb the drive changed from sdb to sdg. How do i fix this problem? Will reinstalling ubuntu fix this? Is there an easier way? I tried reinstalling grub but it did not work.

View 1 Replies View Related

Ubuntu Installation :: 2.6.31-19 Upgrade Broke Grub2

Feb 7, 2010

I upgraded yesterday ubuntu 9.10 to 2.6.31-19 kernel. After reboot, I get stack to GRUB black screen. No possibilities.

My set-up is triple boot 9.04, 9.10 and winxp. The MBR is handled by win boot.ini with no problems. Each ubuntu partition has a grub installed in it.

9.04 is on sda5 with grub installed on it ext3
9.10 is on sda9 with grub2 installed on it ext4

I am able to boot into sda9, via grub of sda5 obviously passing the correct kernel parameters and UUID.

View 3 Replies View Related

Ubuntu Installation :: Rewriting MBR And Then Reloading GRUB2?

Feb 12, 2010

I have to do but wanted to check first before I started messing around with my MBR.

Originally was running XP and installed WUBI 9.10 to play around with Ubuntu before doing a proper install. Got home from work tonight and removed WUBI leaving edited MBR with WUBI boot loader. I thought I might have to run fixmbr before installing Ubuntu but I assumed Ubuntu would write over WUBI edited MBR. Installed Ubuntu 9.10 and everything is fine but when I select XP from first boot option (Ububtu) it then takes me to another boot option which was from the WUBI install.

Basically to get to XP, I have to select it twice.

It's not a big issue but I know that this will annoy me and one day or another I will try and remove the second unnecessary option to boot into XP.

So if I have this correct I will need to run fixmbr from XP disc and then install Grub 2.0 from Ubuntu disc somehow?

Is this right? Is there another way I can delete the second boot option screen?

View 1 Replies View Related

Ubuntu Installation :: Changing Primary OS In GRUB2?

Feb 27, 2010

I'm using Ubuntu 9.10 and Windows 7. The problem is I share computer with my brother and sometimes with my girlfriend (but computer is still mine basically).

Now I'd like to set Windows 7 as primary OS, since they don't have much knowledge about computers. When I had Windows XP and Ubuntu 8.04 that wasn't a problem but now I don't know how to do it with GRUB2.

So what I want is s simple explanation how to change GRUB2.

View 4 Replies View Related

Ubuntu Installation :: Grub2 Does Not Recognize Windows 7

Feb 28, 2010

I have 2 hard drives, first drive (hd0) is for data, second drive (hd1) is for the OS's. Windows 7 was installed on (hd1) a few months ago and wiped out GRUB. But today, I decided to go back to Ubuntu. I performed a fresh install of 9.10 x64 to (hd2), GRUB2 works and finds Ubuntu (both the newly installed x64, and the previous x86 versions), but it does not see Windows 7. The only goal I have right now, is to make Windows 7 bootable, once again.

My "sudo fdisk -l" (typing manually, so skipping the Blocks)
Device Boot Id System
/dev/sdb1 83 Linux -- where x64 9.10 is
/dev/sdb2 f W95 Ext'd (LBA)
/dev/sdb5 83 Linux -- where x86 9.04 is
/dev/sdb6 83 Linux -- /home
/dev/sdb7 82 Linux Swap / Solaris
/dev/sdb8 87 HPFS/NTFS -- Windows 7

Things I've tried so far:
1) Automatically finding Windows: sudo update-grub2
2) Reinstalling grub via Live CD (9.10): sudo grub-install --root-directory=/media/(where sdb1 - x64 Ubuntu is) /dev/sdb
3) Forgetting Ubuntu altogether and fixing boot using Windows 7 - bootrec.exe /fixmbr; bootrec.exe /rebuildbcd

Now, number 3 is interesting, I found out that where Windows is installed, /dev/sdb8, is a logical partition, and cannot be made active (bootable). This led me to try number 4:

4) Updating /etc/grub.d with custom 40_Win7 file, and making it bootable (the GRUB makeactive, GRUB2 parttool command):
echo "Adding Win 7 to Bootloader" >&2
cat << EOF
menuentry "Windows 7" {
insmod ntfs
set root=(hd1,8 )
parttool (hd1,8 ) boot+
chainloader +1
} EOF

When I update grub.cfg after trying #4, it gives me the "not a primary partition" error. So now I am confused. Windows 7 was able to boot previously from this very partition, and I don't think installing 9.10 would change a partition type from primary to logical. So, why can't it boot? More importantly, what can I do to boot Windows 7?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved