| Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-14-2011, 10:54 AM
|
#1
|
|
Member
Registered: Oct 2010
Distribution: Arch
Posts: 136
Rep:
|
load the kernel from LVM /boot partition.
I have /boot and /root that I have copy to a new one lvm volume.
I am try to boot my system through it but can't do that, it seems that all I need is to know what syntax to use on Grub2.
I have an uninteresting with lvm support in it, and I am still able to boot the system with the old partitions.
I didn't created a new grub.cfg file yet, since I want to test it without do it yet.
I need to know what syntax I need to use when I am try to boot from an lvm volume (that contain both /boot and /root as one partition).
I have Grub2 and Arch Linux if that helps.
Thanks.
|
|
|
|
11-14-2011, 03:36 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,702
|
You can't boot from lvm. The grub bootloader is very simplistic and has to be crammed into a very small amount of space, so can not contain enough code to read an LVM file system.
|
|
|
|
11-15-2011, 01:16 AM
|
#3
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
The default installation for Fedora installs a boot partition, and an lvm volume. The kernel needs to be loaded to assemble the LVM volume, and create the devices for the logical volumes. So /boot is kept separate. The same is true for most Raid volumes. The exception being mirrored raid, where grub can read from one of the disks. Even this isn't recommended.
|
|
|
|
11-15-2011, 02:30 AM
|
#4
|
|
Member
Registered: Oct 2010
Distribution: Arch
Posts: 136
Original Poster
Rep:
|
So what is so special about Grub2 and lvm, as i have understnd it can boot through an lvm volume.
Read about it here:
https://wiki.archlinux.org/index.php/Grub2#LVM
|
|
|
|
11-15-2011, 02:42 AM
|
#5
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,702
|
dammit, i hate things changing!! I still wouldn't though. it might look ugly or something, but the simplicity you get from a dedicated /boot is significant.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:44 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|