#[SOLVED] CSM support, accident legacy install

503 messages · Page 1 of 1 (latest)

bitter swift
#

hi guys, recently @odd sonnet helped me found out that im using CSM and legacy support, I do not have a boot partition and is currently booting from root filesystem, I am in UEFI mode

#

now i did convert the partition into GPT, and made a EPI partition and copyed /boot files in, but i got error while reinstalling the bootloader grub-install: error: efibootmgr faild to register the boot entry: No such file or directory

#

and got 2 warning saying efi variables are not supported, it might be cuased by booting into the arch iso

#

and the command i issued is grub-install --target=x86_64-efi --efi-directory-efi --bootloader-id=GRUB

#

help

bitter swift
#

And I’m using archcraft

#

Not sure where is secure boot

odd sonnet
bitter swift
#

????

#

yea i disabled it now

#

that's the one i sent u yesterday

#

and i disabled secure boot

odd sonnet
#

Then install Vanilla Arch

bitter swift
#

😦

odd sonnet
#

Are you dual booting?

bitter swift
#

no

#

u can see i only hav 2 part

#

*3

odd sonnet
#

Then backup and clean install arch

#

Way painless than trying to convert to GPT

#

Ik you have a backup drive so

bitter swift
#

come on bro, i installed EFI and everything, just havta reinstall the bootloader

#

inorder to make it boot

#

and it will be all fine

odd sonnet
#

You don't have important data on your root partition, right?

bitter swift
odd sonnet
#

Because if you don't mint your root partition, why not clean installing the system?

odd sonnet
bitter swift
#

i do

odd sonnet
bitter swift
#

and idk if i cp everything back somewhere and copy it back will work

#

like the symlinks and stuff

#

/dev, /proc /sys etc

#

it's gonna be very broken

odd sonnet
bitter swift
#

and now i got another problem after disabling CSM, now the bios never shows

#

and i can't set anything now

#

or the UEFI

#

idk how u call it, but now it's just blackscreen

#

and it booted into the usb

#

do i reset the bios thing again?????

bitter swift
#

and now i can't do that becuz bios doesn't work

odd sonnet
bitter swift
#

HOW TO get BIOS bACK

odd sonnet
#

The bios will boot anything from any drive that is attached

bitter swift
#

ok, how to go back to that setting thing

bitter swift
odd sonnet
#

If no system is no the main drive , it will keep looking for one

odd sonnet
#

Just spam the key to load it

bitter swift
#

ok wat key

#

it dont show

odd sonnet
#

On mine it's ESC key

bitter swift
#

on mine it's DEL key and now it doesn't work

odd sonnet
#

Depends of your system

#

Tbh I would just backup everything then clean install arch on uefi mode

odd sonnet
bitter swift
#

Ok sure I’ll do it later

odd sonnet
bitter swift
#

But I cp my /opt right?

odd sonnet
#

Why

bitter swift
#

I rly dunno how I’m ment to do this

odd sonnet
#

You don't need to copy anything but your home folder

bitter swift
#

I did installed arch once

odd sonnet
#

Why are you copying everything if you will clean install? Just copy your home folder data

bitter swift
#

Idk, Becuz it’s the other part problem

#

The main part don’t hav prob

#

I want my grub conf as well

#

Like the theme and stuff

#

And lot of stuff I want:(

bitter swift
#

Ok I hav a problem, how to boot back in that UEFI settings

#

The key doesn’t work don’t work and don’t even show

#

And r u sure that is not bios??

#

I’m pretty sure it says boot into bios with that key

#

Not UEFI,cuz idk wat key/when/how

#

So now I got 2 problems 1 can’t boot into bios/doesn’t show, 2. The gpt partition and esp

odd sonnet
#

I would just reinstall at that point 💀

odd sonnet
odd sonnet
bitter swift
#

Idk y not

odd sonnet
#

you don't need anything from the root

odd sonnet
bitter swift
#

Nah I’ll try just doing it without a reinstall

#

Tbh

#

It’s 2 complex if a reinstall

#

And isn’t seem to be required

odd sonnet
#

Just use archinstall or something

bitter swift
#

Ik, but like

#

Wait so if I do that it will install the esp and use the cpt table right?

odd sonnet
#

CPT?

#

I think you mean gpt

#

Idk about that

odd sonnet
#

use gparted live iso to prepare the drive

bitter swift
#

Nonono gpt

bitter swift
#

If I just do that

#

There isn’t a option saying that

odd sonnet
bitter swift
#

ESP

#

Like gpt

odd sonnet
# bitter swift ESP

archinstall will take care of everything, unless you want to do the wiki way of install

#

but you have to wipe the drive with gparted live iso beforehand

bitter swift
#

And so why archcraft Cinom didn’t

odd sonnet
#

idk, blame archcraft devs

bitter swift
#

😂

odd sonnet
#

that's why we don't recommend other scripts

#

.s archbased

radiant cliffBOT
# odd sonnet .s archbased

Users of unofficial install scripts and Arch-based distributions may not make support posts using the arch tag. This comes from the Arch Code of Conduct. By installing the system in a way that you do not have control over, you do not know how your system is set up or if a script silently broke something. This can cause huge issues with support, especially if people don't know you used a script.

If you need support with your system, use the other distros tag.

bitter swift
#

Fuck archcraft

odd sonnet
#

anyways, get gparted iso and add it to your ventoy usb

bitter swift
#

Ventory?

#

I just dd the iso into it

odd sonnet
#

and have both arch and gparted isos

bitter swift
#

In a 4Gb usb?

odd sonnet
#

gparted iso is small

#

like 400mb

bitter swift
odd sonnet
#

same with archiso

odd sonnet
bitter swift
#

It’s called gparted??

odd sonnet
#

then get the iso

bitter swift
#

Bro I’m not near my cmptr I n

#

Ok now if I just do a archinstall, it will fix everything right?

odd sonnet
bitter swift
#

Can I just use gparted in archinstall

#

Becuz I can’t do changes to the usb since can’t boot into system and don’t hav another usb

#

So can’t write the usb and install ventory

mortal wind
#

um, with the risk of sounding dumb because I don't think I understood the problem correctly, can you not boot into a live usb, repartition the Arch drive so there's an efi partition at the start, regenerate fstab and reinstall grub?

bitter swift
#

Yes

#

I can boot into the live iso

#

But not the main system

mortal wind
#

Looks like that would be quicker than reinstalling, especially if you already installed a de/wm

bitter swift
#

Becuz CSM support

bitter swift
mortal wind
#

reinstall is more easy to do though

bitter swift
#

PS I just created the partition already

#

Only need to grub-install

bitter swift
mortal wind
bitter swift
#

I did

#

But the system just doesn’t boot

#

How to make it like the boot partition

#

PS that partition isn’t efi, idk if it will function properly

mortal wind
#

uh the solution that comes to mind right now for me is to just delete everything in /boot, and then format the efi partition correctly (it needs to have an esp flag and be at the start of your partition tables) and install the bootloader again

#

also convert your partition tables to gpt if you haven't already

bitter swift
mortal wind
#

live usb should work

bitter swift
bitter swift
mortal wind
#

you need to use a live usb anyways to edit root filesystem partitions

bitter swift
#

Yes

#

Ok so wats the solution

#

Or just reinstall as that guy said

mortal wind
#

reinstall should be the easiest solution tbh

bitter swift
#

Ye but I rly want to keep everything as they are

#

But ok

#

I’ll try if no solution

#

Ok so now is can’t install efi boot loader Becuz arch live iso don’t boot into UEFI mode and bios is gone because disabled CSM support

mortal wind
#

csm support shouldn't matter for getting into bios or not unless you have some very old graphics card etc that doesn't support uefi
(I mean bios as in the bios menu of the pc, not whether it is bios or uefi)

bitter swift
#

?

mortal wind
#

no idea why it doesn't boot in uefi mode though, that never happened to me

odd sonnet
bitter swift
#

Idk but after disabling it the logo just not show and can’t go into bios

bitter swift
odd sonnet
#

.aw cfdisk

radiant cliffBOT
odd sonnet
#

im at the stream so

bitter swift
#

O ok

#

Wait what??

odd sonnet
mortal wind
odd sonnet
#

and make a new gpt partition table

bitter swift
#

Yes how

mortal wind
#

honestly I don';t think I understood the problem

bitter swift
#

Just the SG disk thing?

#

Autocorrect

bitter swift
#

And boot from root file system

#

So try to correct it

odd sonnet
#

.aw gdisk

radiant cliffBOT
odd sonnet
bitter swift
#

Ok so wat about my bios now the logo don’t show and can’t go into bios even I spam the key

bitter swift
#

CSM support hav problem

mortal wind
bitter swift
#

Come on that’s the problem

#

And idk Y the CSM thingy matter

#

And it just “broke” my bios

#

And I I hav no idea how to boot into bios

#

So ya

bitter swift
#

I mean that’s the problem

#

The UEFI thing

#

The arch iso for some reason legacy boot without UEFI mode

#

So that’s the problem now

#

And tbh there is a swap problem cuz of a resize as well

mortal wind
#

can you not do the mentioned stuff on a legacy boot arch usb?

bitter swift
#

?

mortal wind
#

not sure since I've never tried it, but I think you should be able to mount gpt partitions just fine even on a legacy booted arch iso?

bitter swift
#

that's why im trying a reinstall

#

that should solve 99% of it

#

the only thing not solved is bios

#

thing

#

so do i reinstall?

mortal wind
bitter swift
#

no output

#

just blackscreen

mortal wind
bitter swift
#

it look like booted twice since the keyboard's light is off a while after tunning on

mortal wind
#

what's your graphics card?

bitter swift
#

it dont boot

#

becuz no boot loader

#

and no legacy support so cant boot from root file part

bitter swift
#

like a 1060

mortal wind
#

oh then its' bios should be uefi so that shouldn't be a problem,,

#

hmm

bitter swift
#

?

mortal wind
#

no idea at all about the bios thing tbh

bitter swift
#

ikr the company logo dont show after disabling CSM

mortal wind
#

old graphics card like for example gtx 400 series etc don't work when you disable csm

bitter swift
odd sonnet
#

just boot to archiso and use gdisk

bitter swift
bitter swift
odd sonnet
#

already shared a shot of how to

mortal wind
odd sonnet
bitter swift
#

but if i hav plugged in the usb, it will boot into usb

#

automaticly

bitter swift
bitter swift
#

else, it will boot into usb

#

since it dont hav a bootloader

#

i mean that's the point of EFI right?

mortal wind
#

so just do what I and Parker said after booting into the usb

bitter swift
#

I think it defaultly set the bootloader to the EFI partition, but it didn't have a proper grub-install

bitter swift
#

it's just normal arch live iso

#

just some random ones

#

that doesn't matter

#

idk why but like some live isos hav problem

#

like the service just defaultly doesn't work

mortal wind
#

yea you need to partition your drive and install grub etc while booted on the arch usb

bitter swift
#

ik

#

the problem is that cant

#

it says no such file or directory

bitter swift
#

i mention this 1000th time already

#

ik the step for installing the bootloader

#

but just doesn't work

odd sonnet
#

you need to wipe everything, not install the bootloader

odd sonnet
mortal wind
#

You can also just convert your existing partitions to gpt and make en efi partition at the start like what I said but if you can't do it then just reinstall like Parker says

bitter swift
#

which is wat i did

mortal wind
bitter swift
#

ohhhh, maybe becuz i didn't put efi mount in fstab

#

lemme try put it in fstab

mortal wind
odd sonnet
#

.aw grub

radiant cliffBOT
bitter swift
#

but idk if it matter since can't even see the systemd

bitter swift
#

wtf

#

fuck chatgpt

odd sonnet
bitter swift
#

idk, becuz it works last time

odd sonnet
mortal wind
#

Lmao

odd sonnet
#

big brainz moment

bitter swift
#

lmao

#

ok wat should i do

mortal wind
#

From the arch wiki:

Then follow the below steps to install GRUB to your disk:

Mount the EFI system partition and in the remainder of this section, substitute esp with its mount point.

#

See substitute esp

bitter swift
#

?

#

which wiki

#

the grub one?

mortal wind
bitter swift
#

OMG BRO WTF

#

I sucks fr

#

wait wat?/

#

ok guys just give me a command that works

#

ok does that mean i just rename /efi to /boot and it should be fine?

bitter swift
#

😐

odd sonnet
bitter swift
#

:(((

mortal wind
#

Just read the wiki
family dinner starts now so I'll check back later

odd sonnet
mortal wind
#

Same tbh

odd sonnet
#

.. helpvampire

radiant cliffBOT
#

Too few arguments for command addnote!
Usage: .addnote <name> <text>

bitter swift
#

lmao

odd sonnet
#

... helpvampire

radiant cliffBOT
#

#10843 📣 ```js
If You’re a Help Vampire…

Now you know. Stop. Of course, it’s not just that easy, or nobody would ever be a Help Vampire at all.

Before you ask a question in a community, try to find the answer elsewhere. This way you help yourself by stretching your mind and research abilities, and you learn things more thoroughly too. Plus it’s good karma.

Always try these avenues first:

Keep troubleshooting. Often we learn that it’s easier to give up and ask for help rather than persisting—when we’d get our breakthrough if we’d only delay giving up for another 10 minutes. Respect yourself, go a little further before giving up.
Google, of course. Google partial error messages, add software names to your queries, and generally try at least 3 or 4 searches before you give it up as hopeless.
Mailing lists, forums, and newsgroups. Chances are, you’re not the first person on the Earth to have this problem. Luckily we live in an age where we can search the past. Check out these resources next.
Docs. Sometimes they seem impenetrable, but give it a whack. The more you learn, the easier the documentation will be to understand and decipher.
Ask your question—but phrase it differently. Instead of asking your question directly, ask “Has anyone has seen this problem?” or “Can anyone point me in the right direction?” Likely as not, someone will have been there before, and they might know a blog posting or other resource which can help you out. This way, you show you are respectful of their time, and understand your problem is (probably) not unique.```
bitter swift
#

f

#

u

#

c

#

k

#

btw wat is the diffrent from bios and uefi?

#

im soooo confused

#

do i just do this?
grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB

#

OMG GUYS THE INSTALL WORKS

#

after changing efi to esp

#

lmao

#

lemme reboot

mortal wind
#

That's interesting because esp is wrong HEHEHEHA

bitter swift
#

?

mortal wind
bitter swift
#

OMG GUYS IT BOOT INTO THE MAIN SYSTEM

#

AFTER 3 DAYS

#

OGM

#

JEASE

mortal wind
#

Or maybe grub-install has a default esp value and it defaulted to that ig

#

Anyways congrats

bitter swift
#

there is problem now

#

it dont show grub

#

and the bios dont show as well

#

and swap dont start as well

#

yea guys how to fix the swap thingy

#

oh no, i think this is another problem

#

a grub problem

#

it screen show grub as black

#

and cant see anything

#

but if i press esc, it stop it from booting

#

and if i press enter it still boot

odd sonnet
#

you have to tell grub install where's your esp

#

eg, /boot

#

or /boot/efi

bitter swift
#

ok i get it, now before boot, gpu dont show anything, but works fine after the boot

bitter swift
odd sonnet
#

still, do a clean install so your system has all the right mounting points

odd sonnet
bitter swift
#

under /esp there is boot and EFI

odd sonnet
#

esp is a placeholder

bitter swift
#

......

#

but it works

odd sonnet
bitter swift
#

?

#

i hav a dir called esp under /

odd sonnet
#

you should mount it under /boot

bitter swift
#

and now there is a dir in /boot/grub called x86_64-efi

bitter swift
#

....

#

so wat is the proper way of installing that

mortal wind
bitter swift
#

this is awful

mortal wind
bitter swift
odd sonnet
#

oh well... I already said what I should. if you still think youre right, go ahead

bitter swift
#

wat should it be like?

mortal wind
#

Well that still works

bitter swift
#

just tell me

#

wat should it be in

odd sonnet
#

eg, /dev/sda1 should be mounted at /mnt/boot/efi

#

being it /boot/efi

#

.aw grub

radiant cliffBOT
odd sonnet
#

.aw installation guide

radiant cliffBOT
bitter swift
#

ok do i just change it to /boot/efi then?

bitter swift
odd sonnet
bitter swift
#

and then i mkdir /mnt/boot/esp

odd sonnet
#

nope

bitter swift
#

and then i change fstab

odd sonnet
#

you're complicating things way more

bitter swift
#

😦

#

wait wat

#

so i just rename /esp to /mnt/boot ?

#

(including fstab mount etc)

mortal wind
bitter swift
#

and is that it?

bitter swift
#

that's wat i relised after bare installing arch(manully)

#

that's why i install arch based distro

#

ok so wat should be happening

#

do i just change /esp to /mnt/boot

odd sonnet
#

tells the right steps to dirty convert to gpt

bitter swift
#

that's wat i did

#

sgdisk -g /dev/nvme0n1

odd sonnet
#

tho I recommend a clean install so you mount everything where it should be

bitter swift
odd sonnet
#

you asked how to clean install. we told you how, yet proceed to ignore and ask again

odd sonnet
mortal wind
#

Honestly if your system works don't fix it imo

bitter swift
#

how to update-grub without using the mkconfig thing

#

cuz that's wat i usally do

#

cuz like that will only do it to /boot/grub

#

im a complete mess

#

[Solved] CSM support, accident legacy install

#

#1081505407136178206

odd sonnet
bitter swift
#

??

#

like which grub

#

i got 2 right?

odd sonnet
#

What

bitter swift
#

i want to completly migrate

#

one is /boot/grub(using rn) one is /esp/boot/grub

odd sonnet
#

You can only have one bootloader

bitter swift
#

yes, it's just /esp/boot/grub but the configs are saving to /boot/grub

#

how to prevent that and automaticly save the stuff(upgrade etc) into /esp/boot/grub

odd sonnet
#

Why don't you just clean install at this point?

odd sonnet
#

If you already backed up, just clean install arch

bitter swift
#

bro comeon everything is solved and now u want me 2 clean install arch

bitter swift
#

*where

#

do i replace it???

#

like how

odd sonnet
#

Not /esp

mortal wind
odd sonnet
#

Big brainzzzz moment

bitter swift
#

????? wdym /boot/efi??

odd sonnet
bitter swift
#

so now under /esp there is GRUB and boot, is it fine if i move it in

odd sonnet
bitter swift
#

(including the fstab mounting point etc)

#

wat should be under /boot/efi?

odd sonnet
#

It should be /boot, not /esp

bitter swift
#

ok ok i get it, but it will still save data to /boot/grub anyways

#

can u do a ls /boot/efi?

odd sonnet
#

Bruh

bitter swift
#

ok im changing it

mortal wind
#

imo if you want a sane system reinstall grub again and remove these /esp etc you made
You can just use the system as is though, shouldn't really affect anything I think

mortal wind
odd sonnet
bitter swift
#

ok where should it be

#

/boot/efi right?

#

so i do a grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB?

#

??

#

and i mount /dev/nvmep3(the esp) as /boot??

#

?

#

@odd sonnet

#

@mortal wind

#

ok this is the only question i hav

#

do i rm -rf /boot and then mount the esp as /boot

#

?

#

CSM support, accident legacy install

bitter swift
#

yo guys and now it doesn't work and boot into the usb

#

im really wondering if it's booting from the esp or from root filesystem

bitter swift
#

now the problem is #1081509174829137992

#

and idk if this is one of the problem as well, the boot takes like a extra 10secound longer then be4 this, or it might just be not renderd

mortal wind
#

no idea about the screen thing though

#

honestly if I were you I'd either A) use it as it is since it works or B) reinstall grub correctly

bitter swift
#

now there is only a EFI under /boot/efi

#

that should be wat u mean by that

bitter swift
#

i dont exactly remember if it is fine or not

#

is there a problem with my gpu??

#

[SOLVED] CSM support, accident legacy install

mortal wind
#

ignore what I said earlier since you're using a gtx 1000

bitter swift
#

*GeForce GTX 1060 6GB

bitter swift
mortal wind
bitter swift
#

maybe that's Y #1081509174829137992

bitter swift
#

does the PCIe board matter? since the reset thing is after that board so i took that board out, not sure if i connect it properly

bitter swift
#

it's a problem with tty i think

bitter swift
bitter swift
#

yo @mortal wind rly need ur help in #1081896200053202984