Can't format Ubuntu installation stick
up vote
115
down vote
favorite
I've made an USB installer stick from Windows with Ubuntu 16.04 LTS , now I'm trying to format it from Ubuntu. When I try to format I get this error :
This partition cannot be modified because it contains a partition table; >please reinitialize layout of the whole device. (udisks-error-quark, 11)
usb live-usb format
add a comment |
up vote
115
down vote
favorite
I've made an USB installer stick from Windows with Ubuntu 16.04 LTS , now I'm trying to format it from Ubuntu. When I try to format I get this error :
This partition cannot be modified because it contains a partition table; >please reinitialize layout of the whole device. (udisks-error-quark, 11)
usb live-usb format
add a comment |
up vote
115
down vote
favorite
up vote
115
down vote
favorite
I've made an USB installer stick from Windows with Ubuntu 16.04 LTS , now I'm trying to format it from Ubuntu. When I try to format I get this error :
This partition cannot be modified because it contains a partition table; >please reinitialize layout of the whole device. (udisks-error-quark, 11)
usb live-usb format
I've made an USB installer stick from Windows with Ubuntu 16.04 LTS , now I'm trying to format it from Ubuntu. When I try to format I get this error :
This partition cannot be modified because it contains a partition table; >please reinitialize layout of the whole device. (udisks-error-quark, 11)
usb live-usb format
usb live-usb format
asked May 7 '16 at 21:18
Nephilim
576255
576255
add a comment |
add a comment |
7 Answers
7
active
oldest
votes
up vote
241
down vote
I got this fixed by doing the following
On your unity dash, type
disks
and launch the Disks applicationSelect the disk or drive you want to format
Press CTRL+F
Click format.
After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen. Then insert the name you'll like to use as the drive or disk name then click on create.
14
this should be the accepted answer. everything else is too complicated.
– Sebastian Wozny
Jul 1 '17 at 10:32
Agree with @SebastianWozny , this method is simple and works well.
– Inoe
Aug 29 '17 at 2:21
Every other attempt failed except this one.
– seanbreeden
Oct 27 '17 at 18:52
8
After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
– ChaosPredictor
Jan 15 at 11:56
Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
– Tejaskumar Tank
Feb 4 at 19:01
|
show 6 more comments
up vote
40
down vote
Make sure you have GParted installed. In a terminal window, run
sudo apt install gparted
Then open GParted as root (still in the terminal window):
sudo gparted
Select your USB stick from the GParted > Devices dropdown menu. Then click the "Device" tab > Create Partition Table...
This will erase all the data from the stick, so be sure you don't have anything valuable in it.
There will be an unallocated space left, double click it to create a new partition with your settings, such as disk label and filesystem (you'll probably want it to be NTFS).
Don't forget to apply your configuration by clicking the green "check" button in GParted.
add a comment |
up vote
14
down vote
You can use the terminal:
1. Find device ID:
df -h
2. Now unmount the device:
sudo umount /dev/sdb1
(change sdb1 with your device id)
3.Format USB
Choose a file system:
Ext4
sudo mkfs.ext4 /dev/sdb1
Fat
sudo mkfs.vfat /dev/sdb1
Ntfs
sudo mkfs.ntfs /dev/sdb1
This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
– David Foerster
May 3 '17 at 10:47
1
It works for me every time!
– Costis94
May 16 '17 at 11:52
Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
– David Foerster
May 16 '17 at 14:10
Or you are the wrong one. sourcedigit.com/… :)
– Costis94
May 19 '17 at 20:08
You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
– David Foerster
May 19 '17 at 20:11
|
show 3 more comments
up vote
5
down vote
If the standard tools cannot restore the USB installer stick alias pendrive to a standard storage device, you can use mkusb-dus, which has a menu option to do it automatically,
- wipe the first megabyte and restore the drive to a standard storage device (with the MSDOS partition table and a partition with the FAT32 file system).
See these links
- https://help.ubuntu.com/community/mkusb
- mkUSB-quick-start-manual.pdf
- mkUSB-quick-start-manual.pdf - alternate link
There is a more general description of what to do, if you have problems with a USB pendrive in the following link,
- Repair the partition table and file system of a pendrive
1
This is the Best answer. OP can do what he needs easily.
– Alan Jameson
Apr 4 '17 at 4:51
dus is awesome and easy to use! I love this
– wadie
Apr 26 '17 at 18:24
add a comment |
up vote
3
down vote
the @Eduardo Cola is solving the problem but after it I got:
The destination is read-only.
that was solved by:
sudo killall nautilus
add a comment |
up vote
2
down vote
I ran into this issue as well. I was able to get around it using sgdisk.
sudo sgdisk --zap-all /dev/sdd
add a comment |
up vote
0
down vote
Check disk by issuing below command
sudo fdisk -l
you can find the usb disk, usually it would be /dev/sdb or /dev/sdc
check if any of the partition of disk is not being used
sudo df -h
If you find any of the disk partition like /dev/sdb1 or /dev/sdc1 then you need to unmount it first
sudo umount /dev/sdb1
Now format the USB Stick with deisred file system like fat, ext4 or ntfs
sudo mkfs.ext4 /dev/sdb
suod mkfs.fat /dev/sdb
add a comment |
7 Answers
7
active
oldest
votes
7 Answers
7
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
241
down vote
I got this fixed by doing the following
On your unity dash, type
disks
and launch the Disks applicationSelect the disk or drive you want to format
Press CTRL+F
Click format.
After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen. Then insert the name you'll like to use as the drive or disk name then click on create.
14
this should be the accepted answer. everything else is too complicated.
– Sebastian Wozny
Jul 1 '17 at 10:32
Agree with @SebastianWozny , this method is simple and works well.
– Inoe
Aug 29 '17 at 2:21
Every other attempt failed except this one.
– seanbreeden
Oct 27 '17 at 18:52
8
After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
– ChaosPredictor
Jan 15 at 11:56
Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
– Tejaskumar Tank
Feb 4 at 19:01
|
show 6 more comments
up vote
241
down vote
I got this fixed by doing the following
On your unity dash, type
disks
and launch the Disks applicationSelect the disk or drive you want to format
Press CTRL+F
Click format.
After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen. Then insert the name you'll like to use as the drive or disk name then click on create.
14
this should be the accepted answer. everything else is too complicated.
– Sebastian Wozny
Jul 1 '17 at 10:32
Agree with @SebastianWozny , this method is simple and works well.
– Inoe
Aug 29 '17 at 2:21
Every other attempt failed except this one.
– seanbreeden
Oct 27 '17 at 18:52
8
After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
– ChaosPredictor
Jan 15 at 11:56
Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
– Tejaskumar Tank
Feb 4 at 19:01
|
show 6 more comments
up vote
241
down vote
up vote
241
down vote
I got this fixed by doing the following
On your unity dash, type
disks
and launch the Disks applicationSelect the disk or drive you want to format
Press CTRL+F
Click format.
After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen. Then insert the name you'll like to use as the drive or disk name then click on create.
I got this fixed by doing the following
On your unity dash, type
disks
and launch the Disks applicationSelect the disk or drive you want to format
Press CTRL+F
Click format.
After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen. Then insert the name you'll like to use as the drive or disk name then click on create.
edited Aug 2 at 8:25
Zanna
48.9k13123234
48.9k13123234
answered Jun 19 '17 at 6:04
Ekene Oguikpu
2,511136
2,511136
14
this should be the accepted answer. everything else is too complicated.
– Sebastian Wozny
Jul 1 '17 at 10:32
Agree with @SebastianWozny , this method is simple and works well.
– Inoe
Aug 29 '17 at 2:21
Every other attempt failed except this one.
– seanbreeden
Oct 27 '17 at 18:52
8
After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
– ChaosPredictor
Jan 15 at 11:56
Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
– Tejaskumar Tank
Feb 4 at 19:01
|
show 6 more comments
14
this should be the accepted answer. everything else is too complicated.
– Sebastian Wozny
Jul 1 '17 at 10:32
Agree with @SebastianWozny , this method is simple and works well.
– Inoe
Aug 29 '17 at 2:21
Every other attempt failed except this one.
– seanbreeden
Oct 27 '17 at 18:52
8
After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
– ChaosPredictor
Jan 15 at 11:56
Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
– Tejaskumar Tank
Feb 4 at 19:01
14
14
this should be the accepted answer. everything else is too complicated.
– Sebastian Wozny
Jul 1 '17 at 10:32
this should be the accepted answer. everything else is too complicated.
– Sebastian Wozny
Jul 1 '17 at 10:32
Agree with @SebastianWozny , this method is simple and works well.
– Inoe
Aug 29 '17 at 2:21
Agree with @SebastianWozny , this method is simple and works well.
– Inoe
Aug 29 '17 at 2:21
Every other attempt failed except this one.
– seanbreeden
Oct 27 '17 at 18:52
Every other attempt failed except this one.
– seanbreeden
Oct 27 '17 at 18:52
8
8
After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
– ChaosPredictor
Jan 15 at 11:56
After it i dot: "The destination is read-only." run: "sudo killall nautilus" to solve it
– ChaosPredictor
Jan 15 at 11:56
Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
– Tejaskumar Tank
Feb 4 at 19:01
Its most perfect answer, resolved immediate exact same issue, I was think 2 pendrive crashed, but both now recovered
– Tejaskumar Tank
Feb 4 at 19:01
|
show 6 more comments
up vote
40
down vote
Make sure you have GParted installed. In a terminal window, run
sudo apt install gparted
Then open GParted as root (still in the terminal window):
sudo gparted
Select your USB stick from the GParted > Devices dropdown menu. Then click the "Device" tab > Create Partition Table...
This will erase all the data from the stick, so be sure you don't have anything valuable in it.
There will be an unallocated space left, double click it to create a new partition with your settings, such as disk label and filesystem (you'll probably want it to be NTFS).
Don't forget to apply your configuration by clicking the green "check" button in GParted.
add a comment |
up vote
40
down vote
Make sure you have GParted installed. In a terminal window, run
sudo apt install gparted
Then open GParted as root (still in the terminal window):
sudo gparted
Select your USB stick from the GParted > Devices dropdown menu. Then click the "Device" tab > Create Partition Table...
This will erase all the data from the stick, so be sure you don't have anything valuable in it.
There will be an unallocated space left, double click it to create a new partition with your settings, such as disk label and filesystem (you'll probably want it to be NTFS).
Don't forget to apply your configuration by clicking the green "check" button in GParted.
add a comment |
up vote
40
down vote
up vote
40
down vote
Make sure you have GParted installed. In a terminal window, run
sudo apt install gparted
Then open GParted as root (still in the terminal window):
sudo gparted
Select your USB stick from the GParted > Devices dropdown menu. Then click the "Device" tab > Create Partition Table...
This will erase all the data from the stick, so be sure you don't have anything valuable in it.
There will be an unallocated space left, double click it to create a new partition with your settings, such as disk label and filesystem (you'll probably want it to be NTFS).
Don't forget to apply your configuration by clicking the green "check" button in GParted.
Make sure you have GParted installed. In a terminal window, run
sudo apt install gparted
Then open GParted as root (still in the terminal window):
sudo gparted
Select your USB stick from the GParted > Devices dropdown menu. Then click the "Device" tab > Create Partition Table...
This will erase all the data from the stick, so be sure you don't have anything valuable in it.
There will be an unallocated space left, double click it to create a new partition with your settings, such as disk label and filesystem (you'll probably want it to be NTFS).
Don't forget to apply your configuration by clicking the green "check" button in GParted.
edited Mar 26 '17 at 15:52
Seth♦
33.4k25109159
33.4k25109159
answered May 7 '16 at 21:45
Eduardo Cola
4,43821031
4,43821031
add a comment |
add a comment |
up vote
14
down vote
You can use the terminal:
1. Find device ID:
df -h
2. Now unmount the device:
sudo umount /dev/sdb1
(change sdb1 with your device id)
3.Format USB
Choose a file system:
Ext4
sudo mkfs.ext4 /dev/sdb1
Fat
sudo mkfs.vfat /dev/sdb1
Ntfs
sudo mkfs.ntfs /dev/sdb1
This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
– David Foerster
May 3 '17 at 10:47
1
It works for me every time!
– Costis94
May 16 '17 at 11:52
Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
– David Foerster
May 16 '17 at 14:10
Or you are the wrong one. sourcedigit.com/… :)
– Costis94
May 19 '17 at 20:08
You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
– David Foerster
May 19 '17 at 20:11
|
show 3 more comments
up vote
14
down vote
You can use the terminal:
1. Find device ID:
df -h
2. Now unmount the device:
sudo umount /dev/sdb1
(change sdb1 with your device id)
3.Format USB
Choose a file system:
Ext4
sudo mkfs.ext4 /dev/sdb1
Fat
sudo mkfs.vfat /dev/sdb1
Ntfs
sudo mkfs.ntfs /dev/sdb1
This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
– David Foerster
May 3 '17 at 10:47
1
It works for me every time!
– Costis94
May 16 '17 at 11:52
Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
– David Foerster
May 16 '17 at 14:10
Or you are the wrong one. sourcedigit.com/… :)
– Costis94
May 19 '17 at 20:08
You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
– David Foerster
May 19 '17 at 20:11
|
show 3 more comments
up vote
14
down vote
up vote
14
down vote
You can use the terminal:
1. Find device ID:
df -h
2. Now unmount the device:
sudo umount /dev/sdb1
(change sdb1 with your device id)
3.Format USB
Choose a file system:
Ext4
sudo mkfs.ext4 /dev/sdb1
Fat
sudo mkfs.vfat /dev/sdb1
Ntfs
sudo mkfs.ntfs /dev/sdb1
You can use the terminal:
1. Find device ID:
df -h
2. Now unmount the device:
sudo umount /dev/sdb1
(change sdb1 with your device id)
3.Format USB
Choose a file system:
Ext4
sudo mkfs.ext4 /dev/sdb1
Fat
sudo mkfs.vfat /dev/sdb1
Ntfs
sudo mkfs.ntfs /dev/sdb1
answered May 3 '17 at 10:18
Costis94
15614
15614
This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
– David Foerster
May 3 '17 at 10:47
1
It works for me every time!
– Costis94
May 16 '17 at 11:52
Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
– David Foerster
May 16 '17 at 14:10
Or you are the wrong one. sourcedigit.com/… :)
– Costis94
May 19 '17 at 20:08
You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
– David Foerster
May 19 '17 at 20:11
|
show 3 more comments
This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
– David Foerster
May 3 '17 at 10:47
1
It works for me every time!
– Costis94
May 16 '17 at 11:52
Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
– David Foerster
May 16 '17 at 14:10
Or you are the wrong one. sourcedigit.com/… :)
– Costis94
May 19 '17 at 20:08
You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
– David Foerster
May 19 '17 at 20:11
This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
– David Foerster
May 3 '17 at 10:47
This won't help because it appears there is no partition table and hence no partitions to format on the device in question in the first place.
– David Foerster
May 3 '17 at 10:47
1
1
It works for me every time!
– Costis94
May 16 '17 at 11:52
It works for me every time!
– Costis94
May 16 '17 at 11:52
Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
– David Foerster
May 16 '17 at 14:10
Then obviously your system doesn't reflect the situation of the question and is useless as a base for an answer to it.
– David Foerster
May 16 '17 at 14:10
Or you are the wrong one. sourcedigit.com/… :)
– Costis94
May 19 '17 at 20:08
Or you are the wrong one. sourcedigit.com/… :)
– Costis94
May 19 '17 at 20:08
You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
– David Foerster
May 19 '17 at 20:11
You're missing the point: there are no partitions to format according to the question. Your explanation how to format partition is correct but not helpful here.
– David Foerster
May 19 '17 at 20:11
|
show 3 more comments
up vote
5
down vote
If the standard tools cannot restore the USB installer stick alias pendrive to a standard storage device, you can use mkusb-dus, which has a menu option to do it automatically,
- wipe the first megabyte and restore the drive to a standard storage device (with the MSDOS partition table and a partition with the FAT32 file system).
See these links
- https://help.ubuntu.com/community/mkusb
- mkUSB-quick-start-manual.pdf
- mkUSB-quick-start-manual.pdf - alternate link
There is a more general description of what to do, if you have problems with a USB pendrive in the following link,
- Repair the partition table and file system of a pendrive
1
This is the Best answer. OP can do what he needs easily.
– Alan Jameson
Apr 4 '17 at 4:51
dus is awesome and easy to use! I love this
– wadie
Apr 26 '17 at 18:24
add a comment |
up vote
5
down vote
If the standard tools cannot restore the USB installer stick alias pendrive to a standard storage device, you can use mkusb-dus, which has a menu option to do it automatically,
- wipe the first megabyte and restore the drive to a standard storage device (with the MSDOS partition table and a partition with the FAT32 file system).
See these links
- https://help.ubuntu.com/community/mkusb
- mkUSB-quick-start-manual.pdf
- mkUSB-quick-start-manual.pdf - alternate link
There is a more general description of what to do, if you have problems with a USB pendrive in the following link,
- Repair the partition table and file system of a pendrive
1
This is the Best answer. OP can do what he needs easily.
– Alan Jameson
Apr 4 '17 at 4:51
dus is awesome and easy to use! I love this
– wadie
Apr 26 '17 at 18:24
add a comment |
up vote
5
down vote
up vote
5
down vote
If the standard tools cannot restore the USB installer stick alias pendrive to a standard storage device, you can use mkusb-dus, which has a menu option to do it automatically,
- wipe the first megabyte and restore the drive to a standard storage device (with the MSDOS partition table and a partition with the FAT32 file system).
See these links
- https://help.ubuntu.com/community/mkusb
- mkUSB-quick-start-manual.pdf
- mkUSB-quick-start-manual.pdf - alternate link
There is a more general description of what to do, if you have problems with a USB pendrive in the following link,
- Repair the partition table and file system of a pendrive
If the standard tools cannot restore the USB installer stick alias pendrive to a standard storage device, you can use mkusb-dus, which has a menu option to do it automatically,
- wipe the first megabyte and restore the drive to a standard storage device (with the MSDOS partition table and a partition with the FAT32 file system).
See these links
- https://help.ubuntu.com/community/mkusb
- mkUSB-quick-start-manual.pdf
- mkUSB-quick-start-manual.pdf - alternate link
There is a more general description of what to do, if you have problems with a USB pendrive in the following link,
- Repair the partition table and file system of a pendrive
edited Apr 27 '17 at 6:12
answered Mar 26 '17 at 16:19
sudodus
21.2k32770
21.2k32770
1
This is the Best answer. OP can do what he needs easily.
– Alan Jameson
Apr 4 '17 at 4:51
dus is awesome and easy to use! I love this
– wadie
Apr 26 '17 at 18:24
add a comment |
1
This is the Best answer. OP can do what he needs easily.
– Alan Jameson
Apr 4 '17 at 4:51
dus is awesome and easy to use! I love this
– wadie
Apr 26 '17 at 18:24
1
1
This is the Best answer. OP can do what he needs easily.
– Alan Jameson
Apr 4 '17 at 4:51
This is the Best answer. OP can do what he needs easily.
– Alan Jameson
Apr 4 '17 at 4:51
dus is awesome and easy to use! I love this
– wadie
Apr 26 '17 at 18:24
dus is awesome and easy to use! I love this
– wadie
Apr 26 '17 at 18:24
add a comment |
up vote
3
down vote
the @Eduardo Cola is solving the problem but after it I got:
The destination is read-only.
that was solved by:
sudo killall nautilus
add a comment |
up vote
3
down vote
the @Eduardo Cola is solving the problem but after it I got:
The destination is read-only.
that was solved by:
sudo killall nautilus
add a comment |
up vote
3
down vote
up vote
3
down vote
the @Eduardo Cola is solving the problem but after it I got:
The destination is read-only.
that was solved by:
sudo killall nautilus
the @Eduardo Cola is solving the problem but after it I got:
The destination is read-only.
that was solved by:
sudo killall nautilus
answered Jan 15 at 11:58
ChaosPredictor
396211
396211
add a comment |
add a comment |
up vote
2
down vote
I ran into this issue as well. I was able to get around it using sgdisk.
sudo sgdisk --zap-all /dev/sdd
add a comment |
up vote
2
down vote
I ran into this issue as well. I was able to get around it using sgdisk.
sudo sgdisk --zap-all /dev/sdd
add a comment |
up vote
2
down vote
up vote
2
down vote
I ran into this issue as well. I was able to get around it using sgdisk.
sudo sgdisk --zap-all /dev/sdd
I ran into this issue as well. I was able to get around it using sgdisk.
sudo sgdisk --zap-all /dev/sdd
answered Dec 3 '17 at 22:11
user767386
211
211
add a comment |
add a comment |
up vote
0
down vote
Check disk by issuing below command
sudo fdisk -l
you can find the usb disk, usually it would be /dev/sdb or /dev/sdc
check if any of the partition of disk is not being used
sudo df -h
If you find any of the disk partition like /dev/sdb1 or /dev/sdc1 then you need to unmount it first
sudo umount /dev/sdb1
Now format the USB Stick with deisred file system like fat, ext4 or ntfs
sudo mkfs.ext4 /dev/sdb
suod mkfs.fat /dev/sdb
add a comment |
up vote
0
down vote
Check disk by issuing below command
sudo fdisk -l
you can find the usb disk, usually it would be /dev/sdb or /dev/sdc
check if any of the partition of disk is not being used
sudo df -h
If you find any of the disk partition like /dev/sdb1 or /dev/sdc1 then you need to unmount it first
sudo umount /dev/sdb1
Now format the USB Stick with deisred file system like fat, ext4 or ntfs
sudo mkfs.ext4 /dev/sdb
suod mkfs.fat /dev/sdb
add a comment |
up vote
0
down vote
up vote
0
down vote
Check disk by issuing below command
sudo fdisk -l
you can find the usb disk, usually it would be /dev/sdb or /dev/sdc
check if any of the partition of disk is not being used
sudo df -h
If you find any of the disk partition like /dev/sdb1 or /dev/sdc1 then you need to unmount it first
sudo umount /dev/sdb1
Now format the USB Stick with deisred file system like fat, ext4 or ntfs
sudo mkfs.ext4 /dev/sdb
suod mkfs.fat /dev/sdb
Check disk by issuing below command
sudo fdisk -l
you can find the usb disk, usually it would be /dev/sdb or /dev/sdc
check if any of the partition of disk is not being used
sudo df -h
If you find any of the disk partition like /dev/sdb1 or /dev/sdc1 then you need to unmount it first
sudo umount /dev/sdb1
Now format the USB Stick with deisred file system like fat, ext4 or ntfs
sudo mkfs.ext4 /dev/sdb
suod mkfs.fat /dev/sdb
answered 2 days ago
Vaseem007
1312
1312
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f769079%2fcant-format-ubuntu-installation-stick%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown