Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing var partition when manually partitioning #198

Closed
darkk99 opened this issue Dec 17, 2023 · 32 comments · Fixed by #199
Closed

missing var partition when manually partitioning #198

darkk99 opened this issue Dec 17, 2023 · 32 comments · Fixed by #199
Assignees
Labels
bug Something isn't working

Comments

@darkk99
Copy link

darkk99 commented Dec 17, 2023

Issue Description

Post-install setup on Orchid requires you to boot into previous partition rather than current, otherwise hostname is wrong and you can't sign in to TTY nor GDM.

Steps to Reproduce

  • Install VanillaOS Orchid
  • Do post-setup
  • Boot into "current partition"
  • Try signing into GDM
  • Go to TTY to check hostname and try signin

On what version of Vanilla OS this happens?

Unreleased

Additional Information

This was done using a manual install on nvme0n1 where nvme0n1p1 is a 465GiB NTFS partition.

@darkk99 darkk99 added bug Something isn't working triage labels Dec 17, 2023
@taukakao
Copy link
Member

Booting into the past patition is not a solution herw since it misses everything that was installed by first-setup.

Does rebooting into the current partition help?

@jamiethecat jamiethecat changed the title [ORCHID] [ORCHID] OS boots into wrong root after install Dec 17, 2023
@darkk99
Copy link
Author

darkk99 commented Dec 17, 2023

UPDATE: Looks like you always have to boot into option A on grub, not just the first boot after post-install

@taukakao
Copy link
Member

No @darkk99 after first install you have to boot into B.

@darkk99
Copy link
Author

darkk99 commented Dec 17, 2023

Booting into the past patition is not a solution herw since it misses everything that was installed by first-setup.

Does rebooting into the current partition help?

It doesn't seem to mess anything up. Post-install doesn't reappear or anything, all selected software is installed, updates work (check my last comment)

@darkk99
Copy link
Author

darkk99 commented Dec 17, 2023

No @darkk99 after first install you have to boot into B.

This causes you to be unable to sign in on latest (93) ISO

@taukakao
Copy link
Member

Also @MonsterObserver I don't think that's whats happening here.
I noticed there were some issues with the host name. NetworkManager complained to me about something a while ago.

@jamiethecat
Copy link

Also @MonsterObserver I don't think that's whats happening here. I noticed there were some issues with the host name. NetworkManager complained to me about something a while ago.

Yeah not sure, in any case if the other root works fine, this is my best guess.

@taukakao
Copy link
Member

It doesn't seem to mess anything up. Post-install doesn't reappear or anything, all selected software is installed, updates work (check my last comment)

That's very weird. Flatpak should not be installed on A if this is after the reboot after first install?

@taukakao
Copy link
Member

taukakao commented Dec 17, 2023

Did you boot into B for first setup by any chance?

@darkk99
Copy link
Author

darkk99 commented Dec 17, 2023

Did you boot into B for first setup by any chance?

No, booted into A.

@taukakao
Copy link
Member

Hm, I guess we'll have to see if this is a reaccuring issue. I can really not make sense of this situation.

@taukakao
Copy link
Member

Oh, and to fix your second root you can run abroot pkg apply in Root A and reboot.

@taukakao
Copy link
Member

I can't reproduce this issue with # 93

@VladShmi
Copy link

VladShmi commented Dec 20, 2023

This also keeps happening to me, and console is not oppening, so can't even use ABRoot. Tried multiple installations.

@taukakao
Copy link
Member

taukakao commented Dec 20, 2023

@VladShmi
The console is broken at the moment, this is being worked on. As a workaround you can:

  1. Press Alt+F2
  2. Type in vso pico-init, press enter and wait for about a minute
  3. Open Console again (and wait for the initialization to finish)

@nisel11
Copy link

nisel11 commented Jan 9, 2024

I have the same problem when installing on my laptop, hopefully this will be fixed during Beta

@taukakao
Copy link
Member

taukakao commented Jan 9, 2024

