You are not logged in.

#1 2016-10-18 13:01:19

UnderMiner
Member
From: Denmark
Registered: 2016-09-29
Posts: 27
Website

[solved] mount new hdd?

Hi,
I bought a 2GB hdd for my laptop, it's one of those cages where you take out the DVD-drive and install a HDD instead. Now I want to mount it but I don't know how to do that.
What commands must I use to get it to show up on the laptop?

Last edited by UnderMiner (2016-11-17 21:44:18)


"Computers are like Old Testament gods; lots of rules and no mercy."
- Joseph Campbell

Offline

#2 2016-10-18 13:11:15

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [solved] mount new hdd?

A 2 gig spinning hard drive?  Do they actually make that??


Anywho, I'm assuming you have linux installed on a different HDD in the same laptop? And that you're using this vast 2 gig drive as "storage"?

Last edited by Horizon_Brave (2016-10-18 13:11:47)


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#3 2016-10-18 13:14:52

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: [solved] mount new hdd?

If it's brand new, they come unpartitioned and unformatted, have you run gparted to write a partition table and make a partition?
If you do lsblk in a terminal does it show up there?


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#4 2016-10-18 13:17:20

UnderMiner
Member
From: Denmark
Registered: 2016-09-29
Posts: 27
Website

Re: [solved] mount new hdd?

Yes, a 2GB spinning HDD smile, brand new, and you are correct, it's for storage only. I have bunsenlabs installed.
lsblk only shows my root, swap and home partitions hmm. Can't use Gparted as it doesn't show the HDD in the program... here I'm assuming I need to mount it first smile

Last edited by UnderMiner (2016-10-18 13:24:39)


"Computers are like Old Testament gods; lots of rules and no mercy."
- Joseph Campbell

Offline

#5 2016-10-18 13:29:41

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: [solved] mount new hdd?

There'll be a command I don't know to get the drives enumerated again, meanwhile, the ugly method is to reboot while the drive is inserted, after which lsblk and gparted ought to see it (I think).  Others will know how to get it seen without the reboot I'm sure.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#6 2016-10-18 13:35:31

UnderMiner
Member
From: Denmark
Registered: 2016-09-29
Posts: 27
Website

Re: [solved] mount new hdd?

I did try to reboot with the drive installed but alas, it still doesn't show up sad. Gparted and lsblk doesn't show it either.
I used the package manager to get and install a disk-manager but can't figure out how to start the program... was hoping a GUI would help me figure this out but it seems it's a bit more complicated than I initially assumed lol

antonio@BunsenLabs:~$ df
Filsystem      1K-blokke   Brugt   Tilbage Brug% Monteret på
udev               10240       0     10240    0% /dev
tmpfs             786848    9300    777548    2% /run
/dev/sda1        9480420 4166564   4809232   47% /
tmpfs            1967116    3304   1963812    1% /dev/shm
tmpfs               5120       4      5116    1% /run/lock
tmpfs            1967116       0   1967116    0% /sys/fs/cgroup
/dev/sda6      107531272  500828 101545084    1% /home
tmpfs             393424       4    393420    1% /run/user/108
tmpfs             393424       8    393416    1% /run/user/1000
antonio@BunsenLabs:~$ 

That's what the command

df

shows me.

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0   118G  0 disk 
├─sda1   8:1    0   9,3G  0 part /
├─sda5   8:5    0   4,4G  0 part [SWAP]
└─sda6   8:6    0 104,3G  0 part /home
antonio@BunsenLabs:~$ 

That's what

lsblk

shows me.

Last edited by UnderMiner (2016-10-18 13:42:39)


"Computers are like Old Testament gods; lots of rules and no mercy."
- Joseph Campbell

Offline

#7 2016-10-18 13:49:29

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: [solved] mount new hdd?

Is this a Linux only system? Is the drive seen booting to the live session? if it's a Linux / Windows dual-boot, does Windows see the drive? If the answer is it's not seen by either the live session, or Windows, I'd be starting to suspect a hardware issue, or possibly that the new drive needs enabling in BIOS.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#8 2016-10-18 13:56:42

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [solved] mount new hdd?

if you ls your /dev/  directory do you have an 'sdb' or 'sdc  in there?   This is an internal drive so I assume it's a sata connection.  I think df would only show a mounted or partitioned drive already because it's new, it may not show up.

what about also trying 

sudo fdisk -l   

"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#9 2016-10-18 14:07:40

UnderMiner
Member
From: Denmark
Registered: 2016-09-29
Posts: 27
Website

Re: [solved] mount new hdd?

It's a linux only system, no dual-booting going on at all. I haven't tried a live session but I'll give that a go. The drive is seen in the BIOS so it's definetly there somewhere smile.

sudo fdisk -l

returns

