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


ADVERTISEMENT

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

Debian Installation :: Manually Booting From GRUB Console Into Crypt -> LVM -> Root

Feb 21, 2015

I'm trying to manually boot (from the GRUB console) into a system set up as follows: crypt partition -> LVM -> root LV, and I'm having some trouble figuring out how to do this from the GRUB console.

I have successfully manually booted a system which is set up as just LVM -> VG -> root LV. All I have to do is load the LVM module. In GRUB, that partition shows up as (hd0,gpt5). Once I load the GRUB LVM module, I can see the logical volume within the LVM as well. (My volume group name is "caesar", and the single logical volume is named "root".)

Code: Select allgrub> ls
... (hd0,gpt5) ...
grub> insmod lvm
grub> ls
... (lvm/caesar-root) ...

It's fairly simple to manually boot:

Code: Select allgrub> set root=(lvm/caesar-root)
grub> linux /vmlinuz root=/dev/mapper/caesar-root
grub> initrd /initrd.img
grub> boot

Where I am having difficulty is in trying to insert crypt before LVM. I can set up such a scheme, and put a minimal installation on it, without issues. It's booting into it upon reboot that I can't figure out. Once I load the GRUB crypto, cryptodisk and luks modules, I can mount the crypto partition:

Code: Select allgrub> ls
... (hd0,gpt5) ...
grub> insmod crypto
grub> insmod cryptodisk
grub> insmod luks
grub> cryptomount (hd0,gpt5)

Attempting to decrypt master key...
Enter passphrase for hd0,gpt5 (<long hex string here>): <type my password>
Slot 0 opened
grub> ls
... (crypto0) ...

At this point, GRUB sees the crypto partition as (crypto0). But the GRUB LVM module doesn't see "inside" of the crypto partition, so I don't see the root logical volume within the LVM listed; all I see is (crypto0).

Code: Select allgrub> insmod lvm
grub> ls
... (crypt0) ...

Setting it as root doesn't work:

Code: Select allgrub> set root=(crypto0)
grub> ls /
error: disk `crypto0' not found.

So, How do I get GRUB to "see" LVM inside the crypto partition?

View 0 Replies View Related

Ubuntu :: Grub - Lost My Windows Partition - Can't Find Menu.lst In /boot/grub

Nov 1, 2010

I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.

After "fdisk -l",

I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?

View 24 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 :: 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

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

Ubuntu :: GRUB 2 : Difference Between 'grub-pc', 'grub-efi' And 'grub-coreboot'?

Jan 6, 2010

I would like to know if there is any differences on how to install and to configure GRUB 2 in the different architectures (BIOS/IBM PC-Compatibles, EFI/MacIntel and Corebbot)? Does the Ubuntu installer automatically recognize the different architectures and install the appropriate GRUB 2 package ('grub-pc', 'grub-efi' or 'grub-coreboot' according to the arch)? Or does it just install 'grub-pc'? Is the location of GRUB 2's configuration files different depending on the arch of the computer? Or are they all located in '/boot/grub/', '/etc/grub/default' and '/etc/grub.d/', no matter the arch of the computer? Are the files' structure and options to configure GRUB 2 ('/etc/grub/default' and the scripts in '/etc/grub.d/') different depending on the arch of the computer?

View 3 Replies View Related

Ubuntu Installation :: GRUB Not Showing Install After Upgrade?

Dec 6, 2010

At first I thought it was a fluke, but it happed on another computer I was a bit late in updating. I'm running 10.04 lucid 32 bit on both computers.

After running the update, everything ran fine. The script ran update-grub and everything seemed ok. However when I rebooted, my laptop booted into GRUB and only showed windows and the recovory partition. Desktop would boot strait into windows with no selection (I knew how to fix it for the desktop since it happed a few days later)

When it first happend on my laptop, I scrounged around trying to repair the OS list, but nothing worked. Eventualy running "grub-install" with the "--root-directory" option on a live CD fixed it.

I'm not sure what is causing the problem, but I think I remember there being an update to GRUB when I ran the updater. The fix works, just a bit of a hassle, but I thought I would bring it to someone's attention in case it happens to them.

View 2 Replies View Related

Ubuntu Installation :: Grub Failed To Install After Upgrade?

May 7, 2011

I started the upgrade and the system is nearly completed but I there is a problem with GRUB.Most likely since I am dual boot with win7. So right now I have a pop-up message that says...GRUB failed to install to the following devices:/dev/sdbDo you want to continue anyway? ect ect ect...I have not rebooted and completed the installation yet as I figure its probably easier to fix this now while I have the full system up and running vs having to fix it via live cd.

View 8 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 :: Grub Not Found - Recover Grub After Windows 7 Install?

Aug 24, 2010

I had to dual boot my computer again with windows unfortunately for school. This is something I've dealt with dozens of times in the past but when I try to recover grub 2 with the ubuntu live cd I get this:

sudo grub
sudo: grub: command not found

View 4 Replies View Related

General :: Edit Grub Menu From Initial Grub Screen - Possible To It's Own 'e' Option Or 'c' From Grub Command Line?

Nov 20, 2010

my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?

View 4 Replies View Related

Ubuntu Installation :: Grub PC 1.98 Lubuntu 6 Failed To Install Or Upgrade

May 30, 2010

I installed a new Ubuntu OS in my computer, (I downloaded it yesterday) on a dual boot pc (windows xp) Installation went smooth until it reached grub-pc. It was installing grub-pc (1.98 lubuntu6). It hanged there for several hours. Finally I interrupted the installation. When I went to the installed packages I got a message telling: Grub-PC 1.98 Lubuntu 6 Failed to Install or Upgrade. I'm pretty new to Linux so I know nothing about it, but I wish to go away from Windows XP.

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

OpenSUSE Install :: Grub Error 17 On SDC2 Partition

Feb 16, 2010

I'm a Windows 7 user attempting to install openSUSE in a partition on a separate hard disk, and am receiving grub error 17 on install. My windows partition is sdb1, and my (hopeful) openSUSE partition is sdc2. When I attempt to redefine the grub config after receiving the error message, there are no mounted drives in my "/dev/" folder to point to, nor can I find the kernel image or RAM disk in my "/boot/" folder.

View 8 Replies View Related

OpenSUSE Install :: 11.3 Grub Bootproblem MRB Vs Root Partition

Jul 22, 2010

First upgrade to 11.3 no problem. Then I got a disk issue. so got an old 80 gig sata drive, config new partition table, format etc. Install perfect as ever.

Then grub failed ....no grub menue.

I changed to MRB boot. this worked but initrd takes a long time and sometime hangs ?!? What could be the issue ? Harddrive?!

View 5 Replies View Related

OpenSUSE Install :: Grub Rescue After Deleting Partition?

Sep 30, 2010

Windows 7 x64 was the only install with a separate boot partition which was already on the Dell laptop. I then shrunk the partition to allow me to put opensuse on. Then I made the stupid mistake of deleting the opensuse and boot partitions while in Windows. I was going to do this, copy pictures of my new born baby off then reboot and delete all stuff and redo all the partitions and installs again.Now I just get grub rescue with the following when I do ls command:(hd0) (hd0,1) (hd0,2)I would like advise on how to get the data off, I cannot afford to lose my babies pics as there are no other copies. I will then do a normal install of opensuse first then Windows 7 after it.

View 6 Replies View Related

General :: Grub-install Via Live CD To GUID Partition?

Jun 27, 2011

How to install grub in /sdb3 /media/{some-uuid} via Live CD?

# mount
# -> /dev/sd3 /media/{some-guid}
# grub-install --force --root-directory=/media/{some-guid} /dev/sda3

View 4 Replies View Related

Software :: Install Grub To Windows Ntfs Partition?

Nov 2, 2010

In HDD with 2 partition

sda1 windows xp
sda2 windows 7

1. It is possible to install grub? (Using live cd)

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

View 4 Replies View Related

OpenSUSE Install :: Grub Does Not Boot / Just Showing A Black Screen Written 'Grub'?

Feb 26, 2010

I've been running openSuse 11.2 for a while on my notebook.Today I turned it off at work and came home. When I tried to turn it on, it boots, shows a black screen written 'GRUB' and then NOTHING. It doesn't complete the boot process.

View 9 Replies View Related

CentOS 5 :: Grub Doesn't Automatically Boot OS After Install, Hangs At Grub Prompt?

Mar 21, 2011

I have used CentOS for a while and have never run into this issue. I searched all over and didn't see a similar issue anywhere, I did an install of CentOS as a server (no GUI) with only the base. Partition is /boot ext3, size of 100MB. The rest of the drive is partitioned as / with ext3. This is being done on a CompactFlash card of 32GB in size. The BIOS sees it as an IDE drive.

When the install completes and the system reboots, the grub stops at the grub> prompt. There is no menu for OS options. If I do the following commands:
grub>root (hd0,0)
grub>kernel /vmlinuz-2.6.18-194.el5 root=LABEL=/
grub>initrd /initrd-2.6.18-194.el5.img
grub>boot

View 19 Replies View Related

OpenSUSE Install :: Commands Make System Boot To Grub Shell Instead Of Grub Menu?

Apr 17, 2010

I started another thread about this to get help booting into openSUSE after Fedora rewrote my bootloader and deleted all other entries. I managed to fix it but I never did find out why the following commands caused my system to boot to the grub shell instead of the grub menu.

Code:
grub
root (hd0,3)
setup (hd0)
quit
reboot

Can anyone explain to me why these commands caused my system to boot directly to a grub shell? It's as if there were no /boot/grub/menu.lst files for it to use, but after I got everything back to normal, the files were still there.

If it helps, this is how the drive was setup before and now, except Fedora was on /dev/sda4 and has since been deleted.

Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 262 2104483+ 82 Linux swap / Solaris
/dev/sda2 263 13316 104856255 83 Linux
/dev/sda3 * 13317 14621 10482412+ 83 Linux

View 6 Replies View Related

OpenSUSE Install :: Upgrade 11.1 To 11.2 Messed Up Boot/grub?

Nov 27, 2009

I just did an upgrade from 11.1 to 11.2 and can not boot to OpenSUSE any more. That happened when the first reboot was starting after finishing the upgrade from the DVD. I tried to find the issue and use the repair system with no luck yet. Now I get no gfx for grub

The only thing I managed is to add the windows boot section for windows but I can not seem to boot to opensuse. device.map:

Code:
(hd1)/dev/disk/by-id/ata-ST3160815AS_5RA2LTD0
(hd2)/dev/disk/by-id/ata-ST3160815AS_5RA2LQCJ
(hd0)/dev/disk/by-id/ata-Maxtor_6L160P0_L31AHTVG
device.map.old

[Code]...

View 9 Replies View Related

OpenSUSE Install :: GRUB Root In Menu.lst After Upgrade To 11.3 ?

Jul 19, 2010

Yesterday I've updated my system from 11.2 to 11.3, fllowing the guide at SDB:System upgrade - openSUSE . Everything went fine (except an error during the installation of batik) but after reboot I got a grub error:

And I couldn't boot

After a CD boot, because I didn't want to try the OpenSUSE 11.2 entry, I saw that the entry for OpenSUSE 11.3 was wrong, see below the entries for 11.3 and 11.2:

Code:

And of course it worked and my updated system works fine

View 3 Replies View Related







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