/srv/irclogs.ubuntu.com/2025/04/19/#lubuntu.txt

Kurogurohi all14:12
Kurogurotomreyn: are you perchance maybe available to help me with a different installation?14:13
Kuroguroor anyone else for that matter, i'm having some issues trying to work out manual partitioning on a dual boot system14:15
Kurogurooh ok so i see the issue...14:44
Kurogurowindows 10 only created a 100mb EFI partition, and using the option to install alongside windows linux seems fine to set itself down in there but using the manual partitioning it demands a more sane size?14:45
eyeohyeah conventional wisdom says windows needs more like 512MB14:48
eyeohit works in mysterious ways14:48
eyeohthere are other complexities like separate boot and separate EFI, but it's probably easier to just start with larger partitions in the first place14:48
Kurogurowell i cant very well extend it and i dont think the windows 10 installer lets me select a size for it's bootmgr partition either?14:50
Kuroguroso i'm in a dilemma14:50
eyeohon my dualboot thinkpad with 500GB SSD, the layout is: 537MB FAT32 EFI, 17MB MS reserved, 137GB Windows 11 BitLocker, 811MB recovery partition. And then only is it 537MB /boot and linux14:50
eyeohwindows installer is very inflexible14:50
Kurogurohow'd you resize your EFI?14:50
eyeohwith great risk when you're dealing with windows14:50
eyeohQuestion 1: do you have good backups?14:51
eyeohpreferably 2 backups14:51
Kuroguroanswer 1: it is a fresh install with no need for any backups14:51
eyeohI'd just nuke it and install windows again first14:51
eyeohit'll save a lot of time14:51
eyeohI can't remember if manually creating a larger EFI partition using gparted first is better14:52
eyeohI guess you could try gparted to resize it first and see if windows survives14:52
Kurogurobut how would nuking it help at all tbh i need a larger EFI partition if i nuke it and reinstall it'll make another 100mb EFI partition i'm sure14:53
eyeohif EFI is at the start / left hand side, resizing would mean you have to move everything to the right; which can be tricky if you're not just deleting it first14:53
eyeohdo you know what gparted is?14:53
Kurogurono i have some free space trailed after the EFI partition because i expected this might happen14:53
Kuroguro/dev/sda1/ = 100mb EFI then there 1040mb left free after, before the windows c partition14:54
Kuroguroi do know gparted, but it's not included on the live usb of lubuntu is it?14:55
eyeohprobably not. I recommend writing a System Rescue (CD) USB14:56
eyeohbut you could install gparted during a live boot too14:56
eyeohnice to have something that's always available without internet though14:56
Kuroguroit might beat using the KDE partition manager but...14:56
Kuroguroi think my best and easiest bet is to try to recreate the partition using the commandline14:57
eyeohKDE Partition Manager should be fine too, but gparted is more standard and a known entity14:57
Kuroguroi mean14:57
eyeohnah stuff the command line for this14:57
KuroguroKDE does not want to resize the partition14:57
eyeohfor partitions, it's stupid to use cli unless it's remote ssh14:57
Kuroguroit is fine with moving it14:57
Kuroguronot resizing it14:57
eyeohwhy?14:57
eyeohshow me photos14:58
Kuroguroi'm not sure the size is greyed out14:58
eyeohdid you shrink the one(s) on the right?14:59
eyeohyou need to make space14:59
Kurogurothere is 1040mb free to the right14:59
Kurogurounallocated14:59
eyeohtake photos and share them to imgur 0x0.st or something15:00
Kuroguroone second15:00
eyeohor just delete it all and create a new FAT partition15:00
Kuroguroand lose my windows boot manager?15:01
kuroguro2https://imgur.com/a/wSCMckF15:01
Kurogurothere you go15:01
eyeohyou said it's a fresh install15:01
Kuroguroyeah but the entire purpose of this struggle is to dual boot it..15:02
eyeohsda5 is blocking it15:02
Kurogurooki one sec15:03
eyeohyou can't resize to the left15:03
Kurogurodeleting it rn15:03
eyeohyou can only move or copy to the left15:03
Kuroguroit can resize to the right though15:03
eyeohalso you should know win10 reaches end of support in less than 6 months15:03
Kuroguroit's a LTSC build...15:04
eyeohah ok15:04
kuroguro2https://imgur.com/a/glLeVgc15:04
Kurogurodeleting sda5 made no apparent difference15:04
eyeohhmm maybe you're better off creating a second fat32 partition and copying/moving the contents of the existing on there15:06
Kurogurohmm15:06
eyeohplacing it on the far right should be fine15:06
Kurogurothat's a great idea15:06
Kurogurocreate a new one on the far right, copy the entire partition there15:07
Kurogurocreate a larger fat32 EFI partition on the start of the disk15:07
Kuroguroand copy them back...15:07
Kurogurobut i dont think that'll cover the attributes15:07
Kurogurohmm15:07
Kurogurohttps://wiki.archlinux.org/title/EFI_system_partition#Replace_the_partition_with_a_larger_one15:07
Kuroguroi'm going to try some of the command line voodoo that the arch wiki lists out to fix this issue15:08
Kuroguroi'll report back at the end of it15:08
eyeohin my experience with dual booting, it's not worth spending time to find an elegant solution if you can just nuke and start clean instead15:09
eyeohit gets even trickier if BitLocker is involved15:09
eyeohthis is what my layout looks like with win11/debian dual boot: https://paste.rs/A0cc1.txt15:11
eyeohwhether I created that 512MB EFI partition from the windows installer or gparted; I can't remember15:12
eyeohI definitely did a reinstall at some point when a partial drive failure messed up the EFI partition15:12
eyeohso I think I just told the windows 11 installer to use that one, after I fixed it15:13
Kuroguroyou can tell the installer to use a certain EFI partition?15:13
Kuroguroi've not seen that option in windows installation yet15:14
eyeohdoesn't the installer ask how large to make the partitions?15:14
Kurogurohaving mounted this EFI partition though i can see it has both ubuntu and windows bootloaders in it though15:14
Kurogurono.15:14
Kuroguroonly for the main user-specified partitions iirc15:14
Kurogurobut i can try and see15:14
eyeohare you using MBR or GPT partition table? https://wiki.debian.org/DualBoot/Windows15:15
KuroguroGPT15:15
Kuroguroso the real solution is to set up a proper partition table using the linux installation and then just installing win10 after because it wont touch or disable GRUB?15:16
eyeohI don't know why you can't resize15:17
eyeohyeah you can install windows after linux15:17
eyeohI might have done that order too at some stage15:17
eyeohand if grub gets messed up, you can fix it with chroot15:17
eyeoh"As the Windows setup will most likely overwrite at least GRUB, for fresh installations it appears reasonable to install Windows first and then Debian."15:18
eyeoh"If you have installed Windows after installing Debian or have manged to remove GRUB's Windows boot entry in some other way, os-prober helps you to automatically have it added by update-grub."15:18
eyeohI know how to do the chroot steps so can walk you through15:19
Kuroguro"With UEFI + GPT, Windows Boot Manager and GRUB are isolated and re-installing Windows (or upgrading it to another version) will not rewrite GRUB records on the disk. And because of this, the installation order of this 2 systems also does not matter at all. "15:19
eyeohyeah debian wikis can be inconsistent at times15:19
eyeohnot sure what to believe15:19
Kurogurono i think the quote earlier where it says "most likely" refers to the way things were before GPT+UEFI boot situations?15:20
Kuroguro"As the Windows setup will most likely overwrite at least GRUB, for fresh installations it appears reasonable to install Windows first and then Debian.15:20
KuroguroOn a GPT disk, the order of fresh installation does not matter. " 15:20
eyeohI had to boot a live debian usb and chroot to fix up grub last time I installed windows after debian15:20
Kurogurothe second sentence here delivers the counterpoint for that but i see15:21
eyeohI have practical experience15:21
Kuroguroi have live USBs ready of both win10 and lubuntu, i'll be fine15:21
eyeohI'm not sure what exactly the wiki is saying but my dual boot works15:21
Kurogurobut thanks, i'll just try redoing the disk properly and installing windows after15:21
Kuroguroand if that don't work i'll just try the solution proposed on the arch wiki...15:22
eyeohthat's all you can do, try various things15:22
eyeohand try something different if the previous thing you tried didn't work15:23
eyeohpartitioning isn't something one tends to get much practise with so it's hit or miss15:23
Kurogurofair..15:24
Kurogurolubuntu is installing it now, i'll update you on if it worked after the windows 10 installer is done15:35
eyeohokies15:39
Kurogurookay windows is done16:25
Kurogurolets reboot and find out16:25
Kurogurogrub had to be updated and that's that16:33
Kuroguroeyeoh: thanks a lot :316:33
eyeohnice16:35
Kuroguroaaand i'm running into the weirdest wifi issue17:05
Kuroguroit'll randomly disconnect and attempting to reconnect it'll cry about the password being incorrect17:05
Kurogurothe correctly entered password that it just autoconnected with earlier17:05
eyeohhmm 2.4GHz or 5?17:49
Kuroguro2.4ghz19:08
eyeohcould be hardware or signal related19:19
eyeohis 5GHz available?19:19

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