Top Forums UNIX for Dummies Questions & Answers Set internal hard drives unaccessible to imager Post 302591756 by traustic on Friday 20th of January 2012 12:36:04 PM
Set internal hard drives unaccessible to imager

Looking for some clues on how to set my internal hard drives inaccessible/busy to clonezilla. Noprobe doesn't work in startup and the drive is still found.

I know I can find all hard drives using the following:

sudo fdisk -l | grep GB | awk '{print $2}' | grep -Po "^[^:]+(?=:?)"

I tried mounting the drive to make it busy and inaccessible to clonezilla but the fs can't be determined. It is a windows xp install but it is also encrypted on bootup. I tried vfat, ntfs, ntfs-3, etc with no luck.

So another option is how do I make clonezilla not probe internal hard drives? I'm unfamiliar with recompiling source code and hope it doesn't come to that to disable hdd controllers.
Test Your Knowledge in Computers #580
Difficulty: Easy
A file is a block of data used for storing information.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hard drives

Will some one tell me what this means. "warning: ida 0 <slot 6> : command timed out on dev 1/42 blk 4824290 logical unit=0 blocks=5512102, size 2, cmd=0x20." I'm running SCO 505 on a proliant 1600r. Thnank you in advance. (3 Replies)
Discussion started by: franruiz
3 Replies

2. Linux

No Hard Drives Have Been Found

I am using an Acer Aspire 4720Z with two partitions C and D. Windows is installed on C and I decided to install Red Hat Linux 9 in partition D. The two partitions are in NTFS file system. During my installation of the the Linux, a prompt was displayed on screen with the message: "No hard drives... (2 Replies)
Discussion started by: tamcomng
2 Replies

3. Filesystems, Disks and Memory

Opinions on Internal SCSI Tape Drives for FreeBSD home server?

Any recommend manufacturers for an internal SCSI tape drive in my FreeBSD 7.0 home server? Besides RAID-1, Iím not backing-up, but man, are they expensive! What makes a tape drive so darn pricy? There is no way I can afford a new drive so Iíll start looking on eBay and craigslist to see if there... (3 Replies)
Discussion started by: Aaron Van
3 Replies

4. Solaris

formating and repartitioning an external hard drives

Version: solaris 10 x86 I just got a western digital external harddrive formated with fat 32. this drive came with some setup files which is meant for windows or mac. I want to reformat and partition this drive into two ( for solaris and windows) such that the setup files will still be there... (2 Replies)
Discussion started by: seyiisq
2 Replies

5. Filesystems, Disks and Memory

Help adding new hard drives

Folks; I just added 2 physical new hard drives to my SUSE server. My server is already running SUSE 10.3 version. Is there a command i can use to add the new space or even see if the system can sees them? (3 Replies)
Discussion started by: Katkota
3 Replies

6. UNIX for Dummies Questions & Answers

