LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-10-2012, 01:43 PM   #1
hesisaboury
Member
 
Registered: Dec 2010
Location: iran
Posts: 199

Rep: Reputation: 0
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
 
Old 08-11-2012, 08:54 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
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.
 
Old 08-11-2012, 08:50 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,947

Rep: Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070
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 ?.
 
Old 08-12-2012, 04:53 AM   #4
hesisaboury
Member
 
Registered: Dec 2010
Location: iran
Posts: 199

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to find where is grub installed for a vm on lvm using kvm tkmsr Linux - Virtualization and Cloud 1 10-28-2010 10:52 AM
Gentoo, RAID, LVM, and GRUB error 21 eDog1014 Linux - Software 4 09-22-2008 07:25 AM
What's up with Fedora's LVM & Grub? Voelcker Fedora 9 01-20-2008 11:48 PM
Grub/LVM boot problem jkoshi Fedora 6 02-28-2007 10:48 AM
grub, lilo and LVM help please tredegar Linux - Newbie 3 12-16-2005 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration