Fedora :: Install Grub2 On LVM2 ?

Nov 26, 2010

I have a working Fedora14 system. /boot is on sda1.

Here is my system:

Code:

I would like to install Grub2 to have /boot in LVM2 as well. Is there a guide for it or can someone help me with this task?

View 5 Replies


ADVERTISEMENT

Debian Installation :: Squeeze Grub2 Error 15 With LVM2 Encrypted Disk?

Feb 9, 2011

This is my specific solution to my specific problem. After updating to Squeeze from my prior Lenny distro (amd64 with whole disk encrytion using LVM2, dm-crypt, LUKS) everything went well - at first. I was duped like so many, thinking that all was well and I could remove the legacy-grub (aka: Grub1) and just use grub-pc (aka: Grub2). As soon as I removed the legacy-grub and rebooted my laptop, I was confronted with:

GRUB Loading stage1.5 GRUB loading, please wait..Error 15 At this point I wasn't sure if it was a Grub problem or a deeper encryption problem - especially after reading that some people had missing packages in Squeeze (lvm2, dm-setup, initramfs-tools, etc.)

Okay, the solution for me.

1. download and burn to disk: debian-live-6.0.0-amd64-rescue.iso[URL]..

2. scroll to and press enter/return on: text rescue

3. choose a root directory - for example: /dev/blah/root (I wrote down the list of possible /dev/.... for reference - this helped me remember where and what I had partitioned in Lenny)

4. choose: Execute a shell in /dev/blah/root

5. once in the shell, I discovered I needed to mount a few of those partitions that I had written down in order to get access to grub-probe, update-grub, grub-install, etc. You may not have to if your partitions are minimal. I you need to use other partitions, type (for example):

[Code]...

View 1 Replies View Related

Fedora :: Win7 Install Changed Part' To Lvm2?

Jun 1, 2010

I've done a search thru the forums on a recent headache but couldn't find anything. now we all know that windows installations knackers the grub boot-up, and it becomes modus-operandi to repair the boot loader, with a live distro. however, in my current dual boot system (vista.sp2/fedora12), i've done a clean install of windows7 over the current windows ntfs partition. as standard, the boot menu would vanish. but when i put in the live-linux cd, gparted now shows the fedora partition (sda6) as LVM2. i'm somewhat of a neophyte with linux, but fedora12, suse11.2 and ubuntu don't seem to yet support this file system. since i don't have critical data on the fedora partition yet, i usually wouldn't mind reformating this part', but the wireless chipset on my laptop cost a fortune on cups of coffee and beer to install, and in addition i used the fedora12 FEL spin and want to keep the installation intact. is there anyway to make the LVM2 indentifier back to ext3 or 4 and repair grub form there (without loosing the current partition kernal etc.)?

View 2 Replies View Related

OpenSUSE :: Lvm2-clvm Will Not Install On 11.3 X86_64

Jan 4, 2011

Running 'zypper install lvm2-clvm' results in a message: Resolving package dependencies... Problem: nothing provides libcpg.so.2()(64bit) needed by lvm2-clvm-2.02.45-16.2.x86_64 Solution 1: do not install lvm2-clvm-2.02.45-16.2.x86_64 Solution 2: break lvm2-clvm by ignoring some of its dependencies So it cannot find the cpg library, which appears to be a part of openais (if I believe google). I have configured the following repositories:

[Code]....

What could be the problem here? Am I just missing a repository or is cluster LVM not supported on opensuse 11.3?

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

OpenSUSE Install :: 11.2 Repair Ext3 Filesystem Within Encrypted Lvm2

Jan 4, 2010

I have two ext3 partitions within an encrypted lvm2 volume. when i start up my system it says that there are 0.3% non contiguous blocks.

This is my steup:

When i want to repair with repair system from dvd it tells me that the repair and check operation for encrypted LVM devices is not supported. so how can i fix my filesystem?

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

Fedora :: Uninstall Grub And Install Grub2 On Fedora 14?

Feb 6, 2011

why is grub2 not in fedora 14 ? Is there any way to uninstall grub and install grub2 on fedora 14 ?

View 3 Replies View Related

Fedora :: Install Grub2 While Still Being Able To Boot Into Windows Or F13?

Nov 13, 2010

