Comments (3)
did you [write] the partition table in cfdisk?
from void-docs.
Partitioning a Disk Using fdisk in Linux
-
Identify the disk:
sudo lsblk
This will list all the block devices connected to your system. Identify the disk you want to partition, e.g.,
/dev/sda
or/dev/nvme0n1
. -
Enter the
fdisk
interactive prompt:sudo fdisk /dev/[DEVICE]
Replace
[DEVICE]
with the disk you want to work with, e.g.,/dev/sda
. -
Create a new partition table:
Inside thefdisk
prompt, type:o
This will create a new empty DOS partition table.
-
Create a new partition:
Inside thefdisk
prompt, type:n
Follow the prompts to specify the partition type (primary or extended), partition number, and the start and end sectors for the new partition.
-
Set the partition type (optional):
Inside thefdisk
prompt, type:t
Then select the appropriate partition type code, e.g.,
83
for a Linux native partition or82
for a Linux swap partition. -
Make the partition bootable (optional):
Inside thefdisk
prompt, type:a
Then select the partition number you want to make bootable.
-
Write the changes and exit:
Inside thefdisk
prompt, type:w
This will write the changes to the disk and exit
fdisk
. -
Format the new partition:
sudo mkfs.ext4 /dev/[PARTITION]
Replace
[PARTITION]
with the name of the new partition you created, e.g.,/dev/sda1
.
Remember to replace [DEVICE]
and [PARTITION]
with the appropriate names for your system. Also, always double-check your work and back up any important data before making changes to the partition table.
from void-docs.
did you [write] the partition table in cfdisk?
Thanks for the tip on the GitHub issue. Your suggestion about cfdisk was exactly what I needed to fix the problem. As a newbie, I really appreciate you taking the time to provide that helpful feedback. I knew how to fix this bug and I also created an issue for others who may have encountered it.
from void-docs.
Related Issues (20)
- ARM Devices - Supported Platforms: Add instructions to make bluetooth work on Raspberry pi 4
- Clarity on rc.conf when setting timezone HOT 2
- Create mirror Pikeville, Kentucky, USA HOT 2
- Root on ZFS: potentially missing host ID generation step HOT 2
- A subchapter 3.6.18 describing installation and configuration of XFCE would be welcome. HOT 8
- Missing missing quotation mark in PipeWire documentation
- nevermind HOT 1
- Document switching from `linux` to `linux-lts`
- Add a section pointing to package development HOT 4
- wrong link due to duplicate heading
- tag new release HOT 2
- undocument proot in installation/guides/chroot
- table of contents navigation is not optimal HOT 2
- 4. XBPS Package Manager documentation is deadlocked HOT 5
- Unclear instructions for creating fstab from /proc/mounts HOT 2
- incus HOT 2
- Bad link in the Troubleshooting section of Configuration > Graphical Session > Graphics Drivers > Intel
- Add the configuration of nss-mdns as a note for easily using printers on Void
- Can voidlinux install kde plasma 6 now? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from void-docs.