Right Now I'm using hdparm command in unix to shut down the hard disk but there are few issues with it.
when it wakes back up it consumes
lots power. Is there any other way
to do it?
Many times when I put my
hard disk to sleep, I can see few
bursts at the beginning and then
after a while it goes to sleep. I
think its because of the journaling
system in ubuntu (which I use) Have
anybody encountered that?
What would
be the best linux/unix operating
system (eg: ubuntu/centos/redhat) to
work on extensive hard disk
operations?
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?
after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work
I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.
I was using Terminal and browsing a directory in my home folder. My "home" directory is located on "/dev/sdb1". When in Terminal I typed "ls" in one of my directories and the output was garbage. The output didn't show the files in the directory. I think it said something like, "input/output error". Unfortunately, I didn't write the exact error down. Instead I rebooted.The hard disk with the problem is:
Code: $ sudo hdparm -I /dev/sdb [sudo] password for brian:
I've been running Debian Squeeze for the past couple of months. I decided to use a ReiserFS (not sure if it's relevant) and had a few problems where I had to hold the power button to shut down the computer. After that the system was not the same and froze from time to time (long periods of freezing) forcing me to hold the power button to shut down the computer, again.
Now, after /dev, /sbin...etc... not being found root not exiting, I have decided to do a new install, however, after several attempts at setting up new partition tables, deleting data on the HD and re-installing, I have failed. Maybe someone can give me some input... here are is my /var/log/syslog from when I ran the Debian install disk: pastebin - syslog - post number 1941832 (I think the end is most relevant).
In the mean time I am going to delete data on the current partitions (if I can) and try to re-install.
I'm just curious - why do all linux distros (all I've seen) run their periodic disk checks during boot? I mean, I understand that a disk should be checked now and then, but why does the system do it during boot, when I'm waiting for it to load, instead of checking them during shutdown, when (most probably) user doesn't need the computer anymore.
I have a netbook I'm not using and which I transformed into a server with Apache, Tomcat6, Netatalk, Webmin, BIND9 and Tor.
Problem is, the disks never stop spinning because all of the programs write a few kb at least every few seconds to disk, even when nobody is connected to it.
My question is: Is there a way to have the computer boot from disk like normal (maybe even a squashfs), keep ALL CHANGES to ram and then save to disk when either the ram is full (unlikely because the server is rebooted every few days) or at shutdown?
I thought about a mixture of ramfs and unionfs but I'm not good enough yet...
My SSD HD supports ATA Security. Does Macbook EFI and linux support it? I know hdparm does. Who will do the unlock at each bootup? Can I still set a password without erasing the disk?
Update: removed "SED full hard disk encryption" from the title based on comment by @ataboy. Some might still refer to this ATA security incorrectly as "encryption" however.
I need to take an image from my laptop hard disk which has Linux SUSE installed , and I want to restore the image to another laptop (which is the same as mine). how can I do this ? in Windows environment , many programs can do this easily , but I don't know how to do this in Linux .
Well appears to be that i have two partitions..one of 300gb i did on windows time ago and one of 100gb where i place my DEBIAN LENNY 5.0, the problem is that i cannot write into it..only i can copy stuff from it.
I have just installed linux mint. original os was win vista and 3 hard disk partitions but after installing the partitions cant be seen and neither can be accessed.
I have two SATA hard-disk drives attached to my server as shown in the following :
[root@cl-185 /]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 222G 166G 45G 79% / tmpfs 2.0G 0 2.0G 0% /dev/shm [root@cl-185 /]# fdisk -l | grep Disk Disk /dev/sda: 250.0 GB, 250000000000 bytes Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
Now, being a linux noob I need help on two questions :
1). Why only 'sda1' is shown when using df -h to get disk space usage, and what else needs to be done to check stats for 'sdb' ?
2). My PHP script needs to save a lot of 'cache' files, how to make the script use the second disk for saving the files - I mean what path should I edit in my script (current is '/var/www/html/tmp')
I want to make the transition from windows (sick of it). Im using Lenovo G530 Laptop and was wondering which would be the best Linux Os (meaning Ubuntu, fedora or something else). Keep in mind that I mostly use my laptop for college work and a lot of video and audio editing. I also want to be able to run Dual operating system (meaning that I wanna run both Linux and Windows) from the same computer as it might be easier for me to make the transition a little bit more easier. That being said I need someone to give me tutorials (video preferred) on how to make the partitions on the hard disk and step by step instruction on how to install both the two OS in my laptop.
I am new to the Linux world and I am not sure if what I am trying to do is achievable or not. I am trying to make an image of my existing drives running Linux on a USB and I want to use the same image off the USB to clone more bootable hard drives. Something like what Ghost does in windows. The problem is using 'dd' the image is too big ( I have 1tb drives ) and then I am not sure how to convert these images back on to new drives so that they boot in the OS as well. i am not sure if there is a utility that would let you do that?
I have 2 IDE drives, Windows XP is on the Master drive & Fedora 12 is on a partition the other drive. I purposely installed the Linux boot loader on the same drive as Fedora because want to use NTLDR as the primary boot loader. According to a guide I found [URL], I should be able to copy the Linux boot sector to a file & put that copy on the Windows drive & then modify boot.ini, so I am prompted to with an OS choice a startup.
The problem is the command the guide gives to copy the Linux boot sector (dd if=/dev/hdb1 of=bootsect.lnx size=512 count=1) has outdated syntax and does not work. What syntax would make this command work in Fedora 12? Another guide I found ([URL]-vista-already) suggested using: Grub4Dos & modifying boot.ini. This method almost worked until grub gave an error that there was no kernel loaded. What would I type into the grub prompt to load the kernel? How would I automate the loading of the kernel, so I don't have to specify the kernel each time?
I am developing a program which can access the SATA-hard disk. I have to use the /dev/sda interface for accessing the hard disk. What are all the commands i can use to perform the sector read, write (Both DMA and PIO), sending the smart commands etc. Or is there any easier way?
I saw that i can make use of hdparm call for getting some of the attributes.
I am having 2 Hard Disk 1 is having RHEL 5 Installed And 2nd is having Windows XP, now i want to dual boot my PC with the help of this two Hard Disk? Can i Dual Boot with RHEL & Win XP having Installed in 2 different HD? what is the Procedure?
When installing Linux,sometimes i tried to install that on my second hard disk, which is set to be a dynamic disk(named hdb),but a message said that: root is not defined for hdb. -What does that mean? Does it mean that a Linux driver must be opened on that hard disk? if so:where do i find a linux driver
I have Fedora 14 installed. I'm trying to install CentOS 5.5 from the hard disk. I copied the seven part iso to the /iso. I didn't create a directory in the /iso. I ran the md5sum on the seven parts and compared it with the md5sum that is provided on the website and they are all identical.
When I tried to install from the hard problem, the first thing is instead of sda1,2,3,5 I found the following options:
well, I selected /dev/hda2 and left the directory blank. The images can't be found. What am I doing wrong? And why is the difference between sda in the partition and hda in the installation?
I want to install knoppix on my hard disk of my netbook, I did manage to boot knoppix from usb to a live session. But when I try to install it, it says my hard disk does not have a compatible partion table or something.