I posted recently about some problems with grub2(http://forums.fedoraforum.org/showthread.php?t=254100)
I ran grub-install, it installed fine and when I rebooted it worked, only I was presented with a command line with the message that "Minimal command-line editing is still supported etc". I'm dual-booting with Windows and F13 and I couldn't boot into either of them so I had to reinstall F13 and replace grub. How do I install grub2 while still being able to boot into Windows or F13?

View 2 Replies View Related

Installation :: Safest Procedure To Install 10.4 On An Existing Lvm2 Without Losing My Files/partitions?

Apr 18, 2010

I am planning to install 10.4 when it arrives. And am not going to upgrade because i upgraded from 9.04 to 9.10 so now i need to refresh the system.But I have all my partitions except root using lvm2 logical volumes. My question is : What is the safest procedure to install 10.4 on an existing lvm2 without losing my files/partitions

View 2 Replies View Related

Fedora Hardware :: Remove Unused Space From Vg LVM2?

Nov 23, 2009

This is my situation: on a LVM2 partition, i have shrink a logical volume to free new space for a new partition.

My system-config-lvm screen: http://forums.fedoraforum.org/attach...1&d=1258988216 code...

View 9 Replies View Related

Fedora Installation :: Extend A LVM2 Group On FC13?

Nov 5, 2010

I have installed my Fedora on a LVM2 group and alocated a total of 10 GB. Which of course is abusrdly and ridiculously low space. As a matter of fact I did even more stupid thing - I allocated 4 (four) gigabytes for /swap !

I am complete novice in Linux and fedora, but I want to extend my /root lvm drive with at least 20 gb.

I burned parted magic on a CD and tried to manage the LVM2 grop, but it said LVM2 was not supported in parted magic. And so I tried the Fedora Partition Manager and got lost in what and how. I tried reducing the /swap space and increasing the / space, but failed - I could only select zero Mbytes for swap space, and had the only option of decreasing space for /, which is really not what I want to do.

What I want to do is extend the space for the whole LVM2 Logical Group , which is now 10 GB total for / and /swap. Or at least I'd like to reduce my /swap size and increase my / size.

View 2 Replies View Related

Red Hat / Fedora :: How To Convert Root Filesystem Into LVM2 Configuration?

Jan 22, 2009

i want to know that if i install linux on to my pc with SWAP/ boot as partition and after that i want to convert them to LVM2 type configuration .how can i do that.i want to create a system having logical volumes from that system without reinstalling these partitions should convert into two LV's
LV 0 for root
LV 1 for swap

both in one volume group.

View 1 Replies View Related

Fedora :: Browse Encrypted LVM2 - Unable To Mount Location

Aug 10, 2009

I have no idea what I'm doing so here goes: I installed Fedora and clicked the "encrypted" box during the process. What I want to do now is "browse" the volume using "File Browser" but I only get messages like, "Unable to mount location, org.freedesktop.DeviceKit.Disks.Error.Failed: Not a mountable file system". Why cannot I not see the files? I have the password. I would like to be able to move, delete, rename, etc files but that seems impossible because I cannot access the drive.

View 1 Replies View Related

Fedora Installation :: Unable To Mount 250GB LVM2 Physical Volume

Mar 17, 2011

I just installed linux fedora 14 on my hp probook 4320s with installation CD with this name: Fedora-14-x86_64-Live-Desktop. Then I installed it on the hard disk. During installation I chose to encrypt hard disk. When I try to access my hard disk it says "unable to mount 250GB LVM2 Physical Volume, Not a mountable file system". What can I do to get access to my hard disk?

View 4 Replies View Related

Fedora :: Make LVM2 Indentifier Back To Ext3 Or 4 And Repair Grub

Jun 18, 2011

I've done a search thru the forums on a recent headache but couldn't find anything. now we all know that windows installations knackers the grub boot-up, and it becomes modus-operandi to repair the boot loader, with a live distro. however, in my current dual boot system (vista.sp2/fedora12), i've done a clean install of windows7 over the current windows ntfs partition. as standard, the boot menu would vanish. but when i put in the live-linux cd, gparted now shows the fedora partition (sda6) as LVM2. i'm somewhat of a neophyte with linux, but fedora12, suse11.2 and ubuntu don't seem to yet support this file system.

since i don't have critical data on the fedora partition yet, i usually wouldn't mind reformating this part', but the wireless chipset on my laptop cost a fortune on cups of coffee and beer to install, and in addition i used the fedora12 FEL spin and want to keep the installation intact. is there anyway to make the LVM2 indentifier back to ext3 or 4 and repair grub form there (without loosing the current partition kernal etc.)?

View 5 Replies View Related

Fedora :: Load Grub2 From Grub4dos / Load Directly Grub2 Core Without Passing By Bootstriping Code?

Jan 24, 2011

I want to load grub2 from grub4dos.I want to load directly the grub2 core. I know how to load first 512 bytes from some patition by chainloader and load grub2, but what I need is to load directly grub2 core without passing by bootstriping code (first 512 bytes).So, my first boot manager is grub4dos, then I can load grub2 and later I load Ubuntu. But I think I have to edit --set-root
What I dont know is how.

In hdd 0,7 (sda8) I have Ubuntu 10.10 and /boot/grub/core.img is in sda8 (hd0.7)

I tried this way:

Code:
title grub2
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img

View 2 Replies View Related

Fedora Installation :: Custom - Lvm2 Group With Encryption And Have The /boot File Stored Within?

Oct 15, 2009

I need to install a lvm2 group with encryption and have the /boot file stored within. Is this possible in Fedora's graphical installer? I know it can be achieved in Arch(I know I'll need grub2, I assume that's coming in Fedora 12) I can always install it separately.

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

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

CentOS 5 :: CentOS 5.3 "yum Install Lvm2-cluster" Fails?

Mar 31, 2009

Is this caused by the different version numbers? Is lvm2-cluster going to be updated soon?

[root@localhost ~]# yum install lvm2-cluster
Loaded plugins: dellsysidplugin, fastestmirror
Loading mirror speeds from cached hostfile

[code].....

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

Debian :: Install On Existing Grub2 ?

Feb 21, 2010

I have been using linux for a few years but I am merely an end-user and many things are still beyond me. I have a machine booting XP and Ubuntu 9.10 with grub2. I would like to try Debian as an installed os, and I have used the netinstall and put Debian on sda6.

During the installation I was asked where to put grub...as I did not want to mess up the mbr which has grub 2 I choose to install Debian's grub to itself on /dev/sda6 ...maybe because of the usb-netinstall menu.lst eneded up with (hd 1,5) I changed to 0,5.

Anyway the problem is...after running update-grub from Ubuntu's grub2, Debian shows up, but will not boot. It seems to go most of the way through loading the kernel then Hangs at, "Begin: waiting for root files..."

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

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

Software :: Install Grub2 In Partition Is Possible?

Nov 14, 2010

I tried to install grub2 in partition, not in MBR.I have installed grub4dos in MBR, and I prefer to install grub2 in sda6.sda6 is ext3 formated and has Debian squeeze installed on it.

View 1 Replies View Related

Debian Installation :: Raid LVM Grub2 Will Not Install

Apr 20, 2015

I have created a system using four 2Tb hdd. Three are members of a soft-raid mirrored (RAID1) with a hot spare and the fourth hdd is a lvm hard drive separate from the RAID setup. All hdd are gpt partitioned.

The RAID is setup as /dev/md0 for mirrored /boot partations (non-lvm) and the /dev/md1 is lvm with various logical volumes within for swap space, root, home, etc.

When grub installs, it says it installed to /dev/sda but it will not reboot and complains that "No boot loader . . ."

I have used the supergrubdisk image to get the machine started and it finds the kernel but "grub-install /dev/sda" reports success and yet, computer will not start with "No boot loader . . ." (Currently, because it is running, I cannot restart to get the complete complaint phrase as md1 is syncing. Thought I'd let it finish the sync operation while I search for answers.)

I have installed and re-installed several times trying various settings. My question has become, when setting up gpt and reserving the first gigabyte for grub, users cannot set the boot flag for the partition. As I have tried gparted and well as the normal Debian partitioner, both will NOT let you set the "boot flag" to that partition. So, as a novice (to Debian) I am assuming that "boot flag" does not matter.

Other readings indicate that yes, you do not need a "boot flag" partition. "Boot flag" is only for a Windows partition. This is a Debian only server, no windows OS.

View 5 Replies View Related







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