Kuroguro | hi all | 14:12 |
---|---|---|
Kuroguro | tomreyn: are you perchance maybe available to help me with a different installation? | 14:13 |
Kuroguro | or anyone else for that matter, i'm having some issues trying to work out manual partitioning on a dual boot system | 14:15 |
Kuroguro | oh ok so i see the issue... | 14:44 |
Kuroguro | windows 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 |
eyeoh | yeah conventional wisdom says windows needs more like 512MB | 14:48 |
eyeoh | it works in mysterious ways | 14:48 |
eyeoh | there are other complexities like separate boot and separate EFI, but it's probably easier to just start with larger partitions in the first place | 14:48 |
Kuroguro | well 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 |
Kuroguro | so i'm in a dilemma | 14:50 |
eyeoh | on 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 linux | 14:50 |
eyeoh | windows installer is very inflexible | 14:50 |
Kuroguro | how'd you resize your EFI? | 14:50 |
eyeoh | with great risk when you're dealing with windows | 14:50 |
eyeoh | Question 1: do you have good backups? | 14:51 |
eyeoh | preferably 2 backups | 14:51 |
Kuroguro | answer 1: it is a fresh install with no need for any backups | 14:51 |
eyeoh | I'd just nuke it and install windows again first | 14:51 |
eyeoh | it'll save a lot of time | 14:51 |
eyeoh | I can't remember if manually creating a larger EFI partition using gparted first is better | 14:52 |
eyeoh | I guess you could try gparted to resize it first and see if windows survives | 14:52 |
Kuroguro | but 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 sure | 14:53 |
eyeoh | if 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 first | 14:53 |
eyeoh | do you know what gparted is? | 14:53 |
Kuroguro | no i have some free space trailed after the EFI partition because i expected this might happen | 14:53 |
Kuroguro | /dev/sda1/ = 100mb EFI then there 1040mb left free after, before the windows c partition | 14:54 |
Kuroguro | i do know gparted, but it's not included on the live usb of lubuntu is it? | 14:55 |
eyeoh | probably not. I recommend writing a System Rescue (CD) USB | 14:56 |
eyeoh | but you could install gparted during a live boot too | 14:56 |
eyeoh | nice to have something that's always available without internet though | 14:56 |
Kuroguro | it might beat using the KDE partition manager but... | 14:56 |
Kuroguro | i think my best and easiest bet is to try to recreate the partition using the commandline | 14:57 |
eyeoh | KDE Partition Manager should be fine too, but gparted is more standard and a known entity | 14:57 |
Kuroguro | i mean | 14:57 |
eyeoh | nah stuff the command line for this | 14:57 |
Kuroguro | KDE does not want to resize the partition | 14:57 |
eyeoh | for partitions, it's stupid to use cli unless it's remote ssh | 14:57 |
Kuroguro | it is fine with moving it | 14:57 |
Kuroguro | not resizing it | 14:57 |
eyeoh | why? | 14:57 |
eyeoh | show me photos | 14:58 |
Kuroguro | i'm not sure the size is greyed out | 14:58 |
eyeoh | did you shrink the one(s) on the right? | 14:59 |
eyeoh | you need to make space | 14:59 |
Kuroguro | there is 1040mb free to the right | 14:59 |
Kuroguro | unallocated | 14:59 |
eyeoh | take photos and share them to imgur 0x0.st or something | 15:00 |
Kuroguro | one second | 15:00 |
eyeoh | or just delete it all and create a new FAT partition | 15:00 |
Kuroguro | and lose my windows boot manager? | 15:01 |
kuroguro2 | https://imgur.com/a/wSCMckF | 15:01 |
Kuroguro | there you go | 15:01 |
eyeoh | you said it's a fresh install | 15:01 |
Kuroguro | yeah but the entire purpose of this struggle is to dual boot it.. | 15:02 |
eyeoh | sda5 is blocking it | 15:02 |
Kuroguro | oki one sec | 15:03 |
eyeoh | you can't resize to the left | 15:03 |
Kuroguro | deleting it rn | 15:03 |
eyeoh | you can only move or copy to the left | 15:03 |
Kuroguro | it can resize to the right though | 15:03 |
eyeoh | also you should know win10 reaches end of support in less than 6 months | 15:03 |
Kuroguro | it's a LTSC build... | 15:04 |
eyeoh | ah ok | 15:04 |
kuroguro2 | https://imgur.com/a/glLeVgc | 15:04 |
Kuroguro | deleting sda5 made no apparent difference | 15:04 |
eyeoh | hmm maybe you're better off creating a second fat32 partition and copying/moving the contents of the existing on there | 15:06 |
Kuroguro | hmm | 15:06 |
eyeoh | placing it on the far right should be fine | 15:06 |
Kuroguro | that's a great idea | 15:06 |
Kuroguro | create a new one on the far right, copy the entire partition there | 15:07 |
Kuroguro | create a larger fat32 EFI partition on the start of the disk | 15:07 |
Kuroguro | and copy them back... | 15:07 |
Kuroguro | but i dont think that'll cover the attributes | 15:07 |
Kuroguro | hmm | 15:07 |
Kuroguro | https://wiki.archlinux.org/title/EFI_system_partition#Replace_the_partition_with_a_larger_one | 15:07 |
Kuroguro | i'm going to try some of the command line voodoo that the arch wiki lists out to fix this issue | 15:08 |
Kuroguro | i'll report back at the end of it | 15:08 |
eyeoh | in my experience with dual booting, it's not worth spending time to find an elegant solution if you can just nuke and start clean instead | 15:09 |
eyeoh | it gets even trickier if BitLocker is involved | 15:09 |
eyeoh | this is what my layout looks like with win11/debian dual boot: https://paste.rs/A0cc1.txt | 15:11 |
eyeoh | whether I created that 512MB EFI partition from the windows installer or gparted; I can't remember | 15:12 |
eyeoh | I definitely did a reinstall at some point when a partial drive failure messed up the EFI partition | 15:12 |
eyeoh | so I think I just told the windows 11 installer to use that one, after I fixed it | 15:13 |
Kuroguro | you can tell the installer to use a certain EFI partition? | 15:13 |
Kuroguro | i've not seen that option in windows installation yet | 15:14 |
eyeoh | doesn't the installer ask how large to make the partitions? | 15:14 |
Kuroguro | having mounted this EFI partition though i can see it has both ubuntu and windows bootloaders in it though | 15:14 |
Kuroguro | no. | 15:14 |
Kuroguro | only for the main user-specified partitions iirc | 15:14 |
Kuroguro | but i can try and see | 15:14 |
eyeoh | are you using MBR or GPT partition table? https://wiki.debian.org/DualBoot/Windows | 15:15 |
Kuroguro | GPT | 15:15 |
Kuroguro | so 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 |
eyeoh | I don't know why you can't resize | 15:17 |
eyeoh | yeah you can install windows after linux | 15:17 |
eyeoh | I might have done that order too at some stage | 15:17 |
eyeoh | and if grub gets messed up, you can fix it with chroot | 15: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 |
eyeoh | I know how to do the chroot steps so can walk you through | 15: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 |
eyeoh | yeah debian wikis can be inconsistent at times | 15:19 |
eyeoh | not sure what to believe | 15:19 |
Kuroguro | no 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 |
Kuroguro | On a GPT disk, the order of fresh installation does not matter. " | 15:20 |
eyeoh | I had to boot a live debian usb and chroot to fix up grub last time I installed windows after debian | 15:20 |
Kuroguro | the second sentence here delivers the counterpoint for that but i see | 15:21 |
eyeoh | I have practical experience | 15:21 |
Kuroguro | i have live USBs ready of both win10 and lubuntu, i'll be fine | 15:21 |
eyeoh | I'm not sure what exactly the wiki is saying but my dual boot works | 15:21 |
Kuroguro | but thanks, i'll just try redoing the disk properly and installing windows after | 15:21 |
Kuroguro | and if that don't work i'll just try the solution proposed on the arch wiki... | 15:22 |
eyeoh | that's all you can do, try various things | 15:22 |
eyeoh | and try something different if the previous thing you tried didn't work | 15:23 |
eyeoh | partitioning isn't something one tends to get much practise with so it's hit or miss | 15:23 |
Kuroguro | fair.. | 15:24 |
Kuroguro | lubuntu is installing it now, i'll update you on if it worked after the windows 10 installer is done | 15:35 |
eyeoh | okies | 15:39 |
Kuroguro | okay windows is done | 16:25 |
Kuroguro | lets reboot and find out | 16:25 |
Kuroguro | grub had to be updated and that's that | 16:33 |
Kuroguro | eyeoh: thanks a lot :3 | 16:33 |
eyeoh | nice | 16:35 |
Kuroguro | aaand i'm running into the weirdest wifi issue | 17:05 |
Kuroguro | it'll randomly disconnect and attempting to reconnect it'll cry about the password being incorrect | 17:05 |
Kuroguro | the correctly entered password that it just autoconnected with earlier | 17:05 |
eyeoh | hmm 2.4GHz or 5? | 17:49 |
Kuroguro | 2.4ghz | 19:08 |
eyeoh | could be hardware or signal related | 19:19 |
eyeoh | is 5GHz available? | 19:19 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!