Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install [2015/05/15 22:26]
slackermedia [Partition Your Hard Drive(s)]
install [2021/06/03 19:48] (current)
Line 1: Line 1:
-[[{arrowp.png|border:​0;​background:​none;​width:​0;​display:​inline-block;​position:​absolute;​top:​0;​left:​0;​}pre|]] 
  
-[[{arrown.png|border:​0;​background:​none;​width:​0;​display:​inline-block;​position:​absolute;​top:​0;​margin-left:​2.5em;​}user|]] 
  
  
Line 54: Line 52:
 historical purposes]]). So the identifier for the first hard drive on a system would be ''​sda'',​ and the second drive would be ''​sdb''​. historical purposes]]). So the identifier for the first hard drive on a system would be ''​sda'',​ and the second drive would be ''​sdb''​.
  
-You can verify what drives Linux finds by looking in the device, or ''/​dev'',​ directory. ​You can see this by typing this:+You can verify what drives Linux finds by looking in the device, or ''/​dev'',​ directory. ​Do not type the ''#''​ mark; that just represents the root prompt on your screen. However, the question mark is literal; type exactly ''​sd?''​
  
 <​code>​ <​code>​
Line 60: Line 58:
 </​code>​ </​code>​
  
-<WARN important>​ +A friendlier view of devices attached to your computer, use ''​lsblk''​:
-Do not type the ''​#'' ​mark; that just represents the root prompt on your screen.+
  
-However, the question mark is literal; type exactly ''​sd?''​ +<​code>​ 
-</WARN>+# lsblk 
 +</code>
  
 On a laptop, you probably only have one drive, so the result will likely be ''/​dev/​sda''​ but a desktop can (and arguably should) have multiple drives, so results might be ''/​dev/​sda''​ ''/​dev/​sdb''​ ''/​dev/​sdc'',​ and so on to the last drive. On a laptop, you probably only have one drive, so the result will likely be ''/​dev/​sda''​ but a desktop can (and arguably should) have multiple drives, so results might be ''/​dev/​sda''​ ''/​dev/​sdb''​ ''/​dev/​sdc'',​ and so on to the last drive.
Line 70: Line 68:
 Whether you have one or three or more drives, each drive must have a partition in order for an OS to be installed. Whether you have one or three or more drives, each drive must have a partition in order for an OS to be installed.
  
-<WARN alert>+<WRAP alert>
 Mistakes are easy to make. Disconnect any drive that you do not intend to erase while you create partitions, just in case you type in the wrong drive and erase something you did not mean to erase. Mistakes are easy to make. Disconnect any drive that you do not intend to erase while you create partitions, just in case you type in the wrong drive and erase something you did not mean to erase.
  
 In other words: only the drives you intend to erase should be attached to your computer, to prevent accidental data loss. In other words: only the drives you intend to erase should be attached to your computer, to prevent accidental data loss.
