General :: Fedora 12 (Constantine) Remap Bad Sectors Of HDD?
Apr 11, 2010
I'm currently using Fedora 12 as seen in the subject, and I'm fairly new to it, but recently I've had a problem with my HDD. The problem is bad sectors and I've read up on how they occur but not many placessearched actually explains how to deal with this. When I start up my laptop (Acer 5610z) I get a SMART error saying "predicted disk failure, please back up data and replace drive." Along those lines, so I got curious and used Disk Analyzer this roughly what it says:
Reallocated Sector Count: Failing Normalized:129
Worst:129
Threshold:140
[code]...
View 7 Replies
ADVERTISEMENT
Dec 20, 2009
after the upgrade to Constantine I have a strange behaviour with plasma. The whole desktop freezes when a plasma widget pops up - like opening the menu or plugging in a disk and the mount options are shown. The X server still runs fine (Mouse and Keyboard are still working). Afterwards everything works fine again, I can even use the widget. I also tried a fresh install, and with the noveau driver the problem wasn't there, only after I installed the nvidia driver the problem reappeared again. Desktop effects are diabled. When I try killing plasma-desktop and restarting it from the command line, the desktop also freezes for a short time again, and I get teh following output:
[Code]...
I couldn't find anything helpful in Xorg.0.log or dmesg/syslog. I used nvidia-settings to configure xorg. I have a nvidia 6600 GT. If you need more infos just ask.
View 2 Replies
View Related
Jan 2, 2010
After much searching I was unable to find any information on dual booting Fedora 12 from Ubuntu 9.10. Here is how I got it to work: If you are installing both distributions it is recommended that you install Fedora 12 first, then Ubuntu. It may be possible to chainload Ubuntu's bootloader (grub2) from Fedora 12's (legacy grub), although I haven't tested to confirm if this works. (If it works for you please reply).
Once you are done installing both distributions, boot Ubuntu and open a terminal (Applications -> Accessories -> Terminal).
When you are in the terminal type:"sudo blkid /dev/xxx", where xxx is the root partition of Fedora 12.If you specified a sepearate /boot partition, then you will need the UID of that partition as well.
You will recieve output that appears much like:
austin@ubuntu:/$ sudo blkid /dev/sda1
/dev/sda1: LABEL="Fedora Boot" UUID="e7cd142b-1fb7-4c34-8a2b-b00dd8e7f081" TYPE="ext3" Copy down the UID from the "UUID=" field (without quotes). For example, from the output above, the UID of my Fedora 12 boot partition is e7cd142b-1fb7-4c34-8a2b-b00dd8e7f081.
[Code]...
View 9 Replies
View Related
Mar 8, 2010
Installation fails with PartitionException: Can't have overlapping partitions I am trying to install Fedora in my Laptop as a dual boot. I tried to create partitions like root ext4 then /home & /var lvm and swap but after applying write changes to disk I am getting PartitionException: Can't have overlapping partitions. So I tried several times just normal partitions etc. but didnt work. I found this on net
[Code]....
View 3 Replies
View Related
Oct 20, 2009
I've got a F10 machine set up as a media center (with mythtv...mythdora to be precise) and I love that it's based on fedora since I'm most familiar with it..I would like to map the power button press to a command "pkill X" since sometimes the frontend freezes and running this command kills X (I'm running ratpoison for the speed and simplicity...it just gets the job done and doesn't get in the way).Any help in mapping a single button press to "pkill X" would be greatly appreciated. I also need some help adding this command to the sudo list so the regular "mythtv" user will be able to run it...no password can be entered since the machine has no keyboard. Currently I log in via ssh to get this done but it would be nice to not have to boot up a laptop just to do this.
View 3 Replies
View Related
Jan 24, 2010
I wanted to remap my Caps Lock key to ESC, both because I don't need the Caps Lock key and because it will make it easier to use vi. I know how to do this in X, but is there a solution that will work in command line mode too?
View 6 Replies
View Related
May 13, 2010
I want to remap a single key on my keyboard. This is the key which will delete or in numpad mode will put a '.' or a ',' in my case.I want the ',' to be a '.' .So I found out that xev gives me some information about the keys.So I tried something likexmodmap -e 'keycode 91 = period'Which is not what I want. Because than the delete command gets overwritten instead of the comma. So I triedxmodmap -e 'keysym 0x0 = period'Which looked like a endless loop to me. 0x0 is also quite strange, isn't it? But this is what xev gave me for numlock activated and the comma-key.The difference between the delete and the comma is the "state".Xev returns for delete:
Code:
KeyRelease event, serial 34, synthetic NO, window 0x4800001,
root 0x10c, subw 0x0, time 1934052, (412,580), root:(416,605),
[code]....
View 1 Replies
View Related
Jun 20, 2009
In Fedora 10 they decided to change to "evdev", so if you used xmodmap in F9, these mapping have changed in F10 and F11 for that matter. In order to find the new key values start
Code:
xev and press a button you would like to know the keycode for. Write this value down. When done, make a file ".xmodmap" and put in the values. "man xmodmap" explains the format. Not easy to understand! So here is how mine looks like.
Code:
clear Lock
keycode 112 = Caps_Lock
keycode 118 = Delete
keycode 119 = Home
[Code]...
This layout is MUCH more logical than the original. Now Delete is the key just to the right of the Backspace key. Back spaces deletes to the left, and Delete deletes to the right, so these keys shoudl of course be next to each other Page Up, Page Down, Home, and End now have the same structure as the arrow keys below. This layout makes it much easier to navigate without looking at the keys, because now the layout makes sense And why shouldn't 0 be to the left of 1? of course it should. 0 is lower than 1.
View 1 Replies
View Related
Feb 5, 2010
How can I set keys to be remapped for one specific program in Linux? (More specifically Caps Lock -> Escape for gVim. I hit it accidentally too much to remap it in everything).
View 2 Replies
View Related
Jan 23, 2011
I want to run this command on startup.
xmodmap /etc/xmodmap
I am running Ubuntu 10.10 and need to remap keys. It only seems to work when I run it in terminal after I login.
View 2 Replies
View Related
Sep 29, 2010
I recently buy a Corsair F60, and F14 (and F11) said there is MANY bad sectors on my SSD. Is it a smartctl bug ? how can I confirm or infirm that ?
[root@localhost ~]# smartctl /dev/sdc -a
smartctl 5.39.1 2010-01-28 r3054 [x86_64-redhat-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
[code]....
After scanning selected spans, do NOT read-scan remainder of disk.If Selective self-test is pending on power-up, resume after 0 minute delay.
View 2 Replies
View Related
Jun 19, 2010
I've just added a second disk to one of my computers. It is a 500GB SATA. It is the second drive according to the BIOS. Fedora calls it /dev/sdb. So far so good. This box is running Fedora 13 final. Never any problems until the addition of the new disk. Palimpsest says that this disk has a LOT of bad sectors. This disk is a storage drive. I want to address the problem but don't know what to do first. My thought is to rsync all the data to my external 250GB disk bedore I do anything else but I'm mot sure if I should just yet. Maybe I should run some diagnostics on the drive? If so, what? How about the tools Disk Utility offers? Should I use the Smart Utilities? What other Linux tools are available and are they reliable? Maybe I should install XP on the main disk and use Windows' disk tools? If I should lose all data it wouldn't be the end of the world but I'm not sure how "in sync" the 2 storage drives actually are.
View 10 Replies
View Related
Feb 12, 2011
I have an Apple Aluminium keyboard. To the left of 1 key I have the less/greater (< >) key, not grave/tilde (` ~). xmodmap does not work for me: layout switching (done with setxkbmap) resets my xmodmap changes. .Xmodmap file does not help either. How do I remap the tilde key?
View 1 Replies
View Related
Feb 20, 2011
I have a massive ZFS array on my fileserver. Whenever a disk reports bad sectors to smartmon, I order a replacement, and I shelve the failing one.
And by "shelving the failing one", I mean that I give it a low-level format if applicable, or a destructive badblocks run to possible claim spare sectors to replace the bad ones, then use it to dump my DVDs (and lately BluRays) on, so that I can use it with my HTPC and bring it with me when going to my friends to watch movies. It's just a really easy and portable way to watch movies with XBMC. I have the stuff on pressed discs already, so I'm not dependent on their reliance, and the dying drive just gets a hospice life serving as quick-access media storage. Keeping in mind Google's reports that drives are 39x more likely to die within 60 days after their first SMART error, I'm expanding that period by the fact that these drives mostly remain on their shelves and are only plugged into the SATA bay once or twice every year.
I'm just saying this to make clear that I'm not confused about these drives dying, and I'm not looking to elongate their lives ;)
So. Sometimes these drives, after a badblocks run, simply claim fresh sectors from the spare pool, but sometimes there aren't any left, and I face the fact that there are bad sectors in my FS. That's not a problem if you use one of a set of linux filesystems, as mkfs.* often takes a badblocks list as input. But seeing as I sometimes bring a drive or two to my girlfriend's (Mac) or one of my friends (usually Windows), I've decided to use NTFS for these things. Up untill now, when a drive had unrelocatable bad sectors, I've just written data to it, re-read it, and files that were bad were put in a "BAD_SECTOR_FILES" folder on the drive.
Sure, it works, but it would be really nice to be able to just mark those sectors bad instead. It's a lot of hassle the other way around.
So I read some posts, of which most quickly switch subject to the often accurate one of "replace your drive!", and some suggest spinrite, but really, I don't see why I should pay that much money for such a trivial task.
The alternative is to use ext3, but I'd like to hear if someone knows how I can feed badblocks output to mkfs.ntfs, so that the bad blocks aren't used. Or if there are other tools (I could use Windows in a VM) that do the same. I'm confused about chkdsk, it seems the bad sectors thing is FAT only?
View 1 Replies
View Related
May 24, 2011
Just came up my mind about repairing the bad sectors using software.Does using a software really repair the bad sectors in the hard disk?
View 5 Replies
View Related
Oct 28, 2010
Question 1. Does gparted etc. just write to the MBR? Question 2. Is this the only record of the partition table? Question 3. How do i find the sectors that the partitions occupy?
View 2 Replies
View Related
Aug 14, 2010
I'm running a Debian homeserver, with a 3-disk (1GB each) raid 5 array using mdadm (the OS is on a separate disk).Now, smartmontools noticed some bad sectors on one of the disks, and I'm not sure what to do next (except for backup of valuable data).I found some articles on how to fix these sectors, but I'm unaware what the result on the whole array will be.
View 4 Replies
View Related
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
Oct 30, 2010
I have a 230GB hard drive wich I don't know it's name.I have a 207GB windows vista partition and the rest of it is for linux (Ubuntu).Today I decided giving it all space to Ubuntu Linux ,but didn't want to lose all my data from the windows partition.I thought that by deleting all things except the folder with my data and leaving enough space to shrink and make enough room for another partition to put my data folder.The logic is that i could then format that partition wich previously was windows and use it all for ubuntu without losing data.After having ubuntu installed i could copy my data folder to /home and then delete the previous partition and make /home bigger.The problem is that after i freed the space,when using Gparted to shrink it says that the partition has bad sectors or the filesystem has problems and so it can't do some operations.
What could have went wrong?It told me to do chkdisk but as i deleted all the windows files and i can't boot into it anymore.I used the vista dvd to do that.I rebooted 2 times as it says and after that when trying again nothing changed.I tried to use ntfsresize with the --bad-sectors argument and also the -f argument but it's useless.At the end it says it won't do anything until the ntfs filesystem get repaired.Or it says it is too risky to continueIs there any way i could do some superforce command to resize it without losing data?Please don't tell me to put it on an external storage cause i have like 70GB of datas to save...no i don't have an external hardrive
View 7 Replies
View Related
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
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
View Related
Apr 17, 2010
I don't know if this is a configuration issue or a hardware issue, but I have a Kinesis Advantage USB keyboard and for some reason the F3-F5 keys aren't responding as they used to. They don't respond to anything and, when I tried using F5 on Emacs, it said <XF86AudioNext> is undefined, so I guess it's a weird mapping problem.
Any idea how I could remap them to the original meaning?
View 2 Replies
View Related
Aug 9, 2010
My ASUS Eee PC 701's keyboard has some broken keys: 1,3,5,7,8,0,=,bkspc and tab do not function at all.Whilst I can just about make do as is, it would be nice to be able to press Ctrl+AltGr+'Q-P' for numbers or something.
View 4 Replies
View Related
Feb 26, 2010
Just installed the Ubuntu for the first time and I have a problem. My keyboard's "a" key is faulty, it's acting like it's stuck, that is it is constantly typing aaaas so I had to disable it and reassign the letter "a" to another key. I did this quite easily in Windows with a program called KeyTweak...
Now that I started working in Ubuntu, the damn thing started acting just as it did under windows and it's constantly typing a all over the place, so I can't get any work done. How do I disable the key "a" and reassign "a" to another key(like q for instance)? Are there any programs for key remapping in Ubuntu or I'll have to do it manually? If so, how?
View 2 Replies
View Related
Apr 22, 2010
I play World Of Warcraft and in Windows I used a program that allowed me to map my 2 side buttons to one being CTRL and the other ALT to make for much easier keybindings. Does anyone know how I can do this with ubuntu?
View 1 Replies
View Related
Apr 20, 2011
After having a few issues with pidgin I've decided to play with pidgin. Its great, but I'm looking for a way to remap the commands to use the Windows key instead of the Alt key. I've found lots of references that show how to remap using the .gntrc file, but none that mention the windows key. This says I can rebind: [URL] And the examples on all the pages I could google are setup to use Alt (a) or Ctrl (c), but not the windows key. Examples I've found follow this format. Simple enough, but what to use for the Win key?
[GntWM::binding]
c-a-n = window-next
I wanted to use Ctrl-Alt-n ,but I would like to use Win-n
View 1 Replies
View Related
Jun 2, 2011
I was wondering if there was any native software like Autohotkey, GlovePIE, etc for Ubuntu that allows you to remap keys / make macros?
Windows has a ton of stuff like this. My first few searches though for Ubuntu software like that has turned up nothing.
View 1 Replies
View Related
Jan 26, 2010
wondering if any other ppc users have had the issue whereby, after the first unsuccessful power down (or sometimes the second or third) of a fresh ubuntu 9.10 install, mouse button 3, which is normally mapped to F12, becomes function (fn) + F12.? This is really annoying as you now have to use two hands to activate the little drop down menu. So i tried remapping mouse button three to that strange little key beside the left arrow on an ibook keyboard that looks like a picnic table and which, under os x, renames stuff.
I ran "gksu gedit /etc/sysctl.d/10-arch-specific.conf" and edited it accordingly: mouse button 3 from keycode 88 to 104. It works, but i still have to press function to activate it and fn + F12 still works simultaneously (though it is no longer defined in the conf file), and my new key doesnt offer the same functionality (eg, it doesnt give spell check options in firefox where fn + F12 does). Arg. Anybody know how to make it so that i can activate mouse button three without having to press function?
View 9 Replies
View Related
Nov 17, 2010
I've been playing a fair amount of Minecraft. Awesome game, but I really dislike that the mouse buttons bindings aren't editable. I was wondering if there was a program out there for Linux that can remap a mouse button (Like [Right Click]) to a key on your keyboard. (Like the [Spacebar]) I've done some digging around, but nothing shows up to edit the three standard mouse buttons, just the extended ones.
View 2 Replies
View Related
Nov 20, 2010
How can I remap arrow keys to windows key + ijkl? I can do this easily in Autohotkey on windows, but I'm struggling on Ubuntu.
I'd really like the solution to work independently of whether I'm using a window manager or not, and to involve modifying as few files as possible; I work on a lots of different machines and am always building new ones, so would like to minimise reconfig effort.
I've tried to understand .Xmodmap, but couldn't make it work (was hard to find detailed docs on modifier keys). Am also considering win+hjkl!
View 2 Replies
View Related