@nisel11
Since I can not reproduce this issue I depend on additional information.
So without it it can't be fixed.
Valuable information would be: is anything special about your installation, how did you create the installation media, are you noticing anything else out of the ordinary, are there any warning messages or logs that might be interesting here and so on.

@nisel11
Copy link

nisel11 commented Jan 9, 2024

Could you please advise what I can provide? I noticed something with the grub probe on the first install (not sure if it makes any difference). I am now under root user on vos-b via recovery, my user is not here, but the hostname is correct, not like when starting from this partition. The first time I created the installation media via BalenaEtcher, now via Ventoy. Through chroot I created a user, after booting I have the initial install enabled, but I can't do anything as it requires an admin password

@nisel11
Copy link

nisel11 commented Jan 9, 2024

There is nothing in vos-b that was in vos-a, not even flatpak applications, it's like two different systems, only one works fine and the other just exists.

@nisel11
Copy link

nisel11 commented Jan 9, 2024

After abroot upgrade --force everything is back to what it was before all my actions, but now if I create a user I can't log into gnome, it just hangs on a gray screen and restarts gdm, maybe it's because I missed the initial setup this time. This all seems very strange, I guess hoping it will be fixed is not worth it

@taukakao
Copy link
Member

@nisel11
Did you use automatic partitioning or did you manually partition it?

@taukakao
Copy link
Member

Also, the output of host-spawn lsblk or if that doesn't work just lsblk inside the broken root would be quite interesting.

@nisel11
Copy link

nisel11 commented Jan 10, 2024

Manually, I like Linux, but I also need Windows on the second partition

@nisel11
Copy link

nisel11 commented Jan 10, 2024

2024-01-10-09-59-00-526.jpg

in vos-a

2024-01-10-10-05-15-453.jpg

in vos-b

@taukakao
Copy link
Member

@nisel11
That looks very wrong.
The home directory and the root should absolutely not be on the same partition.

Do you still know by any chance how you did the manual partitioning and/or what the other partitions on your drive are?

@nisel11
Copy link

nisel11 commented Jan 10, 2024

The manual partitioning was done with the help of a previous developer blog. I also logged into vos-b via grub and saw the following
2024-01-10-10-16-46-453.jpg

@taukakao
Copy link
Member

@nisel11
Yeah, you're completely missing the var partition, which would usually hold all variable data like your home folder or flatpak apps.

I will do some testing to see if I can reproduce this issue.

It would be really useful to know which guide you used, if you can still find it.

@nisel11
Copy link

nisel11 commented Jan 10, 2024

nvme0n1p1 - windows boot manager
nvme0n1p2 - some space also reserved by windows
nvme0n1p3 - windows
nvme0n1p4 - boot partition VanillaOS 1024 mb
nvme0n1p5 - efi partition VanillaOS 512 mb
nvme0n1p6 - root partition with 20992 mb
nvme0n1p7 - var partition

I just allocated 40GB from windows and created partitions via gparted using this guideScreenshot_20240110-103001.png

@taukakao
Copy link
Member

@nisel11
Thanks, the issue is that for some reason your var partition is used as root a.

I will look into it, thanks for your input.

@taukakao taukakao self-assigned this Jan 10, 2024
@nisel11
Copy link

nisel11 commented Jan 10, 2024

I was able to see this problem on a virtual machine! You just need to use manual partitioning, after the first setup you just can't get into vos-b, after abroot upgrade --force you will get the problem this question started with. I did all of this on VMware Workstation 17

@nisel11
Copy link

nisel11 commented Jan 10, 2024

Nothing has changed in build 101

@taukakao
Copy link
Member

@nisel11
Whoops, seems like it was me who broke ABRoot a while back.
Sorry for the inconvenience ^^'
But I found the bug and it's going to be fixed soon.
Thanks for your help

@taukakao taukakao removed the triage label Jan 10, 2024
@taukakao taukakao transferred this issue from Vanilla-OS/live-iso Jan 10, 2024
@taukakao taukakao changed the title [ORCHID] OS boots into wrong root after install missing var partition when manually partitioning Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants