AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / ubuntu / 问题

All perguntas(ubuntu)

Martin Hope
TheTomatoGuy
Asked: 2025-04-17 10:31:37 +0800 CST

Por que não consigo instalar o Ubuntu 22.04 neste hardware?

  • 5

Estou perplexo depois de dois dias de travamentos na instalação tentando carregar o Ubuntu 22.04 como único sistema operacional neste hardware:

  • Placa-mãe: ASUS 10XDAi1/C 2016

  • BIOS: Aptios Setup Utility v3.4, AHCI habilitado, Secure Boot desabilitado, UEFI habilitado (Legacy desabilitado)

  • /dev/nvme0n1: Intel NVMe 1.2TB SSDPEDMW012T4; tentando instalar o sistema operacional aqui.

  • /dev/nvme0n2: WD_BLACK 4 TB AN1500 NVMe interno para computação grande; SO não instalado aqui.

  • GPU: NVIDIA GeForce GTX 960

Anteriormente, eu usava o Windows 10/WSL1 neste hardware, mas quero me afastar do Windows permanentemente. O Windows 10 foi limpo antes de tentar instalar o Ubuntu 22.04.iso a partir de um USB inicializável.

A sessão Live do Ubuntu 22.04 funciona bem após a instalação a partir de um pendrive inicializável criado com Etcher ou Rufus (tentei ambos e vários pendrives). A inicialização da sessão Live a partir do menu do GRUB requer a adição de recursos, nomodeset noapic acpi=offe o Safe Graphics não resolve esse requisito. Em seguida, tentei instalar o Ubuntu 22.04 a partir /dev/nvme0n1do aplicativo "Instalar 22.04" na área de trabalho durante uma sessão Live.

As configurações padrão de instalação incluem: distribuição normal, download de atualizações durante a instalação e instalação de software de terceiros para gráficos e Wi-Fi. Selecionei " Apagar disco e instalar o Ubuntu" . Optei por "Fazer login automaticamente". Quase tudo instala, mas sempre trava ao final da instalação.

Mensagem de erro: Não foi possível instalar o Grub em /dev/nvme0n1. A execução de 'grub-install /dev/sda falhou'. Este é um erro fatal.

Tentei várias sugestões online relacionadas a essa mensagem de erro, mas nenhuma delas resolveu meu problema de instalação neste hardware. Se eu não adicionar nomodeset noapic acpi=offo comando à inicialização do GRUB (via "e"), o Ubuntu inicia, mas nunca passa da tela de logotipo do Ubuntu com uma roda girando continuamente. Também tentei instalar a versão 24.04 LTS, mas também não tive sorte. Quando instalo o Ubuntu 15.10 a partir de um CD de instalação antigo do Ubuntu, ele instala e funciona perfeitamente neste hardware.

nvidia
  • 1 respostas
  • 57 Views
Martin Hope
PiQuark6046
Asked: 2025-04-17 05:30:18 +0800 CST

Todos os dispositivos USB não funcionam antes de recarregar o módulo do kernel xhci_pci

  • 5

Estou usando o ThinkPad ThunderBolt 4 Smart Dock (40B0) para expandir a capacidade de conexão do meu HP OMEN Gaming de 16,1 polegadas (wf1037TX) no Ubuntu 24.10. Depois de usar meu laptop por um tempo, todos os dispositivos USB — incluindo as portas do laptop e do dock — não funcionam antes de recarregar o xhci_pcimódulo do kernel ( sudo modprobe -r xhci_pci && sudo modprobe xhci-pci) ou reinicializar. Você pode me dar uma dica para resolver esse problema?

Resultado de lsusb:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 17ef:30ba Lenovo V1003
Bus 001 Device 003: ID 0408:548d Quanta Computer, Inc. HP True Vision FHD Camera
Bus 001 Device 004: ID 17ef:30b4 Lenovo ThinkPad Thunderbolt 4 Dock MCU Controller2
Bus 001 Device 005: ID 17ef:30b5 Lenovo 40B0
Bus 001 Device 006: ID 17ef:30b7 Lenovo USB2.0 Hub             
Bus 001 Device 007: ID 046d:0af7 Logitech, Inc. PRO X 2 LIGHTSPEED
Bus 001 Device 008: ID 17ef:30b9 Lenovo USB2.0 Hub             
Bus 001 Device 009: ID 8087:0036 Intel Corp. 
Bus 001 Device 010: ID 17ef:60ee Lenovo TrackPoint Keyboard II
Bus 001 Device 011: ID 046d:c548 Logitech, Inc. Logi Bolt Receiver
Bus 001 Device 012: ID 17ef:30bb Lenovo ThinkPad Thunderbolt 4 Dock USB Audio
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 002: ID 8087:0b40 Intel Corp. USB3.0 Hub
Bus 004 Device 003: ID 17ef:30b6 Lenovo USB3.1 Hub             
Bus 004 Device 004: ID 17ef:30b8 Lenovo USB3.1 Hub             
Bus 004 Device 005: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter

O importante log do kernel:

Apr 16 21:41:06 kernel: nvme 0000:46:00.0: platform quirk: setting simple suspend
Apr 16 21:39:38 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:39:38 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:39:35 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:39:35 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:39:32 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:39:32 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:39:29 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:39:29 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:39:26 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:39:26 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:39:23 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:39:23 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:39:20 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:39:20 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:39:17 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:39:17 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:39:11 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:39:11 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:39:08 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:39:08 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:39:05 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:39:05 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:39:02 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:39:02 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:59 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:59 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:56 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:56 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:53 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:53 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:50 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:50 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:47 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:47 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:44 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:44 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:41 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:41 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:38 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:38 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:35 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:35 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:32 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:32 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:29 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:29 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:26 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:26 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2
Apr 16 21:38:23 kernel: usb 1-6: Failed to suspend device, error -32
Apr 16 21:38:23 kernel: xhci_hcd 0000:00:14.0: USB core suspending port 1-6 not in U0/U1/U2

Resultado de uname -a:

Linux piqua-Laptop 6.11.0-21-generic #21-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 19 16:50:40 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

A versão atual do firmware do dock é 10.18.

usb
  • 1 respostas
  • 77 Views
Martin Hope
Glyn Evans
Asked: 2025-04-16 14:49:34 +0800 CST

Como abro um arquivo csv no Ubuntu?

  • 5

Tenho o Ubuntu 24.04.2 LTS. Estou usando um programa para Windows (com WINE) cuja saída é um arquivo CSV. Gostaria de baixar essa saída para o meu computador. Em algum momento, gostaria de recarregá-la no programa para compará-la com outros dados. O programa recomenda o Excel. Qual é a maneira mais elegante de fazer isso? Muito obrigado.

csv
  • 1 respostas
  • 55 Views
Martin Hope
Mario Palumbo
Asked: 2025-04-16 07:27:32 +0800 CST

bash -c "..." - comandos executados da direita para a esquerda

  • 3

Este comando funciona conforme o esperado:

$(echo 10 > file.txt)cat file.txt; $(echo 5 > file.txt)cat file.txt

Saída:

10
5

Este, no entanto, não:

bash -c "$(echo 10 > file.txt)cat file.txt; $(echo 5 > file.txt)cat file.txt"

Saída:

5
5

Ainda mais estranho é esse comportamento:

bash -c "$(echo 10 > file.txt)cat file.txt; rm -f file.txt; $(echo 5 > file.txt)cat file.txt"

Saída:

5
cat: file.txt: No such file or directory

Mesmo adicionando sono:

bash -c "$(echo 10 > file.txt)cat file.txt; sleep 1; rm -f file.txt; sleep 1; $(echo 5 > file.txt)cat file.txt"

você obtém um comportamento de ficção científica, a mesma saída de antes:

5
# 2 seconds wait...
cat: file.txt: No such file or directory

Quase parece que a ordem dos comandos é da direita para a esquerda.
Como tal estranheza é concebível?

EDITAR:

@steeldriver com x

Entrada:

bash -c "$(echo 10 > file.txt)cat file.txt; $(echo 5 > file.txt)cat file.txt"

Saída:

++ echo 10
++ echo 5
+ bash -c 'cat file.txt; cat file.txt'
5
5
command-line
  • 1 respostas
  • 99 Views
Martin Hope
eltomito
Asked: 2025-04-16 05:44:55 +0800 CST

Como instalo plugins de filtro com o GIMP 3.0 flatpak?

  • 7

Instalei o GIMP 3.0 como Flatpak e não sei como instalar um filtro gegl personalizado.

De acordo com o tutorial do filtro do GIMP, eu deveria criar o filtro como uma .sobiblioteca e copiá-lo para esta pasta gegl: $HOME/.local/share/gegl-0.4/plug-ins. Mas onde fica essa pasta quando uso o Flatpak?

Em Preferências → Pastas → Plug-ins, vejo que o GIMP supostamente procura ~/.var/app/org.gimp.GIMP/config/GIMP/3.0/plug-ins, mas se eu copiar meu arquivo test-filter.sopara lá, ele não aparece no menu de filtros.

Eu corri:

flatpak run org.gimp.GIMP --verbose

mas a saída do console não mostra o GIMP procurando nada nessa pasta.

Agradeço sua ajuda!

gimp
  • 1 respostas
  • 70 Views
Martin Hope
John K
Asked: 2025-04-15 04:51:04 +0800 CST

Libreoffice - atualizado para o Libreoffice 25.2 Não abre A loja de aplicativos mostra o Libreoffice 24.8.6.2 como a versão estável mais recente

  • 6

Desde que aceitei uma atualização recente, o LibreOffice não abre. Ao verificar, ele foi atualizado para o LibreOffice 25.2. Se eu abrir a Central de Aplicativos, ele lista o LibreOffice 24.8.6.2 como a versão estável mais recente. Instalei o LibreOffice 24.8.6.2 a partir da Central de Aplicativos e agora ambos estão listados, mas apenas a 24.8.6.2 abre. Tentei desinstalar o LibreOffice 25.2 usando o Synaptic, sem sucesso. Quando tento abrir um arquivo .odt, o padrão é 25.2 e tenho que selecionar "abrir com" para que ele abra com o arquivo que funciona. Como posso me livrar do LibreOffice 25.2?
Estou usando o Ubuntu 24.04.2 LTS.

OK Resolvido - Executei 'sudo snap remove libreoffice' como sugerido. Parece que o LibreOffice 24.8.6.2 foi removido - a versão que estava funcionando, mas agora o LibreOffice 25.2 funciona? Então, de alguma forma, o problema foi resolvido.

software-center
  • 1 respostas
  • 42 Views
Martin Hope
Archisman Panigrahi
Asked: 2025-04-15 02:39:12 +0800 CST

Como alterar a cor da ponta da seta no Inkscape?

  • 6

Estou usando o Inkscape 1.4 (PPA) no Ubuntu 24.04.

Aparentemente, não há como alterar a cor da ponta da seta. Se eu alterar a cor em Preenchimento e Traçado, a cor do corpo da seta muda, mas não a da ponta. Como alterar a cor da ponta da seta?

inkscape
  • 1 respostas
  • 22 Views
Martin Hope
erantun
Asked: 2025-04-15 00:32:33 +0800 CST

Ubuntu 24.04 não inicializa após a instalação

  • 5

Recentemente instalei o Ubuntu 24.04 (versão básica, sem versão) em um laptop Asus-K56CM bem antigo com Windows 10 (originalmente 8), o processador é um Intel Core i5-3317U @ 1,70 GHz, RAM 6 GB.

Usei um pendrive com uma imagem seguindo o guia aqui:

https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview

Inicialmente, a única opção era "Instalação manual", então optei pelo particionamento manual. Ao reiniciar após a instalação, apareceu apenas uma tela cinza com a mensagem "Reinicializar e selecionar o dispositivo de inicialização adequado". Se eu acessar a BIOS, por algum motivo, não há opção de inicialização, exceto o leitor de DVD.

Configurações do BIOS:

Configurações do BIOS

Não há BitLocker e a Inicialização Segura está desabilitada. A máquina não utiliza UEFI.

Tentei várias coisas, incluindo alterar a configuração da partição, usando o GParted e o boot-recovery, sem sucesso. Minha última tentativa foi instalar: com "Apagar disco e instalar o Ubuntu" e executando o boot-recovery. Aqui está o que me aconteceu: https://paste.ubuntu.com/p/gc65vWYzFM/

