General :: Grub2 Setup On Ubuntu 10.04 Install

Jun 24, 2010

I have been asked to install Ubuntu 10.04 onto a friends machine but appear to be having some very basic problems. I think it may be related to the Grub 2. I do not consider myself a newbie but I am very inexperienced with Grub 2. I know a lot of the tricks of Grub Legacy, but this is driving me daft. It should be simple; a new hard drive, 500GB SATA, has been put into the computer, there are no other hard disks installed and the drive went in as empty.

Ubuntu booted fine into live CD mode without any issues, all of the hardware appeared to be working properly. I then installed it onto the machine, taking up the entire disk as per my friends request. When the installation finished everything seemed as normal, but upon startup I am greeted with a grub rescue prompt. Upon a bit of internet research I discovered that it may be simply that the 500GB is simply too big and that a seperate partition should be made for /boot.

This was done however now I do not even get to the grub rescue prompt after checking the DVD drive for bootable media the computer simply sits at a blinking cursor. I have made sure that grub 2 was installed and setup to look for the /boot partition but these all check out and I am still stuck with the same problem. I am considering simply installing 8.04 LTS and then updating and that should solve my issue of Grub 2, but I know that is avoiding the problem and I will need to learn about Grub 2 at some point.

View 8 Replies


ADVERTISEMENT

General :: How To Setup Grub2 With Xen

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

General :: Chainloading Grub2 For A Multiboot Setup?

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

Ubuntu Installation :: Setup The Grub2 Menu So That It Does Not Timeout?

Dec 28, 2010

how I can setup the grub2 menu so that it does not timeout? What do I need to set in the configuration file? I did it once before on my old computer but forget now what I changed.

View 3 Replies View Related

Ubuntu Installation :: GRUB2: Setup For Dual-boot With Arch

Nov 26, 2010

I'm thinking of dual-booting Ubuntu 10.10 and Arch Linux. It seems that I'll have to do some editing of the grub.cfg file, but I have seen numerous warnings not to do so. After a bit of poking around, I've heard about a script that does the editing for you built in to Linux (or maybe just Ubuntu).

My questions are:

- If the aforementioned script does exist, how do I use it?

- else if it doesn't exist, how do I not directly edit grub.cfg?

View 1 Replies View Related

General :: Install GRUB2 On Harddisk?

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

General :: Grub2 Detects Mac OSX On Sdb But Doesn't Install It To Grub.cfg

Feb 13, 2010

Working on a quad boot system. Two Karmic installs (I find I tend to hork one every once in a while by playing too much, so having a backup around is nice), windows 7, and Snow Leopard. I got everything up and running, except I had Leopard installed instead of snow leopard. At that time, I had the following:

sda1->win 7
sda2->leopard
sda5->karmic 1
sda6->karmic 2
(others for swap / extended / etc)

Grub2 detected everything just fine, made a real nice grub.cfg file and away I went.Now, I've made a change. Snow Leopard required GUID partitions and I had my stuff all set up as MBR and was /not/ about to reformat and start over. So I added a second drive, sdb.

Now, I can boot to that drive independently. Fine.I can boot to sda just fine and go to either Ubuntu install or windows just fine. Great. Grub2 finds Mac OSX on /dev/sdb2. Awesome (sdb1 is a fat32 bootloader for hackintosh reasons). It not only doesn't update grub.cfg, it leaves the old /dev/sda2 listing for my old Leopard install ... whose partition I deleted. It isn't visible anymore.

Code:

> sudo update-grub
Generating grub.cfg ...
Found Debian background: radar.png

[code]....

But nothing after Ubuntu 9.10 on /dev/sda6 shows up in grub.cfg? I'm at a loss. Any ideas how to get it to populate? I'd rather not hack grub.cfg and have to rebuild it by hand every once in a while especially as grub was fine with finding it.

View 14 Replies View Related

Ubuntu Installation :: Re-install Grub2 After New Win7 Install To New Disc?

Apr 18, 2011

