LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't acces second hard drive on Zorin OS lite (https://www.linuxquestions.org/questions/linux-newbie-8/cant-acces-second-hard-drive-on-zorin-os-lite-4175441506/)

maiko 12-14-2012 09:22 PM

Can't acces second hard drive on Zorin OS lite
 
Hi, i juste Switch to zorin OS Lite from window 8, and i can't seems to be able to access my second hard drive.

[img=http://Pictat.com/t/2012/12/15/418352012121422.png]

can some one help me, and without formatting it please?

Thanks.

yancek 12-15-2012 10:23 AM

The image you post shows that the 1TB drive is recognized and has no partition(s) and no filesystem. You might take a look at the link below which discusses partition(s) and filesystems on Linux. If you have data on this drive, what type of data/filesystem is it?:

http://en.opensuse.org/SDB:Basics_of...,_mount_points

maiko 12-15-2012 05:09 PM

I didn't format it since i had windows 8, the files on it date from before that, i think i transfert all my c: dick before installing zorin so it should have win8 on it too.

and for the type of date there is like video music games and more, all my other stuff goes on my second hard drive so if i catch a bug i just have that to lost even i don't want to but if a need to format and nothing else works i will do it.

Wim Sturkenboom 12-15-2012 11:21 PM

I'm not familiar with disk utility so I'm not sure what it shows. But the output of fdisk -l (lower case L at the end) might clarify. You probably need root privileges.

Code:

wim@aa0:~$ sudo fdisk -l
[sudo] password for wim:

Disk /dev/sda: 8069 MB, 8069677056 bytes
255 heads, 63 sectors/track, 981 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003255d

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1        918    7367680  83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2            918        981      509953    5  Extended
Partition 2 does not end on cylinder boundary.
/dev/sda5            918        981      509952  82  Linux swap / Solaris

Disk /dev/sdb: 4127 MB, 4127195136 bytes
127 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 7874 * 512 = 4031488 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000451df

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1  *          1        1023    4027520    b  W95 FAT32
Partition 1 has different physical/logical endings:
    phys=(1023, 126, 62) logical=(1022, 126, 62)

The above shows the 'main' harddisk (sda) with 2 partitions as well as a second hard disk (sdb) with one partition.

The other command that can help is mount
Code:

wim@aa0:~$ mount
/dev/sda1 on / type ext4 (rw,noatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sdb1 on /media/PENDRIVE type vfat (rw,nosuid,nodev,uhelper=hal,uid=1000,shortname=winnt)

Please post the results of the 2 commands.

maiko 12-16-2012 11:26 AM

I will look a total newbie but where do i copy that? in the run box?

Wim Sturkenboom 12-16-2012 12:37 PM

Open a terminal with <ctrl><alt>t (that is, press control, alt and t at the same time). After running a command, you can select the result with the mouse and use <ctrl><shift>c to copy and next paste it in the browser.

//Edit
When pasting in a post on the forum, please use code tags for results from commands. Type [code], paste the result and type [/code]

So [code]paste text here[/code] gives below result
Code:

paste text here

maiko 12-16-2012 01:29 PM

That's the first code:
Code:

jacinthe@jacinthe-Bureau:~$ wim@aa0:~$ sudo fdisk -l
wim@aa0:~$: command not found
jacinthe@jacinthe-Bureau:~$ [sudo] password for wim:
[sudo]: command not found
jacinthe@jacinthe-Bureau:~$
jacinthe@jacinthe-Bureau:~$ Disk /dev/sda: 8069 MB, 8069677056 bytes
No command 'Disk' found, did you mean:
 Command 'risk' from package 'xfrisk' (universe)
Disk: command not found
jacinthe@jacinthe-Bureau:~$ 255 heads, 63 sectors/track, 981 cylinders
255: command not found
jacinthe@jacinthe-Bureau:~$ Units = cylinders of 16065 * 512 = 8225280 bytes
No command 'Units' found, did you mean:
 Command 'units' from package 'units' (universe)
Units: command not found
jacinthe@jacinthe-Bureau:~$ Sector size (logical/physical): 512 bytes / 512 bytes
bash: syntax error near unexpected token `('
jacinthe@jacinthe-Bureau:~$ I/O size (minimum/optimal): 512 bytes / 512 bytes
bash: syntax error near unexpected token `('
jacinthe@jacinthe-Bureau:~$ Disk identifier: 0x0003255d
No command 'Disk' found, did you mean:
 Command 'risk' from package 'xfrisk' (universe)
Disk: command not found
jacinthe@jacinthe-Bureau:~$
jacinthe@jacinthe-Bureau:~$    Device Boot      Start        End      Blocks  Id  System
Device: command not found
jacinthe@jacinthe-Bureau:~$ /dev/sda1  *          1        918    7367680  83  Linux
bash: /dev/sda1: Permission denied
jacinthe@jacinthe-Bureau:~$ Partition 1 does not end on cylinder boundary.
Partition: command not found
jacinthe@jacinthe-Bureau:~$ /dev/sda2            918        981      509953    5  Extended
bash: /dev/sda2: Permission denied
jacinthe@jacinthe-Bureau:~$ Partition 2 does not end on cylinder boundary.
Partition: command not found
jacinthe@jacinthe-Bureau:~$ /dev/sda5            918        981      509952  82  Linux swap / Solaris
bash: /dev/sda5: Permission denied
jacinthe@jacinthe-Bureau:~$
jacinthe@jacinthe-Bureau:~$ Disk /dev/sdb: 4127 MB, 4127195136 bytes
No command 'Disk' found, did you mean:
 Command 'risk' from package 'xfrisk' (universe)
Disk: command not found
jacinthe@jacinthe-Bureau:~$ 127 heads, 62 sectors/track, 1023 cylinders
127: command not found
jacinthe@jacinthe-Bureau:~$ Units = cylinders of 7874 * 512 = 4031488 bytes
No command 'Units' found, did you mean:
 Command 'units' from package 'units' (universe)
Units: command not found
jacinthe@jacinthe-Bureau:~$ Sector size (logical/physical): 512 bytes / 512 bytes
bash: syntax error near unexpected token `('
jacinthe@jacinthe-Bureau:~$ I/O size (minimum/optimal): 512 bytes / 512 bytes
bash: syntax error near unexpected token `('
jacinthe@jacinthe-Bureau:~$ Disk identifier: 0x000451df
No command 'Disk' found, did you mean:
 Command 'risk' from package 'xfrisk' (universe)
Disk: command not found
jacinthe@jacinthe-Bureau:~$
jacinthe@jacinthe-Bureau:~$    Device Boot      Start        End      Blocks  Id  System
Device: command not found
jacinthe@jacinthe-Bureau:~$ /dev/sdb1  *          1        1023    4027520    b  W95 FAT32
bash: /dev/sdb1: No such file or directory
jacinthe@jacinthe-Bureau:~$ Partition 1 has different physical/logical endings:
Partition: command not found
jacinthe@jacinthe-Bureau:~$      phys=(1023, 126, 62) logical=(1022, 126, 62)^C


The second:
Code:

jacinthe@jacinthe-Bureau:~$ wim@aa0:~$ mount
wim@aa0:~$: command not found
jacinthe@jacinthe-Bureau:~$ /dev/sda1 on / type ext4 (rw,noatime,errors=remount-ro)
bash: syntax error near unexpected token `('
jacinthe@jacinthe-Bureau:~$ tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
bash: syntax error near unexpected token `('
jacinthe@jacinthe-Bureau:~$ proc on /proc type proc (rw,noexec,nosuid,nodev)
bash: syntax error near unexpected token `('
jacinthe@jacinthe-Bureau:~$ sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
bash: syntax error near unexpected token `('
jacinthe@jacinthe-Bureau:~$ udev on /dev type tmpfs (rw,mode=0755)
bash: syntax error near unexpected token `('
jacinthe@jacinthe-Bureau:~$ tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
bash: syntax error near unexpected token `('
jacinthe@jacinthe-Bureau:~$ devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
bash: syntax error near unexpected token `('
jacinthe@jacinthe-Bureau:~$ fusectl on /sys/fs/fuse/connections type fusectl (rw)
bash: syntax error near unexpected token `('
jacinthe@jacinthe-Bureau:~$ /dev/sdb1 on /media/PENDRIVE type vfat (rw,nosuid,nodev,uhelper=hal,uid=1000,shortname=winnt)


Wim Sturkenboom 12-16-2012 01:37 PM

What you saw in post #4 was the commands (I did mark them in bold) plus their results. At the prompt (jacinthe@jacinthe-Bureau:~$) type sudo fdisk -l (remember, lowercase L) and press <enter> and post the results. Same for mount.

maiko 12-16-2012 01:46 PM

cant't type any password....

Code:

jacinthe@jacinthe-Bureau:~$ sudo fdisk -l
[sudo] password for jacinthe:
Sorry, try again.
[sudo] password for jacinthe:


maiko 12-16-2012 01:48 PM

That for the mount command
Code:

jacinthe@jacinthe-Bureau:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/jacinthe/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=jacinthe)
jacinthe@jacinthe-Bureau:~$


yancek 12-16-2012 02:57 PM

Is this the only user you created for Zorin? jacinthe@jacinthe-Bureau:~$ :
Also, after you type in the command and are prompted for a password, type it in carefully. You will NOT see any output on the screen so after typing it in, just hit the Enter key. Passwords are also case-sensitive.

If I understand correctly, the 1TB external is basically a backup with your windows files or do you also have a windows installation there?

maiko 12-16-2012 03:01 PM

That's the frist command thanks to yancek that tell me i can't see the password!!! but thxs it works :)

Code:

jacinthe@jacinthe-Bureau:~$ sudo fdisk -l
[sudo] password for jacinthe:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0x00051e8a

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *        2048  616753151  308375552  83  Linux
/dev/sda2      616755198  625141759    4193281    5  Extended
/dev/sda5      616755200  625141759    4193280  82  Linux swap / Solaris

Disk /dev/sdb: 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: 0x3f6fbd99

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1  *          63  1953520064  976760001    7  HPFS/NTFS/exFAT

Disk /dev/mapper/isw_hieifadie_Data-0: 1000.2 GB, 1000202178560 bytes
255 heads, 63 sectors/track, 121600 cylinders, total 1953519880 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: 0x3f6fbd99

                            Device Boot      Start        End      Blocks  Id  System
/dev/mapper/isw_hieifadie_Data-0p1  *          63  1953520064  976760001    7  HPFS/NTFS/exFAT

Disk /dev/mapper/isw_hieifadie_Data: 1000.2 GB, 1000202174464 bytes
255 heads, 63 sectors/track, 121600 cylinders, total 1953519872 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: 0x3f6fbd99

                        Device Boot      Start        End      Blocks  Id  System
/dev/mapper/isw_hieifadie_Data1  *          63  1953520064  976760001    7  HPFS/NTFS/exFAT

//EDIT
yes it's the only user!
It's have a backup files and before installing zorin i copied all my primary disc (included win8...) that i think it dosent have all copied.!

Wim Sturkenboom 12-16-2012 10:17 PM

OK, from the fdisk command, it can be determined that your second hard disk is there (sdb) and it is partitioned (as it has sdb1).

I'm not familiar with Zorin (it's Ubuntu based if I'm not mistaken) but I expect the partition of the second harddisk to show in the file manager in which case and you can simply click (or double) click it. It might however have a 'funny' name in the file manager which makes it a little difficult to recognize. You can take a screenshot of the file manager (straight after you have opened it) and post it here (as you did for disk utility) and we can see if we can recognize it there.

An alternative 'workaround' is to create a mount point in the directory /mnt and mount the partition of the second hard drive there. This is a temporary solution meaning that you have to do this after each reboot; it can be made permanent.

Create mount point; you can use any sensible name instead of 'mywindowsdisk'
Code:

sudo mkdir /mnt/mywindowsdisk
Mount the partition
Code:

sudo mount /dev/sdb1 /mnt/mywindowsdisk
Next you should be able to find it in the file manager by navigating to filesystem -> mnt -> mywindowsdisk.

OK, let us know what works.

maiko 12-17-2012 07:57 AM

file manager ? : [img=http://Pictat.com/t/2012/12/17/439462012121708.png]

(yes zorin it's suppose to be a unbutu base that what they say!)

Wim Sturkenboom 12-17-2012 09:20 AM

1 Attachment(s)
OK, in ubuntu it looks like the attachment. My windows partitions were labeled in windows, so are easily recognizable. But the 27GB and 125GB partitions are not so easily recognizable as to 'what they are'. 'Zorin' looks different; what are the options under the 'go' menu; if I remember correctly, older Ubuntu versions had the option to go other drives in there.

PS
I notice that in Zorin's filemanager you don't have a file system; instead, just beneath 'Videos' you have a folder called '/' that contains the folder 'mnt'.

PPS
If no other forum users are able to help, I suggest that you use the alternative approach that I mentioned.


All times are GMT -5. The time now is 01:37 AM.