dreamer | ohai. just tried an ascii install on an 'older' laptop (some toshiba thing I got from my mom). however it errored on grub-install. tried manual fix in chroot but it hangs on "cannot find EFI directory" | 17:24 |
---|---|---|
dreamer | any idea? I just installed everything to a main ext partition | 17:24 |
dreamer | (didn't feel like any complicated partition schemes) | 17:25 |
fsmithred | if you booted in uefi mode, it wants an efi partition | 17:25 |
fsmithred | what kind of partition table does the drive have? gpt? | 17:26 |
dreamer | I turned off secure boot, and just used the default ascii iso | 17:27 |
dreamer | it's gpt yes | 17:27 |
fsmithred | secure boot off means you don't need a signed kernel | 17:28 |
dreamer | I have absolutely no knowledge about uefi | 17:28 |
fsmithred | if you didn't set it to legacy boot, you need efi partition | 17:28 |
dreamer | have always managed to evade it | 17:28 |
dreamer | (or used old enough computers) | 17:28 |
dreamer | hmz, ok will re-partition and re-install then .. | 17:28 |
fsmithred | ok, you could just make efi partition | 17:29 |
dreamer | but then I have to resize the partition that is there | 17:29 |
fsmithred | if you keep gpt partition table and use legacy boot, you need a special small partition for grub | 17:29 |
fsmithred | yeah, resize | 17:29 |
fsmithred | need 100-200mb for that | 17:29 |
dreamer | ok | 17:29 |
fsmithred | reinstall might be faster than resize | 17:30 |
fsmithred | not sure | 17:30 |
dreamer | yeah that's what I'm thinking hehe | 17:30 |
fsmithred | ok, make your main partition and also make an extra partition, at least 1MB size, unformatted... | 17:31 |
fsmithred | I've never done this in the installer, but I think you can | 17:32 |
dreamer | ok hehe | 17:32 |
dreamer | will try resize first | 17:32 |
dreamer | for efi is only tiny partition needed? | 17:32 |
fsmithred | use as bios_boot or bios_grub or something like that | 17:32 |
fsmithred | no, that's not efi partition | 17:32 |
fsmithred | it's partition for grub because gpt partition table is different | 17:33 |
fsmithred | how big is the disk? | 17:33 |
dreamer | 500gb | 17:33 |
fsmithred | then you don't strictly need gpt | 17:33 |
fsmithred | if you use legacy boot | 17:33 |
dreamer | I have absolutely no clue :) | 17:33 |
dreamer | there was nothing prompting me for any 'legacy boot' | 17:34 |
fsmithred | and I think the toshiba will be ok with that. | 17:34 |
fsmithred | CSM | 17:34 |
dreamer | CSM? | 17:35 |
fsmithred | that's what it's called in some places | 17:35 |
dreamer | ok | 17:35 |
fsmithred | I don't remember what it means | 17:35 |
dreamer | ok I find some references indeed | 17:35 |
dreamer | ok this is some setting in the bios? | 17:36 |
fsmithred | yes | 17:36 |
dreamer | ok, will browse around | 17:36 |
fsmithred | I can think of one potential glitch | 17:37 |
fsmithred | if you switch from gpt to dos partition table, the system might still think it's a gpt disk | 17:37 |
dreamer | found it. thnx! | 17:38 |
dreamer | but for legacy boot I'll need a fat32 partition for /boot ? | 17:38 |
fsmithred | no | 17:39 |
fsmithred | for uefi you need a fat32 partition for the efi partition. | 17:39 |
dreamer | ah ok | 17:39 |
fsmithred | The efi partition is where the bootloader is located. That is not a separate /boot partition | 17:39 |
fsmithred | which you may or may not have, depending on your needs. | 17:39 |
dreamer | ok, so now I should retry the grub install? | 17:40 |
fsmithred | https://rodsbooks.com/efi-bootloaders/index.html <-- this guy knows it all | 17:40 |
fsmithred | if you don't change the bios settings or the partition table, create the efi partition when you reinstall. | 17:41 |
fsmithred | did you change bios? | 17:41 |
dreamer | I changed the bios to CSM boot | 17:42 |
fsmithred | here's what I think might be easiest | 17:42 |
fsmithred | ok, good | 17:42 |
fsmithred | resize your partition to make a 2MB partition at the end | 17:43 |
dreamer | oh ok | 17:43 |
dreamer | was trying to reinstall grub from chroot now | 17:43 |
dreamer | (it's trying for i386) | 17:43 |
fsmithred | ok, so you'll get grub-pc | 17:43 |
dreamer | ah, it needs that partition for grub, ok | 17:43 |
golinux | (Since when has this turned onto a user support channel?) | 17:43 |
fsmithred | but it will fail without the bios_boot partition | 17:43 |
fsmithred | sorry | 17:44 |
fsmithred | I didn't notice where we were | 17:44 |
dreamer | golinux: jaromil told me to go here. blame him | 17:44 |
fsmithred | we're almost done | 17:44 |
dreamer | he thought it was some issue similar to beowulf | 17:44 |
dreamer | which it's not | 17:44 |
dreamer | yeah sorry for the noise golinux | 17:44 |
fsmithred | oh, I understand | 17:44 |
* golinux goes back out to fixing the fence | 17:44 | |
fsmithred | you using gdisk or gparted? | 17:45 |
fsmithred | if gdisk, make it type ef02 | 17:46 |
fsmithred | brb, pm me if you have questions | 17:47 |
dreamer | fsmithred: using resize2fs now | 17:47 |
dreamer | (think reinstall would've been easier) | 17:47 |
dreamer | ok will stop the noise. thnx for helping fsmithred :) | 17:47 |
dreamer | worst case I'll redo the whole thing | 17:47 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!