Device     Boot    Start       End   Sectors   Size Id Type
/dev/sda1  *        2048  19531775  19529728   9,3G 83 Linux
/dev/sda2       19533822 247461887 227928066 108,7G  5 Extended
/dev/sda5       19533824  28700671   9166848   4,4G 82 Linux swap / Solaris
/dev/sda6       28702720 247461887 218759168 104,3G 83 Linux

"Computers are like Old Testament gods; lots of rules and no mercy."
- Joseph Campbell

Offline

#10 2016-10-18 14:07:48

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [solved] mount new hdd?

Make sure it is connected properly in the caddy. I have an external hdd which is very sensitive to being pushed in properly.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#11 2016-10-18 14:34:06

UnderMiner
Member
From: Denmark
Registered: 2016-09-29
Posts: 27
Website

Re: [solved] mount new hdd?

damo wrote:

Make sure it is connected properly in the caddy. I have an external hdd which is very sensitive to being pushed in properly.

The small LED lights up when booting and shutting down so I don't think that's the problem wink


"Computers are like Old Testament gods; lots of rules and no mercy."
- Joseph Campbell

Offline

#12 2016-10-18 17:33:32

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [solved] mount new hdd?

if it is indeed a 2GB hd, it might be of an old technology which is not supported ootb.
enter 'dmesg' and see if you can find anything that gives a hint of if and how your system recognized the hardware (you are going to have to scroll & search through a LOT of output).

Offline

#13 2016-10-18 21:38:17

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [solved] mount new hdd?

You can open a terminal and use

dmesg -w

to "watch" the messages as they are written then plug the drive and see what happens.

To pick up udev rule activation as well, use this command instead:

udevadm monitor

Offline

#14 2016-10-19 00:08:36

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [solved] mount new hdd?

I'd love to know the actual hard drive model and drivers used for this...


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#15 2016-10-19 00:40:19

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: [solved] mount new hdd?

Horizon_Brave wrote:

I'd love to know the actual hard drive model and drivers used for this...

Typically, these things amount to a simple pressed metal frame, into which any available 2.5 inch sata drive is mounted, the frame then aligns the sata connector in the same position as a laptop cd/dvd drive when the caddy is inserted, the "drivers" being exactly the same ones as used for any other sata drive.  I'd be using one myself, only as my laptop is a ruggedized model, the manufacturer decided to use a proprietory connector, consequently I'm tied to hard to find and hugely overpriced hardware, should I wish to emulate the OP and use such a device.

*Usually* on typical laptops, they're as plug and play as adding an internal drive on a desktop would be.  If the OP actually has a 2GB as opposed to 2TB unit, it may be on a PATA interface, past experience with an old P3 laptop suggests Jessie handles PATA perfectly, unless there's something odd or unusual about the hardware, or it's faulty, I'm frankly quite surprised it doesn't "Just work".


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#16 2016-10-19 02:58:34

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: [solved] mount new hdd?

I am curious if Linux is still seeing it as a cdrom device. Picking apart dmesg is definitely needed here to see what the kernel is actually  assigning it as.

Offline

#17 2016-10-19 15:07:22

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [solved] mount new hdd?

tknomanzr wrote:

I am curious if Linux is still seeing it as a cdrom device. Picking apart dmesg is definitely needed here to see what the kernel is actually  assigning it as.


Well I think if Linux were even seeing it as a cdrom, it would have shown sr0 when he ran the fdisk -l command. According to him, it just shows his main sda hdd.


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#18 2016-10-19 18:24:08

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [solved] mount new hdd?

Is it a USB3 plug in a USB2 port? My tower unit doesn't recognise drives plugged in like that.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#19 2016-10-20 00:02:07

UnderMiner
Member
From: Denmark
Registered: 2016-09-29
Posts: 27
Website

Re: [solved] mount new hdd?

Bearded_Blunder wrote:

If the OP actually has a 2GB as opposed to 2TB unit

Crap... I meant 2TB, not GB smile.
Tried all the commands but nothing worked. I have concluded that it's the caddy that's messing up cause the HDD works fine in y other PC. On top of that I found out that it's only sometimes it's recognized by the BIOS so I sent the caddy back and am now waiting for a new one... I won't close this thread yet seeing as I still might need some help in mounting the HDD and make it mount every time I start up the laptop.

So, in conclusion I'll wait for the part and return once I have it in my greasy, sticky fingers wink.

PS: Thanks for your great help so far and your patience with me smile


"Computers are like Old Testament gods; lots of rules and no mercy."
- Joseph Campbell

Offline

#20 2016-10-20 00:50:18

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [solved] mount new hdd?

Hmm now that you've confirmed it's 2 TB...I'm wondering if it couldn't see it because of the BIOS itself.... Is this a 32 or 64bit cpu you have in the laptop?  Coupled with the fact that it's using some odd cdrom conversion...I'm wondering if the drive is too big....?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

Board footer

Powered by FluxBB