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


Groups > linux.debian.user > #244320

Re: is it possible to install bullseye by copy whole disk?

From Stanislav Vlasov <stanislav.v.v@gmail.com>
Newsgroups linux.debian.user
Subject Re: is it possible to install bullseye by copy whole disk?
Date 2022-01-22 13:00 +0100
Message-ID <DIndL-2MO-3@gated-at.bofh.it> (permalink)
References <DGIZ4-6Qf-5@gated-at.bofh.it> <DIj0t-lU-1@gated-at.bofh.it> <DIjjQ-tf-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2022-01-22 12:36 GMT+05:00, lou <loushanguan2015@sina.com>:
> i've installed bullseye on usb disk
>
> can i copy it to hard disk (sda2) and make necessary change in
> /etc/fstab and
>
> then update grub of usb disk to boot sda2?

yes, i do this:
1) make neccessary partitions  and fs and mount them -- man parted,
man mkfs, may be man pvcreate, man vgcreate, man lvcreate, man mount)
2) copy files with xattrs, selabels, capabilities to new place (/boot
to new boot partition, / to new root partition, etc) -- man cp or man
rsync
3) change fstab on new system -- man vi or man nano
4) mount / and after that /boot (if exists) into /mnt and /mnt/boot respectively
5) mount --bind /dev /mnt/dev; mount --bind /sys /mnt/sys; mount
--bind /proc /mnt/proc
6) grub-install /dev/disk # /dev/disk is a device with new /boot part
7) umount all from /mnt

About 15 years ago similar process was used to deploy several hundreds
of new workstations from prepared tar of master image - simply boot
from livecd and unpack system to prepared mountpoint.

If you ask such questions - get some practice on virtual machine
before install on real computer.

-- 
Stanislav

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


Thread

firejail: changing Ethernet network adapter name is breaking Firefox  profile piorunz <piorunz@gmx.com> - 2022-01-17 23:50 +0100
  Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile Darac Marjal <mailinglist@darac.org.uk> - 2022-01-18 00:00 +0100
    Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile piorunz <piorunz@gmx.com> - 2022-01-18 02:30 +0100
  Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-22 08:30 +0100
    is it possible to install bullseye by copy whole disk? lou <loushanguan2015@sina.com> - 2022-01-22 08:50 +0100
      Re: is it possible to install bullseye by copy whole disk? Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-22 09:30 +0100
        Re: is it possible to install bullseye by copy whole disk? lou <loushanguan2015@sina.com> - 2022-01-22 11:00 +0100
      Re: is it possible to install bullseye by copy whole disk? David <bouncingcats@gmail.com> - 2022-01-22 09:30 +0100
      Re: is it possible to install bullseye by copy whole disk? Stanislav Vlasov <stanislav.v.v@gmail.com> - 2022-01-22 13:00 +0100
      Re: is it possible to install bullseye by copy whole disk? Cindy Sue Causey <butterflybytes@gmail.com> - 2022-01-22 13:10 +0100
      Re: is it possible to install bullseye by copy whole disk? David Christensen <dpchrist@holgerdanske.com> - 2022-01-22 18:50 +0100
        Re: is it possible to install bullseye by copy whole disk? Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-22 23:50 +0100
    Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile <tomas@tuxteam.de> - 2022-01-22 10:10 +0100
      Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile piorunz <piorunz@gmx.com> - 2022-01-22 12:40 +0100
      Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile David Wright <deblis@lionunicorn.co.uk> - 2022-01-22 17:00 +0100
        Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile <tomas@tuxteam.de> - 2022-01-22 17:30 +0100
      Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile Greg Wooledge <greg@wooledge.org> - 2022-01-22 17:50 +0100
      Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-23 00:00 +0100
        Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile Tixy <tixy@yxit.co.uk> - 2022-01-23 08:10 +0100
    Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile piorunz <piorunz@gmx.com> - 2022-01-22 12:40 +0100
      Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile David Wright <deblis@lionunicorn.co.uk> - 2022-01-22 17:00 +0100
        Re: firejail: changing Ethernet network adapter name is breaking  Firefox profile Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-23 00:00 +0100

csiph-web