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


Groups > linux.debian.user > #258649

Re: virtualisation

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

Show all headers | View raw


On 5/23/23 03:33, mick.crane wrote:
> On 2023-05-22 23:18, David Christensen wrote:
>> 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 had previously installed Ubuntu on this disk,
> after installing Bookworm the Ubuntu EFI option in the BIOS was still 
> there.
> I removed it in the BIOS menu. 


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

https://en.wikipedia.org/wiki/UEFI#Booting


Removing obsolete UEFI NVRAM boot table entries is good housekeeping.


> There was some message in the boot screen 
> in legacy mode
> "Alternate (partition?) corrupted using primary" or something.
> It doesn't seem to have stopped anything working.


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


Did you zero your drive prior to installing Debian?  Perhaps there is a 
leftover GPT secondary partition table on disk.  See below.


> root@pumpkin:~# fdisk -l /dev/sda
> Disk /dev/sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors
> Disk model: KINGSTON SA400S3
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0x7899140a
> 
> Device     Boot     Start       End   Sectors   Size Id Type
> /dev/sda1  *         2048 466862079 466860032 222.6G 83 Linux
> /dev/sda2       466864126 468860927   1996802   975M  5 Extended
> /dev/sda5       466864128 468860927   1996800   975M 82 Linux swap / 
> Solaris
> root@pumpkin:~#
> 
> boot is in /
> Is sda2 something to do with EFI?


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

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


sda1 is an MBR primary partition.

sda2 is an MBR extended partition.

sda5 is a partition within sda2.


Your disk has 468862128 sectors.  A GPT secondary partition table should 
start 33 sectors before the end of the disk:

468862128 - 33 = 468862095

Run the following command to see if there is a GPT secondary partition 
table on your disk:

# dd bs=512 count=33 if=/dev/sda skip=468862095 | hexdump -C


>>> I thought to try this virtualisation.
>>
>> Why?
> 
> I thought maybe I could run a Windows program in a window on Debian 
> desktop.


You have several choices:

https://wiki.debian.org/RunningWindowsPrograms


That said, running Windows directly on hardware is the KISS solution and 
should provide the best usage experience.  Prices on used computers are 
very good right now.


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