Ubuntu Installation :: Grub - Setup: Warning: Attempting To Install GRUB To A Partition Instead Of The MBR - Install - Lvm - Luks - Raid - Karmic Server

Mar 27, 2010

I'm running Karmic Server with GRUB2 on a Dell XPS 420. Everything was running fine until I changed 2 BIOS settings in an attempt to make my Virtual Box guests run faster. I turned on SpeedStep and Virtualization, rebooted, and I was slapped in the face with a grub error 15. I can't, in my wildest dreams, imagine how these two settings could cause a problem for GRUB, but they have. To make matters worse, I've set my server up to use Luks encrypted LVMs on soft-RAID. From what I can gather, it seems my only hope is to reinstall GRUB. So, I've tried to follow the Live CD instructions outlined in the following article (adding the necessary steps to mount my RAID volumes and LVMs). [URL]

If I try mounting the root lvm as 'dev/vg-root' on /mnt and the boot partition as 'dev/md0' on /mnt/boot, when I try to run the command $sudo grub-install --root-directory=/mnt/ /dev/md0, I get an errors: grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea. grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.

Somewhere in my troubleshooting, I also tried mounting the root lvm as 'dev/mapper/vg-root'. This results in the grub-install error: $sudo grub-install --root-directory=/mnt/ /dev/md0 Invalid device 'dev/md0'

Obviously, neither case fixes the problem. I've been searching and troubleshooting for several hours this evening, and I must have my system operational by Monday morning. That means if I don't have a solution by pretty early tomorrow morning...I'm screwed. A full rebuild will by my only option.

View 4 Replies


ADVERTISEMENT

Ubuntu :: Upgrade Grub With Dm-crypt - Warning: "Attempting To Install GRUB To A Partition Instead Of The MBR"

Nov 23, 2010

I am still using Lucid with a Luks/dm-crypt setup. I picked up an upgrade today that included grub. It gave me a box that had me choose my location to install the upgrade. I chose /boot. When apt did its upgrade thing, I got the following message: Setting up grub-pc (1.98-1ubuntu ... /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.. /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.. Installation finished. No error reported. I looked in /boot/grub and found no menu.lst file.

View 4 Replies View Related

Ubuntu Installation :: Grub Fails To Install On Hardware Raid Partition / Proceed It?

Feb 12, 2010

No matter which ubuntu version at 95% through the install it will complain that grub failed to install.

I'm installing this on an HP XW6600 with hardware raid striped.

I can use the supergrub rescue CD to boot to ubutu after, but whatever I do doesn't seem to get grub installed.

Any ideas on how to proceed? I'm guessing I need to install grub from scratch.

View 3 Replies View Related

General :: RAID And Grub 2 On Ubuntu Karmic Koala (installation)

Feb 11, 2010

I've been trying to get Grub 2 to work on a desktop system I'm trying to install Karmic Koala on. It's currently got two similar hard drives, which I've partitioned into a small /boot partition and the rest as a large general partition. Both are fd (linux software RAID) types. I boot from the Ubuntu live CD then create the RAID arrays as RAID 1 (requires installing mdadm to work). Then I start the arrays and begin the install.

I select manual partitioning and create the first RAID array (/dev/md0) as an ext4 /boot. The second array (/dev/md1) requires a new partition table. I then partition it as 20G for /, 2G for swap and the rest as /home, giving me /dev/md1p1, /dev/md1p2 and /dev/md1p3. When the install finishes, I mount the various partitions in /mnt (for /dev/md1p1) and below, including binding /dev and /proc. Then I chroot and install mdadm in the new system. I update grub, re-install it on /dev/sda & /dev/sdb then update the initramfs.

A quick reboot and things go wrong... Grub boots me into a recovery console. Apparently it can't see the partitions in the second RAID array. how to get Grub 2 and/or mdadm to work in this situation? I know that apart from the RAID, the above process worked to allow me to set up a Grub 2 boot on an antique laptop with an incomplete install.

View 20 Replies View Related

Ubuntu Installation :: Grub Failing Completely On New Karmic Install?

Feb 19, 2010

I just installed Karmic Koala on one of my hard harddrive. The other disk has Windows XP. Previously I had a working dual-boot setup, but after problems with Ubuntu I reinstalled it. On booting, I get the following:

Code:
Grub Loading stage1.5
Grub loading, please wait...
Error 2

There is no Grub menu which might allow me to drop to a Grub prompt and evaluate. This occurs whether I boot with the Ubuntu harddrive or re-set the BIOS to boot with the Windows harddrive. If I boot with a LiveCD, I see that both my Ubuntu and Windows harddrives exist and are readable; the Ubuntu was indeed wiped clean and reinstalled; the issue is with the boot process. How can I set this up to boot?

View 9 Replies View Related

Ubuntu Installation :: Unable To Install Grub On RAID Array

Feb 3, 2011

I'm trying to switch to a new RAID5 array but can't get it to boot. My disks:/dev/sda: new RAID member

/dev/sdb: Windows disk
/dev/sdc: new RAID member
/dev/sdd: old disk, currently using /dev/sdd3 as /

The RAID array is /dev/md0, which is comprised of /dev/sda1 and /dev/sdc1. I have copied the contents of /dev/sdd3 to /dev/md0, and can mount /dev/md0 and chroot into it. I did this:

Code:

sudo mount /dev/md0 /mnt/raid
sudo mount --bind /dev /mnt/raid/dev
sudo mount --bind /proc /mnt/raid/proc

[code]....

This completes with no errors, and /boot/grub/grub.cfg looks correct[EDIT: No it doesn't. It has root='(md/0)' instead of root='(md0)']. For example, here's the first entry:

Code:

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-25-generic' --class ubuntu --class gnu-linu
x --class gnu --class os {

[code]....

However, when I try to boot from /dev/sda, I get:

Code:

error: file not found
grub rescue>

View 9 Replies View Related

Ubuntu :: Install A Luks Enabled Grub For Full System Encryption?

Mar 12, 2011

I'm trying to install a luks enabled grub for full system encryption. What modules are required by grub to load a normal ubuntu linux system and what is the type to use?

View 2 Replies View Related

Ubuntu Installation :: RAID 0 And Win7 Dual Boot - Grub Cannot Install

Sep 13, 2010

I'm having serious troubles to install ubuntu-10.04.1. My raid is an hardware raid with intel chipset. Note that win7 is already installed and working with my raid. I made some space from windows, to install Ubuntu (40gb). First, I run the installer, everything seems to be fine. I choose to install Ubuntu were there is the most space free (sorry, I'm not sure about the real terms used there).

Then my partition with the vista loader appears. So the installer can see my raid, and should work fine (everything is detected correctly). But once I'm in the end of the installation (around 95%), a pop-up appears, and tells me that Grub can't install in /dev/sda and it's a fatal error. I can choose an another destination, but it doesn't seems to work.

View 9 Replies View Related

Ubuntu Installation :: 9.10 Wont Boot After Fresh Install - Raid Grub Missing ?

Mar 12, 2010

I had ubu 904 and vista installed on an 80gb drive, i had a spare 80gb drive also. I setup a raid0 config in my bios, then installed ubu9.10 onto it. All was fine until the very end, and then it said grub failed to install.

So i rebooted, and im left with a blinking cursor. How do i install grub? Ive installed ubu a few times now and never had an issue so now im lost.

View 1 Replies View Related

Ubuntu :: Update-grub Fail When Converting To LVM On Luks Partition?

Oct 26, 2010

I'm trying to migrate my LVs over to a Luks volume (prompt on password at boot). Unfortunately, as soon as I add my luks-encrypted physical volume to my volume group, I'm no longer able to update my grub configuration. I've detailed my steps below:

I've created and unlocked my encrypted partition with the following:

Code:
sudo cryptsetup -c aes-cbc-essiv:sha256 -y -s 256 luksFormat /dev/sdb1
sudo cryptsetup luksOpen /dev/sdb1 crypto_agilityssd
My /etc/crypttab looks like this:

[Code].....

View 2 Replies View Related

Ubuntu Installation :: Grub Refuses To Install On Partition

Jan 29, 2010

I have messed up my partitions really bad and grub refuses to install. Here's how it looks:
Code:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 2432 19430617+ 83 Linux
/dev/sda3 2433 60801 468848992+ 5 Extended
/dev/sda5 2433 2930 4000153+ 82 Linux swap / Solaris
/dev/sda6 2931 53535 406484631 83 Linux
/dev/sda7 53536 60801 58364113+ 7 HPFS/NTFS

Initially there was only Linux (Karmic) on this hdd, on what is now sda2 to sda6, current sda2 being the boot partition. Now, I decided to install Windows XP and using GParted I created an NTFS partition at the end, sda7. But it wanted to have his loader on the first one, so (now this is probably stupid what I did) I cut 100MB from Linux root and put it as NTFS at the beginning, making it sda1, boot and letting windows install it's loader there. I figured I can just reinstall grub on it later (think I have missed some tutorials). As you can probably guess, it won't. I formatted sda1 to ext4 now. What I do is run the Live CD (9.10), use terminal, then do

Code:
sudo -i
mkdir /media/boot
mount /dev/sda1 /media/boot
grub-install --recheck --root-directory=/media/boot /dev/sda1
and it goes

Code:
grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.
grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.
grub-setup: error: Cannot read `/grub/core.img' correctly
also, when I do update-grub it says "grub-probe: error: cannot find a device for /."
I tried installing grub on sda2 and flagging it as a boot and still no-go.

View 4 Replies View Related

Fedora Installation :: Install F13 On A Server That Has A 2-disk RAID Setup In The BIOS?

Jul 8, 2010

I'm attempting to install F13 on a server that has a 2-disk RAID setup in the BIOS. When I get to the screen where I select what drive to install on, there are no drives listed. The hard drives were completely formatted before starting the 13 installation. Do I need to put something on them before Fedora will install?

View 3 Replies View Related

Fedora Installation :: Will 13 Allow To Install Grub In Its Own Partition Without Writing Over The MBR

May 23, 2010

My laptop came with a hidden partition for restoring Vista instead of an install disk. I installed Ubuntu 9.04, which had an "Advanced" option that allowed me to install grub in the Ubuntu partition without writing over the MBR. Then I used EasyBCD to add Ubuntu to the Vista boot loader. I wanted to do this so that I can still restore the factory copy of Vista from the hidden partition if I need to. I upgraded the Ubuntu to 9.10, still using grub. When I did a fresh install of Ubuntu 10.04 it went to grub2, and I haven't figured out how to boot into it with EasyBCD yet.But I would like to try Fedora anyway. I will wait a couple of days and get 13.

1. Which grub does Fedora 13 use?

2. Will Fedora 13 allow me to install grub in its own partition without writing over the MBR?

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

Ubuntu Security :: Grub With Luks Support - Encrypting The Boot Partition To Prevent The Kernel From Being Modified?

Mar 9, 2011

Has anyone tried encrypting the boot partition to prevent the kernel from being modified. Iv tried following this but I'm running into issues when building. [URL] Im using the source from bzr checkout [URL] Last time I tried I screwed grub and it wouldnt boot.

View 9 Replies View Related

Ubuntu Installation :: Conemplating A Karmic Install With Software RAID 1?

Jan 26, 2010

I'm running a triple-core AMD 32-bit CPU, with two matched hard drives in a software RAID 1 configuration. The system is single-boot, running Hardy only. I have no Windoze compatibility issues to impede me. In some recent posts, I discussed my desire to add a few non-standard applications to Hardy. Well, it hasn't been working for me. I've succeeded in breaking my standard Python 2.5 installation, and the Python 2.6 that I was trying to install is also broken. After asking questions in various Python forums and not getting answers, I'm starting to think about my alternatives.

I have backed up all my hard-drive data, and downloaded Karmic. I'm running from the Live CD. I am considering a clean install, though of course I would save a lot of time if I could just upgrade.

Before I leap, I see one possible problem: Karmic has failed to mount any of my hard drive partitions, as RAID or otherwise. Should I worry? When I upgraded from Dapper to Hardy on an older (non-RAID) machine, I recall that my hard disk mounted from the Live CD just fine.

Also, am I correct in understanding that Karmic is RAID-aware right out of the box? I'm wondering if I'll have to set it up manually again. That took me a while. By the way, I didn't set up separate partitions for boot, root and home (stupid me). Can I do that after the fact during an upgrade?

View 4 Replies View Related

Debian Configuration :: Can't Correctly Install Grub On RAID Array

Nov 26, 2015

I'm having issues with a RAID array.

Setup is like this:

Debian Jessie, 2 hard disks, each having 2 partitions: /dev/sda1, /dev/sda2, /dev/sdb1, /dev/sdb2. Partitions were paired during installation, so they form /dev/md0 and /dev/md1. /dev/md0 is the root (/) partition, /dev/md1 is for /home.

At the end of the install process, I chose /dev/sda1 to carry Grub. And I think this is where I screwed things up.

After removing one of the hard drives, there was no boot capability. So, I installed Grub on /dev/sdb, too.
Now it displays the boot menu but cannot find the kernel. This is where I got lost in the process.

Do I need to reinstall the OS or is there a way to fix it? I suppose I have to edit Grub.

View 0 Replies View Related

Fedora :: FC9: Forgot - Partition Doesn't Work - Can't Login At The LUKS Login After Grub Starts

Feb 15, 2010

My computer was working this morning and both hard drives were working fine, then all of a sudden for about two hours I was stuck with this "problem", then after fumbling and moving and stablizing things, then Windows works? See below for details. I've finally reinstalled both hard drives, but the one with the Linux partition doesn't work: it says nothing is discovered on the disk. I can't login at the LUKS login after grub starts, therefore I can't get into Linux, but Windows works?! I used to be able to go directly into Grub when the computer starts, I forgot how to do that but it doesn't matter. If you need details I'd be glad to provide them. I just wondered why Linux doesn't work, but Windows does. I have Linux & Windows on two different separate hard drives

View 5 Replies View Related

General :: GRUB Boot - Error: Attempting Boot From Hard Drive (c GRUB)

May 16, 2011

we have an oracle application server on red hat 4.6 upon booting it comes up with error: attempting boot from hard drive (c GRUB)

View 2 Replies View Related

Ubuntu Installation :: Lost Grub Menu After Windows Server 2008 Install?

May 25, 2011

I was getting ubuntu grub menu, and i was able to login to windows xp, windows server 2008 and ubuntu 10.10. Recently there was some problem with windows server 2008 and i had to reinstall it, once i did that i lost my grub menu. now i am getting plain windows menu with option of login into windows xp and windows 2008. So how can i restore the grub menu, so that i can login into all the three os from one point.

View 9 Replies View Related

Ubuntu Installation :: Setup Windows On Server - Lost Grub Now

Aug 9, 2011

I setup windows on my ubuntu server. I loss grub now. What I should do?

View 1 Replies View Related

Ubuntu :: Install On A Second Partition Without Grub?

Mar 20, 2011

What I want to know is it possible to install Ubuntu on a second partition without Grub, just use the Windows boot loader.

View 3 Replies View Related

Ubuntu :: Install GRUB To A Partition Instead Of The MBR?

May 14, 2011

I just installed Windows XP on a seperate partition and now I cant boot from Ubuntu. I have done this before and been able to reinstall grub but this time I cant remember how I did it. I have tried the instructions from here and here but I cant get it to work. I keep getting this error:

ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt/ /dev/sda5 /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea../usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged. /usr/sbin/grub-setup: error: if you really want blocklists, use --force.

[Code]...

View 3 Replies View Related

Ubuntu :: Install Grub To Specific Partition?

May 5, 2010

I have many partition for many different operating systems. I have Windows 7 on partition 2, and Ubuntu on partiton 3. Previously I could use GParted to set the boot flag for the drive to whichever partition I desired. If I set it to partition 2, I got the Windows bootloader, and if I set it to partition 3, I got the Ubuntu bootloader. Now if I set the boot flag to my Ubuntu partition, I get a message something along the lines of "disk not found". I can't recall its exact message at the moment. When setting up Ubuntu the installer has the "Advanced" button on the last page which gives you the option of which partition to install Grub to. Is there any way I can access this again, or a utility that will do the same thing? I have used the grub program in the following way to restore the Ubuntu bootloader

sudo grub
root (hd0,0)
setup (hd0)

but the boot flag is still on my Windows partition, suggesting Grub has overwritten Windows' bootloader. How can I tell grub which partition to install to? I'm using 10.04 and Grub2.

View 3 Replies View Related

Ubuntu :: Install Windows From Partition With Grub?

May 12, 2010

So how can I (e.g. after using dd) boot to this dd'd Windows Installation partition with Grub?

I just want to do this as installing Windows from Hard Drive is much faster.

E: The solution was Unetbootin. Did nothing special myself (defined the .iso path and the partition (/dev/sda4)), the app did all the work.

View 5 Replies View Related

Ubuntu Installation :: Clone 10.04 Server - GPT Partition And Grub

Feb 3, 2011

I have a bunch of computers with the same configuration, so I would like to install Ubuntu only to one master computer and later on just copy the partition layout and the filesystem unto other computers. Previously I was able to simply copy the partition layout (via the sfdisk utility), the filesystem (a simple "cp -a") and install Grub (via script). Now I had to use the parted utility to partition the 2TB drive and Grub2 is the default boot loader.

My questions are now:
1. How do I copy the partition layout from /dev/sda (master) to /dev/sdb (clone)?
2. How do I batch install install Grub2 to the other disk (e.g. /dev/sdb) ?

In Grub 0.97 it used to be something like that:
Code:
# GRUB the disk
grub --no-floppy --batch <<EOF_GRUB
root ($GRUB,0)
setup ($GRUB)
quit
EOF_GRUB .....

In Grub 2 I tried with:
Code:
grub-install --force --root-directory=/mnt/sdb1/ /dev/sdb
Only to get this error: .....

The Grub2 syntax is way different compared to Grub0.97. Yes, I do could use the Grub2-suggested option but since the partition layouts on both partitions are equal, I see little point in setting the BIOS Boot Partition option, since the master computer works without it and I don't remember any error message during the install.

View 9 Replies View Related

Ubuntu :: Install The GRUB Boot Loader On New Partition?

Oct 11, 2010

I want install 10.10 Maverick on a new partition alongside my OS X and 10.04 Lucid installs to see if it works on my machine. I'm a little unsure about some things.

1)Do I need to install the GRUB boot loader on this new partition?

2)Can I use the same swap space or is recommended to create a new swap?

View 5 Replies View Related

Fedora :: Install Grub To Ntfs Partition?

Nov 2, 2010

In HDD with 2 partition
sda1 windows xp (ntfs)
sda2 windows 7 (ntfs)

1. It is possible to install grub?

2. If not, if I create sda3 (ext3), and install grub there and boot both windows will be possible?

View 14 Replies View Related

General :: Windows 7 - Install GRUB To A Partition And Not MBR?

Sep 12, 2010

I am trying to dual boot Windows and Linux. I would like to continue using the Windows bootloader in my MBR.

I installed Windows 7 first. During the install I left some unallocated space that I intended to install Linux.

I found this guide: [URL]

It says to install GRUB to the bootsector of the partition that Linux is being installed to and not the MBR of your hard drive.

I am trying to install Linux Mint Debian to the second partition. When the installer gets to where you are asked to install GRUB the only option is to install GRUB to /dev/sda which I believe is the MBR.

I decided just not to install GRUB and proceeded with the installation.

How can I install GRUB to the bootsector of my Linux partition?

View 2 Replies View Related

Ubuntu Servers :: Grub Error On Hardware Raid 1 / Default Root Device Shows That Prefix=(hd0,1)/grub?

Apr 13, 2011

I'm currently setting up a dell server with hardware raid 1 on sas 6r. i got 4 sas installed on the server and configured to raid 1 as stated below,
array 1:
slot 0 & 1

array 2:
slot 2 & 3

during the installation, the installer detect the array 2 as sda and array 1 as sdb.. so i proceed with installation on array 2. after completed the installation, the first reboot lead me to a 'grub-rescue" prompt. by following the guide at url Mode, i've noticed that the boot folder has changed to (hd1,1), which i believe it has changed to sdb1. default root device shows that prefix=(hd0,1)/grub.

View 3 Replies View Related







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