-</WARN>+</WRAP>
  
 To create an MBR (for use with BIOS or UEFI-in-BIOS-mode) partition label (replace ''​sdX''​ with the appropriate drive identifier, and do not type the ''#''​ mark, which is your Linux prompt): To create an MBR (for use with BIOS or UEFI-in-BIOS-mode) partition label (replace ''​sdX''​ with the appropriate drive identifier, and do not type the ''#''​ mark, which is your Linux prompt):
Line 105: Line 103:
 </​code>​ </​code>​
  
-<WARN alert>+<WRAP alert>
 If you are using multiple drives, then you should only make a swap partition on one non-SSD drive. You do not need swap space on each physical drive. If you are using multiple drives, then you should only make a swap partition on one non-SSD drive. You do not need swap space on each physical drive.
-</WARN>+</WRAP>
  
 On old systems, swap space was a necessity in the event that you ran out of RAM. This is less of an issue now that RAM is relatively cheap, so if you have heaps of RAM then you probably do not need swap space. If you are using a desktop and do not require hibernation,​ or you just don't anticipate needing hibernation,​ then you can opt to forsake the swap partition and just create a single partition that spans the entire drive: On old systems, swap space was a necessity in the event that you ran out of RAM. This is less of an issue now that RAM is relatively cheap, so if you have heaps of RAM then you probably do not need swap space. If you are using a desktop and do not require hibernation,​ or you just don't anticipate needing hibernation,​ then you can opt to forsake the swap partition and just create a single partition that spans the entire drive:
Line 143: Line 141:
 The installer will offer to format each drive for you. It is usually safe (and quickest) to perform a standard Format with no bad block checking. Use ''​ext4''​ or ''​jfs''​ for your filesystem type. The installer will offer to format each drive for you. It is usually safe (and quickest) to perform a standard Format with no bad block checking. Use ''​ext4''​ or ''​jfs''​ for your filesystem type.
  
-<WARN info>+<WRAP tip>
 Slackermedia recommends ''​jfs''​ solely based on experiential data. In some ways, it has fewer features than something like ''​ext4''​ but it is a good, stable open source filesystem that is useful on both SSD and standard drives, and it is backed by IBM and used by IBM on large amounts of data in very large data centers. It makes the most sense for Slackermedia,​ and has successfully powered Slackermedia recommends ''​jfs''​ solely based on experiential data. In some ways, it has fewer features than something like ''​ext4''​ but it is a good, stable open source filesystem that is useful on both SSD and standard drives, and it is backed by IBM and used by IBM on large amounts of data in very large data centers. It makes the most sense for Slackermedia,​ and has successfully powered
 Slackermedia machines that are in production for years (including one that is exclusively SSD). Slackermedia machines that are in production for years (including one that is exclusively SSD).
  
 If you anticipate requiring re-sizing your filesystem at some point, then ''​ext4''​ is a superiour choice. If you know Linux well and have some other reason to prefer ''​ext4''​ or ''​xfs''​ or some other filesystem type, then use your better judgement to build your system. If you anticipate requiring re-sizing your filesystem at some point, then ''​ext4''​ is a superiour choice. If you know Linux well and have some other reason to prefer ''​ext4''​ or ''​xfs''​ or some other filesystem type, then use your better judgement to build your system.
-</WARN>+</WRAP>
  
 Once your drives are formatted, select the source of the installation. Once your drives are formatted, select the source of the installation.
Line 193: Line 191:
 standard option. standard option.
  
-<WARN info>+<WRAP important>
 This resolution does not affect the GUI; that will be auto-detected when you start the desktop. This resolution setting governs the initial text console. This resolution does not affect the GUI; that will be auto-detected when you start the desktop. This resolution setting governs the initial text console.
-</WARN>+</WRAP>
  
 The next few prompts are well documented onscreen, so read the info provided and continue with the install until you are prompted to configure ''​GPM''​. This defaults to **Yes** but it is safe to choose **No** if you do not anticipate using your mouse in a text-only console. If you are The next few prompts are well documented onscreen, so read the info provided and continue with the install until you are prompted to configure ''​GPM''​. This defaults to **Yes** but it is safe to choose **No** if you do not anticipate using your mouse in a text-only console. If you are
Line 230: Line 228:
 To use ''​wicd'',​ choose DHCP for now and install wicd later. To use ''​wicd'',​ choose DHCP for now and install wicd later.
  
-<WARN important>​+<WRAP important>​
 If you do not understand why any of those things are significant,​ or are confused about what to choose, then you should choose ''​NetworkManager''​. If you do not understand why any of those things are significant,​ or are confused about what to choose, then you should choose ''​NetworkManager''​.
-<WARN>+</WRAP>
  
 Next, you are provided with a list of startup options. This is largely geared toward sys admins, or computer users who like to do sys admin tasks (like reading logs, playing on the network, start up various services, and so on). Next, you are provided with a list of startup options. This is largely geared toward sys admins, or computer users who like to do sys admin tasks (like reading logs, playing on the network, start up various services, and so on).
Line 292: Line 290:
 </​code>​ </​code>​
  
-<WARN alert>+<WRAP alert>
 The location of your root partition may differ, depending on how you installed the system. Generally, it will be the partition into which you chroot'​d. The location of your root partition may differ, depending on how you installed the system. Generally, it will be the partition into which you chroot'​d.
  
 For more information on creating EFI and UEFI systems, see [[http://​docs.slackware.com/​howtos:​slackware_admin:​installing_on_uefi_hardware]] For more information on creating EFI and UEFI systems, see [[http://​docs.slackware.com/​howtos:​slackware_admin:​installing_on_uefi_hardware]]
-</WARN>+</WRAP>
  
 When you have finished editing, press ''​control+o''​ to "write Out" the file. In the When you have finished editing, press ''​control+o''​ to "write Out" the file. In the
Line 327: Line 325:
  
  
-[[{arrown.png|border:​0;​background:​none;​width:​0;​display:​inline-block;​float:​right;​}user|]][[{arrowp.png|border:​0;​background:​none;​width:​0;​float:​right;​}pre|]]+<WRAP centeralign>​ 
 +<wrap fa>[[pre|R]]</​wrap>​ <wrap fa>[[start|S]]</​wrap>​ <wrap fa>​[[user|Q]]</​wrap>​ 
 +</​WRAP>​