Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #237838

Re: encrypt/lvm issue during install.... [WAS: location of screenshots during debian install

From Tixy <tixy@yxit.co.uk>
Newsgroups linux.debian.user
Subject Re: encrypt/lvm issue during install.... [WAS: location of screenshots during debian install
Date 2021-07-28 14:40 +0200
Message-ID <CFR0R-1WL-5@gated-at.bofh.it> (permalink)
References (1 earlier) <CFunD-4d9-3@gated-at.bofh.it> <CFzwZ-7wC-1@gated-at.bofh.it> <CFAt4-86s-5@gated-at.bofh.it> <CFJ3j-5na-1@gated-at.bofh.it> <CFQo9-1vk-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 2021-07-28 at 07:54 -0400, Greg Wooledge wrote:
> On Tue, Jul 27, 2021 at 10:05:54PM -0600, Jupiter777 wrote:
> > so loop-with-no-exit went like:
> > 
> > 
> > -- installer recognized the disk, OK
> > 
> > -- did the 1gb /boot ext2 non-encrypted configured , OK   /dev/sda7
> > 
> > -- 150gb partition, planned to be / with everything in it,
> >    recognized by installer, OK  /dev/sda6
> > 
> > -- configured /dev/sda6 to be / and mount-point /  too , OK
> > 
> > -- went inside the lvm config/manager ....
> > 
> > -- added volume group vg1 off of /dev/sda6 , OK
> > 
> > -- added logical volume lv1 (inside vg1) , OK
> 
> I've never done disk encryption, so I can only speak to the LVM parts
> of this.
> 
> If you're planning to use LVM for everything except /boot, then your
> third and fourth steps above are incorrect.  You don't want to create
> a regular root file system on sda6 if you're planning to use sda6 for LVM.
> 
> What you want to do instead is:
> 
> 1) Create your /boot partition + file system as you did.
> 
> 2) Create a partition to hold the LVM subsystem, but do not mount it.
> 
> 3) Go into the LVM subsystem, and turn your empty partition into a
>    volume group.
> 
> 4) Create logical volumes within the VG for each file system you want,
>    including root.
> 
> However, since you were trying to do encryption as well, you should
> definitely look for advice from someone who has done that.

Between steps 2) and 3) you encrypt the partition.

-- 
Tixy

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

location of screenshots during debian install Jupiter777 <jupiter777@gmx.com> - 2021-07-27 09:20 +0200
  Re: location of screenshots during debian install Stella Ashburne <rewefie@gmx.com> - 2021-07-27 09:40 +0200
  Re: location of screenshots during debian install <tomas@tuxteam.de> - 2021-07-27 11:50 +0200
  Re: location of screenshots during debian install Peter Ehlert <peter@sdi-baja.com> - 2021-07-27 14:30 +0200
    Re: location of screenshots during debian install Jupiter777 <jupiter777@gmx.com> - 2021-07-27 20:00 +0200
      Re: location of screenshots during debian install <tomas@tuxteam.de> - 2021-07-27 20:10 +0200
        Re: location of screenshots during debian install Hello-World <meta4@gmx.com> - 2021-07-27 20:40 +0200
      Re: location of screenshots during debian install Brian <ad44@cityscape.co.uk> - 2021-07-27 21:00 +0200
        Re: encrypt/lvm issue during install.... [WAS: location of  screenshots during debian install Jupiter777 <jupiter777@gmx.com> - 2021-07-28 06:10 +0200
          Re: encrypt/lvm issue during install.... [WAS: location of  screenshots during debian install Greg Wooledge <greg@wooledge.org> - 2021-07-28 14:00 +0200
            Re: encrypt/lvm issue during install.... [WAS: location of  screenshots during debian install Tixy <tixy@yxit.co.uk> - 2021-07-28 14:40 +0200
              Re: encrypt/lvm issue during install.... [WAS: location of  screenshots during debian install Tixy <tixy@yxit.co.uk> - 2021-07-28 15:30 +0200
  Re: location of screenshots during debian install Richard Hector <richard@walnut.gen.nz> - 2021-07-28 01:20 +0200
    Re: location of screenshots during debian install David Wright <deblis@lionunicorn.co.uk> - 2021-07-28 17:30 +0200

csiph-web