[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 revisionBoth sides next revision
howtos:slackware_admin:how_to_chroot_from_media [2012/09/25 01:32 (UTC)] – [Sources] added tags mfillpothowtos:slackware_admin:how_to_chroot_from_media [2012/09/25 01:33 (UTC)] – corrected heading levels mfillpot
Line 5: Line 5:
 In order to gain access to your system without booting directly to it, it is possible to use an installation media such as CD1 or the DVD. Once the installation media loads and starts, you can change the media's root directory into a mounted hard-disk partition and use it as the root directory, thus running commands directly from it and affecting it. In order to gain access to your system without booting directly to it, it is possible to use an installation media such as CD1 or the DVD. Once the installation media loads and starts, you can change the media's root directory into a mounted hard-disk partition and use it as the root directory, thus running commands directly from it and affecting it.
  
-==== Volume preperation ====+===== Volume preperation =====
 <note important>The examples here are vary basic and expect that the entire system is located in a single partition. If you have a different partition table, please make sure that you mount all the needed partitions with care.</note> <note important>The examples here are vary basic and expect that the entire system is located in a single partition. If you have a different partition table, please make sure that you mount all the needed partitions with care.</note>
  
Line 19: Line 19:
   * If more than one group was found, you can select which one to activate with ''vgchange -ay groupName''   * If more than one group was found, you can select which one to activate with ''vgchange -ay groupName''
  
-==== Volume mounting ====+===== Volume mounting =====
 After the preparation stage we can continue to mount the volume(s). You can use ''/mnt'' as it is only needed if you are planning to run the setup program. After the preparation stage we can continue to mount the volume(s). You can use ''/mnt'' as it is only needed if you are planning to run the setup program.
      
Line 32: Line 32:
   mount -o bind /sys /mnt/sys   mount -o bind /sys /mnt/sys
  
-==== Chrooting ===+===== Chrooting =====
 Once the partition is mounted, we can chroot to it: Once the partition is mounted, we can chroot to it:
      
 howtos:slackware_admin:how_to_chroot_from_media ()