/srv/irclogs.ubuntu.com/2022/09/27/#lubuntu.txt

lubot[telegram] <YarikMihalchik> Hello does anybody know how to delete grub from may main drive and install it on external?05:32
lubot[telegram] <YarikMihalchik> Cuz lubuntu installer installed grub on my main drive and lubuntu on external hardrive05:32
lubot[telegram] <Thanos> Do you prefer encrypted or unencrypted system on Lubuntu?05:35
lubot[telegram] <YarikMihalchik> ? Unencrypted05:48
arraybolt3@YarikMihalchik: I don't know of any way to uninstall GRUB from a drive. It shouldn't be a problem for it to be there at least for now (indeed removing it might make it tricky to boot whatever OS is on your internal drive!). However, installing GRUB to an external drive is relatively easy.06:06
arraybolt3@YarikMihalchik: Do you know if your system uses BIOS firmware or UEFI firmware? If not, run "ls /sys/firmware/efi" in a terminal and tell me if it shows you folder contents, or if it says "No such file or directory".06:07
lubot[telegram] <MyRealLife444> Hi brothers And sisters13:44
Igorhello everyone13:51
Igorwhere can I find support on linux, I think I did something seriously bad to my machine and can not find a way out13:52
lubot[telegram] <MyRealLife444> Did somebody knows whats the best compilation for my old small asus eee 1001px, n450@1667mhz, VGA intel 915, 2GB ram ddr2@667Mhz, SSD, cpuid limit disabled, sata ahci enhanced mode, changed WiFi modul (now sone Intel model, not ath9k). Boot booster activated and disk Will be parted for it. I need this machine for car obd diagnostics software. My idea is dual boot, Linux 32bit distro with wine And virtual box with XP or win7, second An13:59
Igorthere is no one on ubuntu-helpteam14:06
arraybolt3Igor: This is a support channel for Lubuntu, there's also the #ubuntu channel.15:05
lubot[telegram] <YarikMihalchik> i just know it uses bios (re @lubuntu_bot: (irc) <arraybolt3> @YarikMihalchik: Do you know if your system uses BIOS firmware or UEFI firmware? If not, run "ls /sys/firmware/efi" in a terminal and tell me if it shows you folder contents, or if it says "No such file or directory".)15:06
arraybolt3@MyRealLife444: I would suggest using Debian if you need a modern, supported Linux distro for use on 32-bit hardware. However, running a 32-bit version of Windows in VirtualBox will probably not work because VirtualBox no longer works without hardware virtualization support in the processor.15:07
arraybolt3@YarikMihalchik: OK, is there a "/boot" folder *on the external drive*?15:07
lubot[telegram] <MyRealLife444> n450 is 64bit, but 1core, 2threads. And Qemu And etc..? (re @lubuntu_bot: (irc) <arraybolt3> @MyRealLife444: I would suggest using Debian if you need a modern, supported Linux distro for use on 32-bit hardware. However, running a 32-bit version of Windows in VirtualBox will probably not work because VirtualBox no longer works without hardware virtualization support in the processor.)15:08
arraybolt3@MyRealLife444: If you're on 64-bit hardware, that might work then. Let me do a quick search.15:09
lubot[telegram] <MyRealLife444> Thx too much. Its not neccessary, but some days now i am at research πŸ˜…πŸ˜…πŸ˜…πŸ€¦β€β™‚οΈπŸ€·β€β™‚οΈπŸ˜†πŸ˜† (re @lubuntu_bot: (irc) <arraybolt3> @MyRealLife444: If you're on 64-bit hardware, that might work then. Let me do a quick search.)15:10
arraybolt3@MyRealLife444: Sadly, according to Intel, that CPU doesn't support hardware virtualization. Qemu will technically work, but it will be so miserably slow it will probably not be functional, and if it is functional it probably won't be worth using. Dual-booting XP or 7 alongside Debian or Lubuntu would probably be the best way to go.15:11
arraybolt3@MyRealLife444: If your car diagnostic software requires the use of Windows, you can use your old version of Windows for just running the car diagnostic, and then use Debian or Lubuntu for things that require an up-to-date OS (like Web browsing).15:11
lubot[telegram] <MyRealLife444> If i produce some money work  And not research.... πŸ˜…πŸ˜…πŸ˜… Netbook 2022 willst on my table now πŸ˜†πŸ˜†πŸ˜†πŸ˜œ (re @lubuntu_bot: (irc) <arraybolt3> @MyRealLife444: If you're on 64-bit hardware, that might work then. Let me do a quick search.)15:12
lubot[telegram] <MyRealLife444> Better then Linux is dual boot win + android. (re @lubuntu_bot: (irc) <arraybolt3> @MyRealLife444: If your car diagnostic software requires the use of Windows, you can use your old version of Windows for just running the car diagnostic, and then use Debian or Lubuntu for things that require an up-to-date OS (like Web browsing).)15:13
lubot[telegram] <MyRealLife444> Because diag soft is only win And android15:13
lubot[telegram] <MyRealLife444> πŸ˜…15:13
arraybolt3@MyRealLife444: That might also work. The only good Android system for x86 that I know of is *really glitchy*, though.15:14
arraybolt3(Interestingly, though, you *might* be able to run an Android container within a Linux distro and do things that way.)15:14
lubot[telegram] <MyRealLife444> I tested android x86, And it works too much better then linux15:14
lubot[telegram] <YarikMihalchik> yes (re @lubuntu_bot: (irc) <arraybolt3> @YarikMihalchik: OK, is there a "/boot" folder *on the external drive*?)15:14
lubot[telegram] <YarikMihalchik> oh wait15:14
lubot[telegram] <YarikMihalchik> not a folder15:14
lubot[telegram] <YarikMihalchik> but partition15:15
arraybolt3@YarikMihalchik: That's fine.15:15
arraybolt3@MyRealLife444: Nice, sounds like that's your answer! You can install Windows first, then install Android-x86 alongside and have everything working.15:15
arraybolt3@YarikMihalchik: OK, so can you run "lsblk | nc termbin.com 9999" and send the link that prints?15:15
lubot[telegram] <MyRealLife444> Not yet. I am testing now 9.0 rc2 32bit, And it works like charm (re @lubuntu_bot: (irc) <arraybolt3> @MyRealLife444: That might also work. The only good Android system for x86 that I know of is *really glitchy*, though.)15:16
lubot[telegram] <YarikMihalchik> oh wait im not in lubuntu rn lemme reboot (re @lubuntu_bot: (irc) <arraybolt3> @YarikMihalchik: OK, so can you run "lsblk | nc termbin.com 9999" and send the link that prints?)15:16
lubot[telegram] <MyRealLife444> Older mint distros works better than lubuntu πŸ€·β€β™‚οΈπŸ˜‰15:17
arraybolt3@MyRealLife444: This is the Lubuntu support channel. Sorry that Lubuntu didn't work for you, but this is off-topic for this channel and there is an active support session going on at the moment.15:18
lubot[telegram] <MyRealLife444> Resolution with mint xfce is right 1024*600 at First boot. Lubuntu cant recognize. Same after updates And changing kernnelss15:19
lubot[telegram] <MyRealLife444> Still bad : https://matterbridge.lubuntu.me/27efac01/file_6123.jpg15:19
lubot[telegram] <MyRealLife444> Ok πŸ˜‰ (re @lubuntu_bot: (irc) <arraybolt3> @MyRealLife444: This is the Lubuntu support channel. Sorry that Lubuntu didn't work for you, but this is off-topic for this channel and there is an active support session going on at the moment.)15:20
lubot[telegram] <MyRealLife444> Thx for ideas And infos15:20
lubot[telegram] <MyRealLife444> My research was la grandeπŸ˜„15:20
arraybolt3@MyRealLife444: No problem, glad to try and help!15:20
lubot[telegram] <MyRealLife444> Nice day Boys!15:21
lubot[telegram] <YarikMihalchik> It says a https://termbin.com/cny3 (re @lubuntu_bot: (irc) <arraybolt3> @YarikMihalchik: OK, so can you run "lsblk | nc termbin.com 9999" and send the link that prints?)15:22
arraybolt3@YarikMihalchik: Hmm... ok that's weird. What's at /media/a/NO_LABEL?15:24
arraybolt3Is that the boot partition on the external drive?15:24
lubot[telegram] <YarikMihalchik> Oh i mounted a boot volume (re @lubuntu_bot: (irc) <arraybolt3> @YarikMihalchik: Hmm... ok that's weird. What's at /media/a/NO_LABEL?)15:25
lubot[telegram] <YarikMihalchik> There ia nothing here15:25
arraybolt3@YarikMihalchik: Hmm... ok this is somewhat confusing. Can you run "ls /boot | nc termbin.com 9999"?15:26
lubot[telegram] <YarikMihalchik> Https://termbin.com/c06w15:27
arraybolt3@YarikMihalchik: OK, that's encouraging. One moment, I'll see if I can figure out the command to install GRUB.15:31
arraybolt3@YarikMihalchik: Try running "sudo grub-install /dev/sdb" and see if that does the trick.15:32
lubot[telegram] <YarikMihalchik> Ok no errors15:33
lubot[telegram] <YarikMihalchik> Let me check15:33
lubot[telegram] <YarikMihalchik> Yay grub have been installed on external hardrive15:33
lubot[telegram] <YarikMihalchik> But what about grub on main drive?15:34
lubot[telegram] <YarikMihalchik> Is there a command for it?15:34
arraybolt3@YarikMihalchik: I see you already have Windows installed on the main drive (I believe). I really recommend that you *not* try to remove GRUB from it. It is now what is allowing your computer to still boot Windows, and removing it may cause trouble.15:38
arraybolt3(The only way I can think of that would safely remove it would be to install the Windows bootloader over the top of it, but that could still be risky.)15:38
arraybolt3(Besides, if you're using a supported version of Windows, it will probably overwrite the bootloader with its own bootloader at some point or another during a Windows update.)15:39
arraybolt3(If I'm remembering correctly, that is.)15:39
lubot[telegram] <YarikMihalchik> I use windows 7... (re @lubuntu_bot: (irc) <arraybolt3> (Besides, if you're using a supported version of Windows, it will probably overwrite the bootloader with its own bootloader at some point or another during a Windows update.))15:40
arraybolt3@YarikMihalchik: Hmm. Well... crud. Do you still have a Windows 7 installation disk somewhere?15:41
arraybolt3It has a tool that can be used to install the Windows bootloader.15:41
lubot[telegram] <YarikMihalchik> I can make one (re @lubuntu_bot: (irc) <arraybolt3> @YarikMihalchik: Hmm. Well... crud. Do you still have a Windows 7 installation disk somewhere?)15:41
arraybolt3OK. If you really want to risk installing the original Windows bootloader instead of GRUB's bootloader, then making a Windows 7 disk would probably be the best way to proceed.15:42
arraybolt3(This isn't going to be a full reinstall of Win7, btw, we're just going to run a command from off the disk.)15:42
lubot[telegram] <YarikMihalchik> Ah16:15
lubot[telegram] <YarikMihalchik> The onstallation of it has stoped16:15
lubot[telegram] <YarikMihalchik> Wait16:15
arraybolt3@YarikMihalchik: You're still just making the Win7 disk, right?16:16
arraybolt3(Just making sure things are going correctly.)16:18
lubot[telegram] <YarikMihalchik> Yea (re @lubuntu_bot: (irc) <arraybolt3> @YarikMihalchik: You're still just making the Win7 disk, right?)16:27
lubot[telegram] <YarikMihalchik> Its all fine16:27
lubot[telegram] <YarikMihalchik> Arraybolt318:21
lubot[telegram] <YarikMihalchik> I just get a windows 7  disk18:22
arraybolt3@YarikMihalchik: OK, can you boot into the Windows 7 that's already installed on your system?18:22
lubot[telegram] <YarikMihalchik> I just shutdown from windows 718:23
lubot[telegram] <YarikMihalchik> Wait I will load rn18:23
lubot[telegram] <YarikMihalchik> I can boot18:23
lubot[telegram] <YarikMihalchik> I’m booting rn18:23
lubot[telegram] <YarikMihalchik> Loaded in (re @lubuntu_bot: (irc) <arraybolt3> @YarikMihalchik: OK, can you boot into the Windows 7 that's already installed on your system?)18:24
arraybolt3Actually, I thought booting the installed Windows 7 was the right thing to do next, but a quick Google reveals that I was mistaken. Here's the instructions for installing the Windows 7 bootloader. (Make sure your Lubuntu external drive is **not** plugged into the computer before doing this!) https://superuser.com/questions/234824/how-do-i-install-the-windows-7-boot-loader18:25
lubot[telegram] <YarikMihalchik> Ok18:26
arraybolt3Igor: Please tell us about your problem here, where people who can help can see it. Not in DMs, please. :)18:30
Igorwell, sorry about that, it was so far behind in chat, I did not want to write about it againn18:31
Igorbut OK18:31
Igorso I managed to screw my computer18:32
lubot[telegram] <MyRealLife444> Hi18:32
IgorI run a SBC and the machine uses a eMMC disk18:32
Igorthis is basically flash memory in a form of a chip, eg soldered to the board18:32
arraybolt3Yeah. I've got some systems that use that kind of storage, so I know what you mean.18:33
lubot[telegram] <MyRealLife444> Pls somebody know how i can make partitioning for lubuntu for boot booster And dual boot?18:33
Igorso with the constant updates coming for lubuntu the machine would occasionally fill its disk and lock me out during updates18:33
Igorso finally I decided to add another disk, a SSD on M2 slot18:34
Igorthe big idea was to move the system to the SSD, to clone it and simply update the boot settings18:34
Igorwell, since I am a noob, I decided to use Clonezilla18:35
Igora SW, that can clone a disk18:35
Igorso I did it18:35
IgorBUT18:35
lubot[telegram] <YarikMihalchik> Tysm anyway I will install Ubuntu cuz of risk of when update It will update (re @lubuntu_bot: (irc) <arraybolt3> Actually, I thought booting the installed Windows 7 was the right thing to do next, but a quick Google reveals that I was mistaken. Here's the instructions for installing the Windows 7 bootloader. (Make sure your Lubuntu external drive is **not** plugged into the computer before doing this!) https://superuser.com/questions18:35
IgorI did not read untill the bottom of the tutorial, where it is clearly stated not to leave the original disk in the machine18:36
lubot[telegram] <YarikMihalchik> But at least I got my  windows t work18:36
arraybolt3Igor: Oh... and now both disks aren't bootable, I'm guessing.18:36
lubot[telegram] <YarikMihalchik> Ok bye see you next time... or not18:36
Igorso now I have 2 disks with BOOT records on it, two bootloaders, each disk its own, up untill recently both disks had same UUID, so a massive screw-up18:36
arraybolt3@YarikMihalchik: Glad you got a solution! See you later!18:37
arraybolt3Igor: OK, this doesn't sound too tricky to fix. Your SBC uses UEFI, right?18:37
Igorarraybolt3: actually it boots in both cases to "emergency mode"18:37
Igoryes, it does18:37
Igorit uses UEFI18:37
arraybolt3Igor: Nice. In theory, this should be a matter of changing UUIDs and cleaning up the EFI partitions and config files.18:38
IgorI mean I have 0 idea what that is, but yes, it uses it18:38
Igor:D18:38
arraybolt3Igor: One moment while I look up how to change a UUID...18:38
IgorI already changed this18:39
Igoreach disk now has its own UUID18:39
arraybolt3Igor: 18:39
arraybolt3Igor: Oh, OK. Nice.18:39
arraybolt3Alright, can you boot the wonky system from a USB drive?18:39
IgorI edited /etc/fstab on both disks18:39
Igoryes, tried that too18:40
Igorheck, I managed to boot it from a read only disk, but it is no permanent solution18:40
arraybolt3Igor: OK, boot from the USB drive, connect to the Internet, and run "lsblk | nc termbin.com 9999" so I can see your drives and partitions.18:40
IgorI have a KALI distribution on USB stick18:40
arraybolt3(Send the link that command prints on the screen after running it. Also, the Kali USB should work fine for this.)18:41
IgorOK18:41
Igorhould be booted in a minute or so18:42
Igor.com/664d18:44
Igorcool feature18:44
arraybolt3Alright, I can see it. And... that's weird. Can you run "ls /sys/firmware/efi/efivars" and tell me if that says "No such file or directory", or if it spits a ton of gunk on your screen?18:45
Igorhttps://termbin.com/664d18:46
Igoryes, I did screw around it, so...18:46
arraybolt3It looks like somehow the EFI partitions are just... gone.18:46
arraybolt3I would expect there to be a small (~300 MB) partition at the start of each disk, so I'm doubting if your system actually does use UEFI or not.18:47
Igoryes, as predicted18:48
arraybolt3Igor: So the ls command above does print a whole ton of gunk?18:48
Igorfor UEFI I can check if there is option in bios?ΕΎ18:48
arraybolt3Igor: That shouldn't be necessary. Just run "ls /sys/firmware/efi/efivars" and tell me what it does.18:48
Igorthe command above says no such directory18:49
arraybolt3OK. What SBC is this?18:49
IgorUDOO x8618:49
arraybolt3(This will be handy for knowing how to troubleshoot this.)18:49
arraybolt3...that is *so confusing.* OK, uh... can you run "sudo grub-install /dev/sda" and tell me what that does?18:50
Igorsure, but I belive I already have sda18:51
Igorbut no matter18:51
arraybolt3Right. I'm interested in more what the command says more than what it does.18:51
arraybolt3I'm currently gathering info about the system to try and figure out what exactly it is and what went wrong so that I can try and figure out how to fix it.18:51
Igorcommand not found18:53
arraybolt3Tar.18:53
arraybolt3Hmm, ok. Try "sudo mount /dev/sda1 /mnt && cd /mnt/boot && ls | nc termbin.com 9999" and send the link.18:53
Igortry 'tar --help'18:53
arraybolt3LOL no my "Tar" was an expression of frustration, not a command :P18:54
Igor:D18:56
Igorsorry, was not sure18:56
Igoroutput is https://termbin.com/k7yg18:56
IgorZ18:57
Igoroutput is https://termbin.com/k7zg18:57
arraybolt3I am so sorry to interrupt but I have to go away from keyboard really quick, I'll be right back.18:57
IgorOK18:57
arraybolt3OK, I am back.19:03
Igorgood to have you back19:03
arraybolt3OK, so Lubuntu isn't installed using UEFI after all. So it's probably a GRUB configuration problem, The Kali USB doesn't seem to have all of the tools to fix it, but we can probably finish diagnosing it here.19:04
arraybolt3Can you show the output of "cat /mnt/boot/grub/grub.cfg | nc termbin.com 9999"?19:05
Igorsure, just a minute19:05
Igorhttps://termbin.com/2tvu19:07
Igorthe UUIDs are for the eMMC disk, I think19:08
arraybolt3Igor: Looks pretty normal to me, so I'm guessing it's probably just a matter of getting the GRUB configuration regenerated.19:08
arraybolt3OK, shut down Kali, remove the USB, boot the system from the NVMe drive, and enter recovery mode, since it will let you do that.19:09
Igorpossibly?, but I would like to use the other disk19:09
arraybolt3Igor: Right, that's the intended end goal.19:09
Igoryes19:09
arraybolt3Once you're in Recovery Mode, select the "network" option with your arrow keys and press Enter, then select "root" and press Enter.19:10
arraybolt3That should give you a shell where we can finish fixing things.19:10
Igorrebooting19:10
Igorwhich image?19:13
Igor193 or 192?19:13
arraybolt3Igor: Actually, can you drop to a GRUB rescue shell here?19:13
IgorI'm in19:13
IgorGNU GRUB version 2.0219:14
arraybolt3OK. Press "c".19:14
arraybolt3Does this give you a prompt where it says something like 'Minimal BASH-like editing is possible'?19:14
Igoryes, I did this step19:14
Igoryes19:14
arraybolt3Great. Run "ls" and tell me what that says.19:14
arraybolt3(It may be tedious to type across, you can take pictures and upload them to Imgur if you want.)19:15
Igor(hd0) (hd0, msdos1) (hd1) (hd1,msdos1) (hd2) (hd2,msdos2) (hd2,msdos1)19:16
Igorthat is it19:16
arraybolt3OK, well... crud, that doesn't let me know which one's the eMMC and which one's the NVME. And it's a clone so...19:17
* arraybolt3 does some quick checs19:17
arraybolt3*checks19:17
arraybolt3OK, run "search --no-floppy --fs-uuid --set=root 8e2f44c8-bbf2-4b80-b594-fc43f56f18cf". Type that big long number carefully, obviously.19:17
Igorif it is a clone, then none should have the SSD, right?19:17
arraybolt3Igor: My idea is, find the eMMC by using that search command, then we can select the *other* drive and be sure we have the NVMe. Then manually boot from it.19:18
arraybolt3Once that command is finished, run "echo $root" and tell me what it says.19:19
Igorhd0, msdos119:20
Igorif you need UUID for other disk, I have it written19:20
arraybolt3Fantastic. Now run "set root=(hd1,msdos1)".19:20
arraybolt3(Also the UUID for the other disk will come in handy in just a bit.)19:21
Igordone19:21
arraybolt3Igor: Alright, now for the tricky part. Carefully type the following command:19:22
Igor:D19:22
arraybolt3linux /boot/vmlinuz root=UUID=<insert NVMe UUID here> ro quiet splash19:23
arraybolt3Replace <insert NVMe UUID here> as appropriate, making sure to not put a space between the = sign and the UUID.19:23
IgorUUID="something" ?19:24
arraybolt3Igor: No quote marks.19:24
Igoror no "" nedded?19:24
IgorOK19:24
arraybolt3It should look like root=UUID=8e2f44c8-bbf2-4b80-b594-fc43f56f18cf (but change the UUID to the NVMe one)19:24
Igorlet me double check, last time I screwed this up19:26
Igorha19:28
Igorboot/vmlinuz not found19:29
arraybolt3OK one moment...19:29
arraybolt3:facepalm: Sorry, I expected that to be there, but it's not.19:30
arraybolt3linux /boot/vmlinuz-4.15.0-193-generic root=UUID=<insert NVMe UUID here> ro quiet splash19:30
IgorOK19:31
Igordone19:31
arraybolt3Alright, next is:19:31
arraybolt3initrd /boot/initrd.img-4.15.0-193-generic19:32
IgorOK19:33
arraybolt3Alright, now run "boot" and tell me what happens.19:34
Igorit stopped when mounting usb 1-419:35
Igor(initramfs)19:36
Igorbla bla bla19:36
arraybolt3Oh, ok, what's the message on the initramfs prompt?19:36
Igor[8.008183 usb 1-4: Product: UDOO X8619:38
Igortwo more lines, last one is serial number19:38
arraybolt3Right, but it should say something like "Gave up waiting on root device <whatever>. Dropping to a shell!" or something along those lines.19:39
Igornext to initramfs is my USB key brand name19:39
Igornope19:40
Igorwrite protect is off19:40
Igorwrite cache: disabled, read cache: enabled, doesn+t support DPO or FUA19:40
arraybolt3Hmm... *sigh.* This sounds trickier than I thought initially.19:40
Igorsdb: sdb1 sdb219:41
arraybolt3So there's no indicator as to *why* it dropped to a prompt, you're just there?19:41
IgorI am not in prompt19:41
Igorit just freezed?19:41
arraybolt3You can't type anything?19:42
Igornope19:42
Igorcorrection19:42
IgorI can19:42
arraybolt3OK, type "ls", press Enter, and see what happens.19:42
IgorI am in (initramfs)19:42
Igordid I pause?19:43
arraybolt3No, something went wrong and you're at a recovery shell where we can try to fix it.19:43
Igordev19:43
Igorvar19:43
Igorlib6419:43
arraybolt3OK, that's all I need to know.19:43
Igorrun19:43
Igorbin19:43
arraybolt3Looks hopeful.19:43
Igorproc19:43
Igorroot19:43
arraybolt3Igor: Crud, a bot just muted you for the rapid info. It will take about 60 seconds before it fixes. Sorry about that.19:44
arraybolt3OK, in the mean time, run "mount /dev/sda1 /root" and see if that returns any text on the screen.19:44
arraybolt3OK, it unmuted you.19:44
Igorunable to find mount19:45
arraybolt3?!19:45
arraybolt3Welp, that's bad.19:45
Igorthis is weird19:45
arraybolt3What happens if you just run "mount"?19:45
Igorif I type help, it is in there19:45
Igorrootfs etc19:46
arraybolt3OK, "ls /dev/sda1"19:46
Igorno, man19:46
Igormy error19:46
Igorsays can't find -dev-sda1-root19:46
arraybolt3You need a space between /dev/sda1 and /root.19:46
Igorsorry19:47
arraybolt3No problem.19:47
IgorEXT4-fs (sda1): mounted filesystem19:47
arraybolt3OK, run "ls /root" and tell me if you see anything in there. (I don't need to know what's in there, though.)19:48
arraybolt3(Just if there's anything in there.)19:48
Igorfull of stuff19:48
Igorvmlinuz19:49
Igorvmlinuz.old19:49
Igorswapfile19:49
arraybolt3NicE, ok stop.19:49
Igordev19:49
Igorvar19:49
Igorall the goodies19:49
arraybolt3OK, run "exit" and see what happens.19:49
Igorexit19:49
Igorsorry, wrong keyboard19:49
Igorkernel panic19:50
Igorattempted to kill init! exit code 0x10019:50
arraybolt3Bah, great. Sounds like Clonezilla threw some wrenches in the works.19:50
Igoror me19:50
Igorprobably me19:50
arraybolt3At this point, it looks like it's corrupted your boot configuration and now can't find systemd anymore (which would explain why it was specifically mentioned in the kernel command line from the grub configuration).19:51
arraybolt3How exactly to fix this is currently beyond me. We could keep troubleshooting, but at this point I'd just back up your data to an external drive, and install Lubuntu from scratch.19:51
Igorhmmm19:51
Igorbu I cloned the disk19:51
Igorso my original eMMC should be still OK?19:52
arraybolt3Igor: 19:52
arraybolt3Igor: Depends on whether Clonezilla messed with it too or not.19:52
arraybolt3Igor: If you take the NVMe out entirely, can you boot again?19:53
Igorthat is it, I am getting out the screw driver19:53
Igor:D19:53
Igorjust a minute19:53
Igorno, it is still read only..19:56
Igorwait another minute19:56
IgorI think I changed UUIDs here too19:57
Igorand also screwed with grub19:57
Igornope19:57
Igorstill read only19:57
Igorreboot19:58
IgorI just reverted back to old UUID19:58
arraybolt3I'd probably be able to fix this if I was able to sit down at your computer and fiddle with it for a while, but remotely, and as broken as it is, this is going to be beyond difficult. I think you'll be up and running in 30 minutes to an hour if you backup and reinstall.19:58
arraybolt3(Maybe more than that depending on how complicated your setup works, but it should be faster than trying to recover this.)19:59
arraybolt3Make sure to get all of the data (including hidden files) from your home directory, so you don't lose things like browser passwords and the like.19:59
Igordang20:00
IgorI had my cnc sw on it20:00
Igorwell, we will fix this20:00
arraybolt3You'll be able to reinstall that, right?20:00
arraybolt3If not, then I see why you'd want to recover this instead.20:00
arraybolt3I'm just not exactly sure how - something seems severely messed up with it if it can't find your init anymore.20:01
* arraybolt3 is very tired and has to go afk. You might find people with more energy and experience in #ubuntu who may be able to help with this.20:01
IgorI have to fix Rufus to bake an image on usb, and I have to look-up how to install on disk2, but this should be trivial20:02
Igordo not worry20:02
Igoryou showed plenty20:02
Igorthanks, man20:03
Igorappreciate that20:03
arraybolt3Igor: Glad to try to help, sorry that we didn't end up with success yet. You've got this, good luck!20:17
Igorthanks, have a good day20:18
Igordude, I managed to recover the original eMMC disk20:41
Igorand now20:44
IgorI am going to screw with it again :D20:44
Igorquick question for anyone21:18
IgorI have 2 disks, each has its own boot sector21:19
Igorhow would I figure out which one I am runnin?21:19
arraybolt3Igor: Run "lsblk", it will tell you which disk has a partition mounted at /21:20
Igorthank you!21:20
IgorI think there is progress21:38
Igorthe issue is still read-only fs21:38
Igorfirst fail is at Unit systemd-tmpfiles-setup.service21:38
arraybolt3Read-only fs? Do you use this system really heavily?21:42
arraybolt3Maybe the eMMC is failing,21:42
IgorI'll be brief: I am a complete moron21:43
Igorsorry about that21:43
Igor:D21:43
IgorI managed to boot from second disk21:43
Igorlooking at /etc/fstab there is now different UUID that previously and I think this is the issue21:44
IgorI think system protects itself by loading into read-only mode if it does not find correct UUID in fstab21:45
arraybolt3Possibly, you can get read-write mode to kick in if the filesystem is mounted at / properly by running "sudo mount -o remount,rw /"21:45
arraybolt3I don't know if an fstab issue would cause a read-only mode, though.21:46
Igorthe format in fstab is different?21:52
Igor?Δ‘21:52
arraybolt3Igor: If you mean different from how you use the "mount" command, yes, the formats of the "mount" command and the /etc/fstab file are quite different.21:52
arraybolt3You can use "man fstab" to see /etc/fstab file format info, and "man mount" to see info on using the mount command (though both are kinda tricky to get through, and since I'm right here, why bother?).21:53
Igorwould this work? UUID="something" TYPE="ext4"21:54
arraybolt3Not sure, wanna show me the /etc/fstab file? "cat /etc/fstab | nc termbin.com 9999"21:55
arraybolt3And you're trying to set the UUID in the file to your NVMe drive's UUID, right?21:55
IgorI cant21:55
Igorbecause reqad-only the network does not start21:56
arraybolt3Oh. Shooey. OK, one moment...21:56
arraybolt3You'll want a line that looks something like this:21:56
arraybolt3UUID=<NVMe UUID here> / ext4 errors=remount-ro 0 121:57
arraybolt3No quote marks around the UUID, and make sure it's right up against the = sign. Also, the spaces are important.21:57
Igoryou just saved me an error21:59
Igorthanks21:59
IgorOK22:00
Igoredited the fstab22:00
Igornow reboot22:00
Igorstill not22:02
Igorwait22:02
Igordid I choose wrong grub entry?22:02
IgorI did it!22:13
Igorbut I do not know if it is permanent?22:13
arraybolt3What all did you do after modifying the fstab file?22:13
Igormy boot drive is now the SSD22:13
arraybolt3\o/22:15
IgorI have followed your instruction and in beginning the fstab was wrong22:15
IgorI corrected and rebooted, but the change in grub was gone22:16
Igorso I did it once again22:16
Igorand as the fstab was correct this time around, it booted into SSD22:16
IgorI do not know if it is permanent?22:16
IgorI will reboot now22:17
arraybolt3It should be permanent.22:17
IgorNOPE22:18
arraybolt3Hopefully. You might try booting from the NVMe and then running "sudo update-grub", then rebooting to make sure everything's still working right.22:18
Igorback to eMMC22:18
arraybolt3Blah. Lemme look at my GRUB file.22:18
arraybolt3Igor: Maybe you need to set your NVMe as the default boot drive in the BIOS.22:21
Igorwell, where are all these changes happen, when I type in grub?22:22
arraybolt3If you're typing in a GRUB rescue prompt or some such from within GRUB itself, that's not permanent - you'd need to edit /boot/grub/grub.cfg from a booted OS for it to be semipermanent.22:23
arraybolt3Then once booted, you can use update-grub to rebuild the config (hopefully) correctly.22:23
Igorhttps://help.ubuntu.com/community/Grub2/Troubleshooting22:27
IgorI think it updates wron the grub.cfg22:32
Igorlet us see22:32
Igoryes, it is wrong22:33
Igorback from 0 again22:33
Igordang22:51
Igormust figure out how to make this permanent22:51
Igorbut also must go to sleep22:51
Igorgood night!22:51

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!