LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   My OS doesn't seem to find my second hard drive (https://www.linuxquestions.org/questions/linux-newbie-8/my-os-doesnt-seem-to-find-my-second-hard-drive-4175499664/)

Glxblt76 03-27-2014 08:01 AM

My OS doesn't seem to find my second hard drive
 
Hi,

I installed my OS on an ssd hard drive with 256Go. But I want to store my programs on my other hard drive of 1To.

The problem is that when I want to install a programm, my OS indicates that there is only 200 Mo remaining! It is highly unlikely, because my computer is a new one!

I can't install anything anymore. Another guy in my lab said that it doesn't appear to "see" my second hard drive and that I'm still on my first one.

The problem is that in the BIOS, the second hard drive IS recognized. In Linux itself, no trace. I don't know where to find it using my interface.

My OS is Ubuntu 13.10, 64-bit.

Thanks in advance!

pan64 03-27-2014 08:03 AM

how did you check your HDD? Have you tried for example gparted?

Glxblt76 03-27-2014 08:27 AM

2 Attachment(s)
Hi,

I didn't knew it, so I installed it after you mentionned it and using it, I got what is on the first attachment to this post. It seems in fact to "see" only half of my Hard Drive of 1To, and it doesn't actually use it.

To illustrate my problem, in the second attachment there is what happens when I want to install something.

Madhu Desai 03-27-2014 08:28 AM

Did you try 'fdisk -l' or 'lsscsi'?

Glxblt76 03-27-2014 08:33 AM

I have no idea towards what you are talking about (I'm a newbie!). I just tried as you say it.

fdisk -l did not gave me any result.

lsscsi gave me this, and I'm unable to interprete what does that mean!
Code:

[3:0:0:0]    disk    ATA      MTFDDAK256MAM-1K 070H  /dev/sda
[4:0:0:0]    disk    ATA      WDC WD10EZEX-60Z 80.0  /dev/sdb
[5:0:0:0]    cd/dvd  hp      DVD-RAM GHA3N    RH07  /dev/sr0
[9:0:0:0]    disk    Generic- Compact Flash    1.00  /dev/sdc
[9:0:0:1]    disk    Generic- SM/xD-Picture    1.00  /dev/sdd
[9:0:0:2]    disk    Generic- SD/MMC          1.00  /dev/sde
[9:0:0:3]    disk    Generic- M.S./M.S.Pro/HG  1.00  /dev/sdf
[9:0:0:4]    disk    Generic- SD/MMC/M.S.PRO  1.00  /dev/sdg


Madhu Desai 03-27-2014 08:40 AM

From your first screen-shot at top-right corner, choose /dev/sdb instead of /dev/sda. let me see the screen-shot of that.

Glxblt76 03-27-2014 08:52 AM

1 Attachment(s)
The screenshot is attached.

I think you pointed the problem because it looks like there is something to see there !

But I still don't have a single clue about how to fix it.

michaelk 03-27-2014 08:55 AM

Welcome to LinuxQuestions.

If you did not select to specify partitions manually when you installed Ubuntu then the second drive would not of been partitioned/formatted or mounted. Therefore it appears to be invisible to the operating system.

With 200GB of unused space on the SSD I'm not sure why the OS indicates not enough space. How big is this program?

You need to be root to use the fdisk command i.e.
sudo fdisk -l (and enter your password)

As stated you can use gparted to partition / format the 2nd drive and add an entry in the /etc/fstab file so it will automatically mount at boot up. There are lots of options. Do you want the 2nd drive for /home or just for data etc.

Glxblt76 03-27-2014 09:03 AM

I know how to use sudo. I did what you say before, and I got no result, there was nothing as a result.

The program weights 210 Mo. It's just a GUI.

What I want is to put my /home in my 1To hard disk.

michaelk 03-27-2014 09:17 AM

Never mind, since the drive is using UEFI fdisk will not work.

Post the output of the command
df -h

Use gparted to create a partition and format the drive. Here is a guide to help you move home to the 2nd drive.

https://help.ubuntu.com/community/Pa...ng/Home/Moving

Glxblt76 03-27-2014 09:21 AM

The output of df -h is:

Code:

/dev/sda2      219G  8,6G  199G  5% /
none            4,0K    0  4,0K  0% /sys/fs/cgroup
udev            7,8G  12K  7,8G  1% /dev
tmpfs          1,6G  1,4M  1,6G  1% /run
none            5,0M    0  5,0M  0% /run/lock
none            7,9G  80K  7,9G  1% /run/shm
none            100M  32K  100M  1% /run/user
/dev/sda1      487M  3,3M  483M  1% /boot/efi

I'll do that partition now.

michaelk 03-27-2014 09:30 AM

Strange at 2nd glance I wonder if this is a TmoleX installer problem.
Again with 199GB free you should not have a problem.

Glxblt76 03-27-2014 09:33 AM

It might be that problem...

But still, even if it is another problem, I still want to be able to use my 1To disk.

And at the first step of the partition process, I already have a problem: my sdb disk does not have any UUID...

Madhu Desai 03-27-2014 09:34 AM

Quote:

Originally Posted by Glxblt76 (Post 5142215)
I know how to use sudo.

LOL :).

As you are very new to Linux, from first link just watch the video on how to create partition and format it in ext4 with gparted. Just watch first 1:40 minutes of it. Unless you want multiple partitions, just keep 1tb full - don't resize.

Second link is on how to migrate your /home. Just concentrate from 'Migrating the Home folder" part. You may need to replace /dev/sdb1 instead of /dev/sda3 in the tutorial.

GParted Linux - create EXT4 file system on HDD or SSD
How to Move Your Home Folder to Another Partition [Linux/Ubuntu]

Glxblt76 03-27-2014 10:16 AM

Thanks!

It does work now.

My program also works. I think that the program means Go for Mo. That's the error.

Sorry for the "I know how to use sudo". Obviously I don't know all of its capabilities, but I know that when I have to modify restricted things, I have to use sudo and then put my password. That's what I wanted to tell.


All times are GMT -5. The time now is 02:29 AM.