LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-01-2012, 07:22 AM   #1
Art McClure
Member
 
Registered: Dec 2011
Location: Vero Beach, Florida
Distribution: suse, fedora, pclos, slackware, plan9
Posts: 34

Rep: Reputation: Disabled
delete logical volume (lvm)


I obtained a HDD that had fedora 16 on it. Checking with pmagic I found a logical volume on the drive. Pmagic would not delete it. I basically want to wipe the whole drive, so that I can have 2 computers for slackware, one stable system, and one experimental. Any command or program that will do that?
Other than that, I stopped using pclos and suse. I like slacking better. As L. Torvalds said recently, suse security is a pain. It sorta is.
 
Old 04-01-2012, 07:27 AM   #2
Thom1b
Member
 
Registered: Mar 2010
Posts: 70

Rep: Reputation: 30
Hi,

Delete all partitions with fdisk or cfdisk should be enough to wipe the drive completely. Then you can create your partitions like you want and format them.
 
Old 04-01-2012, 09:41 AM   #3
Art McClure
Member
 
Registered: Dec 2011
Location: Vero Beach, Florida
Distribution: suse, fedora, pclos, slackware, plan9
Posts: 34

Original Poster
Rep: Reputation: Disabled
Thanks very much. I tried fdisk and couldn't delete the lv partition. I then realized that I had to delete the fs first. The HDD is one partition now. Ready to install slackware. (I'm gonna make seperate partitions first.)
 
Old 04-01-2012, 01:32 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,427

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
LVM works just fine with slackware. It's worth learning how to use it.
 
Old 04-01-2012, 01:47 PM   #5
Art McClure
Member
 
Registered: Dec 2011
Location: Vero Beach, Florida
Distribution: suse, fedora, pclos, slackware, plan9
Posts: 34

Original Poster
Rep: Reputation: Disabled
Yeah, I learned a bit of lvm in fedora 16, but was a bit afraid of it, like anything new. It seems more useful for a sys admin with a bunch of servers to maintain. I like the way you can change volume size, if your initial install ratios were a bit off. Volume management is easier too. Once you learn the outs and ins. Its definitely the present and future.
However, I am a computer oaf with a small network. After trying a good number of distros over 14 years, I like slackware. Many very knowledgeable people in the forum. Go to an ubuntu forum and check the messages. Some are very sad. But that's who ubuntu serves.
Thanks for the info. Can I install slackware with lvm on my next computer?
 
Old 04-01-2012, 05:54 PM   #6
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 808

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by Art McClure View Post
Yeah, I learned a bit of lvm in fedora 16, but was a bit afraid of it, like anything new. It seems more useful for a sys admin with a bunch of servers to maintain. I like the way you can change volume size, if your initial install ratios were a bit off. Volume management is easier too. Once you learn the outs and ins. Its definitely the present and future.
However, I am a computer oaf with a small network. After trying a good number of distros over 14 years, I like slackware. Many very knowledgeable people in the forum. Go to an ubuntu forum and check the messages. Some are very sad. But that's who ubuntu serves.
Thanks for the info. Can I install slackware with lvm on my next computer?
You can. Just follow this how to: README_LVM
 
Old 04-01-2012, 07:04 PM   #7
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,427

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
Originally Posted by Art McClure View Post
However, I am a computer oaf with a small network. After trying a good number of distros over 14 years, I like slackware. Many very knowledgeable people in the forum. Go to an ubuntu forum and check the messages. Some are very sad. But that's who ubuntu serves.
Thanks for the info. Can I install slackware with lvm on my next computer?
Well, I liked the fact that I didn't have to guess the correct size of my partitions when I was doing the install. I could fsck it up at install, but as long as I didn't allocate all of my extents to logical volumes, I could always add more stuff to the partitions that needed it. If I needed to make a temporary mount point for something, it was easy to add a new logical volume, mount it, and maybe throw it away when I was done.

I refrained from using LVM for a long time since I thought that it would complicate things. It actually made things easier.
 
1 members found this post helpful.
  


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
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
How to Resize Root LVM Logical Volume??? jdupre Fedora 17 10-02-2010 07:21 AM
LVM and dm-crypt -- best way to encrypt a logical volume? nyle Linux - Newbie 4 01-31-2009 01:53 PM
Shrinking a Logical Volume With LVM jimmyjiang Red Hat 1 02-28-2008 04:45 PM
LVM: The Impact of Reducing a Logical Volume Size? muff Linux - General 0 07-27-2007 02:18 AM


All times are GMT -5. The time now is 12:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration