You are not logged in.
OK, so I made the various btrfs subvols and mounted them up, rsynced the file system back over, re-created the fstab with UUIDs, then chrooted in to update grub and rebuild the initramfs.
On boot, I get GRUB telling me 'no such device' and then a UUID.
What have I missed?
Late 2016 Dell XPS15 | i7-6700HQ | 16GB DDR4 | Samsung PM961 NVMe 512Gb SSD
LightDM/i3 | rEFInd | linux-ck
Offline
Does the UUID match that of a filesystem? Is it the root filesystem? When you're dropped to the initramfs prompt or emergency shell, can you see this UUID listed under /dev/disk/by-uuid?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
OK, so I sussed that the UUID it didn't recognise was that of my USB Arch live disk - not sure how I managed that, must've generated grub.cfg from outside the chroot by mistake.
I'm more or less sorted, apart from one small issue. I have a couple of subvolumes for /etc and /var/ and these don't appear to be being mounted on boot - i am prompted to enter some information for my 'first boot' into my 'new' system. If I jump back into the live USB I can see a very sparse set of files in /etc before the subvol is mounted - far less than my subvol contains. I cannot see anything in the boot process referencing mounting the subvolumes either.
The two subvols are in the fstab, but they have the same UUID as / (with the subvol named in the options) - is this correct?
Last edited by analbeard (2015-04-11 21:17:21)
Late 2016 Dell XPS15 | i7-6700HQ | 16GB DDR4 | Samsung PM961 NVMe 512Gb SSD
LightDM/i3 | rEFInd | linux-ck
Offline
Why wouldn't you just make them subvolumes inside the root subvolume? Or really, why make the separate subvolumes at all?
Last edited by Scimmia (2015-04-11 21:23:41)
Offline
Why wouldn't you just make them subvolumes inside the root subvolume? Or really, why make the separate subvolumes at all?
I was following this: https://wiki.archlinux.org/index.php/Bt … _subvolume
I want separate subvolumes to make a rollback easier if something goes wrong during an upgrade, and because I'm limited on disk space so I want pacman's cache to be constrained.
Are you saying the information on the wiki isn't correct?
Edit: I've been doing some more reading, and it appears some people make etc and var (in my case) as subvolumes under / - I wasn't aware this was possible. Is this what you were referring to in the first line of your reply above?
Last edited by analbeard (2015-04-12 09:57:22)
Late 2016 Dell XPS15 | i7-6700HQ | 16GB DDR4 | Samsung PM961 NVMe 512Gb SSD
LightDM/i3 | rEFInd | linux-ck
Offline
Yes, some of that information isn't totally accurate. It's how one person thought things should be set up, nothing more. And yes, I was talking about making subvols under /. This isn't LVM, BTRFS has more flexibility in this regard.
Offline