Comments (6)
I am experiencing this exact issue also.
The UUID is correct (I've checked).
Manually referencing the drive in /etc/default/grub yields the same result (Only one nvme connected for the installation, so the mapping could not have changed).
Not quite sure what the error is, will update if I find anything.
from arch-setup-script.
Wow thank you, thought i was alone, rewritting the script to find it. what do you think of this line. No system to test code if you have a vm see if it makes a difference?
`# Formatting the LUKS Container as BTRFS.
echo "Formatting the LUKS container as BTRFS."
mkfs.btrfs $BTRFS &>/dev/null
#this line:
mount -o clear_cache,nospace_cache $BTRFS $MOUNT_POINT
Change to (Create and set COW on the Btrfs subvolumes)
mount -t btrfs $BTRFS $MOUNT_POINT
`
The code is well written. hard to find bug. i have created a version that removes the crypt file part to see if it resolves it. to see if it is isolated around that setup.
from arch-setup-script.
I don't think that this will change anything, the error stems from grub (I think) not being able to find /dev/mapper/cryptroot, which occurs one step prior to the mount call. /dev/mapper/cryptroot is the device then being mounted by the call you mention, it does not appear in the emergency shell, thus indicating a problem with the encryption. You can try though, and let me know whether this changed anything. From when I've used btrfs, specifying the filesystem wasn't necessary
from arch-setup-script.
maybe this:
https://bbs.archlinux.org/viewtopic.php?id=250585
from arch-setup-script.
@TommyTran732 does the script work for you? Any ideas on this?
from arch-setup-script.
In case it's relevant, I fixed this by changing the HOOKS line on line 236 from:
sed -i 's,modconf block filesystems keyboard,keyboard modconf block encrypt filesystems,g' /mnt/etc/mkinitcpio.conf
to:
sed -i 's,HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block filesystems fsck),HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt filesystems fsck),g' /mnt/etc/mkinitcpio.conf
The syntax for modconf changed in the most recent few updates, so after much trial-and-error, quoting the entire line worked the most reliably, works in ISOs 202404 and above.
from arch-setup-script.
Related Issues (8)
- Install without Desktop environment HOT 2
- Doubt Regarding Apparmor enabled using this script HOT 2
- Broken link for IO udev rules used in Arch setup script HOT 2
- Unable to disable support for rds , dccp , sctp , ticp protocol HOT 3
- can't boot up to the linux kernel HOT 1
- the script can't find: "gnome-software-packagekit-plugin" HOT 3
- server.sh tuned package not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arch-setup-script.