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


Groups > linux.debian.user > #204307

Re: Migrate Stretch to New UEFI Build?

From deloptes <deloptes@gmail.com>
Newsgroups linux.debian.user
Subject Re: Migrate Stretch to New UEFI Build?
Date 2019-01-11 08:40 +0100
Message-ID <xeZA5-1Cy-3@gated-at.bofh.it> (permalink)
References <xeSoV-5yY-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Patrick Bartek wrote:

> 
> Building a new UEFI system to supplant my "showing its age" 12 year old
> non-UEFI, MBR-only system, and don't want to do a clean install of
> Stretch.  Cloning drive and converting to GPT is out. I want only to
> migrate the Stretch install out of the others there. Any links
> or suggestions as to the best way to do this will be greatly
> appreciated.
> 
> 
> I have done this before, but only with a MBR system & drives. Plus, I
> want to have a common-shared  /boot partition for possible future
> upgrades or expansions.
> 
> Here's a general procedure gleaned from numerous sources, none which
> individually covered exactly my circumstances. All the steps will take
> place on the new UEFI system as root.
> 
> 
> 1. Boot New System with 64-bit hybrid LiveCD since I already have I
> one  . . . somewhere ;-) Check it booted into UEFI mode.
> 
> 2. Partition new drive appropriately in GPT and format
> 
> 3. Mount appropriate partitions of both drives
> 
> 4. Use rsync to copy contents of corresponsing partitions -- Old to New
> 
> 6. Edit fstab on migrated system: new UUIDs; add mount line for /boot
> partition, etc. Copy contents of /boot directory to /boot partition.
> Add efi directory to new /boot partition.
> 
> 7. chroot to system on new drive
> 
> 8. Install all necessary efi files, efi-grub especially, etc. (They are
> not installed on old system.  MBR only, remember . . .)
> 
> 9. Create new system map, initrd image, etc., for each kernel. Install
> grub
> 
> 10.  Shutdown, remove old drive.
> 
> 11. Boot. Hope it works. ;-)
> 
> 
> Any caveats?  Glaring errors?  Suggestions?
> 
> Thanks
> 
> B

there was a post yesterday that /boot/efi is dedicated partition formated in
FAT32 while /boot may be ext4.

I also plan to migrate to UEFI boot in Feb. :)

regards

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


Thread

Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-11 01:00 +0100
  Re: Migrate Stretch to New UEFI Build? deloptes <deloptes@gmail.com> - 2019-01-11 08:40 +0100
    Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-12 02:10 +0100
      Re: Migrate Stretch to New UEFI Build? deloptes <deloptes@gmail.com> - 2019-01-12 08:30 +0100
  Re: Migrate Stretch to New UEFI Build? Michael Stone <mstone@debian.org> - 2019-01-11 13:20 +0100
    Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-12 02:00 +0100
      Re: Migrate Stretch to New UEFI Build? Michael Stone <mstone@debian.org> - 2019-01-12 03:20 +0100
        Re: Migrate Stretch to New UEFI Build? Glenn Holmer <glenn.holmer@gmail.com> - 2019-01-12 17:30 +0100
        Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-13 03:10 +0100
          Re: Migrate Stretch to New UEFI Build? Stefan Monnier <monnier@iro.umontreal.ca> - 2019-01-13 15:40 +0100
            Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-13 21:20 +0100
              Re: Migrate Stretch to New UEFI Build? deloptes <deloptes@gmail.com> - 2019-01-13 23:20 +0100
                Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-14 23:30 +0100
                Re: Migrate Stretch to New UEFI Build? deloptes <deloptes@gmail.com> - 2019-01-14 23:50 +0100
                Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-16 00:00 +0100
              Re: Migrate Stretch to New UEFI Build? Stefan Monnier <monnier@iro.umontreal.ca> - 2019-01-14 04:40 +0100
                Re: Migrate Stretch to New UEFI Build? Patrick Bartek <nemommxiv@gmail.com> - 2019-01-14 23:40 +0100

csiph-web