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