Questions about hard drives, configuring and formatting them. Hard drives typically provide stateful memory storage for computers, and are the primary location for the operating system and user files.

learn more… | top users | synonyms (1)

44
votes
4answers
25k views

How do I install and use flashcache/bcache to cache HDD to SSD?

I want to know if there is anyone who has tried installing and running their kernel built with flashcache or bcache for SSD caching? How did you manage to do it?
14
votes
3answers
21k views

Do I need Intel Smart Response when installing Ubuntu?

With lots of guides and setup variations all over the internet, I find it confusing which is which to really follow. Normally, in Windows 8 my setup would be install everything in the HDD and use ...
27
votes
7answers
64k views

How can I control HDD spin down time?

I have 2 HDDs in my PC. Ubuntu is turning off the secondary HDD very quickly after about 15 minutes, which is short for me. I need to control this time. How can I do it? I tried GNOME power ...
136
votes
9answers
255k views

How do I increase the hard disk size of the virtual machine?

I have run out of space on my WinXP virtual machine, which I only gave 10 GB space for when I created it. Is there an easy way to increase it to, say, 20 GB? I can't see any obvious option in ...
24
votes
9answers
136k views

Fix corrupt NTFS partition without Windows

MY NTFS Partition has gotten corrupt somehow (it's a relic from the days when I had Windows installed). I'm putting the debug output of fdisk and blkid here. At the same time, any OS is unable to ...
11
votes
5answers
3k views

Is there a way to recover files from a storage device partially overwritten with dd?

I'm an idiot, I was writing an image to a USB drive using dd when instead of typing /dev/sdb I typed /dev/sdd and wrote the 135mb image to my 750gb External Hardrive full of files. Is there ANY ...
19
votes
4answers
59k views

Partition does not start on physical sector boundary?

I've one HD on my laptop, with two partitions (one ext3 with Ubuntu 12.04 installed and one swap). fdisk is giving me a Partition 1 does not start on physical sector boundary warning. What is the ...
30
votes
3answers
22k views

How to move Ubuntu to an SSD

My current situation is: One hard disk Dual boot Ubuntu 11.04 and Windows 7. Partitions: 100MB Windows System thingy 144GB Main Windows 160GB Ubuntu 4GB Swap 12GB System Restore stuff Now I want ...
3
votes
3answers
13k views

How can I recover my data after replacing Windows with Ubuntu? [duplicate]

I have migrated from Windows 7 to Ubuntu just yesterday. Windows 7 was in my C: drive. I did not realise that if I wipe Windows 7 and install Ubuntu, Ubuntu would be installed in the C: drive only. So ...
29
votes
3answers
50k views

How can I check the health of my hard drive?

I had a bad experience on an old Dell computer where shortly after installing Ubuntu on it, the hard drive failed due to excessive loading/unloading cycles. What is the best way to check the health of ...
20
votes
4answers
5k views

How to replace my disk without having to rebuild my Ubuntu install?

I'd like to buy a new 1TB disk to replace my old 150GB disk. Is there an easy way to copy my Ubuntu installation with my home folder content, system settings, applications, and so on... so at ...
8
votes
3answers
58k views

How do I access my Windows partition?

I have Ubuntu 12.04 installed on my HP G62-453 TU Laptop. I cannot access the contents of my hard disk partition E.
18
votes
3answers
49k views

Can I use Ubuntu to diagnose hard drive or RAM problems in Windows?

This may be a crazy question, but here goes... My brother suggested that I could somehow use either a Ubuntu Live Boot CD or Flash drive or Kubuntu as a way to diagnose issues I'm currently having ...
30
votes
10answers
25k views

Which hard disk drive is which?

I want to know which hard disk drive corresponds to which device path. It's trivial to match the hard disk stats (brand, size) with the dev path, but I want more. I want to know which drive is which ...
21
votes
3answers
19k views

Persistent “disk will be checked…” in the message of the day (motd) even after reboot

I see that there are some other threads that mention this error, but I have tried the solutions with no luck. When I log into my 12.04 Server, I get the message: /dev/sdb1 will be checked for errors ...
8
votes
2answers
11k views

How can I check the SMART status of a drive on Ubuntu 14.04?

How can I check the SMART status of a drive under 14.04? I've seen Checking HD SMART status on a fresh install but it doesn't seem to apply under 14.04.
2
votes
1answer
11k views

How to change permissions to the other drives in a hard disk?

I have dual booted with XP and Ubuntu 11.04. Later I formatted Ubuntu partition with 11.10 now I have three drives one for XP other for UBUNTU and other for data when I log in into UBUNTU I am unable ...
15
votes
2answers
77k views

How do I add an additional hard drive?

I am going to put an additional (non-USB) hard drive in my system. I already have Ubuntu on my other hard drive so I do not want to install Ubuntu on the additional drive but only use it for storage. ...
19
votes
4answers
41k views

Change owner of internal hard drive partition from root to user

I have a number of drives internal and external. Some are partitioned. Most mount automatically at boot (all did at one point). One partition is owned by root and therefore does not mount ...
12
votes
4answers
9k views

How do I clean up my harddrive?

Not to long ago I was using only 35% of my HD. Just recently it shot up to 54% and my diskspace is 16gb so that's more then 3gigs that have been taken. From what I remember I failed to build mysql, I ...
27
votes
4answers
5k views

Importance of Swap Partition

What is the purpose of a swap partition? How do I know I have just enough swap partition? Not too much/little. My Ubuntu PC is used for typical stuff: Web (email, facebook, etc.) Some movies ...
12
votes
6answers
48k views

How do I access an external hard drive plugged into my router?

I am running Ubuntu 11.10 and I own a Netgear N600 Wireless Dual Band Router with a USB port built into it. Naturally, the router came with instructions on how to mount and view this drive with both ...
6
votes
1answer
16k views

Is it safe to format msftres, msftdata and hidden partitions?

I have an acer V7 which came with a 1TB HDD, 24GB SSD and Windows 8 installed. I have installed Ubuntu onto the SSD and formatted the main partitions of the HDD. However, I also notice 3 other ...
6
votes
3answers
19k views

how to rename partitions?

I'm new at Ubuntu; I installed Ubuntu 12.10 and the partitions appear like 30 GB volume and like 78EF-2C5E in task bar. I tried to rename it but rename and remove buttons are deactivated so I tried by ...
7
votes
2answers
1k views

How to mount an internal HDD on start-up?

I have a 500GB internal HDD where I store all my music and photos but it is annoying to manually mount it after a restart and I was wondering how to mount it automatically and make it available to ...
4
votes
1answer
6k views

How can I check how much space there is left on WUBI versus how much space it takes on my HDD?

Using 11.10 for the record. It would be easiest to do it on the Terminal.
2
votes
1answer
914 views

Dual Boot with SSD and HDD Storage [closed]

I currently have a 1TB HDD setup to dual boot Win7 and Ubuntu 12.04. I am purchasing a 256GB SSD and another 1TB HDD. My intentions are as follows: Setup the SSD as my dual boot device with Adobe ...
157
votes
10answers
326k views

How do I find the amount of free space on my hard drive?

Is there a way to quickly check the amount of free / used disk space in Ubuntu? I would assume you could right click on 'file system' in the file browser and choose 'properties' or something but ...
89
votes
6answers
205k views

How to check hard disk performance

How to check the performance of a hard drive (Either via terminal or GUI). The write speed. The read speed. Cache size and speed. Random speed.
6
votes
3answers
26k views

What to do if Disk Utility shows bad sectors pending in SMART?

I have 12.04 32bit installed on my hard drive. Ubuntu is the only OS. I recently installed it after getting rid of Windows 7. When I run Disk Utility under SMART Status it says "disk has a few bad ...
8
votes
8answers
8k views

How to create an encrypted partition?

I am trying to create an encrypted partition, and while I format it I get the option to choose the partition type (fat/ext2/ext3/ext4/xfs/reiserfs/minix/ntfs). Is there any benefit of choosing one ...
6
votes
4answers
2k views

How to encrypt external devices using a cross-platform solution?

How can I encrypt an external device (i.e. USB keys, external hard-drives, memory sticks, etc.) so that it would subsequently be readable/writable on any computer that I plug it in? For instance, it ...
2
votes
1answer
23k views

external hard disk READ ONLY

i have got an external hard disk TOSHIBA 1TB USB 3, the permission is always READ ONLY. fdisk -l (output) : Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, ...
4
votes
2answers
8k views

SMART status:— DISK FAILURE IS IMMINENT

I want to run the check file system tool, but for that I need to unmount the volume, I have just one partition, should I go ahead with unmount and repair. I am new to Ubuntu, so please help.(Image)
9
votes
2answers
29k views

Terminal method of formatting storage drive

I want to know how to format a storage drive from the terminal. Helpful things to provide in the answer would be often used options for commands and base knowledge that one can use to extrapolate ...
9
votes
3answers
129k views

How to mount an external HDD?

I have Ubuntu Linux 12.04 version the latest right now.I want to mount an external HDD NTFS 1TB.I have followed many guides but still no success.The error I'm getting is this: Failed to read last ...
6
votes
2answers
4k views

How do I check the integrity of a storage medium (hard disk or flash drive)?

I've run across (personally or by proxy) a bunch of storage media that exhibited physical problems during their life. Hard disks, solid state drives and other flash storage media all fail after some ...
26
votes
3answers
36k views

How Do I interpret HDD S.M.A.R.T Results?

My laptop has recently started to become a bit unreliable, and for some reason I started to suspect that my HDD was starting to fail. After a bit of hunting on the internet, I found Ubuntu's Disk ...
14
votes
7answers
7k views

How to clone a hard drive to an image that I can open later?

I need to make a (preferably) mountable image of an 80GB Hdd, and store it on another hard drive. Is there some way that I can do this without losing data? Thanks for the answers I've received so ...
4
votes
1answer
11k views

Mark bad sectors on hard drive without formating

I've noticed that on my home Ubuntu server one drive is read only for some reason. Digging up I found that this can happen when hard drives have errors. I used badblocks to check for errors, and ...
2
votes
2answers
79k views

how to fix the hard-drive Bad Sector

I tried to fix my hard drive using Ubuntu but I found that message and didn't know what to do with.... I need to fix my bad sectors fsck /dev/sdb fsck from util-linux 2.20.1 e2fsck 1.42.5 ...
5
votes
3answers
26k views

Why the Ubuntu installer does not detect the hard drive during installation?

I have a new computer with a Seagate ST500DM002 SATA internal hard drive. I am trying to install on it Ubuntu 11.10 @ 64 bit but the installer does not recognize/detect/see the hard drive. When I ...
4
votes
3answers
1k views

Why doesn't the Ubuntu ISO burned to a CD or copied to a USB work on my Mac?

I just installed a new hard drive and for the life of me, I cannot get the .iso file on my USB stick or burned CD to begin the installation process. I keep getting a picture of a folder with a ...
2
votes
2answers
8k views

Checking HD SMART status on a fresh install

On a fresh install of 12.04 what is the best/easiest way to see the SMART status of the hard-drive? Previous ubuntu versions had a nice preinstalled GUI to do so, but I cannot seem to find it ...
7
votes
2answers
19k views

Adding Disks With LVM

I'm sure this has been answered somewhere on here before (I even found kinda a guide here, but seemed to be a bit spotty and incomplete) but I was wondering if someone could assist me or at least ...
15
votes
5answers
11k views

What is the Linux drive naming scheme?

In Windows; you have the C:\ drive. This is the primary drive upon which Windows is installed. However, Linux uses a different naming scheme: sda, sdb[1-4], etc. Can anyone give me a brief outline of ...
5
votes
1answer
19k views

How do I create and tune an ext4 partition from the command-line?

PARTITIONING (e.g. fdisk) What are some useful commands used for partitioning an additional hard drive from the command-line? Since most published guides steer towards GParted and other graphical ...
1
vote
2answers
4k views

Changing Windows Dynamic Disk partition to Basic partition and not the full drive

I have a Lenovo G505s with Win8 installed on it. I would like to install Ubuntu 14.04 on it, I followed all the procedures to Disable the secure boot and fast boot succefully. The problem starts ...
1
vote
2answers
4k views

Access secondary hard disk from Virtual Machine

I have a fairly specific question. I had Ubuntu on my Laptop (for years). For a variety of reasons, I've had to switch to Windows but the computer has two hard drives. The main drive was reformatted ...
5
votes
3answers
6k views

Repair more than 3500 bad blocks in 160 Gb samsung HDD using ubuntu 12.04

Recently I detected more than 3500 bad sectors on my samsung 160 Gb HDD. Is it possible to repair or ignore this amount of bad sectors using ubuntu 12.04? And what is the max. limit of bad sectors to ...