You are not logged in.
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
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
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
Yes, a 2GB spinning HDD , brand new, and you are correct, it's for storage only. I have bunsenlabs installed.
lsblk only shows my root, swap and home partitions . Can't use Gparted as it doesn't show the HDD in the program... here I'm assuming I need to mount it first
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
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
I did try to reboot with the drive installed but alas, it still doesn't show up . 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
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
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
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 .
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
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
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
"Computers are like Old Testament gods; lots of rules and no mercy."
- Joseph Campbell
Offline
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
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
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
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
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
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
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
If the OP actually has a 2GB as opposed to 2TB unit
Crap... I meant 2TB, not GB .
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 .
PS: Thanks for your great help so far and your patience with me
"Computers are like Old Testament gods; lots of rules and no mercy."
- Joseph Campbell
Offline
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