-
Notifications
You must be signed in to change notification settings - Fork 76
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
I just cant get it to work #162
Comments
What is your output of |
Edit1 by Antynea: I modified your message for easier reading |
Hey, I was on vacation, sorry for the late help. |
No I have not fixed it yet, I'm away from home rn but ill be back in about 5 hours if u wanna troubleshoot? I really wanna fix this so I can easily back up my system and be able to boot from backups. |
@Antynea im on grub-2.06 if that helps! here is some more info.
Edit1 by Antynea: I modified your message for easier reading |
Your
Can you provide the contents of your |
thats what it is then, I don't use initramfs so im guessing thats needed? |
I didn't foresee this possibility when I wrote the script. |
If you are able to modify it that would be amazing! |
Some changes may break the script. |
tysm! I wish you luck in your coding lol |
@astrolul
Also, do you use a Microcode ? I kept the possibility to load a |
I will test it when I get home, I need to go somewhere sorry but ill do it as soon as im back! :) |
Sorry I took so long but.... It detects the snapshot and it shows in grub, only problem is I get a kernel panic! Also I dont use microcode but I plan on setting it up soon, its a pain on gentoo or maybe im just lazy lol.
|
my friend said and i quote, "just tell the maintainer that for it to work without an initramfs you need to use a PARTUUID instead of a UUID". |
Have you tried it ?
and replace the uuid with your partuid. Otherwise try this: Note: When you edit the file manually, don't use |
I barely got it to boot and once I did it made my main os read-only, so I have to change it in Grub. I think I'm just gonna install an initramfs but I am gonna test the patch more in a VM and then maybe fork the project. |
I don't understand, what solution did you try ? if your main os is read-only, check your grub configuration. In any case, if the latter solution works
I don't see any errors in the script. |
If I can remember correctly, I tried both and they worked when I configured everything to work on my system.
Btw it only changed once I booted a snapshot then booted back into the normal gentoo installation and it was ro, so I think there is something in the script that changes that but I think adding rw as u said in the config will fix it. Im gonna try it again on a new installation because this one is kinda messy but I will notify you when I get it working! |
It works now, basically grub tricked me! It says ro but when u really boot into it nothing is ro so it all works now without an initramfs!! Thank you so much! EDIT: Tbh I think some of my stuff was messed up like my fstab before, probably why nothing worked. EDIT2: So I'm wondering is there a way to restore my system from a btrfs snapshot while booted in that said snapshot? |
FWIW: From the Kernel documentation :
|
I have a snapshot subvolume @snapshots mounted to /.snapshots and I have a snapshot in there, when I grub-mkconfig -o /boot/grub/grub.cfg no snapshots are detected. The distro is Gentoo Linux!
The text was updated successfully, but these errors were encountered: