#[SOLVED] cfdisk problem, not writing
83 messages · Page 1 of 1 (latest)
are you typing 'y' or 'yes' at the end?
i type yes
let me send image
sure, or try with fdisk instead if you prefer
make sure you type it in the right case as well, I cant remember what it needs, yes, YES, Yes etc.
@void prairie is this for installing arch?
yes
@void prairie btrfs or ext4?
i have not formatted yet
what are you going to format it as? @void prairie
i want to format 3 partitions, a 100MB one as ext4 for the boot partition, one 4GB one as swap space and one for the rest storage normal space
ok
are you in the iso?
yes in the install envinronment
can you try just deleting the partitions?
I know on fdisk it's just:
fdisk /dev/sda
d
1
etc.
ah I see on cfdisk it's just go over to the left
yes i delete all the partitions, write, then make the partitions again and write, then quit, then lsblk
yeah delete them, and then write, and then quit, then lsblk
yeah i did that
try with fdisk, see what happens
ok wait
ok i do not know how to use fdisk
it is too hard for me
is fdisk absolutely necessary since i think cfdisk does the exact same thing fdisk does
I just want to see if this is user error, and I'm not familiar with cfdisk
cfdisk is just tui version of fdisk
it's literally just:
fdisk /dev/<device>
and then:
d
1
enter
d
2
enter
d
3
enter
etc.
and when you're done, do:
w
enter
and that will delete and write the deletions of the partitions
remember to do the device, not the partitoin
e.g. /dev/sda NOT /dev/sda<number>
ok
im on it
ok i did that, it failed to delete partition 2 and 3
'no such device or address'
so there is only dev/sda1
to be clear you did:
fdisk /dev/sda
you didn't do:
fdisk /dev/sda1
right?
can you share mount -v |grep sda
oh me derp is typing, so probably a solution about to drop that I don't know about lol
You could also try running wipefs -a /dev/sda to delete the partition table for the drive
as far as I know a partition being lvm shouldn't effect deleting the partition, right?
I don't think so?
nothing happens
do i do this?
if the wipfs command doesn't work, mount all 3 partitions, and then repeat that command
if that doesn't work I want to see if those partitions when mounted show that they are rw, or just r, or neither, because if they aren't w then that might be related
ok it does not work: device or resource busy
only other things I can suggest are rebooting, in case there's an error with the iso, checking the iso hash is actually correct, seeing if your bios can wipe a disk, and seeing if your bios has a relevant setting preventing the device from being written to.
I'm a little sus that your device may be damaged.
i will reboot
@white pumice type your message even if it contradicts me, because you're usually someone who teaches me things (whether you mean to or not)
I was just saying the same thing
ok i rebooted and here is the result:
loop0
sda
sdb-|
| -sdb1
| -sdb2
hmmm, that's interesting
so it looks like sda has been wiped of it's partitions as you wanted
are you using ventoy out of interest? I'm assuming sdb is ventoy
no im using rufus
huh, didn't know that used 2 partitions
rufus can be a bit tempremental, but anyway, can you write to sda now?
also sda is the main hard disk
i will see if i can
hold on
okay now i have:
loop0
sda
| - sda1
| - sda2
| - sda3
sdb
| - sdb1
| - sdb2
so it worked?
and all the sda block devices are as big as i wanted them to be
yes it worked
reboot did it
That's good to hear
very much thank you @fervent pumice and me derp
vegancookies received a thank you cookie!
thanks @white pumice , have a cookie too ❤️
mederp received a thank you cookie!
.n solved
#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.
- You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
- You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".
Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you
oh ok
I mean, unless there is a further issue?