Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [liveuser@localhost-live ~]$ sudo su
- We trust you have received the usual lecture from the local System
- Administrator. It usually boils down to these three things:
- #1) Respect the privacy of others.
- #2) Think before you type.
- #3) With great power comes great responsibility.
- [root@localhost-live liveuser]# mkdir /mnt/sysimage
- [root@localhost-live liveuser]# fdisk -l
- Disk /dev/sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
- Disk model: TOSHIBA MK2546GS
- 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: gpt
- Disk identifier: C8749F2C-1E4C-4C14-9CD9-E1AE014A5597
- Device Start End Sectors Size Type
- /dev/sda1 2048 1050623 1048576 512M EFI System
- /dev/sda2 1050624 13633535 12582912 6G Linux swap
- /dev/sda3 13633536 488396799 474763264 226.4G Linux filesystem
- Disk /dev/sdb: 28.64 GiB, 30752636928 bytes, 60063744 sectors
- Disk model: Ultra Fit
- 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: 0x93926301
- Device Boot Start End Sectors Size Id Type
- /dev/sdb1 * 2048 59998207 59996160 28.6G 7 HPFS/NTFS/exFAT
- /dev/sdb2 59998208 60063743 65536 32M ef EFI (FAT-12/16/32)
- Disk /dev/dm-0: 1.88 GiB, 2018148352 bytes, 3941696 sectors
- 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: 0x7a218b9a
- Device Boot Start End Sectors Size Id Type
- /dev/dm-0p1 * 0 3941695 3941696 1.9G 0 Empty
- /dev/dm-0p2 172 20455 20284 9.9M ef EFI (FAT-12/16/32)
- /dev/dm-0p3 20456 63127 42672 20.8M 0 Empty
- Disk /dev/loop0: 1.76 GiB, 1893396480 bytes, 3698040 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk /dev/loop1: 7.57 GiB, 8128561152 bytes, 15876096 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk /dev/loop2: 32 GiB, 34359738368 bytes, 67108864 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk /dev/mapper/live-rw: 7.57 GiB, 8128561152 bytes, 15876096 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk /dev/mapper/live-base: 7.57 GiB, 8128561152 bytes, 15876096 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk /dev/zram0: 5.26 GiB, 5650776064 bytes, 1379584 sectors
- Units: sectors of 1 * 4096 = 4096 bytes
- Sector size (logical/physical): 4096 bytes / 4096 bytes
- I/O size (minimum/optimal): 4096 bytes / 4096 bytes
- [root@localhost-live liveuser]# mount /dev/sda3 /mnt/sysimage/
- [root@localhost-live liveuser]# mount /dev/sda1 /mnt/sysimage/boot/efi/
- [root@localhost-live liveuser]# mount -o remount,rw /mnt/sysimage/
- [root@localhost-live liveuser]# mount -o bind /proc /mnt/sysimage/proc/
- [root@localhost-live liveuser]# mount -o bind /sys /mnt/sysimage/sys/
- [root@localhost-live liveuser]# mount -o bind /dev /mnt/sysimage/dev/
- [root@localhost-live liveuser]# chroot /mnt/sysimage/
- [root@localhost-live /]# dnf check
- [root@localhost-live /]# dnf reinstall kernel\*
- created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/ 0.0 B/s | 0 B 00:00
- Errors during downloading metadata for repository 'brave-browser-rpm-release.s3.brave.com_x86_64_':
- - 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]
- 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
- Fedora 36 - x86_64 - Updates 0.0 B/s | 0 B 00:00
- Errors during downloading metadata for repository 'updates':
- - 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]
- - 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]
- 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]
- [root@localhost-live /]# grub2-mkconfig -o /boot/grub2/grub.cfg
- Generating grub configuration file ...
- Adding boot menu entry for UEFI Firmware Settings ...
- done
- [root@localhost-live /]# uname -a
- 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
- [root@localhost-live /]# dnf check update
- usage: dnf check [-c [config file]] [-q] [-v] [--version] [--installroot [path]] [--nodocs] [--noplugins] [--enableplugin [plugin]] [--disableplugin [plugin]]
- [--releasever RELEASEVER] [--setopt SETOPTS] [--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C] [-R [minutes]] [-d [debug level]]
- [--debugsolver] [--showduplicates] [-e ERRORLEVEL] [--obsoletes] [--rpmverbosity [debug level name]] [-y] [--assumeno] [--enablerepo [repo]]
- [--disablerepo [repo] | --repo [repo]] [--enable | --disable] [-x [package]] [--disableexcludes [repo]] [--repofrompath [repo,path]] [--noautoremove]
- [--nogpgcheck] [--color COLOR] [--refresh] [-4] [-6] [--destdir DESTDIR] [--downloadonly] [--comment COMMENT] [--bugfix] [--enhancement]
- [--newpackage] [--security] [--advisory ADVISORY] [--bz BUGZILLA] [--cve CVES] [--sec-severity {Critical,Important,Moderate,Low}] [--forcearch ARCH]
- [--all] [--dependencies] [--duplicates] [--obsoleted] [--provides]
- dnf check: error: argument check_yum_types: invalid choice: 'update' (choose from 'all', 'dependencies', 'duplicates', 'obsoleted', 'provides', [])
- [root@localhost-live /]# mc
- bash: mc: command not found
- [root@localhost-live /]# dnf install mc
- created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/ 0.0 B/s | 0 B 00:00
- Errors during downloading metadata for repository 'brave-browser-rpm-release.s3.brave.com_x86_64_':
- - 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]
- 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
- Fedora 36 - x86_64 - Updates 0.0 B/s | 0 B 00:00
- Errors during downloading metadata for repository 'updates':
- - 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]
- 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]
- [root@localhost-live /]# dnf repolist
- repo id repo name
- 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/
- fedora Fedora 36 - x86_64
- fedora-cisco-openh264 Fedora 36 openh264 (From Cisco) - x86_64
- fedora-modular Fedora Modular 36 - x86_64
- rpmfusion-free RPM Fusion for Fedora 36 - Free
- rpmfusion-free-updates RPM Fusion for Fedora 36 - Free - Updates
- rpmfusion-nonfree RPM Fusion for Fedora 36 - Nonfree
- rpmfusion-nonfree-updates RPM Fusion for Fedora 36 - Nonfree - Updates
- updates Fedora 36 - x86_64 - Updates
- updates-modular Fedora Modular 36 - x86_64 - Updates
- [root@localhost-live /]# ping 8.8.8.8
- PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
- 64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=14.9 ms
- 64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=10.6 ms
- 64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=10.9 ms
- 64 bytes from 8.8.8.8: icmp_seq=4 ttl=117 time=10.7 ms
- 64 bytes from 8.8.8.8: icmp_seq=5 ttl=117 time=11.3 ms
- 64 bytes from 8.8.8.8: icmp_seq=6 ttl=117 time=11.0 ms
- 64 bytes from 8.8.8.8: icmp_seq=7 ttl=117 time=11.4 ms
- 64 bytes from 8.8.8.8: icmp_seq=8 ttl=117 time=10.6 ms
- 64 bytes from 8.8.8.8: icmp_seq=9 ttl=117 time=10.7 ms
- ^C
- --- 8.8.8.8 ping statistics ---
- 9 packets transmitted, 9 received, 0% packet loss, time 8014ms
- rtt min/avg/max/mdev = 10.586/11.350/14.926/1.291 ms
- [root@localhost-live /]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement