[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:slackware_admin:how_to_chroot_from_media [2021/02/19 23:39 (UTC)] – Fix in the example command sequence alienbobhowtos:slackware_admin:how_to_chroot_from_media [2023/10/25 13:38 (UTC)] (current) – [Chrooting] peter
Line 72: Line 72:
 <note important>If LVM preparation was involved it might be necessary to re-run ''vgscan %%--%%mknodes'' and ''vgchange -ay'' as they were created inside the installation media's ramdisk and not in the mounted partition.</note> <note important>If LVM preparation was involved it might be necessary to re-run ''vgscan %%--%%mknodes'' and ''vgchange -ay'' as they were created inside the installation media's ramdisk and not in the mounted partition.</note>
      
-The bash prompt that you see here is a bash prompt started on your system. You can now work on this environment naturally. For example editing ''/etc/lilo.conf'' and executing ''/sbin/lilo'' will happen on your system, not from the installation media.+The bash prompt that you see here is a bash prompt started on the actual system you mounted. You can now work in this environment naturally. Operations will happen on your system, not from the installation media. 
 + 
 +For example you can do these steps : 
 +  *  run the command ''/usr/share/mkinitrd/mkinitrd_command_generator.sh'' to create the initrd.gz if you forgot to re-create it after a kernel upgrade 
 +  *  edit the file ''/etc/lilo.conf'' to make changes to your lilo boot sequence, for instance selecting a different installed kernel 
 +  *  run the command''/sbin/lilo -v'' to apply the changes so that the modifications you made area applied upon the next boot 
 +If the system uses elilo instead of lilo you can : 
 +  * repair elilo consecutive to a kernel upgradeoften we forget to re-generate the initrd.gz file 
 +  * mount the efi partition to ''/mnt/boot/efi'' in addition to the root partition described in the [[how_to_chroot_from_media#volume_mounting|Volume Mounting]] section 
 +  *  run the command ''/usr/share/mkinitrd/mkinitrd_command_generator.sh -k 5.15.117'' to create the initrd.gz if you forgot to re-create it after a kernel upgrade 
 +      * use the kernel version applicable to your system 
 +  * run ''eliloconfig'' from the chroot location /
 ====== Sources ====== ====== Sources ======
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->
 howtos:slackware_admin:how_to_chroot_from_media ()