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)

37
votes
4answers
17k 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?
11
votes
5answers
2k 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
5answers
34k 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 ...
6
votes
3answers
42k 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.
2
votes
3answers
7k 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 ...
15
votes
8answers
69k 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 ...
17
votes
4answers
12k 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 ...
24
votes
10answers
14k 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 ...
2
votes
1answer
9k 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 ...
98
votes
9answers
188k 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 ...
11
votes
3answers
20k 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 ...
14
votes
3answers
34k 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 ...
11
votes
6answers
30k 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 ...
4
votes
1answer
4k 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.
26
votes
3answers
15k 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 ...
11
votes
4answers
7k 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 ...
6
votes
3answers
16k 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 ...
101
votes
8answers
179k 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 ...
16
votes
3answers
18k 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 ...
21
votes
4answers
4k 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 ...
8
votes
3answers
74k 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 ...
20
votes
3answers
24k 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 ...
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
3answers
5k 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 ...
14
votes
6answers
5k 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 ...
14
votes
4answers
25k 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 ...
14
votes
2answers
53k 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. ...
4
votes
3answers
18k 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
2k views

need to recover data from a data hard disk that I used testdisk on in my attempt to repair mbr from a rootkit virus

Before I begin to say what my situation is here, please know i would be FOREVER GRATEFUL for anyone who can help me out with this mess. I have photos on here from years and years of painstaking work. ...
0
votes
3answers
37k 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 ...
4
votes
3answers
2k 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 ...
3
votes
2answers
6k 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)
1
vote
4answers
3k views

How to change permission external hard drive in ubuntu 12.04

I want to copy any file to my external hard drive. But always when I tried to do this I have next output: cp: cannot create regular file /media/NameOfCard/[file]' : Read only file system I also ...
1
vote
1answer
499 views

Dual boot. Install 2nd OS on separate drive

I currently have Kubuntu running on a large SATA drive. I am considering setting up KXStudio to dual boot. Rather than messing up my current partitions I am thinking of adding an old IDE drive and ...
54
votes
5answers
111k 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.
13
votes
2answers
926 views

How to tell what applications are accessing the hard drive and how frequently?

My hard drive is going crazy and I don't know what application is doing it. Are there any linux tools for profiling what processes are accessing drives and how frequently? top, htop and the like ...
13
votes
4answers
5k 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 ...
14
votes
3answers
3k views

Do I need to replace my hard disk?

Whenever I start my computer Ubuntu pops up the following error: A hard disk may be failing one or more hard disk report health problems A friend of mine ran some test and it was found that my hard ...
3
votes
1answer
6k 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 ...
7
votes
8answers
6k views

How to create an encrypted partition?

well i'm trying to create an encrypted partition and while i formated it i got the option to choose the partition type (fat/ext2/ext3/ext4/xfs/reiserfs/minix/ntfs) is there any benefit of choosing one ...
4
votes
4answers
3k views

How to recover data from a failing hard drive?

An external 3½" HDD seems to be in danger of failing — it's making ticking sounds when idle. I've acquired a replacement drive, and want to know the best strategy to get the data off of the dubious ...
1
vote
2answers
2k views

Would like to install Ubuntu on secondary hard drive within my computer

Okay, so here's the story. I am trying to install Ubuntu 13.04. I currently have a 2TB drive in my computer where Windows 7 boots from, and a secondary 500GB drive that also has a bootable ...
2
votes
1answer
245 views

Reorganize partitions with HDD and SSD

In my notebook I have a 16GB SSD and 1TB HDD. I have installed W7 an the HDD ~250GB. Then I have installed Ubuntu 12.04. The / I put on the SSD with ~12GB and also the SWAP with the rest of ~4GB. The ...
1
vote
2answers
3k 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 ...
1
vote
1answer
5k views

Recover data from a FAT32 hard disk?

I have connected a failed hard disk which has a detectable FAT32 filesystem. I Dont know the nature of the damage. What is the easiest way to recover the data from the drive?
2
votes
2answers
6k 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 ...
1
vote
2answers
6k views

How do I format my entire HDD?

Ok I have recently made some mistakes with installing some operating systems that I should have just kept on a live cd not ubuntu but another os and with my ocd when I saw my lot's of different ...
1
vote
2answers
4k views

How can I recover data from a 2TB hard drive?

I have a Western Digital 2TB External Hard Drive. I basically use it to keep all my movies and videos. Its file system is NTFS, and currently I'm using 1.4TB. One night I turn it on and copied a 4GB ...
9
votes
3answers
34k views

Detect and mount devices?

I upgraded Ubuntu today and everything works smooth except that Ubuntu doesn't detect any other storage devices. My / and /home partitions work fine, but my other partitions are just not detected. I ...
14
votes
5answers
9k views

Mount an external drive at boot time only if it is plugged in

I've got an entry for an external harddrive in my fstab: UUID="680C0FE30C0FAAE0" /jgdata ntfs noatime,rw But sometimes this drive isn't plugged in at boot time. This leaves me half way ...