Mostra la pàginaRevisions anteriorsQuè hi enllaçaExporta a PDFTorna dalt Aquesta pàgina és només de lectura. Podeu veure'n el codi font, però no podeu canviar-la. Consulteu el vostre administrador si penseu que això és degut a algun error. = info hard {{tag>linux bash}} == pre-mount localizar discos no montados en sistema: * ''lsblk'' * ''fdisk'' * ''sfdisk'': versión con scripting de fdisk más agradable * ''echo 'type=83' | sudo sfdisk /dev/sdb'': crea partición ext4 de todo el disco * ''blkid'' * ''ls -l /dev/disk/by-uuid'' * ''parted'' /via: [[https://askubuntu.com/questions/626353/how-to-list-unmounted-partition-of-a-harddisk-and-mount-them]] == info del sistema comandos para obtener información del sistema (versiones de SO o de GUI), algunos más completos (inxi) === inxi * F : Full Output (-n -s) * D : Full Hard Disk info * z : filtra la salida por razones de seguridad, no mostrar información sensible * n : Advanced Network card information * s : información sensores * x * d : Información unidades ópticas * p : full partition information * o : Unmounted partition information * l : partitions labels Ejemplos: * ''inxi -Fxzd'' * ''inxi -Fxzdpol'' === lsb_release * ''lsb_release -a'' * -a : all * -s : short * ''cat /etc/lsb-release'' === uname * ''uname -a'' == red averiguamos en que posición se encuentra la tarjeta de red (comando más preciso y con más detalle podría ser ''lspci -vv -s 03:00.0'') y después preguntamos por las tarjetas... en el campo BUS INFO vemos el nexo de unión entre las 2 informaciones. <code bash>$ lspci 00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06) 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06) 00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller 00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1 00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2 00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller 00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0) 00:1c.2 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 3 (rev d0) 00:1c.3 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d0) 00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1 00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family Z97 LPC Controller 00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode] 00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller 01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1) 01:00.1 Audio device: NVIDIA Corporation Device 0fba (rev a1) 03:00.0 Ethernet controller: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller (rev 13) 04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03) $ lshw -class network WARNING: you should run this program as super-user. *-network description: Ethernet interface product: Killer E220x Gigabit Ethernet Controller vendor: Qualcomm Atheros physical id: 0 bus info: pci@0000:03:00.0 logical name: enp3s0 version: 13 serial: d8:cb:8a:5d:5a:d7 size: 100Mbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=alx duplex=full ip=192.168.1.40 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s resources: irq:30 memory:ef100000-ef13ffff ioport:d000(size=128) WARNING: output may be incomplete or inaccurate, you should run this program as super-user. </code> linux/hard/start.txt Darrera modificació: 01/12/2020 10:27per mate