=== mike_ is now known as Guest53527 [07:36] Hello [07:38] I have updated lubuntu 19.10 tot lubuntu 20.04 but in the upgrade process my machine lost power and now can i not boot my machine to lubuntu. how can i fix this problem [07:53] crystal_water: What do you mean with "cannot boot"? [07:54] if i will start up my machine to boot i get a error machine after typing in the grub passwaord [07:55] You have an encrypted installation? [07:55] yes [07:55] with the standard tool in the lubuntu setup [07:56] You can start a livesystem and then chroot into the installed system [07:56] i have now boot in a livestystem of lubuntu 20.04. what's the next step? [07:57] UEFI or BIOS? [07:58] BIOS i think [07:58] well i used Rufus in ISO mode to boot up an Pentium 4 pc [07:58] lubuntu boots up, goes through the pre-installation hoops [07:59] and its stuck right after the Scanning CD/ROM [07:59] what could be the issue for the screen not showing up anything after that [08:00] i tried to set the kernel to nomodeset. idk what it does but it didnt help [08:00] so..could it be that after scanning CD/ROM (boot media) part, the blue screen staring at me.. [08:01] ...could sparkle up with further steps after waiting for like 15 mins.. [08:01] thanks [08:01] crystal_water: Open a terminal and type: `sudo cryptsetup luksOpen /dev/sdXY cryptlvm` [08:01] in the livesystem? [08:01] yes sir [08:01] live USB boot [08:02] crystal_water: yes, from the livesystem [08:02] ah [08:02] Miecool818: i have i to apt-ghetto [08:04] crystal_water: After opening your encrypted device, you mount the installation `sudo mount /dev/mapper/luks- /mnt [08:04] apt-ghetto: i have put the exact code in the terminal and the output is : Device /dev/sdXY doesn't exist or acces denied. [08:06] crystal_water: Well, for X you should use the name of the disk and for the Y the number of the partition, in your system it should look like sda1 or sda5 or whatever [08:06] i will try that [08:06] crystal_water: Check with `lsblk -f` [08:08] crystal_water: In the FSTYPE column of lsblk you should see "crypt_" [08:09] and copy the ' sum' after crypto? [08:09] it say that it is already mapped or mounted [08:10] What is the mountpoint? [08:11] i have solved it. i had the file manager open en decrypt there [08:14] crystal_water: What is the mountpoint of your luks device? [08:15] i get the error again. i have sda-sda1 crypto. and use sda1 or sda1 cypto and give the same error: Cannot use device /dev.sda1 which is in use (already mapped or mounted) [08:15] with lsblk -f i see no device with the name luks [08:16] yes now i see it [08:16] Ok, then do: `sudo umount /dev/sda1` [08:16] it is onder sda1 [08:17] And after that remount it with `sudo mount /dev/mapper/luks` press TAB to autocomplete and then ENTER [08:17] Sorry, I mean `sudo mount dev/mapper/luks-..... /mnt` [08:18] i say that it is not mounted and after i will decrypt the device i say it is mounted or mapped [08:19] Which command did you type? [08:20] for unmount (sudo umount /dev/sda1) and for decrypt (sudo cryptsetup luksOpen /dev/sda1 crypto cryptlvm) [08:21] cryptsetup luksOpen is not necessary [08:21] You have to mount it to /mnt, so that we can prepare the chroot [08:21] i take now a break i will comeback soon [09:08] i am back from the break. What is the command to mount sda1 to /mnt? [09:12] crystal-water: sudo mount /dev/mapper/luks-.... /mnt [09:12] You can press TAB for the autocompletion [09:13] at the dots i need to type sda1? [09:14] no, `ls -l /dev/mapper/` shows you one device [09:14] It is a unique identifier [09:15] do i need root root 10 or root root? [09:15] no, just start typing and when you wrote luks- press TAB once or twice [09:15] ok i will do that [09:16] tab do nothing [09:19] then check it with ls -l /dev/mapper and write it. The command will then look like sudo mount /dev/mapper/luks-5abc4532-9229-a03a-29299302902 /mnt <= just an example [09:21] if i do -l /dev/mapper i get no output that looks like 5abc4532-9229-a03a-29299302902 [09:21] Did you reboot the live system? [09:22] no i have not reboot wil i was on this irc [09:23] Do you see control and something else? [09:24] yes by crw------- 1 root root 10 [09:25] and there under i see cryptlvm -> .. dm-0 [09:25] Ahh, okay, then use sudo mount /dev/mapper/cryptlvm /mnt [09:26] that works but i see nothing [09:26] That is good [09:27] then we continue: sudo mount -o bind /dev /mnt/dev [09:27] sudo mount -o bind /sys /mnt/sys [09:27] sudo mount -t proc /proc /mnt/proc [09:27] sudo cp /proc/mounts /mnt/etc/mtab [09:27] sudo chroot /mnt /bin/bash [09:28] Execute line by line and after that you are in your installed system [09:29] by the thirth from above comammand i get ( cp: '/proc/mounts' and '/mnt/etc/mtab' are the same file' [09:29] Yes, no problem, you can continue [09:30] i have typed the command's in the live system. [09:31] The command prompt has changed? [09:31] Then you can execute: apt update [09:31] yes to root@lubuntu instead of green lubuntu@lubuntu [09:32] update is now ready [09:32] in the output of apt update you should see the word focal? [09:32] yes the files that are donwloaded' [09:33] then do: apt full-upgrade [09:33] The Lubuntu installation was a fresh installation with 19.10? [09:34] i get a error that i need to execute 'sudo dpkg --configure -a' to solve the problems [09:34] Good, do that: dpkg --configure -a [09:35] woth sudo? [09:35] You are root in the chroot, so you do not need sudo [09:35] if it is a fresh install i need to make a back up first? [09:36] If your data are important for you, you always need to have at least one backup [09:36] If you don't care, than you don't need a backup [09:37] than i will make a back up now. i will take a couple of minutes' [09:37] I go offline in a few minutes [09:37] But now you have the steps to chroot into your installation [09:38] And if you need help, there are certainly other people here, who can help you [09:38] oke then i will ask a nother person. [09:38] Can you please tell me, which was the original Lubuntu installation? 18.10? 19.04? 19.10? [09:39] thanks for all the help it is very usefull and i takes a lot of to search on the web [09:39] 19.10 [09:39] That is good [09:40] guys. quick question. anyone knows if you can change the keyboard layout on a bootable usb installation? [09:40] InHoooman: If you have a GUI, then `setxkbmap it` would change it to the italian keyboard layout [09:41] now i can't see the the hard drive in my machine now is it because if have mounted it with my live systems? [09:42] crystal-water: You should see it under /mnt with pcmanfm-qt [09:42] thanks. i guess i'll need a keybind to change between the two layouts. thanks [09:42] thanks again* [09:42] apt-ghetto and after that remount it for the fresh install? [09:42] InHoooman: It depends, if you are talking about a live system or about an installed system [09:43] crystal-water: If you have your backup, then you should try to reinstall Grub inside the chroot with: grub-install /dev/sda && update-grub [09:44] crystal-water: And you should try to fix the dpkg errors, so you don't need to reinstall the system === akem_ is now known as akem === fran is now known as Guest55161 [16:46] ItzSwirlz was added by: ItzSwirlz [16:46] looking to install c++ library QMainWindow [16:46] installing qtbase5-dev isn't working :/ [16:52] #include … File not found. [16:52] running files-everything is fine [16:54] ItzSwirlz Maybe it's looking for Qt4 ? [16:54] doubt it [16:54] /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow [16:54] It's definitly qtbase. [16:54] i'm going back to it later [16:54] yeah === peterson is now known as macrec === denzel is now known as Guest23156