Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 03-27-2010, 07:40 PM   #1
Registered: Aug 2009
Distribution: linux
Posts: 527

Rep: Reputation: 51
Question lvm: lvcreate -L (all free space)

just wondering if its possible to have lvcreate to fill all remaining free space on a drive?

slackware install using disk layout defined HERE and am not sure how large to make lvm prior to running setup. this is the last volum I will need to create on the drive ( storage ).

Old 03-27-2010, 07:46 PM   #2
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,829
Blog Entries: 1

Rep: Reputation: 1227Reputation: 1227Reputation: 1227Reputation: 1227Reputation: 1227Reputation: 1227Reputation: 1227Reputation: 1227Reputation: 1227
You can always extend it later on to fill up all available space:
lvextend -l +100%FREE /dev/myvg/mylv
Old 03-27-2010, 10:51 PM   #3
Registered: Aug 2009
Distribution: linux
Posts: 527

Original Poster
Rep: Reputation: 51

hey thanks for the info. i followed the method as shown in the link of above and once i get booted i will use the method you posted. However, now i cant get lilo to install to MBR after i added /dev/cryptmine/root which is located on /dev/sda2 to lilo. the error i get is :
Fatal: device-mapper: only linear boot device supported
I am at a loss as to how to correct that issue. My lilo conf is like this:

boot = /dev/cryptslack/root
vga = 773
image = /boot/vmlinuz
 root = /dev/cryptslack/root
 label = mineboxy
Does anyoine have any idea whats going on? I seem to recall something about some errors that would come up during the install tha could be ignored. i still have to mkintrd for the generic kernel for encrypted drive support i think. is that whats causing this? I can't figure out why lilo cant write to the MBR.

thanks in advance,

Old 03-27-2010, 11:00 PM   #4
Registered: Aug 2009
Distribution: linux
Posts: 527

Original Poster
Rep: Reputation: 51
The following is from a post by Eric Hamleers at THIS SITE. Is my problem the "probably not complain" part?

Setup will proceed as usual, but when you get to the point where you are
presented with the lilo configuration dialog, it is almost time to perform
one final manual tweak. Proceed with configuring your lilo as usual, and
select '/dev/myvg/root' as your root filesystem to boot. When you install
lilo, it will probably not complain
, but be aware that having your root
filesystem on a Logical Volume requires an initial ramdisk (initrd). The
Slackware installer will not create it for you, and this requires some
manual intervention after the setup program has finished and you've been
returned to the command prompt. For now, you can continue with the Slackware
setup as usual, but at the end, do not reboot just yet!
Thanks again for any help anyone can give.


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
Determine free space in lvm/xen Environment murksel Linux - Server 1 09-05-2011 07:43 AM
LVM free space problem after resizing the logical volume wdorninger Linux - Enterprise 0 11-06-2009 07:00 AM
LXer: Pain-free disk space management with LVM LXer Syndicated Linux News 0 08-22-2007 12:30 AM
LVM - Extending logical volume - Insufficient free space deim Linux - Newbie 0 04-07-2007 09:47 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:47 PM.

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