Kubuntu won't boot

Ralf Mardorf kde.lists at yahoo.com
Thu Jul 29 01:26:45 UTC 2021


On Wed, 28 Jul 2021 16:44:26 -0700, rikona wrote:
>On 2021-07-28 06:56, Ralf Mardorf via ubuntu-users wrote:
>> On Tue, 27 Jul 2021 18:25:21 -0700, rikona wrote:
>> sudo cp -ai source target  
>
>This fails, possibly because I have names with spaces. I can copy a 
>single file with no spaces. Using sudo from the DVD, it does not ask
>for a password, unlike with a disk boot. Why no password?

A password isn't used, since it's a live DVD, so a password doesn't
make sense.


[rocketmouse at archlinux tmp]$ /usr/bin/ls -hAl mount/target/
total 0


[rocketmouse at archlinux tmp]$ /usr/bin/ls -hAl mount/source/
total 0
drwxr-xr-x 3 rocketmouse rocketmouse 80 Jul 29 03:10 'path with spaces'


[rocketmouse at archlinux tmp]$ /usr/bin/ls -hAl mount/source/path\ with\ spaces/
total 0
drwxr-xr-x 2 rocketmouse rocketmouse 40 Jul 29 03:10 'another file with spaces.txt'
-rw-r--r-- 1 rocketmouse rocketmouse  0 Jul 29 02:58 'file with spaces.txt'


[rocketmouse at archlinux tmp]$ sudo cp -ai mount/source/* mount/target/; echo $?
[sudo] password for rocketmouse: 
0


[rocketmouse at archlinux tmp]$ diff -r --no-dereference mount/source/ mount/target/; echo $?
0


[rocketmouse at archlinux tmp]$ /usr/bin/ls -hAl mount/target/
total 0
drwxr-xr-x 3 rocketmouse rocketmouse 80 Jul 29 03:10 'path with spaces'


[rocketmouse at archlinux tmp]$ /usr/bin/ls -hAl mount/target/path\ with\ spaces/
total 0
drwxr-xr-x 2 rocketmouse rocketmouse 40 Jul 29 03:10 'another file with spaces.txt'
-rw-r--r-- 1 rocketmouse rocketmouse  0 Jul 29 02:58 'file with spaces.txt'


>> Using a Live Ubuntu take a look at log files, especially of the
>> display manager and xorg first. You even can take a look at the
>> binary systemd log files by using the    string    command, without
>> the need to do anything more complicated.  
>
>I don't seem to have permission to look at log files. Owned by root on 
>the original box. How can I do that? Might be nice to look at boot
>log. :-)

Use sudo to get the required permissions.


[rocketmouse at archlinux ~]$ sudo -i


[root at archlinux ~]# strings /mnt/moonstudio/var/log/journal/11c38dd3e23594f3b5e43bb555b3f928/system.journal | grep Ubuntu
MESSAGE=Linux version 4.4.0-210-lowlatency (buildd at lgw01-amd64-009) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ) #242-Ubuntu SMP PREEMPT Fri Apr 16 10:44:25 UTC 2021 (Ubuntu 4.4.0-210.242-lowlatency 4.4.262)


[root at archlinux ~]# grep EE /mnt/moonstudio/var/log/Xorg.0.log
[2172929.335] (EE) 
[2172929.335] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) 
[2172929.335] (EE) 
[2172929.335] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[2172929.335] (EE) 
[2172929.335] (EE) Server terminated with error (1). Closing log file.




More information about the ubuntu-users mailing list