============================= Boot Repair Summary ==============================

User choice:

Is there RAID on this computer? no


==================== blkid (filtered) before lvm activation ====================

/dev/mapper/ubuntu--vg-ubuntu--lv: UUID="21e4a4ac-1406-485c-9aa7-7ad38bde3982" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sda2: UUID="c9562c9e-14e2-4bd8-9297-b9af9d6f0caa" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="536b7359-0e53-4c51-b62a-9b79c176e922"
/dev/sdb1: BLOCK_SIZE="2048" UUID="2025-02-15-09-15-26-00" LABEL="Ubuntu 24.04.2 LTS amd64" TYPE="iso9660" PARTLABEL="ISO9660" PARTUUID="b0ef6ca3-60d1-4a21-98d8-17c385a8b6f8"
/dev/sdb4: LABEL="writable" UUID="5ea05c3f-fa80-47e0-92bc-d603d4e598ec" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="eba6f7e3-c69f-43fc-8c59-a173f0c8186a"
/dev/sdb2: SEC_TYPE="msdos" LABEL_FATBOOT="ESP" LABEL="ESP" UUID="B5A5-8010" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="Appended2" PARTUUID="b0ef6ca3-60d1-4a21-98db-17c385a8b6f8"
/dev/sda3: UUID="3fOHux-W0uD-OVaI-N34n-LX43-bN07-7bWeud" TYPE="LVM2_member" PARTUUID="19cb9cf0-3c59-44a5-9492-8468a123443e"
/dev/sdb3: PARTLABEL="Gap1" PARTUUID="b0ef6ca3-60d1-4a21-98da-17c385a8b6f8"
/dev/sda1: PARTUUID="8903a4d5-4e6f-4b5e-8e76-9f5c58edd3fa"


================================ LVM activation ================================

modprobe dm-mod  
vgscan --mknodes
  Found volume group "ubuntu-vg" using metadata type lvm2
vgchange -ay
  1 logical volume(s) in volume group "ubuntu-vg" now active
lvscan
  ACTIVE            '/dev/ubuntu-vg/ubuntu-lv' [<929.51 GiB] inherit
blkid -g




[dmraid -sa -c] no
[dmraid -sa -c] raid
[dmraid -sa -c] disks
[dmraid -sa -c] no
[dmraid -sa -c] raid
[dmraid -sa -c] disks

=================== /boot detected. Please check the options.

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will purge (in order to enable-lvm) and reinstall the grub2 of
mapper/ubuntu--vg-ubuntu--lv into the MBR of sda,
using the following options:  sda2/boot
Grub-efi will not be selected by default because no ESP detected.
Additional repair will be performed: unhide-bootmenu-10s


/boot added in mapper/ubuntu--vg-ubuntu--lv/fstab
Mount /dev/sda2 on /mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv/boot
chroot /mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv apt-get -y update
Purge the GRUB of /dev/mapper/ubuntu--vg-ubuntu--lv
grub-pc available


0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 90 not upgraded.
DEBCHECK debOK, grub-pc
DEBCHECK debOK
Please type: sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv" dpkg --configure -ansudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv" apt-get install -fynsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv" apt-get install -y lvm2nsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv" apt-get purge --allow-remove-essential -y grub-com*nsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv" apt-get purge --allow-remove-essential -y grub2-com*nsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv" apt-get purge --allow-remove-essential -y shim-signednsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv" apt-get purge --allow-remove-essential -y grub-common:*nsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv" apt-get purge --allow-remove-essential -y grub2-common:*n
Then type: sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv" apt-get install -y grub-pc

Unhide GRUB boot menu in mapper/ubuntu--vg-ubuntu--lv/etc/default/grub

========== Reinstall the grub-pc of /dev/mapper/ubuntu--vg-ubuntu--lv ==========

chroot /mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv grub-install --version
grub-install (GRUB) 2.12-1ubuntu7.1

==> Reinstall the GRUB of /dev/mapper/ubuntu--vg-ubuntu--lv into the MBR of /dev/sda

chroot /mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

chroot /mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv update-grub
Sourcing file `/etc/default/grub'
File descriptor 63 (pipe:[135542]) leaked on vgs invocation. Parent PID 34738: /usr/sbin/grub-probe
File descriptor 63 (pipe:[135542]) leaked on vgs invocation. Parent PID 34738: /usr/sbin/grub-probe
File descriptor 63 (pipe:[135542]) leaked on vgs invocation. Parent PID 34742: /usr/sbin/grub-probe
File descriptor 63 (pipe:[135542]) leaked on vgs invocation. Parent PID 34742: /usr/sbin/grub-probe
File descriptor 63 (pipe:[135542]) leaked on vgs invocation. Parent PID 34745: /usr/sbin/grub-probe
File descriptor 63 (pipe:[135542]) leaked on vgs invocation. Parent PID 34745: /usr/sbin/grub-probe
File descriptor 63 (pipe:[135542]) leaked on vgs invocation. Parent PID 34749: /usr/sbin/grub-probe
File descriptor 63 (pipe:[135542]) leaked on vgs invocation. Parent PID 34749: /usr/sbin/grub-probe
File descriptor 63 (pipe:[135542]) leaked on vgs invocation. Parent PID 34783: /usr/sbin/grub-probe
File descriptor 63 (pipe:[135542]) leaked on vgs invocation. Parent PID 34783: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-6.11.0-21-generic
Found initrd image: /boot/initrd.img-6.11.0-21-generic
File descriptor 63 (pipe:[135542]) leaked on vgs invocation. Parent PID 34972: /usr/sbin/grub-probe
File descriptor 63 (pipe:[135542]) leaked on vgs invocation. Parent PID 34972: /usr/sbin/grub-probe
Adding boot menu entry for UEFI Firmware Settings ...

Boot successfully repaired.

You can now reboot your computer.


============================ Boot Info After Repair ============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt2)/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg /grub/i386-pc/core.img

sda3: __________________________________________________________________________

    File system:       LVM2_member
    Boot sector type:  -
    Boot sector info: 

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sdb and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
       dmesg(1) may have more information after failed mount system call.


================================ 1 OS detected =================================

OS#1 (linux):   Ubuntu 24.04.2 LTS on mapper/ubuntu--vg-ubuntu--lv

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: GF108M [GeForce GT 635M] 3rd Gen Core processor Graphics Controller from NVIDIA Corporation Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04.2 LTS, noble, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: K56CM.206(4.6) from American Megatrends Inc.
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda : is-GPT,   hasBIOSboot,    has-noESP,  not-usb,    not-mmc, has-os,    no-wind,    2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

mapper/ubuntu--vg-ubuntu--lv    : is-os,    64, apt-get,    grub-pc ,   grub2,  grub-install,   no-grubenv, update-grub,    not-far
sda2    : no-os,    64, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  grubenv-ok, noupdategrub,   not-far

Partitions info (2/3): _________________________________________________________

mapper/ubuntu--vg-ubuntu--lv    : isnotESP, fstab-without-efi,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot, ext4
sda2    : isnotESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot, ext4

Partitions info (3/3): _________________________________________________________

mapper/ubuntu--vg-ubuntu--lv    : not--sepboot, no---boot,  fstab-has-bad-boot, not-sep-usr,    with--usr,  fstab-without-usr,  std-grub.d, sda
sda2    : is---sepboot, no---boot,  part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  no--grub.d, sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: AA4D97AB-80D6-44F1-813E-0AA1FA9B1AE9
       Start        End    Sectors   Size Type
sda1     2048       4095       2048     1M BIOS boot
sda2     4096    4198399    4194304     2G Linux filesystem
sda3  4198400 1953521663 1949323264 929.5G Linux filesystem
Disk mapper/ubuntu--vg-ubuntu--lv: 929.51 GiB, 998051414016 bytes, 1949319168 sectors
Disk sdb: 29.3 GiB, 31457280512 bytes, 61440001 sectors
Disk identifier: B0EF6CA3-60D1-4A21-98D9-17C385A8B6F8
        Start      End  Sectors  Size Type
sdb1        64 12378291 12378228  5.9G Microsoft basic data
sdb2  12378292 12388435    10144    5M EFI System
sdb3  12388436 12389035      600  300K Microsoft basic data
sdb4  12390400 61437951 49047552 23.4G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:gpt:ATA HGST HTS721010A9:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:2150MB:2147MB:ext4::;
3:2150MB:1000GB:998GB:::;
sdb:31.5GB:scsi:512:512:gpt:ASolid USB:;
1:32.8kB:6338MB:6338MB::ISO9660:hidden, msftdata;
2:6338MB:6343MB:5194kB::Appended2:boot, esp;
3:6343MB:6343MB:307kB::Gap1:hidden, msftdata;
4:6344MB:31.5GB:25.1GB:ext4::;
mapper/ubuntu--vg-ubuntu--lv:998GB:dm:512:4096:loop:Linux device-mapper (linear):;
1:0.00B:998GB:998GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME                      FSTYPE      UUID                                   PARTUUID                             LABEL                    PARTLABEL
sda                                                                                                                                        
├─sda1                                                                       8903a4d5-4e6f-4b5e-8e76-9f5c58edd3fa                          
├─sda2                    ext4        c9562c9e-14e2-4bd8-9297-b9af9d6f0caa   536b7359-0e53-4c51-b62a-9b79c176e922                          
└─sda3                    LVM2_member 3fOHux-W0uD-OVaI-N34n-LX43-bN07-7bWeud 19cb9cf0-3c59-44a5-9492-8468a123443e                          
  └─ubuntu--vg-ubuntu--lv ext4        21e4a4ac-1406-485c-9aa7-7ad38bde3982                                                                 
sdb                       iso9660     2025-02-15-09-15-26-00                                                      Ubuntu 24.04.2 LTS amd64 
├─sdb1                    iso9660     2025-02-15-09-15-26-00                 b0ef6ca3-60d1-4a21-98d8-17c385a8b6f8 Ubuntu 24.04.2 LTS amd64 ISO9660
├─sdb2                    vfat        B5A5-8010                              b0ef6ca3-60d1-4a21-98db-17c385a8b6f8 ESP                      Appended2
├─sdb3                                                                       b0ef6ca3-60d1-4a21-98da-17c385a8b6f8                          Gap1
└─sdb4                    ext4        5ea05c3f-fa80-47e0-92bc-d603d4e598ec   eba6f7e3-c69f-43fc-8c59-a173f0c8186a writable                 

Mount points (filtered): _______________________________________________________

                                                               Avail Use% Mounted on
/dev/mapper/ubuntu--vg-ubuntu--lv                             858.1G   1% /mnt/boot-sav/mapper/ubuntu--vg-ubuntu--lv
/dev/sda2                                                       1.7G   5% /mnt/boot-sav/sda2
/dev/sdb1                                                          0 100% /cdrom

Mount options (filtered): ______________________________________________________

/dev/mapper/ubuntu--vg-ubuntu--lv                             ext4            rw,relatime
/dev/sda2                                                     ext4            rw,relatime
/dev/sdb1                                                     iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

============================== ls -R /dev/mapper/ ==============================

/dev/mapper:
control
ubuntu--vg-ubuntu--lv

======================== sda2/grub/grub.cfg (filtered) =========================

Ubuntu   21e4a4ac-1406-485c-9aa7-7ad38bde3982
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

==================== sda2: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
   0.242820740 = 0.260726784    grub/grub.cfg                                  1
   0.145027161 = 0.155721728    grub/i386-pc/core.img                          1
   0.164684296 = 0.176828416    vmlinuz                                        1
   0.164684296 = 0.176828416    vmlinuz-6.11.0-21-generic                      1
   0.164684296 = 0.176828416    vmlinuz.old                                    1
   0.233917236 = 0.251166720    initrd.img                                     1
   0.233917236 = 0.251166720    initrd.img-6.11.0-21-generic                   1
   0.233917236 = 0.251166720    initrd.img.old                                 1

Estranhamente, ele faz referência a uma das partições manuais anteriores que criei, embora a última instalação devesse tê-la apagado. Aliás, o GParted mostra isso.

GParted

Em um tópico sobre uma situação semelhante à minha, foi sugerido usar o GParted para criar uma nova partição no MBR, mas não consigo porque há partições ativas e não posso desativá-las.

Tentarei obter uma versão live em um USB para melhor reparo, mas talvez o problema esteja em outro lugar. Você tem alguma ideia do que posso fazer para resolver o problema?

boot
  • 2 respostas
  • 101 Views
Martin Hope
reducing activity
Asked: 2025-04-14 20:24:07 +0800 CST

Pop-up "O plugin gmpopenh264 travou" no Firefox, o MS Teams não está funcionando, o dmesg está cheio de reclamações do apparmor sobre o Firefox

  • 5

Tentar usar o MS Teams no Firefox resulta em pop-ups "O plugin gmpopenh264 travou" e vídeos quebrados no MS Teams ao usá-lo no navegador.

O que sai não atinge os outros, o que entra está bom.

sudo dmesgestava cheio de registros do Apparmor reclamando do Firefox

exemplos incluem[ 9149.120185] audit: type=1400 audit(1741179598.366:5202): apparmor="DENIED" operation="open" class="file" profile="firefox" name="/proc/12151/oom_score_adj" pid=6192 comm="firefox" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000

firefox
  • 1 respostas
  • 44 Views
Martin Hope
Natan
Asked: 2025-04-14 17:51:48 +0800 CST

É seguro desabilitar a senha para desbloquear o chaveiro ao usar o LUKS?

  • 10

Em geral, as pessoas alertam para não desabilitar a senha para desbloquear o chaveiro ( O chaveiro de login não foi desbloqueado quando você fez login no seu computador . Como posso parar de ser solicitado a desbloquear o chaveiro "padrão" na inicialização? ), o que evita o prompt para desbloquear o chaveiro ao fazer login automaticamente sem senha.

No entanto, sinto que as preocupações com a segurança não são relevantes ao criptografar a unidade via LUKS. Só uso o login automático porque preciso "fazer login" via LUKS de qualquer maneira e acho que isso me dá segurança suficiente. Mas, considerando os conselhos inflexíveis lidos em outras postagens, estou me perguntando se estou esquecendo de algo.

Existe algum status em que o fato de termos desbloqueado permanentemente o chaveiro após o login possa se tornar relevante novamente? Imagino que isso possa se tornar um problema ao sairmos, mas, por outro lado, se você sair, não conseguirá fazer login via login automático. Portanto, ambos os casos (login automático + LUKS, login normal) se comportam da mesma forma, pois você precisa inserir sua senha para fazer login, o que resultaria no desbloqueio do chaveiro de qualquer maneira.

Talvez eu não consiga pensar em um problema real, porque não há problema real ao usar o LUKS com login automático e um chaveiro desbloqueado.

login
  • 1 respostas
  • 228 Views
Prev
Próximo

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Existe um comando para listar todos os usuários? Também para adicionar, excluir, modificar usuários, no terminal?

    • 9 respostas
  • Marko Smith

    Como excluir um diretório não vazio no Terminal?

    • 4 respostas
  • Marko Smith

    Como descompactar um arquivo zip do Terminal?

    • 9 respostas
  • Marko Smith

    Como instalo um arquivo .deb por meio da linha de comando?

    • 11 respostas
  • Marko Smith

    Como instalo um arquivo .tar.gz (ou .tar.bz2)?

    • 14 respostas
  • Marko Smith

    Como listar todos os pacotes instalados

    • 24 respostas
  • Martin Hope
    Flimm Como posso usar o docker sem sudo? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    led-Zepp Como faço para salvar a saída do terminal em um arquivo? 2014-02-15 11:49:07 +0800 CST
  • Martin Hope
    ubuntu-nerd Como descompactar um arquivo zip do Terminal? 2011-12-11 20:37:54 +0800 CST
  • Martin Hope
    TheXed Como instalo um arquivo .deb por meio da linha de comando? 2011-05-07 09:40:28 +0800 CST
  • Martin Hope
    Ivan Como listar todos os pacotes instalados 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    David Barry Como determino o tamanho total de um diretório (pasta) na linha de comando? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher "Os seguintes pacotes foram retidos:" Por que e como resolvo isso? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford Como os PPAs podem ser removidos? 2010-07-30 01:09:42 +0800 CST

Hot tag

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve