DiskManager is missing from Quantal

Asked by AraiBob

I upgraded from Ubuntu 12.04 to 12.10 a couple of weeks ago. Two days ago I tried to add a new hard drive to my USB storage device. The usual process is to use GParted to make an ext4 partition, then to use DiskManager to format and take ownership of the drive.

Quantal [12.10] does NOT have DiskManager as the default, nor can I add it as it is NOT part of the packages available. Instead, there is a program called Disk, which is incomplete.

How to fix?

Is this a bug in the installation and upgrade paths?

How to take ownership of the complete drive (not a file or directory!).

Question information

Language:
English Edit question
Status:
Invalid
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Why do you need it if you have Gparted?

Revision history for this message
Warren Hill (warren-hill) said :
#2

This should be relatively easy to fix with the drive unplugged open a terminal and enter the following commands

-----------------------------------------
whoami; sudo fdisk -l; mount | grep ^'/dev'
---------------------------------------

Enter password when requested: there is no feedback but it should be accepted. Just type and press enter
Now plug the drive in wait for it to be recognised (10 seconds or so) and enter these commands

-----------------------------------------
sudo fdisk -l; mount | grep ^'/dev'
---------------------------------------

I suggest you copy and paste to avoid typing errors

You should now have enough information to mount the drive, if required, and take ownership.

If you want to work this out for self take a look at the links below remembering you may need to use sudo if you need to elevate your privileges.

http://linux.die.net/man/1/chown
http://linux.die.net/man/8/mount

Otherwise post all the results back here and one of us will give you the commands you need.

Revision history for this message
Warren Hill (warren-hill) said :
#3

This question and https://answers.launchpad.net/ubuntu/+question/215301 are the effectively the same question please close one of them.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#4

Question rejected as duplicate of this : https://answers.launchpad.net/ubuntu/+question/215301

Please do not create duplicates , it dilutes community effort.

Thanks

Revision history for this message
AraiBob (rhhyatt) said :
#5

Do NOT close this query. I closed the first one as this one better explains the issue. I want a non-CLI way to do what is described, and was using DiskManager for this in earlier versions of Ubuntu.

Revision history for this message
AraiBob (rhhyatt) said :
#6

I followed Warren Hill's suggestions for getting more information. Even though the program DiskManager used to solve the specific issue described above....

Note: I have 5 drives in the PC, and 4 drives in the USB device.

bob@Fortress-FT02:~$ whoami; sudo fdisk -l; mount | grep ^'/dev'
bob
[sudo] password for bob:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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
Disk identifier: 0x0004437a

   Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1856444415 928221184 83 Linux
/dev/sda2 1856446462 1953523711 48538625 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 1856446464 1953523711 48538624 82 Linux swap / Solaris

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sdb1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sdc1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdd: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sdd1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sde: 600.1 GB, 600127266816 bytes
255 heads, 63 sectors/track, 72961 cylinders, total 1172123568 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
Disk identifier: 0x00066e4b

   Device Boot Start End Blocks Id System
/dev/sde1 63 1172118464 586059201 83 Linux
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
/dev/sdb2 on /media/bob/Doll type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdd1 on /media/bob/Sylk type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sde1 on /media/bob/Ellie type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdc1 on /media/bob/Rose type ext4 (rw,nosuid,nodev,uhelper=udisks2)
bob@Fortress-FT02:~$
= = = = = = = = = = = = = = = = = = =
((( I turned on and plugged in the USB device, having 4 drives, one of which I just installed)))
I got this reponse for the new drive:
Unable to mount Reed

