Skip to content

Instantly share code, notes, and snippets.

@syuu1228
Last active February 27, 2020 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syuu1228/1f0fae06bb339a758c4899c0785045c3 to your computer and use it in GitHub Desktop.
Save syuu1228/1f0fae06bb339a758c4899c0785045c3 to your computer and use it in GitHub Desktop.
syuu@X1CARBON:~$ sudo parted /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: Msft Virtual Disk (scsi)
Disk /dev/sda: 275GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 275GB 275GB ext4
(parted) q
syuu@X1CARBON:~$ sudo parted /dev/sdb
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: Msft Virtual Disk (scsi)
Disk /dev/sdb: 275GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 275GB 275GB ext4
(parted) q
syuu@X1CARBON:~$ ls /boot
syuu@X1CARBON:~$ ls /lib/module
ls: cannot access '/lib/module': No such file or directory
syuu@X1CARBON:~$ sudo biosdecode
# biosdecode 3.1
ACPI 2.0 present.
OEM Identifier: VRTUAL
RSD Table 32-bit Address: 0x00100000
XSD Table 64-bit Address: 0x0000000000100000
syuu@X1CARBON:~$ sudo dmidecode
# dmidecode 3.1
Scanning /dev/mem for entry point.
# No SMBIOS nor DMI entry point found, sorry.
syuu@X1CARBON:~$ cat /proc/cmdline
initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=8
syuu@X1CARBON:~$ dpkg -l|grep kernel
ii kmod 24-1ubuntu3.2 amd64 tools for managing Linux kernel modules ii libdrm-amdgpu1:amd64 2.4.99-1ubuntu1~18.04.2 amd64 Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii libdrm-common 2.4.99-1ubuntu1~18.04.2 all Userspace interface to kernel DRM services -- common files
ii libdrm-intel1:amd64 2.4.99-1ubuntu1~18.04.2 amd64 Userspace interface to intel-specific kernel DRM services -- runtime
ii libdrm-nouveau2:amd64 2.4.99-1ubuntu1~18.04.2 amd64 Userspace interface to nouveau-specific kernel DRM services -- runtime
ii libdrm-radeon1:amd64 2.4.99-1ubuntu1~18.04.2 amd64 Userspace interface to radeon-specific kernel DRM services -- runtime
ii libdrm2:amd64 2.4.99-1ubuntu1~18.04.2 amd64 Userspace interface to kernel DRM services -- runtime
ii rsyslog 8.32.0-1ubuntu4 amd64 reliable system and kernel logging daemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment