lubuntu | hello | 19:37 |
---|---|---|
=== lubuntu is now known as jluc | ||
jluc | i've spent the whole day trying to upgrade then install lubuntu on a dual boot machine with no usb key | 19:38 |
jluc | first with grml but install failed with errors | 19:39 |
jluc | but at least i got a "try or install lubuntu" in boot menu | 19:40 |
jluc | that enable me to run this session | 19:40 |
jluc | then i cleared a new partition on HD (rather than SSD) and installed lubuntu there | 19:41 |
jluc | this partition got the "boot" flag | 19:41 |
jluc | but doesnt appear in boot menu so i cannot launch it | 19:42 |
jluc | how can i have that supposed to be installed partition in boot menu | 19:43 |
jluc | ? | 19:44 |
jluc | sda : HD with windows + new lubuntu partition / sdb : SSD with now broken old lubuntu (and /boot/grml + .iso originaly) | 19:47 |
tomreyn | jluc: did you install lubuntu in bios or uefi mode? how did you boot the lubuntu installer? you should install in the same mode windows boots in, which is probably uefi mode. | 19:55 |
jluc | i've installed it so many times... | 19:56 |
tomreyn | also make sure windows fast startup is disabled | 19:56 |
tomreyn | and update your bios | 19:56 |
jluc | how do i know whether uefi or bios ? | 19:56 |
tomreyn | when you boot lubuntu in uefi mode, it will say "ubuntu" on the startup menu | 19:57 |
jluc | i didnt achieve anything running windows related to this | 19:57 |
tomreyn | and an "ubuntu" directory will be placed on your efi system partition (ESP) | 19:57 |
jluc | it looks like this is it except it's lubuntu | 19:58 |
jluc | there is a /home/lubuntu folder | 19:58 |
tomreyn | do you have an efi system partition at all? | 19:58 |
jluc | gparted says there is a 100Mo ntfs "System" partition | 19:59 |
tomreyn | it would be a FAT formatted file system | 20:00 |
jluc | and the main windows partition is a 195Go "Compaq" partition | 20:00 |
jluc | also ntfs | 20:00 |
tomreyn | which windows version is this? | 20:00 |
tomreyn | maybe it is old and installed in bios mode | 20:01 |
jluc | then there is that new "lubuntu" ext4 100Go partition where i installed lubuntu using the previously installed installer | 20:01 |
tomreyn | https://en.wikipedia.org/wiki/EFI_system_partition | 20:01 |
jluc | and there is the old single partition on SSD where i first tried to use grml | 20:01 |
jluc | where the previous now broken lubuntu was running | 20:02 |
tomreyn | if you intend to fix the existing lubuntu installation, knowing how t is meant to boot, and how windows boots, is essential | 20:03 |
jluc | last time i tried i could boot windows | 20:03 |
tomreyn | there is a "boot-repair" live system you could try. | 20:03 |
jluc | when i try to launch the old partition, boot loops on errors and wellcome screen and errors and wellcome etc | 20:04 |
tomreyn | oh you can boot up to the graphical login screen and it only fails there somehow? then it's basically booting up fine | 20:05 |
tomreyn | you can then also boot to recovery (slsct from grub menu) and examine things further | 20:05 |
jluc | i have 2 lubuntu installations now : 1) the new one that installed 100% but isnt present in boot menu 2) the other new = broken old one | 20:05 |
jluc | i can boot to recovery yes - i'll need help there, using another computer then | 20:06 |
tomreyn | do you have a wired internet connection? | 20:06 |
tomreyn | ethernet | 20:06 |
jluc | nope very slow wire, and slow mobile ethernet | 20:07 |
jluc | (down max 5Mbps) | 20:07 |
tomreyn | whats your normal internet access? | 20:08 |
jluc | this is it or what do you mean ? | 20:08 |
jluc | well it's my parent's place... | 20:08 |
jluc | (mobile to usb) | 20:08 |
tomreyn | well, i guess 5Mbps is good enough to fix the installation | 20:08 |
jluc | i can install gparted and hexchat ! | 20:08 |
tomreyn | it's not really clear why your fresh install doesn't seem to be bootable though | 20:09 |
jluc | but downloading a new iso would require a couple of hours | 20:09 |
jluc | yes, i installed it with official installer that should handle that | 20:09 |
tomreyn | i'd start with getting to understand how windows and lubuntu currently boot, prepare an overview of your partitions and boot methods on a pastebin | 20:10 |
jluc | unless my grml grup previous update has broken somethin | 20:10 |
jluc | how can i report the boot methods ? | 20:10 |
tomreyn | and disable fast startup on windows, maybe also update bios from windows | 20:11 |
jluc | it's a very old machine | 20:11 |
jluc | ive never updated a bios | 20:11 |
tomreyn | lsblk on linux is a good start to get an overview on partitions | 20:11 |
jluc | here : https://pad.infini.fr/p/lubuntu | 20:14 |
tomreyn | please use https://bpa.st or command_to_capture_output_of |& nc termbin.com 9999 next time. | 20:18 |
tomreyn | now let's see sudo blkid | 20:18 |
jluc | https://termbin.com/r82u | 20:19 |
tomreyn | okay, which one did you say is the old lubuntu installation? | 20:22 |
jluc | SPEEDY, the SSD | 20:22 |
jluc | sdb1 | 20:22 |
tomreyn | indeed there doesn't seem to be an efi system partition. this and "old computer" would suggest this system and both windows and linux are set to boot in the old bios mode | 20:22 |
tomreyn | so you want to keep the old lubuntu partition / file system, right? | 20:23 |
jluc | the best would be to install the new version of lubuntu on SPEEDY | 20:23 |
jluc | (and overwrite the old lubuntu) | 20:24 |
jluc | i have saved the data and it's ok to format it or whatever | 20:24 |
tomreyn | hmm that's not really a safe operation, i recommend a frehs install, or at least ensure you have a backup first | 20:24 |
tomreyn | oh you do, ok | 20:25 |
jluc | there are backups on USB and /SAV partition on HD (sda3) | 20:25 |
tomreyn | so you're happy to restore the backup later? or would you still prefer to keep the data on "speedy"? | 20:25 |
jluc | frankly i'm happy with the most installation-success prone | 20:26 |
jluc | i've spent the whole day on that | 20:26 |
jluc | it's be a pleasure to restore the data when that'll be possible on a new lubuntu | 20:27 |
tomreyn | i mean you will surely be able to restore what was in your /home subdirectory | 20:27 |
tomreyn | (if you backed this up) | 20:27 |
tomreyn | the configurations and installed software you'd need to do afresh | 20:27 |
jluc | yes fine | 20:27 |
jluc | it's my mother's computer and only basic software | 20:28 |
tomreyn | this linux live system you're running now, is this the lubuntu installer? | 20:28 |
jluc | yes, the one i installed on SSD using grml as far as i can remember | 20:28 |
jluc | in "try" mode | 20:29 |
tomreyn | oh you placed a bootable copy of the installation media on the disk then? | 20:30 |
jluc | there was an iso and what i understand is that using some command i declared it to grub | 20:31 |
jluc | i can find the tutorial | 20:32 |
tomreyn | i'm not sure what "the one i installed using grml" means exactly. if you can provide commands you ran or guides you followed, this might help me get a better understanding. | 20:32 |
jluc | yes i will find that | 20:32 |
jluc | sudo apt install grml-rescueboot + sudo mv ~/Downloads/filename.iso /boot/grml/ + sudo update-grub | 20:34 |
jluc | that's it | 20:34 |
jluc | done that on SSD good old lubuntu partition | 20:35 |
jluc | then reboot and there was a new lubuntu entry in boot menu | 20:35 |
jluc | then i could NOT install on top of SSD partition (even after unmounting it) | 20:35 |
tomreyn | so i'm guessing that "/boot/grml/" is stored on /dev/sdb1 | 20:36 |
jluc | yes | 20:36 |
jluc | i couldnt install because of : « /usr/share/initramfs-tools/hooks/cryptroot: 18: .: Can't open /lib/cryptsetup/functions | 20:36 |
jluc | E: /usr/share/initramfs-tools/hooks/cryptroot failed with return 2... » | 20:36 |
tomreyn | which is where the disk-bootable installer iso is now stored, and that's also why you could not installed there | 20:37 |
jluc | yes | 20:37 |
tomreyn | did you enable disk encryption during installation | 20:37 |
tomreyn | ? | 20:37 |
jluc | no | 20:37 |
jluc | it's difficult enough to sort that out without obscuring it | 20:38 |
jluc | then i created an empty partition on HD sda and used the installer to install lubuntu there | 20:38 |
jluc | but cant launch it | 20:39 |
jluc | here we are | 20:39 |
tomreyn | okay, so you want to install lubuntu to /dev/sdb. on sdb, you currently have a single partition sdb1, which contains your old lubuntu installation, which is bootable but does not boot up fully somehow. you are ok with replacing this instlalation, and loosing your data. however, there is also the only currently lubuntu (live/installer) system on there, in the form of a bootable iso in /boot. you don't have an external usb stick you could use for | 20:42 |
tomreyn | writing the lubuntu installer on. | 20:42 |
tomreyn | is all of this correct so far? | 20:42 |
jluc | yes thats it | 20:43 |
jluc | there is no "boot on usb" in the bios settings options | 20:43 |
tomreyn | i should add: you also have a non-bootable lubuntu 24.04 installation on /dev/sda4, and a windows installation on sda1+2, and a backup partiotnon on sda3 (ext4). sda is a HDD, sdb is an SSD. | 20:43 |
tomreyn | you're saying this bios does not support booting from usb? | 20:44 |
jluc | yes | 20:44 |
tomreyn | sheesh, must be really old | 20:45 |
tomreyn | and a bios upgrade would have been a good idea ages ago then | 20:45 |
jluc | i've never heard of bios upgrade before recent spectre or such issues | 20:46 |
jluc | i thought bios was ROM stored | 20:46 |
tomreyn | it's writable | 20:47 |
tomreyn | you can boot grml from an external disk somehow, too, right? | 20:47 |
jluc | there is a dvd reader writer but no dvd | 20:48 |
tomreyn | you will need to boot the lubuntu installer from a disk that is not sdb | 20:49 |
tomreyn | that's the only reliable way to ensure you can install *to* sdb | 20:49 |
jluc | i wonder how could i install lubuntu there years ago ? | 20:50 |
tomreyn | probably from a dvd | 20:50 |
tomreyn | so what you can try now is to again do what you already did: use grml to place the lubuntu installer iso on the disk, but not on /dev/sdb1 but on /dev/sda4. then boot this installer (fingers crossed) and use it to install to /dev/sdb1, replacing the existing installation there | 20:52 |
tomreyn | or you can buy dvds and write the lubuntu installer iso to it and boot from there and install to /dev/sdb1, replacing what's already there | 20:53 |
tomreyn | yet another potential approach would to boot to windows, start the lubuntu installer .iso in a VM, and grant this VM full access to the physical disk /dev/sdb (the SSD), and then install lubuntu to this disk, overwriting existing data | 20:55 |
jluc | i need to sort that now for my parents, coz i leave tomorrow | 20:57 |
tomreyn | yet another approach would be to try to boot any linux system you can currently boot, from a disk that's not sdb, so grml or the /dev/sda4 installation, and use debootstrap to install to sdb - but that's advanced | 20:57 |
jluc | yep i will try grml on sda... | 20:58 |
tomreyn | /dev/sda4 hopefully | 20:58 |
tomreyn | well, you'd need to also install grub to /dev/sda, though,a dn that will overwrite the windows boot sector | 20:59 |
tomreyn | *and | 20:59 |
tomreyn | so windows will then only be able to boot if you can set it uo for chain loading in grub | 21:00 |
tomreyn | which os-prober can do automatically, but it is not enabled by default anymore | 21:00 |
jluc | i dont understand | 21:01 |
jluc | im afraid i wont sort that out | 21:03 |
tomreyn | well, ignore this part for now. | 21:03 |
tomreyn | start with step one: use grub to place a bootable lubuntu installer iso on /dev/sda4, and make that bootable and boot to it | 21:04 |
tomreyn | fixing windows booting will the final step then | 21:04 |
tomreyn | just wondering: do you parents actually want the dual boot setup? | 21:05 |
tomreyn | in my experience, most people really only use one OS, hardly switch in a multi-boot setup | 21:05 |
jluc_ | Thanks tomreyn to take the time | 21:13 |
tomreyn | you're welcome | 21:14 |
tomreyn | i think i'll have an earl grey, hot, now. | 21:15 |
tomreyn | jluc_: any progress? | 23:03 |
jluc_ | I've switched that computer to windows | 23:40 |
jluc_ | it's over bloated and also complex to admin but not so slow i thought it would be | 23:40 |
jluc_ | next time i'll come i'll have an install DVD with me | 23:40 |
jluc_ | so i can reinstall an uptodate lubuntu | 23:41 |
eyeoh | jluc_: the oldest machine I have that can still boot from usb is from 2004 | 23:44 |
eyeoh | something doesn't sound right with yours | 23:45 |
jluc_ | lucky you | 23:45 |
eyeoh | I'm not gloating. I'm trying to suggest something isn't right here | 23:45 |
eyeoh | and that there must be a way to boot from usb | 23:45 |
eyeoh | did you mention which motherboard | 23:47 |
jluc_ | nope | 23:48 |
eyeoh | ok never mind | 23:49 |
jluc_ | yeah its late here... | 23:50 |
jluc_ | gnight | 23:53 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!