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