Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-10-2012, 01:43 PM
|
#1
|
Member
Registered: Dec 2010
Location: iran
Posts: 199
Rep:
|
LVM and Grub
Hello,
i have a server with two hard disk and debian6.0 installed, here is my partitions :
ACTIVE '/dev/vg-g1/boot' [92.00 MiB] inherit
ACTIVE '/dev/vg-g1/root' [13.97 GiB] inherit
ACTIVE '/dev/vg-g1/swap' [1.93 GiB] inherit
=========
PV /dev/sda1 VG vg-g1 lvm2 [8.00 GiB / 0 free]
PV /dev/sdb1 VG vg-g1 lvm2 [8.00 GiB / 0 free]
=========
now i have to reinstall grub but i dont know how to install,
any suggestion,
Thanks
|
|
|
08-11-2012, 08:54 AM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350
Rep: 
|
AFAIK you can't boot from a logical volume.
You need to remove /boot from vg-g1, shrink the volume-group and then create a regular boot-partition.
|
|
|
08-11-2012, 08:50 PM
|
#3
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,416
|
Grub2 supports LVM /boot. I would be astounded if Debian doesn't have this documented.
What do you mean by "now i have to reinstall grub" ?. Re-install the entire package, or update the MBR, or re-fresh the config file or something else ?.
|
|
|
08-12-2012, 04:53 AM
|
#4
|
Member
Registered: Dec 2010
Location: iran
Posts: 199
Original Poster
Rep:
|
thank u all,
as a matter of fact, my linux grub is corrupted , i dont know why , i dont see grub menu .. i think i have to re install it ..
Best regards
Last edited by hesisaboury; 08-12-2012 at 11:17 AM.
|
|
|
All times are GMT -5. The time now is 09:57 PM.
|
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
|
|