How to access unallocated internal HDD on Ubuntu 16.04?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I recently did a fresh install of 16.04 on the solid state drive, leaving a 1.8 TB unallocated partition on the internal HDD.
Somehow I can't access this partition on /dev/sda/ and also can't mount it:
sudo mount /dev/sda /media/sda/
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or helper program, or other error
sudo fdisk -l
Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A9243158-8BFD-4A7F-BF8B-E9F415F4573D
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 966858751 965808128 460.5G Linux filesystem
/dev/nvme0n1p3 966858752 1000214527 33355776 15.9G Linux swap
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 50BEB1BE-9E9E-4F9A-8F7C-E3A7BA81A788
Gparted shows /dev/sda/ as unallocated space.
Do I have to perform some type of disk repair? Or should I just allocate that space using Gparted?
16.04 mount hard-drive gparted
add a comment |Â
up vote
0
down vote
favorite
I recently did a fresh install of 16.04 on the solid state drive, leaving a 1.8 TB unallocated partition on the internal HDD.
Somehow I can't access this partition on /dev/sda/ and also can't mount it:
sudo mount /dev/sda /media/sda/
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or helper program, or other error
sudo fdisk -l
Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A9243158-8BFD-4A7F-BF8B-E9F415F4573D
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 966858751 965808128 460.5G Linux filesystem
/dev/nvme0n1p3 966858752 1000214527 33355776 15.9G Linux swap
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 50BEB1BE-9E9E-4F9A-8F7C-E3A7BA81A788
Gparted shows /dev/sda/ as unallocated space.
Do I have to perform some type of disk repair? Or should I just allocate that space using Gparted?
16.04 mount hard-drive gparted
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I recently did a fresh install of 16.04 on the solid state drive, leaving a 1.8 TB unallocated partition on the internal HDD.
Somehow I can't access this partition on /dev/sda/ and also can't mount it:
sudo mount /dev/sda /media/sda/
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or helper program, or other error
sudo fdisk -l
Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A9243158-8BFD-4A7F-BF8B-E9F415F4573D
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 966858751 965808128 460.5G Linux filesystem
/dev/nvme0n1p3 966858752 1000214527 33355776 15.9G Linux swap
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 50BEB1BE-9E9E-4F9A-8F7C-E3A7BA81A788
Gparted shows /dev/sda/ as unallocated space.
Do I have to perform some type of disk repair? Or should I just allocate that space using Gparted?
16.04 mount hard-drive gparted
I recently did a fresh install of 16.04 on the solid state drive, leaving a 1.8 TB unallocated partition on the internal HDD.
Somehow I can't access this partition on /dev/sda/ and also can't mount it:
sudo mount /dev/sda /media/sda/
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or helper program, or other error
sudo fdisk -l
Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A9243158-8BFD-4A7F-BF8B-E9F415F4573D
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 966858751 965808128 460.5G Linux filesystem
/dev/nvme0n1p3 966858752 1000214527 33355776 15.9G Linux swap
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 50BEB1BE-9E9E-4F9A-8F7C-E3A7BA81A788
Gparted shows /dev/sda/ as unallocated space.
Do I have to perform some type of disk repair? Or should I just allocate that space using Gparted?
16.04 mount hard-drive gparted
asked Jun 6 at 17:09
hirschme
296
296
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
You can't mount an empty disk, but only filesystems. Therefore you have to create a partition (/dev/sda1) on /dev/sda, make a filesystem in the partition and mount the partition /dev/sda1.
So use gparted to create a partition /dev/sda1, possibly covering the complete disk /dev/sda. Then sudo mkfs -t ext4 /dev/sda1
and sudo mount /dev/sda1 <your_mountpoint>
.
This was exactly what I was looking for, many thanks. Now to have it automatically mounted I will have to edit /etc/fstab I presume.
â hirschme
Jun 6 at 18:25
1
Yes. See askubuntu.com/questions/303497/adding-an-entry-to-fstab for help.
â muclux
Jun 6 at 18:33
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
You can't mount an empty disk, but only filesystems. Therefore you have to create a partition (/dev/sda1) on /dev/sda, make a filesystem in the partition and mount the partition /dev/sda1.
So use gparted to create a partition /dev/sda1, possibly covering the complete disk /dev/sda. Then sudo mkfs -t ext4 /dev/sda1
and sudo mount /dev/sda1 <your_mountpoint>
.
This was exactly what I was looking for, many thanks. Now to have it automatically mounted I will have to edit /etc/fstab I presume.
â hirschme
Jun 6 at 18:25
1
Yes. See askubuntu.com/questions/303497/adding-an-entry-to-fstab for help.
â muclux
Jun 6 at 18:33
add a comment |Â
up vote
2
down vote
accepted
You can't mount an empty disk, but only filesystems. Therefore you have to create a partition (/dev/sda1) on /dev/sda, make a filesystem in the partition and mount the partition /dev/sda1.
So use gparted to create a partition /dev/sda1, possibly covering the complete disk /dev/sda. Then sudo mkfs -t ext4 /dev/sda1
and sudo mount /dev/sda1 <your_mountpoint>
.
This was exactly what I was looking for, many thanks. Now to have it automatically mounted I will have to edit /etc/fstab I presume.
â hirschme
Jun 6 at 18:25
1
Yes. See askubuntu.com/questions/303497/adding-an-entry-to-fstab for help.
â muclux
Jun 6 at 18:33
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
You can't mount an empty disk, but only filesystems. Therefore you have to create a partition (/dev/sda1) on /dev/sda, make a filesystem in the partition and mount the partition /dev/sda1.
So use gparted to create a partition /dev/sda1, possibly covering the complete disk /dev/sda. Then sudo mkfs -t ext4 /dev/sda1
and sudo mount /dev/sda1 <your_mountpoint>
.
You can't mount an empty disk, but only filesystems. Therefore you have to create a partition (/dev/sda1) on /dev/sda, make a filesystem in the partition and mount the partition /dev/sda1.
So use gparted to create a partition /dev/sda1, possibly covering the complete disk /dev/sda. Then sudo mkfs -t ext4 /dev/sda1
and sudo mount /dev/sda1 <your_mountpoint>
.
edited Jun 6 at 17:28
answered Jun 6 at 17:21
![](https://i.stack.imgur.com/MATL0.jpg?s=32&g=1)
![](https://i.stack.imgur.com/MATL0.jpg?s=32&g=1)
muclux
2,1181521
2,1181521
This was exactly what I was looking for, many thanks. Now to have it automatically mounted I will have to edit /etc/fstab I presume.
â hirschme
Jun 6 at 18:25
1
Yes. See askubuntu.com/questions/303497/adding-an-entry-to-fstab for help.
â muclux
Jun 6 at 18:33
add a comment |Â
This was exactly what I was looking for, many thanks. Now to have it automatically mounted I will have to edit /etc/fstab I presume.
â hirschme
Jun 6 at 18:25
1
Yes. See askubuntu.com/questions/303497/adding-an-entry-to-fstab for help.
â muclux
Jun 6 at 18:33
This was exactly what I was looking for, many thanks. Now to have it automatically mounted I will have to edit /etc/fstab I presume.
â hirschme
Jun 6 at 18:25
This was exactly what I was looking for, many thanks. Now to have it automatically mounted I will have to edit /etc/fstab I presume.
â hirschme
Jun 6 at 18:25
1
1
Yes. See askubuntu.com/questions/303497/adding-an-entry-to-fstab for help.
â muclux
Jun 6 at 18:33
Yes. See askubuntu.com/questions/303497/adding-an-entry-to-fstab for help.
â muclux
Jun 6 at 18:33
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1044240%2fhow-to-access-unallocated-internal-hdd-on-ubuntu-16-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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