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


Groups > linux.debian.user > #258617

Re: virtualisation

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: virtualisation
Date 2023-05-23 00:20 +0200
Message-ID <Gym2J-aKMJ-3@gated-at.bofh.it> (permalink)
References <GyiLv-aIHO-3@gated-at.bofh.it> <GyiLv-aIHO-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 5/22/23 11:43, mick.crane wrote:
> This is a request for best practice, perceived knowledge.
> For one reason and another this PC/Workstation (what is the difference?)
> boots in legacy mode. It was something to do with the SS usb port not 
> booting the installer in EFI mode.
> I forget exactly.
> Anyway, it's a niggle that it is legacy mode and changing a working 
> system seems a palaver.
> As I have the /home stuff all being/copied onto another disk I thought 
> I'd reinstall and try to get it tidy.


Why do you think legacy mode is untidy?


I do not use multi-boot; I install mobile racks in my computers and put 
each OS instance on its own drive.  This allows me to use BIOS/ MBR/ 
legacy mode, which is simpler to install and simpler to image/ clone:

1.  No UEFI boot variables/entries to create; BIOS/MBR detects devices 
connected to interfaces and I use Setup to set the boot order.  (I also 
set "Boot USB Devices First", so I can boot a live USB stick without 
having to touch Setup.)  In UEFI mode, I must use Setup to create a boot 
table entry that includes the correct bootloader file in the correct 
ESP.  Once I have a correct UEFI boot entry, then I can set the boot 
order.  These UEFI steps are inobvious if you have never heard of them, 
and there is more than one way to screw it up (pick the wrong ESP or 
wrong bootloader file).

2.  No ESP confusion.  I attempted to create a Debian bootable USB stick 
using d-i in "Install" mode on a computer with an NVMe drive and Windows 
10.  d-i did not ask me where to put GRUB; d-i automatically added 
entries into the ESP on the NVMe drive (!).  This made the USB flash 
drive unbootable in any other computer and made the boot table entry 
useless whenever the USB stick was not connected.

3.  No GPT secondary partition table.  I install BIOS/ MBR with a 1 GB 
boot partition, 1 GB encrypted swap partition, and 13 GB encrypted root 
partition.  Once I have Debian installed on a 16+ GB HDD, SSD, or USB 
flash drive, I can boot alternate media and copy the system drive from 
LBA 0 through the end of the root partition to a file on a USB HDD.  I 
can later reverse the process onto the same system device or onto any 
other 16+ GB device, and the restored Debian instance "just works". 
With GPT, there is a secondary/ backup partition table located at the 
end of the device.  This forces you into to less flexible imaging 
choices: copy the entire device and restore onto a device of exactly the 
same size, copy the entire device and fix the GPT secondary table after 
restoring onto a device of different size, copy from LBA 0 to the end of 
the root partition then add a GPT table after restore, copy LBA 0 
through the end of root in one piece, copy the GPT secondary table in 
another piece, restore the first piece, do the math, and restore the 
second piece, etc..


> I thought to try this virtualisation.


Why?


> Q1. Would openbox be the one to go for?
> Things I use work happily on Bookworm but seems openbox is only 
> available in Sid for now.
> Should I try to build openbox or try to get it from Sid if OpenBox is 
> what I want?
> I have purchased 64Gb of this DIMM memory for the experimentation.
> 
> mick


https://en.wikipedia.org/wiki/XY_problem


David

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


Thread

virtualisation "mick.crane" <mick.crane@gmail.com> - 2023-05-22 20:50 +0200
  Re: virtualisation Dan Ritter <dsr@randomstring.org> - 2023-05-22 21:30 +0200
    Re: virtualisation Mark Allums <maa@allums.com> - 2023-05-22 21:40 +0200
      Re: virtualisation "Andrew M.A. Cater" <amacater@einval.com> - 2023-05-22 21:50 +0200
    Re: virtualisation Dan Ritter <dsr@randomstring.org> - 2023-05-22 22:40 +0200
  Re: virtualisation David Christensen <dpchrist@holgerdanske.com> - 2023-05-23 00:20 +0200
    Re: virtualisation Charles Curley <charlescurley@charlescurley.com> - 2023-05-23 15:10 +0200
    Re: virtualisation David Christensen <dpchrist@holgerdanske.com> - 2023-05-24 00:10 +0200
      Re: virtualisation David Christensen <dpchrist@holgerdanske.com> - 2023-05-24 10:40 +0200
        Re: virtualisation David Christensen <dpchrist@holgerdanske.com> - 2023-05-24 20:50 +0200
      Re: virtualisation Michael <ml@hemathor.de> - 2023-05-26 10:20 +0200
        GPT backup table, was Re: virtualisation "Thomas Schmitt" <scdbackup@gmx.net> - 2023-05-26 11:50 +0200
          Re: GPT backup table, was Re: virtualisation David Christensen <dpchrist@holgerdanske.com> - 2023-05-26 12:50 +0200
          Re: GPT backup table, was Re: virtualisation Michael <ml@hemathor.de> - 2023-05-27 11:40 +0200
            Re: GPT backup table, was Re: virtualisation Dan Ritter <dsr@randomstring.org> - 2023-05-27 17:50 +0200
            Re: GPT backup table, was Re: virtualisation David Christensen <dpchrist@holgerdanske.com> - 2023-05-28 05:20 +0200
          Re: GPT backup table, was Re: virtualisation zithro <slack@rabbit.lu> - 2023-05-27 19:20 +0200
            Re: GPT backup table, was Re: virtualisation Stefan Monnier <monnier@iro.umontreal.ca> - 2023-05-27 20:00 +0200
        Re: virtualisation David Christensen <dpchrist@holgerdanske.com> - 2023-05-26 12:40 +0200
    Re: virtualisation Max Nikulin <manikulin@gmail.com> - 2023-05-25 18:30 +0200

csiph-web