How to set server's ip address, router, network mask and set if it is an internal or external ip?

Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b: I stopped at .. :( #!/bin/sh A=`hostname -i` echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies

7. Solaris

Reinstall old hard drives

I have a T2000 Sun-Fire server. I have 2 sets of drives in a raid 1. Lets call them Set A and Set B. I had Set A installed and working. I needed a new install so I so build up Set B. After some time I wanted to put Set A back in the server. Now the system will not boot off of Set A. I tried to boot... (7 Replies)
Discussion started by: stu1811
7 Replies

8. Hardware

Hard Drives and MBR

Hello everyone. I have a question which I may know the answer to, I'm just looking for a confirmation. When it comes to the MBR of a hard drive, i've read in multiple sources that it's always located in the first sector of the hard drive. Is the MBR there from the factory? When I buy a new blank... (3 Replies)
Discussion started by: Lost in Cyberia
3 Replies

9. Solaris

Solaris 8 - Accessing Hard Drives

Hi, I have two SCSI Hard Drives in a Sun Solaris 8 server as shown below. I would like to access Disk1 and look at its contents, directory structure and files. How do I change my default directory from Disk 0 to Disk 1 and vice versa? Thank you. (5 Replies)
Discussion started by: ssabet
5 Replies

10. UNIX for Beginners Questions & Answers

Understanding volumes and hard drives

Ok so i thought i was smart but i can tell I need some help. I am playing around with understanding lvm and adding disks to a linux box. I added a disk and then ran what i thought were commands to add this disk to the box but I think I messed up and would like some help. My question is did i... (5 Replies)
Discussion started by: cptkirkh
5 Replies
HDDTEMP(8)                                                    System Manager's Manual                                                   HDDTEMP(8)

hddtemp - Utility to monitor hard drive temperature SYNOPSIS
hddtemp [options] [type:]disk... DESCRIPTION
hddtemp will give you the temperature of your hard drive by reading Self-Monitoring Analysis and Reporting Technology (S.M.A.R.T.) infor- mation on drives that support this feature. Only modern hard drives have a temperature sensor. hddtemp supports reading S.M.A.R.T. information from SCSI drives too. hddtemp can work as simple command line tool or as a daemon. You can specify one or more device drive path, where each path can be prefixed with a type like PATA, SATA or SCSI to force hddtemp too use one of these type (because detection can fail). OPTIONS
The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -b, --drivebase Display the database file that allows hddtemp to recognize a supported drive. -D, --debug Display various S.M.A.R.T. fields and their values. Useful for finding a value that seems to match the temperature and/or to send a report. (done for every drive supplied) -d, --daemon Execute hddtemp in TCP/IP daemon mode (port 7634 by default). -f, --file=file Specify the database file to use. -F, --foreground Don't fork into the background even in daemon mode. This is useful when running under a process supervisor. -l, --listen=addr Listen on a specific address. addr is a string containing a host name or a numeric host address string. The numeric host address string is a dotted-decimal IPv4 address or an IPv6 hex address. -n, --numeric Print only the temperature (without the unit). -p, --port=# Port number to listen to (in TCP/IP daemon mode). -s, --separator=char Separator to use between fields (in TCP/IP daemon mode). The default separator is `|'. -S, --syslog=s Switch to daemon mode and log temperatures to syslog every s seconds. -q, --quiet Don't check if the drive is supported. -u, --unit=C|F Force output temperature either in Celsius or Fahrenheit. -v, --version Display hddtemp version number. -w, --wake-up Wake-up the drive if needed (ATA drives only). -4 Listen on IPv4 sockets only. -6 Listen on IPv6 sockets only. DRIVE DATABASE
If you know your drive has a temperature sensor but it is being reported unsupported, tell me which model and which manufacturer it is, and/or just add a new entry in /etc/hddtemp.db. Each line of hddtemp.db is either a comment, a blank line or a line containing: - a regular expression that allow hddtemp to recognize a drive or a set of drives from its model name or from a generic model name, - a value (ATTRIBUTE_ID from S.M.A.R.T.), - a C or an F to set the unit to Celsius or Fahrenheit, - a description. Feedback is welcome (see the REPORT section below). TCP
/IP DAEMON MODE Example of type forcing: # hddtemp SATA:/dev/sda PATA:/dev/hda To test hddtemp in daemon mode, start it like this: # hddtemp -d /dev/hd[abcd] and use telnet or netcat (which is known as nc on some systems) to get a reply: # netcat localhost 7634 The drive database is read only once at startup, so hddtemp must be restarted if the database is updated for the changes to take effect. REPORT
As I receive a lot of reports, things must be clarified. When running hddtemp with debug options, hddtemp will show sort of a dump of S.M.A.R.T. data. Each field corresponds to an information field. The standard field for drive temperature is 194. But this is not always the case (mostly for older drives). Even if your drive has S.M.A.R.T. capabilities, it doesn't necessarily mean that it can report its temperature. So, things must be determined through experimentation. So, you can try to guess which field by is the good one by running hddtemp at regular intervals: - just after starting up your PC/server/station, - after opening a window (a physical window :), - after opening the case, - whatever you can think of... and looking for a field's value that would increase or decrease depending on what effect you want to induce. Be careful, fields 4, 9, and 12 are often reported to match a temperature field but after some investigation they do not. But fields 194 (which is the standard field for temperature) and 231 are good candidates. Then, you can send me a report with outputs from `hddtemp --debug ...', `smartctl' or `hdparm -i ...', and/or add an entry in hddtemp.db yourself. BUGS
If hddtemp crashes (yes, it might) for some unknown reasons, look for a file named hddtemp.backtrace.<PID>.XXXXXX (where XXXXXX is a random number generated at runtime) in /tmp. Then, you can then send me this file and the hddtemp binary. The backtrace functionality is cur- rently supported on i386 architectures only. SEE ALSO
smartctl(8), syslog(3), syslogd(8). AUTHOR
Emmanuel Varagnat ( This manual page was originally written by Aurelien Jarno <>, for the Debian GNU/Linux system (but may be used by oth- ers). July 21, 2003 HDDTEMP(8)

Featured Tech Videos

All times are GMT -4. The time now is 10:57 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy