Advertisement
Guest User

Untitled

a guest
May 23rd, 2022
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.00 KB | None | 0 0
  1. [liveuser@localhost-live ~]$ sudo su
  2.  
  3. We trust you have received the usual lecture from the local System
  4. Administrator. It usually boils down to these three things:
  5.  
  6. #1) Respect the privacy of others.
  7. #2) Think before you type.
  8. #3) With great power comes great responsibility.
  9.  
  10. [root@localhost-live liveuser]# mkdir /mnt/sysimage
  11. [root@localhost-live liveuser]# fdisk -l
  12. Disk /dev/sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
  13. Disk model: TOSHIBA MK2546GS
  14. Units: sectors of 1 * 512 = 512 bytes
  15. Sector size (logical/physical): 512 bytes / 512 bytes
  16. I/O size (minimum/optimal): 512 bytes / 512 bytes
  17. Disklabel type: gpt
  18. Disk identifier: C8749F2C-1E4C-4C14-9CD9-E1AE014A5597
  19.  
  20. Device Start End Sectors Size Type
  21. /dev/sda1 2048 1050623 1048576 512M EFI System
  22. /dev/sda2 1050624 13633535 12582912 6G Linux swap
  23. /dev/sda3 13633536 488396799 474763264 226.4G Linux filesystem
  24.  
  25.  
  26. Disk /dev/sdb: 28.64 GiB, 30752636928 bytes, 60063744 sectors
  27. Disk model: Ultra Fit
  28. Units: sectors of 1 * 512 = 512 bytes
  29. Sector size (logical/physical): 512 bytes / 512 bytes
  30. I/O size (minimum/optimal): 512 bytes / 512 bytes
  31. Disklabel type: dos
  32. Disk identifier: 0x93926301
  33.  
  34. Device Boot Start End Sectors Size Id Type
  35. /dev/sdb1 * 2048 59998207 59996160 28.6G 7 HPFS/NTFS/exFAT
  36. /dev/sdb2 59998208 60063743 65536 32M ef EFI (FAT-12/16/32)
  37.  
  38.  
  39. Disk /dev/dm-0: 1.88 GiB, 2018148352 bytes, 3941696 sectors
  40. Units: sectors of 1 * 512 = 512 bytes
  41. Sector size (logical/physical): 512 bytes / 512 bytes
  42. I/O size (minimum/optimal): 512 bytes / 512 bytes
  43. Disklabel type: dos
  44. Disk identifier: 0x7a218b9a
  45.  
  46. Device Boot Start End Sectors Size Id Type
  47. /dev/dm-0p1 * 0 3941695 3941696 1.9G 0 Empty
  48. /dev/dm-0p2 172 20455 20284 9.9M ef EFI (FAT-12/16/32)
  49. /dev/dm-0p3 20456 63127 42672 20.8M 0 Empty
  50.  
  51.  
  52. Disk /dev/loop0: 1.76 GiB, 1893396480 bytes, 3698040 sectors
  53. Units: sectors of 1 * 512 = 512 bytes
  54. Sector size (logical/physical): 512 bytes / 512 bytes
  55. I/O size (minimum/optimal): 512 bytes / 512 bytes
  56.  
  57.  
  58. Disk /dev/loop1: 7.57 GiB, 8128561152 bytes, 15876096 sectors
  59. Units: sectors of 1 * 512 = 512 bytes
  60. Sector size (logical/physical): 512 bytes / 512 bytes
  61. I/O size (minimum/optimal): 512 bytes / 512 bytes
  62.  
  63.  
  64. Disk /dev/loop2: 32 GiB, 34359738368 bytes, 67108864 sectors
  65. Units: sectors of 1 * 512 = 512 bytes
  66. Sector size (logical/physical): 512 bytes / 512 bytes
  67. I/O size (minimum/optimal): 512 bytes / 512 bytes
  68.  
  69.  
  70. Disk /dev/mapper/live-rw: 7.57 GiB, 8128561152 bytes, 15876096 sectors
  71. Units: sectors of 1 * 512 = 512 bytes
  72. Sector size (logical/physical): 512 bytes / 512 bytes
  73. I/O size (minimum/optimal): 512 bytes / 512 bytes
  74.  
  75.  
  76. Disk /dev/mapper/live-base: 7.57 GiB, 8128561152 bytes, 15876096 sectors
  77. Units: sectors of 1 * 512 = 512 bytes
  78. Sector size (logical/physical): 512 bytes / 512 bytes
  79. I/O size (minimum/optimal): 512 bytes / 512 bytes
  80.  
  81.  
  82. Disk /dev/zram0: 5.26 GiB, 5650776064 bytes, 1379584 sectors
  83. Units: sectors of 1 * 4096 = 4096 bytes
  84. Sector size (logical/physical): 4096 bytes / 4096 bytes
  85. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  86. [root@localhost-live liveuser]# mount /dev/sda3 /mnt/sysimage/
  87. [root@localhost-live liveuser]# mount /dev/sda1 /mnt/sysimage/boot/efi/
  88. [root@localhost-live liveuser]# mount -o remount,rw /mnt/sysimage/
  89. [root@localhost-live liveuser]# mount -o bind /proc /mnt/sysimage/proc/
  90. [root@localhost-live liveuser]# mount -o bind /sys /mnt/sysimage/sys/
  91. [root@localhost-live liveuser]# mount -o bind /dev /mnt/sysimage/dev/
  92. [root@localhost-live liveuser]# chroot /mnt/sysimage/
  93. [root@localhost-live /]# dnf check
  94. [root@localhost-live /]# dnf reinstall kernel\*
  95. created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/ 0.0 B/s | 0 B 00:00
  96. Errors during downloading metadata for repository 'brave-browser-rpm-release.s3.brave.com_x86_64_':
  97. - Curl error (6): Couldn't resolve host name for https://brave-browser-rpm-release.s3.brave.com/x86_64/repodata/repomd.xml [Could not resolve host: brave-browser-rpm-release.s3.brave.com]
  98. Error: Failed to download metadata for repo 'brave-browser-rpm-release.s3.brave.com_x86_64_': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
  99. Fedora 36 - x86_64 - Updates 0.0 B/s | 0 B 00:00
  100. Errors during downloading metadata for repository 'updates':
  101. - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f36&arch=x86_64&countme=1 [Could not resolve host: mirrors.fedoraproject.org]
  102. - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f36&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]
  103. Error: Failed to download metadata for repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f36&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]
  104. [root@localhost-live /]# grub2-mkconfig -o /boot/grub2/grub.cfg
  105. Generating grub configuration file ...
  106. Adding boot menu entry for UEFI Firmware Settings ...
  107. done
  108. [root@localhost-live /]# uname -a
  109. Linux localhost-live 5.17.5-300.fc36.x86_64 #1 SMP PREEMPT Thu Apr 28 15:51:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  110. [root@localhost-live /]# dnf check update
  111. usage: dnf check [-c [config file]] [-q] [-v] [--version] [--installroot [path]] [--nodocs] [--noplugins] [--enableplugin [plugin]] [--disableplugin [plugin]]
  112. [--releasever RELEASEVER] [--setopt SETOPTS] [--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C] [-R [minutes]] [-d [debug level]]
  113. [--debugsolver] [--showduplicates] [-e ERRORLEVEL] [--obsoletes] [--rpmverbosity [debug level name]] [-y] [--assumeno] [--enablerepo [repo]]
  114. [--disablerepo [repo] | --repo [repo]] [--enable | --disable] [-x [package]] [--disableexcludes [repo]] [--repofrompath [repo,path]] [--noautoremove]
  115. [--nogpgcheck] [--color COLOR] [--refresh] [-4] [-6] [--destdir DESTDIR] [--downloadonly] [--comment COMMENT] [--bugfix] [--enhancement]
  116. [--newpackage] [--security] [--advisory ADVISORY] [--bz BUGZILLA] [--cve CVES] [--sec-severity {Critical,Important,Moderate,Low}] [--forcearch ARCH]
  117. [--all] [--dependencies] [--duplicates] [--obsoleted] [--provides]
  118. dnf check: error: argument check_yum_types: invalid choice: 'update' (choose from 'all', 'dependencies', 'duplicates', 'obsoleted', 'provides', [])
  119. [root@localhost-live /]# mc
  120. bash: mc: command not found
  121. [root@localhost-live /]# dnf install mc
  122. created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/ 0.0 B/s | 0 B 00:00
  123. Errors during downloading metadata for repository 'brave-browser-rpm-release.s3.brave.com_x86_64_':
  124. - Curl error (6): Couldn't resolve host name for https://brave-browser-rpm-release.s3.brave.com/x86_64/repodata/repomd.xml [Could not resolve host: brave-browser-rpm-release.s3.brave.com]
  125. Error: Failed to download metadata for repo 'brave-browser-rpm-release.s3.brave.com_x86_64_': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
  126. Fedora 36 - x86_64 - Updates 0.0 B/s | 0 B 00:00
  127. Errors during downloading metadata for repository 'updates':
  128. - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f36&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]
  129. Error: Failed to download metadata for repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f36&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]
  130. [root@localhost-live /]# dnf repolist
  131. repo id repo name
  132. brave-browser-rpm-release.s3.brave.com_x86_64_ created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
  133. fedora Fedora 36 - x86_64
  134. fedora-cisco-openh264 Fedora 36 openh264 (From Cisco) - x86_64
  135. fedora-modular Fedora Modular 36 - x86_64
  136. rpmfusion-free RPM Fusion for Fedora 36 - Free
  137. rpmfusion-free-updates RPM Fusion for Fedora 36 - Free - Updates
  138. rpmfusion-nonfree RPM Fusion for Fedora 36 - Nonfree
  139. rpmfusion-nonfree-updates RPM Fusion for Fedora 36 - Nonfree - Updates
  140. updates Fedora 36 - x86_64 - Updates
  141. updates-modular Fedora Modular 36 - x86_64 - Updates
  142. [root@localhost-live /]# ping 8.8.8.8
  143. PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
  144. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=14.9 ms
  145. 64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=10.6 ms
  146. 64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=10.9 ms
  147. 64 bytes from 8.8.8.8: icmp_seq=4 ttl=117 time=10.7 ms
  148. 64 bytes from 8.8.8.8: icmp_seq=5 ttl=117 time=11.3 ms
  149. 64 bytes from 8.8.8.8: icmp_seq=6 ttl=117 time=11.0 ms
  150. 64 bytes from 8.8.8.8: icmp_seq=7 ttl=117 time=11.4 ms
  151. 64 bytes from 8.8.8.8: icmp_seq=8 ttl=117 time=10.6 ms
  152. 64 bytes from 8.8.8.8: icmp_seq=9 ttl=117 time=10.7 ms
  153. ^C
  154. --- 8.8.8.8 ping statistics ---
  155. 9 packets transmitted, 9 received, 0% packet loss, time 8014ms
  156. rtt min/avg/max/mdev = 10.586/11.350/14.926/1.291 ms
  157. [root@localhost-live /]#
  158.  
  159.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement