Timeline for Mount root filesystem from initramfs
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 31, 2023 at 13:05 | comment | added | Diagon | @Chl / Useful, thank you. | |
| Jul 29, 2023 at 10:52 | comment | added | Chl | @Diagon On a Ubuntu 22.04, I had to mount on /root. But when the problem is not too deep, you just need to setup cryptsetup/lvm/etc. and exit from the initramfs prompt (with Ctrl+D or exit) so that the init scripts can find the devices of /etc/fstab and pick up from there. As a memento, here are a few of the commands I used : cryptsetup open /dev/sda5 mycrypt ; lvm lvs ; mount -t auto /dev/ubuntu-vg/root /root ; mount -t auto /dev/sda1 /root/boot ; mount -t proc none /root/proc ; mount -t sysfs none /root/sysfs | |
| Mar 25, 2023 at 13:53 | comment | added | Sadman Sakib | @Diagon, the way to continue boot sequence depends on the issue. In my case, my default grub menu had to be corrected. So, I opened grub.cfg with vim, made changes and rebooted the computer. | |
| Mar 23, 2023 at 5:22 | comment | added | Diagon | @SadmanSakib / thanks, but once mounted, is there a way to then continue the boot sequence? | |
| Jan 8, 2023 at 20:35 | comment | added | Sadman Sakib | @Diagon, you can mount the /, /boot etc. in any directory in the initramfs. Then, you can go inside that directory to find all your files and make necessary fixes. | |
| Nov 19, 2022 at 14:23 | comment | added | Diagon | Where do you mount /, /boot, etc to? I think that was the question - and it's certainly mine, stuck as I am in a very similar situation. | |
| Jun 22, 2020 at 23:30 | review | Late answers | |||
| Jun 23, 2020 at 2:24 | |||||
| Jun 22, 2020 at 23:16 | review | First posts | |||
| Jun 22, 2020 at 23:48 | |||||
| Jun 22, 2020 at 23:12 | history | answered | aluchko | CC BY-SA 4.0 |