General :: Use Hdparm To Unlock Drive?
May 25, 2010
I am running Xebian on my old Xbox. Currently I am trying to fit an old hdd that is locked (to a mo-bo that has expired). I have connected it up instead of the dvd drive and booted with it as slave. The OS can access it using hdparm -I /dev/hdb, but it showing as locked I have the key which is:
HDDLockDisablePassword 76 1d d3 2b e9 df 17 96 64 3b 5c 5f d9 95 ba 4e 74 f5 e5 0e 00 00 00 00 00 00 00 00 00 00 00 00
I am trying to input this using hdparm I have tried:
hdparm --security-mode U --security-unlock 761dd32be9df1796643b5c5fd995ba4e74f5e50e000000000000000000000000 /dev/hdb
which doesn't work. What format does the password need to be in. I suspect ASCII but I can't type some of the characters. Is the rest of the syntax correct? EDIT I have another key:
XboxHDKey d0 f3 f9 9a 03 20 41 b7 a4 70 bd eb 1b b3 cc ac
Should I be using this one?
View 1 Replies
ADVERTISEMENT
Sep 10, 2011
On a Powerbook G4, I set hdparm to set the filesystem readahead (-a) to the maximum 2048 on boot. This produces a visible increase in performance... But today the hard drive started acting up - first generating I/O errors when trying to access various system binaries, and the second time bringing the desktop to a standstill and emitting loud clunking noises.In both cases the drive worked normally after a reboot... Even so, these are not what I'd consider good signs. However, the computer was working perfectly up until now, so I'm wondering if my tweaking was responsible. Can overly aggressive filesystem readahead settings damage an IDE hard drive?
View 2 Replies
View Related
Jul 16, 2010
I'm testing OpenSUSE 11.3 on a server and I'd like to disable the write cache on all of my drives. In Ubuntu Server I was able to accomplish this with hdparm by adding the appropriate settings to /etc/hdparm.conf
As far as I can find the only thing that OpenSUSE offers is /etc/sysconfig/ide which allows you to force particular DMA modes. I could just put the hdparm commands in /etc/init.d/boot.local but I'd prefer to do it the right way if there is a right way to do this in OpenSUSE.
View 2 Replies
View Related
Jan 11, 2011
can hdparm do secure erase on just a partition or does it have to be the whole drive?
View 5 Replies
View Related
Apr 19, 2010
I've been using ubuntu for the past year now but unfortunately I have to confess I never had to compile anything from scratch. I bought a new intel SSD drive and I've been running some benchmarks on it with various fs. The new hdparm version has a few features that I'd like to test (TRIM/wiper) but I don't know how to install it as it's not in the repositories. I've been googling for almost 4hrs now but I still haven't found a way to do it.
I've downloaded the tar.gz file from sourceforge and I've decompressed it. Inside, it was a debian folder but there was no .deb file in it. Anyway I did a "make hdparm" and it compiled with no errors. It gave me an "hdparm" executable which works fine if I call it with the full path. what's the proper way to install it in place of the already apt-get installed package?
View 2 Replies
View Related
Nov 13, 2010
How do I unlock Yum without booting?
View 4 Replies
View Related
Nov 11, 2010
how do i unlock a log file so i can clear its contents?and how do i get the list in the log file to open the listing so the latest entry is at the top?
View 3 Replies
View Related
Dec 12, 2010
Im wanting to put HDD's to sleep using hdparm after 20min of activity (a 4x disk raid5 array and two single disks). I have edited /etc/hdparm.conf, adding the following lines at the end of the file:
Code:
#6TB RAID5 POWER DOWN
/dev/disk/by-id/scsi-SATA_ST32000542AS_5XW0T1R6 {
spindown_time = 240
[code]....
Code:
sudo hdparm -y /dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJDWQ411622
The HDD's will sleep with out issue. Ive looked around my log files and cant seem to find anything to do with hdparm, or the HDD's sleeping. Have I make a mistake in the .conf file? Is there some place hdparm logs, or if I can activate some sort of verbose mode? Or does hdparm need to be activated on boot?
EDIT: I'm using ubuntu 10.04.1 x64 last updated today.
View 5 Replies
View Related
Feb 6, 2011
I'm using hdparm -Y /dev/sda1 to force one of my HDDs to sleep upon system startup, but some process accesses it and it is turned on again. How can I disable the automatic startup of HDDs?
View 1 Replies
View Related
Mar 3, 2010
I have approx. 30x Western Digital SATA 2.5" hard drives ranging from 80GB to 500GB. These are ex-Tandberg RDX QuikStor backup drives that I no longer use and would like to use them as spare laptop hard drives.The only problem is upon installing the drive in a laptop it prompts for a hard drive user password.
Are there any open source methods to wipe the password (and data; I don't care about that)? I've tried using various wiping methods (dd, dban etc.) but the password still remains.Any help is greatly appreciated; I really need these drives.Plugging it in via a USB HDD enclosure shows as /dev/sdb but does not respond to (c)fdisk or show any partitions (/dev/sdb1 etc).
View 14 Replies
View Related
May 24, 2011
I'm experimenting with the passwd command to become more failure it.created an user account that had no password to practice on. I tried using the -u option to unlock it go the response:Cannot unlock the password for 'duplicateTest'!Read the man page and it instructs me to add the -f option to force it to accept unlocking an account with no password but !. I type in:passwd -uf duplicateTestThe response is:passwd: invalid option-- 'f'I rearranging the options and it prompted me to enter a change of finger information. Tried separating them, bracketing them ect...no dice.Can't find anything else on the net but what is stated on the man page, to add the force option.
View 2 Replies
View Related
Aug 6, 2011
how to unlock reliance EC 150 dongal
View 1 Replies
View Related
Mar 2, 2010
I'm trying to make sure I don't screw anything up. When I type in the following into the terminal:
sudo hdparm -M 128 /dev/sda
Are the changes permanent, even if I restart? If not, how can I make sure it is permanent? I've read of going into the /etc/hdparm.conf file and editing it, but what exactly do I type and where should it be put in the file?
View 3 Replies
View Related
Sep 17, 2010
I'm connecting via ssh to an Ubuntu server that has a physical display attached.I'd like the physical display of the server to remain locked while I'm connected remotely.Is this possible? How? Also, is there a way to automatically unlock the screen for the VNC session, which is made from localhost via an ssh tunnel?
View 1 Replies
View Related
Sep 17, 2010
I have hdparm running and see the reading in gkrellm
.dev/sda = 36 celcius
in messages
smartd[2895]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 108 to 107
Where to change that smartd reading?
View 1 Replies
View Related
Jan 7, 2010
I have SSDs connect to my Linux machine through the LSI SAS/SATA 1068E controller. I've been trying to issue a ATA secure erase command to my SSDs, but I keep getting error. In fact even hdparm -i fails.
# hdparm -i /dev/sda
/dev/sda:
HDIO_DRIVE_CMD(identify) failed: Invalid exchange
HDIO_GET_IDENTITY failed: Invalid argument
Initially I thought there was some kernel configuration issue, so I tried connecting a SSD to the on board SATA and I no longer get errors. The secure erase worked. It seems there is some compatibility issue with hdparm and the LSI controller/driver I'm using. Any way to make hdparm play nice with my LSI controller? Has anyone had success getting hdparm to work with drives connected to an LSI controller?
Additianal info:
Linux Kernel: 2.6.30
hdparm: v9.27
LSI driver: Fusion MPT SAS Host driver 3.04.07
View 4 Replies
View Related
Jan 26, 2016
I have set up a hdparm configuration file ( /etc/udev/rules.d/50-hdparm.rules ) with :
Code: Select allACTION=="add", SUBSYSTEM=="block", KERNEL=="sda", RUN+="/usr/bin/hdparm -B 255 -S 0 /dev/sda" .
This works correct when I power on my system, however after waking my computer from sleep mode , /dev/sda appears to operate with APM .
Is there a way I can make this setting to be persistent ,i.e. APM disabled when waking up from sleep mode?
I am running Debian Jessie x64.
View 3 Replies
View Related
Feb 17, 2011
I've just put together a 10.04 server using a GA-D525TUD atom board. I've installed gnome desktop too. I'm trying to get 4 sata drives to go into standby, but hdparm seems to be ignoring the settings. If i issue hdparm -y /dev/sdx the drive duly goes into standby and stays in standby until accessed. I've put entries in rc.local along with the hdparm.conf settings, but still no joy.
Hdparm.conf:
/dev/sdb {
spindown_time = 244
}
[code]....
View 9 Replies
View Related
Oct 13, 2010
I have some general question with with quite an impact for the system I use I have a media server with 2 raid1 mirrors of 2 1 To disk aggregated with lvm and used by a big 2 To ext3 partition.A few days ago, munin (awesome!) started to send me notifications about smart attributes of some disks. Fyi, here's my hdparm.conf:
/dev/sda {
spindown_time = 54
}
/dev/sdb {
[code]...
regarding reliability and disk longevity, is it recommended to have them spin down while not used (most of the day, as these are storage unit for movies, pictures, documents..) or let them spin whatever.. ? Those are WD green and according to Tom' Hardware, the consumption is only slightly greater in idle compared to standby. The other question, (boat one as we say in french ) what is the best configuration here ? My 2 raid 1 stripes, or a raid 5 ? I know that two disks kill the raid 5, and they have to be of the same stripe to kill the lvm on the raid1, but what are the odds ?
View 3 Replies
View Related
Jan 23, 2009
I have tried issuing this command:
[root@C5 ~]# hdparm -a 256 -d 1 -r 0 -k 0 -u 0 -c 1 -A 1 -K 0 -P 0 -X 66 -W 0 -S 0 /dev/sda
/dev/sda:
setting fs readahead to 256
setting 32-bit IO_support flag to 1
[code]....
Note that setting most of the parameters fails - and it still appears to be in 16 bit PIO mode. Am I using the wrong tool here - or incorrect parameters - or are the results misleading? Is there some other interpretation?
View 4 Replies
View Related
Jun 30, 2011
I'm using Ubuntu 10.04LTS. I'm trying to configure my chat accounts. But after entering username and password, it is asking "Enter password to unlock your login keyring". I have entered my login password. But it is saying that "The password you use to log in to your computer no longer matches that of your login keyring."
View 4 Replies
View Related
Feb 5, 2010
So I have an external hard-drive, and I want to run the setup for the unlock.exe (allows access to the drive), but when I go to wine it, I get this message: "The application has encountered an unexpected error and is now exiting."
View 1 Replies
View Related
Oct 22, 2010
I'm trying to unlock certain folders that I'm trying to delete but can't. How do I do this? It looks like this:
View 6 Replies
View Related
Feb 7, 2011
I have a huawei E220 3g modem, bt It's locked. How can I unlock this with ubuntu 10.04
View 9 Replies
View Related
Jul 14, 2011
I have an Xubuntu 10.10 File server / Media centre which I have set up to automatically lock the screen at 1am so the teenagers dont stay up all night watching movie and then being tired for school.My problem is I dont know how to automatically unlock it or how to unlock it through SSH.Usually I just manually unlock it every morning as I walk out the door but sometimes I forget and then can't unlock it from home.Kids come home from school while I'm at work and then cant watch movies or shows.How do I get it to automatically unlock the screensaver / screen lock?How do I unlock it through SSH without using VNC?BTW I cant get VNC working anymore since I upgraded to 10.10 with a fresh install either.
View 2 Replies
View Related
Aug 7, 2011
If i've accidentally deleted the vboxusers group off my list in System-> Administration, is there a way to get it back? I really need to unlock my USB ports for my VM.
View 3 Replies
View Related
Jul 2, 2010
I recently installed Debian Squeeze on my HP laptop (I had been using Ubuntu) and most everything has been operating just as one would expect. There has been one noticeable problem though. If I set the power management settings, in Gnome, to suspend on lid close, and also have the screensaver set to lock the screen when active, when I reopen the lid the screen just stays black. No matter what keys I press there is no response at all, and I have to switch to a console via Ctrl-Alt-Fn and then back again, which will finally bring up the login box.
View 14 Replies
View Related
Sep 11, 2009
I just get F11 installed in my laptop, X60 IBM. I have trouble get to connect my wireless network. When I try to connect my router using network manager, it comes up with a screen call unlock keyring window and ask for password. Can somebody tell me where can I get the keyring password. I have try router password, root password and sudo password and it would not unlock. network manager show I have wireless set up and enable.
View 9 Replies
View Related
Nov 17, 2010
ive seen numerous posts regarding this but they are dated w/ mostly dead linksi just installed accountsdialog and enabled autologin, which works to a point, but as soon as the desktop appears i get a dialog similair to:''enter password for default keyring unlock"itd be great to fix this so no passwords are required,=>http://fedoraproject.org/wiki/Featur...rAccountDialog*editappears to only be occurring to activate wifi connection
View 1 Replies
View Related
Jul 19, 2011
I used playonlinux for a manual install of a game that needs more than one cd. I can't eject to install the next cd in line. How do I unlock the drive? I'm now in the middle of installing.
View 2 Replies
View Related