Renaming pool/ROOT/mydist and boot. #517
Replies: 2 comments 5 replies
-
ZFSBootMenu imports all pools and checks the The root argument can take different forms depending on the distribution, so we make an effort to figure out what distribution will boot and choose the proper form. We do this by trying to read This behavior can be overridden if necessary, but because your environments were booting before, I doubt they were receiving the wrong root argument. More likely, something about your environments is overriding whatever you expect to happen. You can see what ZBM has passed to your boot environment by inspecting the contents of |
Beta Was this translation helpful? Give feedback.
-
As an aside, there's no need to use a rescue CD. There's a full shell built into ZFSBootMenu, along with the ability to chroot into any boot environment. Hit MOD+W on the main screen and then you can drop to a shell via MOD+R, or enter into a chroot of the selected environment via MOD+J. |
Beta Was this translation helpful? Give feedback.
-
Ran in to an issue of where i made a copy of pool/ROOT/mydist1@snapshot
with (zfs send | zfs recv) to pool/ROOT/mydist2 and continued to work in mydist1
without realizing it (wanted to be in mydist2).
So after the fact i renamed mydist1 <-> mydist2 from a zfs rescue boot stick,
but up on reboot with zfsbootmenu mydist2 would boot with root of mydist1
and vice versa for dist1 booting with root of mydist2.
Fixed by chrooting from zfs rescue and ran update-initramfs -ck all in each.
Just wanted to clear up this behavior. Does the root of the system
get hard coded in to initramfs ?
Unlike grub where it is passed as kernel boot parameter from grub.cfg?
thanx
dan
Beta Was this translation helpful? Give feedback.
All reactions