I have been running ONLY linux (ubuntu) on my computer for years now. However, a friend sucked me back into the world of MMO's (angry fist @ RIFT). So, I decided to pick up a new disc, slap windows 7 on it and now want to dual boot.Basically I had to do some disc juggling to get windows to play nice. So my windows drive is now first, then my Ubuntu drive second.Its been a while so I'm wondering how involved / what would be the steps to get grub2 to chainload into windows7 (in my head I want to say I'm going to boot into the live cd, mount the windows disc and reinstall the loader to the windows drive since its the first disc in the chain?)

View 1 Replies View Related

General :: Grub2 - While Trying To Install Debian "squeeze"

Feb 7, 2011

I have a dual boot system with windows XP on one drive and Debian "Lenny"on the second drive. I use the entire hard drive for the debian install. I decided to upgrade to "Squeeze" this weekend. The install went well until I got to the Grub installation. I received a message saying that "A step failed", continue and try another option. I elected to "finish the install" without Grub2. everything continued to go accordingly until it was time to boot into the new system. I was able to boot into Squeeze, but not back into windows. Does something have to be changed in the /etc/grub/menu.lst.? This has proven to be somewhat of a challenge and I sure could use some feedback here.

View 1 Replies View Related

General :: Need Distro Easy To Setup And Install

Feb 28, 2010

I have this ancient Dell Dimension V333 with a Pentium II 333 MHz and 320MB RAM that my family needs for web browsing, word processing, etc. What I need is a distro that is easy to setup and install and easy to use because they have only ever used windows (and a little ubuntu).

View 10 Replies View Related

General :: Setup/install A Vividwireless USB Broadband 4g Modem On Ubuntu 11.04 Distro?

Aug 8, 2011

How to setup/install a vividwireless USB broadband 4g modem on Ubuntu 11.04 distro?

# lsusb... yes, the modem type is an Huawei bm358 Wimax USB stick from vividwireless vendor,it shows mac address as follows: 641f03d903e...

cottoned on to the blah about bogus 4g... why the lies I wonder, apparently there is no 4g in Australia!

View 6 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

General :: Install Memorex Mem 48u Scanner With No Setup Disc?

Mar 16, 2011

I have lost my set up disc for my memorex mem 48u scanner. Keep runing intobrick walls

View 1 Replies View Related

General :: Ubuntu 10.04 - Cannot Setup GRUB On RAID 0 Setup Disks

Jun 4, 2010

I've been all afternoon trying to install Ubuntu Lucid on my fakeRAID 0 configured (2) HDDs and am unable to set GRUB up. The fake RAID setup is provided by Intel Matrix Storage Manager, it is correctly enabled and the BIOS is also correctly set up -- in fact, I've managed to install Windows 7 with no significant hitch. After struggling with partioning the drives (had to follow advice I found on a very helpful guide online [0]), creating the filesystems AND getting Ubuntu's installer to actually do what it is supposed to do, I now cannot seem to set GRUB up. My system, as it stands, is unbootable at all; via live CD only.

This is how the RAID0 dev is partitioned:
Code:
# fdisk -l /dev/mapper/isw_ecdeiihbfi_Volume0
Disk /dev/mapper/isw_ecdeiihbfi_Volume0: 1000.2 GB, 1000210694144 bytes
255 heads, 63 sectors/track, 121602 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 131072 bytes / 262144 bytes
Disk identifier: 0x6634b2b5 .....

View 2 Replies View Related

General :: HDD Setup For Dual Boot XP / Install On Slave Drive

Apr 23, 2010

Have older system, self-built around 2000 or so. My plan is to optimize the system for speed and utility, upgrade the OS from W2000 Pro to XP Pro, and include dual boot so as to install some version/distro (?) of Linux to learn on. Present system: X86 based (32 bit), using a P4, 1.8 GHz/400 MHz fsb, with 512mb of DDR RAM installed, can upgrade to 2 gigs total.Shuttle MV42 motherboard, including onboard video and sound (S3 Graphics ProSavage DDR P4M266/VIA 8751/8233 chipset, VIA AC'97 Audio Controller, 2.2 compliant)

If I should decide to use the available 160 gig drive as a dual boot system, in order to install both XP and some version of Linux, how should I set it up? How many partitions will XP and Linux need or work with best? How much space for each OS? What file systems? Should I format/partition it with the existing W2000 OS? What comes first, the chicken or the egg? (XP or Linux?) I have read somewhere that it matters which OS is installed first, due to boot records being overwritten by successive OS installs. I plan to keep W2000 on the first HDD at least until I move my files over to XP. Will I need to switch the master/slave designations after installing XP and Linux on the new drive, since I will want to boot from that drive?

View 3 Replies View Related

Ubuntu :: Install FreeBSD From .iso Using Grub2?

Sep 5, 2010

I want to install FreeBSD (PC-BSD) alongside Ubuntu 10.04 and Windows 7. I do not have a CD or a DVD or a USB key to burn the .iso, so I was thinking instead of using Grub2 to launch it.

I created an empty partition where FreeBSD will be installed (see screnshot below).

Now, where should I locate the .iso file? On my root partition? On my home partition? On the new partition (ZFS formatted)? Does it matter?

How should I set up my Grub2? I was thinking of adding this to /etc/grub.d/40_custom (if the partition where the .iso is located is /Home):

Quote:

menuentry "FreeBSD" {
insmod loopback
insmod iso9660
set isofile="~/iso/PCBSD8.0-x86-DVD.iso"
loopback loop (hd0,1)$isofile
}

Is it correct... and enough info?

View 2 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 :: Do I Have To Install Grub2 In USB Stick

Apr 10, 2011

I would like to make an Ubuntu 10.10 Bootable USB Stick, but before starting that I would like to know the following details please

1. Do I have to install Grub2 in the USB Stick also for Ubuntu 10.10?
2. Install I first Grub2 in the USB Stick, before installing Ubuntu 10.10 or viceversa?
3. How big shout it be the volume of the USB Key to install there both, Ubuntu 10.10 and Grub2?

View 1 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 :: Grub2 Splash Gone After Kernel Install?

Jun 7, 2010

I have been running Ubuntu 10.04 for a while now without any issues. I have also been dual booting with grub2 for a while now, only issues being crappy customization. But anyways I had my grub2 splash all set up the way i liked, with a nice background and everything. I run every update Ubuntu wants and have never had an issue until recently.

On June 3rd I ran an update that Ubuntu requested, it installed a new kernel (-2.6.32-22) and requested a restart, as usual. after restarting, my grub splash is gone. I thought no biggie ill just run `update-grub` as i have before and it will fix everything...nope
I get the error message `head: cannot open `/boot/grub/video.lst' for reading: No such file or directory` right where the "image found" message is supposed to be.

View 3 Replies View Related

Ubuntu :: Grub2 Missing After Clean Install?

Aug 28, 2010

recently i had a crush on my computer caused by a power surge, had to reinstall the os since i couldnt boot.

the installation went clean and everything is working very well since but i am having a strange issue with grub - its missing ?

when i boot the computer start with default kernel and no grub menu is visual for me to choose from.

i tried to purge and reinstall grub2 grub-common and grub-pc packages, tried various things found on the grub2 faq pages including booting from livecd and reinstalling.

it appears as grub is installed correctly but its not running at boot ? dunno ?

i'm using ubuntu 10.04.1 LTS x64 on intel E2180 with 2gb ram.

i really dont know what else to try or what can be the cause for this ?

ps: here is fdisk -l
Disk /dev/sda: 123.5 GB, 123522416640 bytes
255 heads, 63 sectors/track, 15017 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code].....

View 9 Replies View Related

Ubuntu Installation :: Grub2 Picking Up Old OS Install

Dec 13, 2010

I've been having issues with mythbuntu since the last few upgrades, so I decided to go for a fresh install. Since I had a free partition (from a deleted Windows install that I moved to a dedicated box), I decided to leave the old root partition as a backup and reinstall to the new partition.If it works, I may use dd in the future to clone the partition as an easy backup solution before upgrades.

The install went fine but now GRUB2 detects both the old (now non-functional) install, as well as the new functional install.More annoyingly than that, it shows the defunct install first in the list, with the correct install at the end. Even odder, the correct install is auto-named with the partition name (sda5) of the old install, even though it's the one booting to the new partition (sda3).How can I get Grub2 to ignore the old install (or to be precise, NOT auto-detect other OS)? Or at least show the functional install first.

View 2 Replies View Related

Ubuntu Installation :: Grub2 After Lubuntu Install

Apr 26, 2011

I just installed lubuntu 10.10 onto my desktop and while on my first bootup I had the option to boot windows through grub, it's disappeared from the boot menu since then.When I installed I created a partition for lubuntu and installed onto that. I can still access and see my windows partition.

View 6 Replies View Related

Ubuntu Installation :: Install On Ssd With Gpt - Boot With Efi Via Grub2

Sep 1, 2011

As I now have a 120Gb SSD in an efi-capable laptop, I'd like to re-install 11.04. I'd like to format the SSD as gpt and make it bootable with efi. And I'd like to use grub2 as the bootloader.

Can anybody walk me through this? I'm pretty new to Ubuntu, though I've used several other distros for a number of years. When I last installed 11.04, I don't remember seeing options for gpt, for example. And I don't know how get things booting with efi.

View 6 Replies View Related

Debian :: Grub2 Install To Mbr ?

Mar 30, 2010

I finally took the plunge and let my debian squeeze install update from grub 1 to grub2. I am not sure if it is working correctly. When it first rebooted I saw it chain load from the grub 1. It went to another screen that said grub 2 and it hung there for awhile and then displayed "fd0 not found" or something like that. Then it jumped to the new grub2 menu screen and booted the os. I went ahead and ran the command "upgrade-from-grub-legacy" and choose all harddrives.

It displayed this:

GRUB Legacy has been removed, but its configuration files have been preserved, since this script cannot determine if they contain valuable information. If you would like to remove the configuration files as well, use the following command:

View 2 Replies View Related

Fedora :: How To Install And Use Grub2

May 8, 2011

The following outlines how to install and use Grub2 in Fedora. It will be an ongoing How-To as more of the tools involved are added upstream

Small History... I came over from Canonical/Ubuntu and was surprised to see that Grub2 was not that widely used or even developed..

I found this blog posting from Hedayat Vatankhah at his blogsite and this is what I did to replace the Ubuntu Grub2 with Fedora grub2 with the os-prober that Hedayat ported to Fedora and installing grub2

1: Install os-prober
Code:
sudo yum install os-prober
2: Install grub2 using yum
Code:
sudo yum install grub2

[Code].....

Note I am using Fedora 15 .. this should work with any Fedora release that supports grub2

I want to stress again that this is an ongoing project and will be updated as the changes happen

I got grub2 1.99~rc2 up and functioning perfectly with os-prober

If you compile grub2 1.99~rc2 you must create /usr/local/etc/default and then copy the file grub from /etc/default to /usr/local/etc/default

This will then read and parse the grub file information

View 14 Replies View Related

Ubuntu :: Grub2 - Re-install Vista On Original Partition ?

Mar 31, 2010

I have drive C/ with Vista, D with as of now, nothing and a third logical partition with Ubuntu on.

I want to do a clean install of Vista on top of my current system, just on C.

Will this re-install the Windows MBR and prevent Grub2 from booting? If so, how to I re-set grub2 as the MBR?

View 3 Replies View Related

Ubuntu Installation :: Boot .img File From Grub2 And Install Mac Os X?

Apr 25, 2010

I have converted snow leopard .dmg file to .img, and I can it mount, but I need know, if is there way to boot it from grub2

View 4 Replies View Related

Ubuntu Installation :: Grub2 And Initrd Failed To Install

May 17, 2010

I just did a new install of Ubuntu 10.04 (64 bit) on a system with multiple older versions of Ubuntu already installed. There was a dpkg error during the install with no useful information provided, otherwise the install completed normally. When I rebooted, the old grub2 ran and presented my old boot menu. When I mounted the 10.04 partition to see what was there, I found that /boot/grub/ was empty and /boot/initrd.img was missing. The other boot files were present.

View 2 Replies View Related







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