Error mounting system-managed device /dev/sdh1: Command-line `mount "/mnt/usb-WDC_WD10_03FBYX-01Y7B1_WDC_WD20EA_WD-WCAVY2730798-0:2-part1"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdh1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

= = = = = = = = = = = = = =
bob@Fortress-FT02:~$ sudo fdisk -l; mount | grep ^'/dev'

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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
Disk identifier: 0x0004437a

   Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1856444415 928221184 83 Linux
/dev/sda2 1856446462 1953523711 48538625 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 1856446464 1953523711 48538624 82 Linux swap / Solaris

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sdb1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sdc1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdd: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sdd1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sde: 600.1 GB, 600127266816 bytes
255 heads, 63 sectors/track, 72961 cylinders, total 1172123568 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
Disk identifier: 0x00066e4b

   Device Boot Start End Blocks Id System
/dev/sde1 63 1172118464 586059201 83 Linux

Disk /dev/sdf: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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
Disk identifier: 0x14bd9fda

   Device Boot Start End Blocks Id System
/dev/sdf1 2048 3907026943 1953512448 7 HPFS/NTFS/exFAT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdg'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdg: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sdg1 1 3907029167 1953514583+ ee GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdh'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdh: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sdh1 1 1953525167 976762583+ ee GPT

Disk /dev/sdi: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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
Disk identifier: 0xf1608d1c

   Device Boot Start End Blocks Id System
/dev/sdi1 2048 3907026943 1953512448 7 HPFS/NTFS/exFAT
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
/dev/sdb2 on /media/bob/Doll type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdd1 on /media/bob/Sylk type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sde1 on /media/bob/Ellie type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdc1 on /media/bob/Rose type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdg1 on /media/bob/Zyl type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdf1 on /media/bob/KeyKey type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdi1 on /media/bob/EDU01 type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
bob@Fortress-FT02:~$

Revision history for this message
AraiBob (rhhyatt) said :
#7

actionparsnip (andrew-woodhead666) said 2 hours ago: #1

Why do you need it if you have Gparted?

What I am missing from GParted is a way to take ownership of the newly installed and formatted hard drive...

Revision history for this message
Warren Hill (warren-hill) said :
#8

Internal Drives

/dev/sda1 on / type ext4 (rw,errors=remount-ro)
/dev/sdb2 on /media/bob/Doll type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdc1 on /media/bob/Rose type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdd1 on /media/bob/Sylk type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sde1 on /media/bob/Ellie type ext4 (rw,nosuid,nodev,uhelper=udisks2)

USB Drives (Mounted)

/dev/sdf1 on /media/bob/KeyKey type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdg1 on /media/bob/Zyl type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdi1 on /media/bob/EDU01 type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)

USB Drive (Unmounted)
   Device Boot Start End Blocks Id System
/dev/sdh1 1 1953525167 976762583+ ee GPT

Using terminal commands What is the output of

-----------------------------------------
cd /media/bob; ls -la
----------------------------------------

You can use "sudo chown" from here to change the ownership of any directory you need to and since the directory is the root of the partition this should also apply to the drive

You can also use nautilus to do this but need to be run it as root. Press Alt-F2 and enter
gksu nautilus

right click the folder, select permissions and you can change the owner

Revision history for this message
AraiBob (rhhyatt) said :
#9

Warren,

I am unable to mount the new drive so I can do something with it.

bob@Fortress-FT02:~$ cd /media/bob; ls -la
total 44
drwxr-x---+ 9 root root 4096 Nov 29 11:28 .
drwxr-xr-x 10 root root 4096 Nov 12 15:52 ..
drwx------ 11 bob bob 4096 Nov 27 14:00 Doll
drwx------ 1 bob bob 12288 Nov 8 19:30 EDU01
drwx------ 14 bob bob 4096 Oct 2 13:05 Ellie
drwx------ 1 bob bob 4096 Oct 14 11:13 KeyKey
drwx------ 9 bob bob 4096 Nov 26 10:51 Rose
drwx------ 10 bob bob 4096 Nov 21 12:31 Sylk
drwx------ 9 bob bob 4096 Nov 10 17:01 Zyl

The new drive is not shown...

Revision history for this message
Warren Hill (warren-hill) said :
#10

take a look here
https://help.ubuntu.com/community/Mount

sudo mount /dev/sdh1 /mnt

should do it

Revision history for this message
AraiBob (rhhyatt) said :
#11

the mount command 'worked', but I still cannot do anything with it...