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


Groups > linux.debian.user > #184194

Re: From dual- to single-boot

From solitone <solitone@mail.com>
Newsgroups linux.debian.user
Subject Re: From dual- to single-boot
Date 2017-07-25 07:20 +0200
Message-ID <u70qe-764-9@gated-at.bofh.it> (permalink)
References <u6Mng-61e-15@gated-at.bofh.it> <u6QTU-GA-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Monday, 24 July 2017 21:01:37 CEST Pascal Hambourg wrote:
> AFAIK, parted (the command line program) cannot move the start of a
> partition and its contents. Only gparted (the GUI program) can.

Yes, Pascal, you're right:
> Note that after version 2.4, the following commands were removed:
> check, cp, mkfs, mkpartfs, move, resize.
[1]

I can't remember: is gparted available in debian's installation media? 
Otherwise I could try and run gparted live [2].

> With LVM you could have just created a new partition, use it as a
> physical volume (PV) to extend the volume group (VG) and use the new
> available space to extend or create logical volumes (LV).

When I installed I thought LVM would be overkill for a laptop, instead it 
would have been the right choice.

> With btrfs instead of ext4, you could have used a new partition to
> extend the existing filesystem.

Good to know. I chose ext4 simply because.. it was the default!

> - create an image of the partition with dd, partclone, partimage,
> clonezilla... (it must not be mounted read/write)
> - back up the filesystem contents with cp -a, rsync...
> 
> The image has the advantage of saving the filesystem metadata (UUID,
> LABEL...)

Thanks, these were the hints I needed. I think I'll go for the image.

[1] https://www.gnu.org/software/parted/manual/html_node/Command-explanations.html#Command-explanations
[2] http://gparted.org/livecd.php
-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁    Sent from my brain using neurons fueled by glucose.
⢿⡄⠘⠷⠚⠋⠀ 
⠈⠳⣄

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


Thread

From dual- to single-boot solitone <solitone@mail.com> - 2017-07-24 16:20 +0200
  Re: From dual- to single-boot Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-07-24 21:10 +0200
    Re: From dual- to single-boot solitone <solitone@mail.com> - 2017-07-25 07:20 +0200
      Re: From dual- to single-boot Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-07-25 19:50 +0200
  Re: From dual- to single-boot Felix Miata <mrmazda@earthlink.net> - 2017-07-24 21:50 +0200
  Re: From dual- to single-boot Joel Rees <joel.rees@gmail.com> - 2017-07-25 07:30 +0200
    Re: From dual- to single-boot solitone <solitone@mail.com> - 2017-07-25 07:50 +0200
      Re: From dual- to single-boot Joel Rees <joel.rees@gmail.com> - 2017-07-26 00:00 +0200

csiph-web