General :: Gnome Disk Utility Warned That Hard Drive Had Numerous Bad Sectors / Fix It?

Feb 21, 2010

I recently tried Fedora on my laptop (previously Debian; I was bored one day) and gnome-disk-utility (palimpsest) warned me that my hard drive had numerous bad sectors. I re-installed Debian to find that this software was installed before so why had it not warned me?

When I load the disk utility, it says SMART is not available. I've got smartmontools installed, I can run a self-test with smartctl but I don't think this shows bad sectors. I've tried starting smartd on startup but the disk utility never changes from "SMART is not available". It is possible for it to work with this hardware as it works in Fedora on this laptop; any ideas?

View 3 Replies


ADVERTISEMENT

Ubuntu :: External Hard Drive - GParted Wont Load Up When Plugged In And Disk Utility Doesn't Show It

Feb 7, 2011

I had this corrupted external hdd and so I formatted the main partition on it on windows but messed up in the formatting and ended up having to format the entire thing. I got some weird message about it not being initialized (no not mounted) so I was in compmgmt.msc in windows and right clicked it in device manager and it asked for master boot or GUID I selected the latter and formatted. Worked fine and all for a bit but now it doesn't show up as a drive. I noticed when using compmgmt.msc it showed up that it had installed driver software and was being recognized but in the partition editing area there was nothing on this drive, reinstalling driver software doesn't seem to help. Also GParted wont load up when I have it plugged in and Disk Utility doesn't show it. I am requesting help to fix this problem within Ubuntu 10.10 somehow so I can use it properly.

View 9 Replies View Related

Hardware :: Scan And Fix Bad Sectors On Hard Disk Without Damaging Data?

Dec 19, 2010

How to scan and fix Bad Sectors on Hard Disk without damaging data?

View 5 Replies View Related

General :: Start Gnome-disk-utility From A Terminal (as Root)?

Feb 8, 2010

I have a real newbie question. I want to edit my disk partition table. Mount some drives etc. I like gui tools and gnome's disk utility seems to be able to do everything I want to. My problem: When I want to create a new filesystem on an empty space, I'm not allowed to. I guess I need root access, but I can't login as root to my gnome session and I know no way to start the disk utility from a terminal where I'm the root user, so my question is: How do I do this?

View 3 Replies View Related

Ubuntu :: How To Fix A Hard Drive With Bad Sectors

Jan 20, 2010

I recently got a bad virus that wouldnt let me reinstall Windows so I figured I would install Ubuntu and give it a go, but now it says my hard drive has "many bad sectors" a quick Google search shows many ways to fix this in Windows, but how do I do it in Ubuntu?Easily since Im just getting the hang of things.

View 8 Replies View Related

Ubuntu :: Code To Access Hard Disk Sectors (LoopBack Device)

Jan 26, 2011

I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it has the following configuration.

Code: $> sudo fdisk -l /dev/loop0
Disk /dev/loop0: 10 MB, 10977280 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/loop0 doesn't contain a valid partition table Now what I want to do is develop a c++ program to read & write files to this loop back device,which I'm using to simulate an actual hard disk,at the blocks & sectors level. So far I've come up with the following code. But I'm still unable to read files from the hard disk one block at a time.

Code: #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
char block[512]; int length=0;
cout<<"Implementation of the File Handler Read Method..."<<endl;
FILE *f = fopen("/dev/loop0", "r");
if(f == NULL) {
cout<<"Error In Opening the HardDisk File Retuning Error..."<<endl; return -1; }
//Read One Block of Data to Buffer length = fread(block, 1, sizeof(block), f);
/* Do something with the data */ cout<<"Length : "<<length<<endl;
return 0; }

When I run this Program All what I get is the message for NULL. "Error In Opening the HardDisk File Retuning Error...". So I could open the loopback device as a file an access it at the sectors & block level.

View 1 Replies View Related

Software :: Determine USB Hard Drive Capacity In Sectors?

Mar 24, 2011

How would one determine the capacity in sectors or LBAs of a USB Hard Drive? If I know the USB device number, like from 'lsusb', is there someplace on the system to get other information about the drive? What I want to do is have a program go out and get this information just for the number of LBAs on the drive itself. Partition info doesn't matter for what I am doing.

View 2 Replies View Related

General :: Format External Hard Drive In NTFS Using The Utility Program?

Mar 21, 2010

Trying to format a external Hard drive in NTFS using the utility program.

The error message is

"Error creating file system: helper exited with exit code 1: cannot spawn 'mkntfs -f /dev/sdb1': Failed to execute child process "mkntfs" (No such file or directory)"

View 4 Replies View Related

Ubuntu :: Hard Drive Sectors Lead To A Really Sluggish System?

Jul 26, 2011

My sister's laptop (toshiba satellite l550 running lucid) often runs really, really slow, even after a fresh install. Going through the gnome main menu, everything just lags by several seconds. Closing applications often takes a while, etc. I've run top and iostat to determine what the problem is and it seems to be IO-related. User processes and system processes don't take up more than a few percent, but the average load is usually over 2 even when I'm barely doing anything. Top shows that, whenever everything slows down, the 'wait' criterion is pretty high.

Now, I've also tried installing lucid to an external USB hard drive and that works fine. I'm currently running the S.M.A.R.T. diagnostic and so far I've got the attached screenshot to show. Only the criterion shown and the 'current pending sector count' are showing warnings.Any thoughts? Could the performance issue be related to the hard drive warning? I'm not planning to replace the hard drive just yet, because this laptop still has a two-year warranty.

View 8 Replies View Related

Fedora :: Keep Getting "A Hard Disk Is Failing" Warnings From The Disk Utility

Jun 8, 2011

I am on F15 32-bit with GNOME 3. I keep getting "A Hard Disk Is Failing" warnings from the Disk Utility, very frequently. Is this a serious issue? Because I knew this to be a bug in Palimpsest DU back in F13/14. Also how can I disable any notifications from this application?

View 4 Replies View Related

Software :: Verify Hard Disk After Copying Using DCFLDD Utility With MD5 Hash?

Apr 19, 2010

i wrote the following script for copy one source harddisk to 5 destination harddisk simultaneously.

dcfldd if=/dev/sda5 hash=md5 hashwindow=1000M md5log=md5.txt hashconv=after bs=512 conv=noerror,sync of=/dev/sdb of=/dev/sdc of=/dev/sdd of=/dev/sde of=/dev/sdf

after finising to run this command the image was trasfered to all harddirve. But no verfication message. i saw the hash value entry in md5 log. how to check the source and destination clone properly

View 3 Replies View Related

Fedora :: Partitioning Hard Drive With F14 Utility

Jun 28, 2011

I have installed Fedora 14 along with Libre Office along with some other applications so I am learning slowly, re-learning really. However I am having a difficult time understanding partitioning. I would like to make another partition for Windoze. I also cannot get a USB mouse to work. I have run some commands to gather disk info I will refrain from list it here as it is a lot of data. At least until asked to do so. What I have run so far is fdisk -l, df, blkid, & cat fstab.

View 8 Replies View Related

Software :: System Utility To Dump HDD Sectors To Console?

Dec 11, 2010

Can someone point out such a program?

View 5 Replies View Related

Ubuntu :: Disk Utility Will Not Format Drive

Nov 24, 2010

Right clicking on a drive will format the drive but Disk Utility 2.30.1 included with Ubuntu 10.10 will not format the drive and says the drive is busy.

View 2 Replies View Related

Debian Configuration :: Unknown Root LV In Gnome-disk-utility ?

Jul 24, 2011

Gnome-disk-utility doesn't show filesystem type, mount point, filesystem label, size¦ of my / filesystem.

I am running Debian Squeeze using lvm2. I have two HDDs and each has one primary partition, which are used as PVs. Having two VGs, each VG has it's own PV.

There are some LVs and all of them except the LV holding the swap space are formatted with XFS. Now gnome-disk-utility shows everything about my /home LV, another LV containing a whole Ubuntu installation,¦ only the / LV (and Swap LV, but I don't know what it is supposed to show there) is/are missing nearly all information.

Otherwise the system is running perfectly well and the Debian / LV is shown normally in Ubuntu's disk-utlity, as well as all other LVs.

fdisk

Physical volume

Volume group

Volume group

lvdisplay

Logical volume

Logical volume

Logical volume

Logical volume

Logical volume

DebianCopy is a copy of my Debian installation (different fs label and UUID). DebianII (again different UUID and label) is a copy too, but there I tried out newer (testing) versions of udisks/lvm2/udev and right after the upgrade it showd everything as it should with the additional advantage of the newer udisks-version showing my VGs, but after a reboot it showed the same behaviour as before or even worse, because the information about other LVs was missing too.

In the end I even modified the fstab. Originally it contained the /dev/mapper/vgbay... entries and I replaced them with LABEL=... and finally with UUID=..., but it didn't make any difference either.

View 2 Replies View Related

Software :: Can't Use Gnome-disk-utility And Users-admin / Sort It?

Feb 18, 2011

In my custom Ubuntu, I can't use gnome-disk-utility application to format USB drive ("Permission denied" error). I have to run gnome-disk-utility with "sudo" to do that.

I guess that I am not in a group which has permission to working with devices, but I can't find out what group is.

Another problem is I can't use "Users and groups" application (users-admin) to manage users and groups, I click buttons but nothing happens I guess that I don't have some kind of permissions too.

How could I fix these 2 problems?

View 1 Replies View Related

Software :: Utility To Monitor What's Accessing The Hard Drive - Laptop_mode Keeps Cycling

Nov 20, 2008

I'm trying to implement laptop_mode (to put disk to sleep when not in use), but something keeps waking it up. 'TOP' really doesn't do the trick.

This is apparently a known problem. Has to do with disk idling not implemented correctly.

[url]

View 1 Replies View Related

CentOS 5 Networking :: Numerous Hostnames On Numerous Interfaces?

Aug 13, 2010

I'm curious; for a current project a server has 4 network interfaces (eth0 and eth2 are in a bonded pair using the bonding module, and then eth1 is being used for management, while eth3 is currently unused but may be utilized for iscsi in the future).

We need to configure two different hostnames, one for the bonded pair (bond0) and one for eth1. Now I have been googling around to try and figure out how the heck this is done but I can't find much of anything. In some methods it mentions using the hostname command, however this isn't persistant after reboot.

Another mentions just editing the /etc/hosts file but I thought that was only used locally? Both bond0 and eth1 will be on separate VLANs with different DNS servers, so it needs to end up with two different FQDN's

View 1 Replies View Related

General :: Windows 7 Disk Management Utility Doesn't Show Disk With Ext3 Partition

Oct 10, 2010

I have a 2 TB disk in an external SATA dock, formatted with a single ext3 (Linux) partition, which doesn't show up in the Windows 7 Computer Management->Disk Management utility, even as a raw/blank disk. I've verified that there's nothing wrong with the disk by connecting it to my Linux machine and mounting it, and I've verified that the dock is functioning properly by connecting a different FAT32-formatted disk, which mounts flawlessly as expected.I realize that I can't actually read the ext3 partition without additional software (e.g., Ext3IFS), but why doesn't the disk show up at all? Is there some sort of stupid anti-Linux filter built in? Is there any way to force Windows to recognize the disk, so that I can at the very least use direct block access with it?

Background: I want to clone an identical 2 TB disk onto this one. Due to my hardware layout, it's much easier to have the source disk attached to one machine and the destination disk connected to another, and do the clone over the network (the network is not a bottleneck with switched gigabit ethernet), than it is to hook them both up to one machine.(1) I did this once before when both machines were running Linux, but I've since upgraded the destination machine and decided to switch back to Windows for regular desktop use. I've got Cygwin installed, and have verified that the same basic method (dd + nc) will work, but I can't do anything if Windows doesn't even consider the destination disk to exist.I only have one eSATA port on each machine. Opening them up just to do this clone is a rather large annoyance. Also, since this is my backup disk, I'd like to eventually automate the cloning from the active disk to another one that I regularly swap with a third disk that I store off-site.

View 1 Replies View Related

General :: Formatting Vista Hard Drive With Disk

May 24, 2011

I have a computer that was given to me and is no longer booting up properly. It's an Acer with VISTA installed. I would like to format the hard drive and start over with Linux. I don't have the original windows vista disk, I don't believe the computer even came with one, and no back up disks. Apparently this is the only way to format VISTA. When I am in the command prompt here is what happens.

C:> format c:
The type of the file system is NTFS.
Enter correct volume lable for drive C:
I don't know the correct label.

Searching on the forums I found this.
format c:/fs:NTFS/p:/
That doesn't work. I get this:
"Invalid parameter - /p:"

View 6 Replies View Related

General :: Cloning With The Dd Command - Source Being Copied Onto Bad Sectors On The Destination Disk?

Apr 17, 2011

To make a full backup I run a live Knoppix DVD and clone the computer's HDD to an external HDD using the dd command. Is there a possible problem with the source being copied onto bad sectors on the destination disk? If so is there a way to prevent this from happening? A typical dd command I use looks like: dd if=/dev/sda of=/dev/sdb bs=4096 conv=notrunc,noerror. Is this the recommended command for cloning to a disk of equal size?

View 1 Replies View Related

General :: Disk Utility And Df Show Different Disk Space ?

Nov 18, 2010

I don't understand disk sizes in Linux. I have a 500GB drive. It's ext4. I have run "tune2fs -m 0" on it to reserve the amount of space reserved for root to 0.

I'm using Ubuntu 10.04 that comes with a Disk Utility. When I run "System->Administration->Disk Utility (palimpsest)" the disk shows up as 500GB (see picture). But when I run df -h it shows up as 459GB. So, I don't understand the discrepancy.

When I run df I get the following:

Question: Why is Disk Utility showing me something different than "df"?

View 6 Replies View Related

General :: Software For Finding Bad Sectors On A Usb Drive?

Aug 6, 2010

I can't seem to find any programs or applications for linux that will find bad sectors of a usb drive. I have seen plenty for Windows, but I was wondering if there are any for linux.

View 8 Replies View Related

Ubuntu :: External Hard Disk /Hard Drive Mounts As Read Only (Suddenly)?

Jan 17, 2011

I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.

Code:
sundar@sundar-sundar:~$ fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes

[code]...

View 7 Replies View Related

Software :: Write / Unpack .qcow2 Hard Disk Image Directly To Real Hard Drive

May 22, 2011

is there a way to write/unpack .qcow2 hard disk image directly to real hard drive in Linux?(I know it's possible to unpack .qcow2 to .raw and then dd to drive, but I'd like to skip .raw since its large)

View 2 Replies View Related

General :: Tried To Install Mint To Flash Drive / Can't Boot From Main Hard Disk

Jan 15, 2011

I wanted to install a Linux distro to a flash drive so that I can have a portable OS with all my settings, programs, etc. wherever I go. So I fired up a Linux Mint Live CD and installed Mint to the flash drive, and this seems to work OK. But now, whenever I try to boot up my system normally without the flash drive plugged in, it doesn't seem to work. It basically hangs for a bit, and then I get the following prompt:

However, when I try powering my system up when the USB is plugged into the computer, it gives me an option between using the OS installed on my USB and the OS installed on my HD. Selecting the latter, everything loads up just fine. I'm guessing that installing Mint to the flash drive somehow messed with my native Grub installation.

View 2 Replies View Related

General :: External Hard Drive And Flash Disk Connected To Usb Doesn't Show

Oct 25, 2010

a friend of mine just given me an old 2004 IBM NetVista 8305 desktop and suggested to use Linux Ubuntu which is something new to me. So i installed it via USB memory stick & it works. After installation of the OS I am impressed with functionality & speed. when i conect the external hard drive via usb it doesn't show & i tried my usb flash disc it showed the same problem. I tried both disk in my laptop (Windows XP) & it works.

View 8 Replies View Related

General :: Changing GRUB From An External Hard Disk To The Internal Hard Disk?

May 14, 2010

I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) �Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?

View 2 Replies View Related

Ubuntu / Apple :: PowerPC 9.10 - Numerous Gnome Errors After Logging In

Feb 20, 2010

I'm getting numerous Gnome errors after logging in... Previously everything was working fine; perhaps a software update messed things up? I have looked around for potential solutions, but none that I have tried have made any difference. The errors I get are: The panel encountered a problem while loading:

[code].....

how I can fix this? This is Ubuntu 9.10 PowrePC installed on a PowerBook G4 -- I'd really love to be able to see the battery level remaining (and seeing the time would be nice, too ).

View 2 Replies View Related

General :: Use Hard Disk Image Like A Regular Hard Disk?

Apr 6, 2010

If you have a hard disk image (including partition table, multiple partitions,...), is it possible to let Linux treat it as a regular hard disk?

By "regular hard disk" I mean I would like to have the image show up as, for instance, /dev/hdx and its partitions as /dev/hdx1,...

(I know I can mount one of the partitions in the image using "mount -o loop,offset=x ..." but I don't really like this option.)

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved