[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 [2023/10/11 19:14 (UTC)] – [Chrooting] adding mkinitrd_command_generator.sh step, add list peterhowtos:slackware_admin:how_to_chroot_from_media [2023/10/25 13:38 (UTC)] (current) – [Chrooting] peter
Line 75: Line 75:
  
 For example you can do these steps : For example you can do these steps :
-  *  executing 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 +  *  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 
-  *  editing the file ''/etc/lilo.conf'' to make changes to your lilo boot sequence, for instance selecting a different installed kernel +  *  edit the file ''/etc/lilo.conf'' to make changes to your lilo boot sequence, for instance selecting a different installed kernel 
-  *  executing the command''/sbin/lilo -v'' to apply the changes so that the modifications you made area applied upon the next boot +  *  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 upgrade, often 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 ()