Не могу зайти в систему ubuntu 18.04 после чистки старых ядер |
Здравствуйте Гость [ Вход | Регистрация ] | Форум в сети 6805-й день
Шановні користувачі! Запрошуємо вас до офіційного телеграм-канала 0day Community. Тут ви зможете поспілкуватися одне з одним та дізнатися про останні новини щодо роботи ресурса, поставити запитання до адміністрації, тощо. Перейти до телеграм-канала можна відсканувавши QR-код або натиснувши на посилання: @zeroday_ua |
Не могу зайти в систему ubuntu 18.04 после чистки старых ядер |
mstdmstd |
Aug 3 2019, 12:35
Пост
#1
|
Репутация: 2 Активист Группа: Пользователи Сообщений: 340 С нами с: 13-January 16 |
Привет
Чистил старые ядра ubuntu 18.04 и после перезагрузки виснет экран В логах смотрел но ничего не нашелhttps://www.tvnet.if.ua/internet-dlya-domu/ войдя в рекавери моуд получаю ошибку CODE Format sudo apt upgrade Failed to fetch : http://ua.archive.ubuntu.com.ubuntu/poll/universe/u/user-manager... Почему не найден и можно ли указать правильный путь ? Или интернета в консоле нет ? Ка проверить ? Есть консоль в рекавери моуд и старая убунту на другом разделе ... Спасибо ! Сообщение отредактировал mstdmstd - Aug 3 2019, 15:33 |
mstdmstd |
Aug 3 2019, 15:35
Пост
#2
|
Репутация: 2 Активист Группа: Пользователи Сообщений: 340 С нами с: 13-January 16 |
Первое, что решил проверить это есть ли интернет в рекавери моуд Но выполнив в консоле : CODE Format $ curl -Is УрлСайта | head -n 1 Получил ошибку что curl не установлен Установить его не смог из-за опсанных проблем Можно ли как-то еще проверить наличие интепрнета ? Провайдер https://www.tvnet.if.ua/internet-dlya-domu/ Просто плдключена сеть - никаких параметров не вводил Есть еще идеи ? |
mstdmstd |
Aug 4 2019, 7:34
Пост
#3
|
Репутация: 2 Активист Группа: Пользователи Сообщений: 340 С нами с: 13-January 16 |
Получив подсказки по проблеме пробую ДАЛЬШЕ.
Интернет в рекавери моуд отсутвствует CODE Format ping -c1 -W2 google.ru выдает ошибку в разрешении имен - интересно, может возможно запустить вручную какие-либо службы и с тем получить доступ к интернету ? Командами CODE Format find /boot/ -type f -name "vmlinuz*" find /boot/ -type f -name "initr*" выводится : CODE Format /boot/vmlinuz-4.15.0-55-generic CODE Format find / -maxdepth 1 -type l -exec ls -l {} \; lrwxrwxrwx 1 root root 33 лип 24 06:28 /initrd.img -> boot/initrd.img-4.15.0-55-generic lrwxrwxrwx 1 root root 21 чер 17 2018 /_Video -> /mnt/Media_sda8/VIDEO lrwxrwxrwx 1 root root 33 чер 17 2018 /_InstallLinux -> /mnt/Work_sda6/Install/__forLinux lrwxrwxrwx 1 root root 16 чер 17 2018 /_work -> /mnt/_work_sdb8/ lrwxrwxrwx 1 root root 23 чер 17 2018 /_wwwroot -> /mnt/_work_sdb8/wwwroot lrwxrwxrwx 1 root root 15 чер 17 2018 /_diskE_Media -> /mnt/Media_sda8 lrwxrwxrwx 1 root root 33 сер 3 09:38 /initrd.img.old -> boot/initrd.img-4.15.0-55-generic lrwxrwxrwx 1 root root 30 сер 3 09:38 /vmlinuz.old -> boot/vmlinuz-4.15.0-55-generic lrwxrwxrwx 1 root root 30 лип 24 06:28 /vmlinuz -> boot/vmlinuz-4.15.0-55-generic lrwxrwxrwx 1 root root 14 чер 17 2018 /_diskD_Work -> /mnt/Work_sda6 /mnt/Media_sda8/VIDEO - это каталог где выполнял команду CODE Format cat /boot/grub/grub.cfg | grep "menuentry 'Ubuntu'" -A16 menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-953fc83a-8a04-4fa4-94c4-20202140652a' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod ext2 set root='hd1,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 40c521e5-3b90-42f5-a84f-ccea92463d04 else search --no-floppy --fs-uuid --set=root 40c521e5-3b90-42f5-a84f-ccea92463d04 fi linux /vmlinuz-4.15.0-55-generic root=UUID=953fc83a-8a04-4fa4-94c4-20202140652a ro quiet splash $vt_handoff initrd /initrd.img-4.15.0-55-generic } При загрузке как раз и виден один пункт меню приведенный выше Загружается несколько секунд и виснет с темным экраном с немигающем курсором в верхнем левом углу: После неудачной загрузки нахожу boot.log: CODE Format /dev/sdb7: clean, 620674/1836000 files, 6414993/7341697 blocks [[0;1;31mFAILED[0m] Failed to start Network Time Synchronization. See 'systemctl status systemd-timesyncd.service' for details. [[0;32m OK [0m] Stopped Network Time Synchronization. Starting Network Time Synchronization... [[0;1;31mFAILED[0m] Failed to start Network Time Synchronization. See 'systemctl status systemd-timesyncd.service' for details. [[0;32m OK [0m] Stopped Network Time Synchronization. Starting Network Time Synchronization... [[0;1;31mFAILED[0m] Failed to start Network Time Synchronization. See 'systemctl status systemd-timesyncd.service' for details. [[0;32m OK [0m] Stopped Network Time Synchronization. Starting Network Time Synchronization... [[0;1;31mFAILED[0m] Failed to start Network Time Synchronization. See 'systemctl status systemd-timesyncd.service' for details. [[0;32m OK [0m] Stopped Network Time Synchronization. Starting Network Time Synchronization... [[0;32m OK [0m] Started Update UTMP about System Boot/Shutdown. [[0;32m OK [0m] Started RPC bind portmap service. [[0;1;31mFAILED[0m] Failed to start Network Time Synchronization. See 'systemctl status systemd-timesyncd.service' for details. [[0;32m OK [0m] Stopped Network Time Synchronization. [[0;1;31mFAILED[0m] Failed to start Network Time Synchronization. See 'systemctl status systemd-timesyncd.service' for details. [[0;32m OK [0m] Reached target System Time Synchronized. [[0;32m OK [0m] Reached target RPC Port Mapper. [[0;32m OK [0m] Reached target Remote File Systems (Pre). [[0;32m OK [0m] Reached target Remote File Systems. [[0;32m OK [0m] Started AppArmor initialization. [[0;32m OK [0m] Reached target System Initialization. [[0;32m OK [0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [[0;32m OK [0m] Started Trigger anacron every hour. [[0;32m OK [0m] Started Discard unused blocks once a week. [[0;32m OK [0m] Started Daily apt download activities. [[0;32m OK [0m] Started Message of the Day. [[0;32m OK [0m] Started CUPS Scheduler. [[0;32m OK [0m] Started Clean PHP session files every 30 mins. [[0;32m OK [0m] Started Daily apt upgrade and clean activities. [[0;32m OK [0m] Started ACPI Events Check. [[0;32m OK [0m] Listening on CUPS Scheduler. [[0;32m OK [0m] Listening on ACPID Listen Socket. [[0;32m OK [0m] Reached target Paths. [[0;32m OK [0m] Listening on D-Bus System Message Bus Socket. Starting Docker Socket for the API. [[0;32m OK [0m] Listening on mpd.socket. [[0;32m OK [0m] Started Daily Cleanup of Temporary Directories. [[0;32m OK [0m] Reached target Timers. Starting Socket activation for snappy daemon. [[0;32m OK [0m] Listening on UUID daemon activation socket. [[0;32m OK [0m] Listening on Docker Socket for the API. [[0;32m OK [0m] Listening on Socket activation for snappy daemon. [[0;32m OK [0m] Reached target Sockets. [[0;32m OK [0m] Reached target Basic System. Starting Restore /etc/resolv.conf if the system crashed before the ppp link was shut down... Starting Resets System Activity Data Collector... Starting Disk Manager... Starting Avahi mDNS/DNS-SD Stack... Starting Login Service... [[0;32m OK [0m] Started irqbalance daemon. Starting LSB: LVM2 metadata daemon... Starting LSB: Record successful boot for GRUB... Starting System Logging Service... Starting Dispatcher daemon for systemd-networkd... Starting Initialize hardware monitoring sensors... Starting Detect the available GPUs and deal with any system changes... Starting PostgreSQL Cluster 10-main... Starting Accounts Service... [[0;32m OK [0m] Started Set the CPU Frequency Scaling governor. Starting Snappy daemon... [[0;32m OK [0m] Reached target Login Prompts. Starting Modem Manager... [[0;32m OK [0m] Started D-Bus System Message Bus. Starting Network Manager... [[0;32m OK [0m] Started ACPI event daemon. Starting LSB: automatic crash report generation... [[0;32m OK [0m] Started Run anacron jobs. Starting LSB: LVM2 poll daemon... [[0;32m OK [0m] Started CUPS Scheduler. [[0;32m OK [0m] Started Regular background program processing daemon. Starting WPA supplicant... [[0;32m OK [0m] Started Network Name Resolution. [[0;32m OK [0m] Started System Logging Service. [[0;32m OK [0m] Started Restore /etc/resolv.conf if the system crashed before the ppp link was shut down. [[0;32m OK [0m] Started Resets System Activity Data Collector. [[0;32m OK [0m] Started Detect the available GPUs and deal with any system changes. [[0;32m OK [0m] Started Initialize hardware monitoring sensors. [[0;32m OK [0m] Started Login Service. [[0;32m OK [0m] Started Avahi mDNS/DNS-SD Stack. [[0;1;31mFAILED[0m] Failed to start Snappy daemon. See 'systemctl status snapd.service' for details. Starting Failure handling of the snapd snap... Starting Wait until snapd is fully seeded... Starting Authorization Manager... [[0;32m OK [0m] Started Make remote CUPS printers available locally. [[0;32m OK [0m] Reached target Host and Network Name Lookups. Starting LSB: Kernel NFS server support... [[0;32m OK [0m] Started LSB: Kernel NFS server support. [[0;32m OK [0m] Started WPA supplicant. [[0;32m OK [0m] Started Failure handling of the snapd snap. [[0;32m OK [0m] Started Authorization Manager. [[0;32m OK [0m] Started Accounts Service. [[0;32m OK [0m] Stopped Snappy daemon. Starting Snappy daemon... Starting Hostname Service... [[0;1;31mFAILED[0m] Failed to start Snappy daemon. See 'systemctl status snapd.service' for details. [[0;32m OK [0m] Started LSB: LVM2 metadata daemon. [[0;32m OK [0m] Started LSB: LVM2 poll daemon. [[0;32m OK [0m] Started Modem Manager. [[0;32m OK [0m] Started Dispatcher daemon for systemd-networkd. [[0;32m OK [0m] Started LSB: automatic crash report generation. [[0;32m OK [0m] Stopped Snappy daemon. Starting Snappy daemon... [[0;32m OK [0m] Started Hostname Service. [[0;32m OK [0m] Started LSB: Record successful boot for GRUB. [[0;1;31mFAILED[0m] Failed to start Snappy daemon. See 'systemctl status snapd.service' for details. [[0;1;31mFAILED[0m] Failed to start PostgreSQL Cluster 10-main. See 'systemctl status [email protected]' for details. [[0;32m OK [0m] Started Network Manager. Starting Network Manager Script Dispatcher Service... [[0;32m OK [0m] Reached target Network. [[0;32m OK [0m] Started Unattended Upgrades Shutdown. Starting MySQL Community Server... Starting Advanced key-value store... Starting OpenBSD Secure Shell server... Starting containerd container runtime... Starting The Apache HTTP Server... [[0;32m OK [0m] Started Supervisor process control system for UNIX. Starting Music Player Daemon... Starting Permit User Sessions... Starting Network Manager Wait Online... Starting PostgreSQL RDBMS... [[0;32m OK [0m] Started Network Manager Script Dispatcher Service. [[0;32m OK [0m] Started containerd container runtime. [[0;32m OK [0m] Started OpenBSD Secure Shell server. [[0;32m OK [0m] Started Permit User Sessions. Starting Set console scheme... Starting Terminate Plymouth Boot Screen... [[0;32m OK [0m] Started PostgreSQL RDBMS. [[0;32m OK [0m] Stopped Snappy daemon. Starting Snappy daemon... auth.log (И тут похоже ошибка !): CODE Format Aug 4 10:56:02 serge sshd[1541]: Server listening on 0.0.0.0 port 22. Aug 4 10:56:02 serge sshd[1541]: Server listening on :: port 22. Aug 4 10:56:04 serge sddm-helper: pam_unix(sddm-autologin:session): session opened for user serge by (uid=0) Aug 4 10:56:04 serge systemd-logind[1005]: New session 1 of user serge. Aug 4 10:56:04 serge systemd: pam_unix(systemd-user:session): session opened for user serge by (uid=0) Aug 4 10:56:05 serge sshd[1541]: Received SIGHUP; restarting. Aug 4 10:56:05 serge sshd[1541]: Server listening on 0.0.0.0 port 22. Aug 4 10:56:05 serge sshd[1541]: Server listening on :: port 22. Aug 4 10:56:05 serge sshd[1541]: Received SIGHUP; restarting. Aug 4 10:56:05 serge sshd[1541]: Server listening on 0.0.0.0 port 22. Aug 4 10:56:05 serge sshd[1541]: Server listening on :: port 22. Aug 4 10:56:05 serge sshd[1541]: Received SIGHUP; restarting. Aug 4 10:56:05 serge sshd[1541]: Server listening on 0.0.0.0 port 22. Aug 4 10:56:05 serge sshd[1541]: Server listening on :: port 22. Aug 4 10:56:06 serge polkitd(authority=local): Registered Authentication Agent for unix-session:1 (system bus name :1.42 [/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) Aug 4 10:56:31 serge dbus-daemon[1051]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) syslog (очень большой файл - окончание) : CODE Format ... Aug 4 10:56:09 serge systemd[2057]: Starting Bluetooth OBEX service... Aug 4 10:56:09 serge obexd[3200]: OBEX daemon 5.48 Aug 4 10:56:09 serge dbus-daemon[2163]: [session uid=1000 pid=2163] Successfully activated service 'org.bluez.obex' Aug 4 10:56:09 serge systemd[2057]: Started Bluetooth OBEX service. Aug 4 10:56:10 serge dbus-daemon[1051]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.59' (uid=1000 pid=2899 comm="/usr/bin/plasmashell " label="unconfined") Aug 4 10:56:10 serge systemd[1]: Starting PackageKit Daemon... Aug 4 10:56:10 serge PackageKit: daemon start Aug 4 10:56:10 serge dbus-daemon[1051]: [system] Successfully activated service 'org.freedesktop.PackageKit' Aug 4 10:56:10 serge systemd[1]: Started PackageKit Daemon. Aug 4 10:56:12 serge PackageKit: get-updates transaction /8465_cbeaceba from uid 1000 finished with success after 1060ms Aug 4 10:56:14 serge systemd[1]: Started Daemon for generating UUIDs. Aug 4 10:56:31 serge pulseaudio[2943]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Aug 4 10:56:52 serge systemd[1]: Starting Stop ureadahead data collection... Aug 4 10:56:52 serge systemd[1]: Started Stop ureadahead data collection. Aug 4 10:59:10 serge dbus-daemon[2163]: [session uid=1000 pid=2163] Activating service name='org.kubuntu.DriverManager' requested by ':1.7' (uid=1000 pid=2558 comm="kded5 [kdeinit5] " label="unconfined") Aug 4 10:59:10 serge dbus-daemon[2163]: [session uid=1000 pid=2163] Successfully activated service 'org.kubuntu.DriverManager' Aug 4 10:59:24 serge org.kubuntu.DriverManager[2163]: DriverManager_DBus::devices START Aug 4 10:59:24 serge org.kubuntu.DriverManager[2163]: DriverManager_DBus::devices END Xorg.0.log(очень большой файл - окончание) : CODE Format ... [ 10.192] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event9" [ 10.192] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 14) [ 10.192] (**) Option "AccelerationScheme" "none" [ 10.192] (**) ETPS/2 Elantech Touchpad: (accel) selected scheme none/0 [ 10.192] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000 [ 10.192] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4 [ 10.192] (II) event9 - ETPS/2 Elantech Touchpad: is tagged by udev as: Touchpad [ 10.192] (II) event9 - ETPS/2 Elantech Touchpad: device is a touchpad [ 10.192] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse2) [ 10.192] (II) No input driver specified, ignoring this device. [ 10.192] (II) This device may have been added with another device file. [ 10.199] (**) Barcode Reader : Applying InputClass "libinput pointer catchall" [ 10.199] (**) Barcode Reader : Applying InputClass "libinput keyboard catchall" [ 10.199] (II) Using input driver 'libinput' for 'Barcode Reader ' [ 10.199] (**) Barcode Reader : always reports core events [ 10.199] (**) Option "Device" "/dev/input/event6" [ 10.199] (**) Option "_source" "_driver/libinput" [ 10.199] (II) libinput: Barcode Reader : is a virtual subdevice [ 10.199] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.1/0003:13BA:0018.0002/input/input8/event6" [ 10.199] (II) XINPUT: Adding extended input device "Barcode Reader " (type: KEYBOARD, id 15) [ 10.199] (**) Option "xkb_model" "pc105" [ 10.199] (**) Option "xkb_layout" "us" [ 10.199] (**) A4TECH USB Device: Applying InputClass "libinput keyboard catchall" [ 10.199] (II) Using input driver 'libinput' for 'A4TECH USB Device' [ 10.199] (**) A4TECH USB Device: always reports core events [ 10.199] (**) Option "Device" "/dev/input/event7" [ 10.199] (**) Option "_source" "_driver/libinput" [ 10.199] (II) libinput: A4TECH USB Device: is a virtual subdevice [ 10.199] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:09DA:9090.0003/input/input9/event7" [ 10.199] (II) XINPUT: Adding extended input device "A4TECH USB Device" (type: KEYBOARD, id 16) [ 10.199] (**) Option "xkb_model" "pc105" [ 10.199] (**) Option "xkb_layout" "us" ? |
mstdmstd |
Aug 4 2019, 8:37
Пост
#4
|
Репутация: 2 Активист Группа: Пользователи Сообщений: 340 С нами с: 13-January 16 |
Нашел в интернете:
CODE Format sudo ifconfig CODE Format lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 и далее пробую CODE Format sudo ifconfig eth6 up но получяаю ошибку что девайс не найден... |
nx117 |
Aug 4 2019, 15:51
Пост
#5
|
Репутация: -93 Старожил Группа: BANNED Сообщений: 3 318 С нами с: 12-February 17 |
Перейдите в обычном режиме на свободную консоль, Alt+F2, например, у вас вроде все загружается.
Посмотреть, есть ли ip -шник можно ip a ip addr show Если ip есть и можно его пропинговать, тогда возможно нет настроек dns. nslookup что нибудь работающее Сеть нужно настраивать или через netplan, или через network manager (nmcli), легко найти в интернете как. В 18.04 вроде еще нужно netplan, не помню точно, конфигурационные файлы в нем очень чувствительны к синтаксису, лучше сразу копипастить с примеров, включая положение команд в тексте. Если получится с nmcli, там намного проще. |
EvgenZ |
Aug 4 2019, 22:21
Пост
#6
|
Репутация: 9 Дух Группа: Пользователи Сообщений: 53 С нами с: 26-March 06 |
Нашел в интернете: CODE Format sudo ifconfig CODE Format lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 и далее пробую CODE Format sudo ifconfig eth6 up но получяаю ошибку что девайс не найден... Откуда eth6? Копать нужно в стьорону сетевых интерфейсов, из вывода видно что поднят только локалхост. Айпишник присваивать (если нет DHCP) нужно уже поднятому сетевому интерфейсу. часто имя для проводного - eth0, если WiFi-адаптер - wlo0 или wlan0) подробней тут, тут и тут Сообщение отредактировал EvgenZ - Aug 5 2019, 22:47 |
Упрощённая версия | Сейчас: 31st October 2024 - 16:33 |
Сайт не розміщує електронні версії творів, а займається лише колекціонуванням та каталогізацією посилань, що публікуються нашими користувачами. Якщо Ви є правовласником якоїсь частини опублікованого матеріалу та не бажаєте, щоб посилання на нього знаходилось в нашому каталозі, зв’яжіться з нами і ми видалимо його. Файли для обміну надані користувачами сайту і адміністрація не несе відповідальності за їх вміст. |