FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have fedora core 6 installed in my computer. My computer cannot shut down properly whereas all the process can be kill but the kernel cannot properly commmunicate with my hardwre. The power is switch off.
Thanks for your help.
Your help is greatly appreciated by me and others.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
The top of the root partition (/) has a small number of hidden files*. One of them is a zero length file by the name of halt (bad) or poweroff(good). You will not see this file with the root partition mounted. This is why you need something like the SystemRescueCD (link provided earlier) in order to rename or replace with maybe mc (midnight commander).
This can be done by hand, again you need to boot from some sort of rescue media, and mount the root partition so you can replace the file with the zero length poweroff file name.
* the hidden files (from my backup external hard drive) are for example;
-rw-r--r-- 1 root root 0 Feb 7 15:08 .autorelabel
-rw-r--r-- 1 root root 0 Feb 7 15:10 poweroff
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Yes you need to mount the root partition, please follow the directions provided onscreen by the SystemRescueCD;
For example
fdisk -l
mkdir /mnt/fc6
mount -t auto /dev/hdc2 /mnt/fc6
The fdisk command is to get a list of the partitions for all hard drives. The mkdir command is to create a mountpoint (then name does not matter much). The mount command is to mount the root partition (/dev/hdc2 in the example) to the mountpoint (/mnt/fc6 in the example). Adjust the partition to mount to match your actual system.
If you do not understand this then please do not attempt until you do.
I think i get the idea. By the way, why need to mount it to certain directory. Is it have to let the cd access the /root directory ? Sorry for my stupidness.
Thanks for your help.
Your help is greatly appreciated by me and others.
You are right. I have some information would like to share with you. I have installed the graphics cards driver with command yum install kmod-nvidia. After i entered this command, the yum will solved the dependecies for me, the yum choose the kernel 2.6.20 and driver is also match with the driver.
After i have installed the driver, my computer cannot shut down again. Therefore, i try to remove the /mnt/fc6/poweroff and the replace it with /mnt/fc6/halt.
Now, i can shut down my computer properly.
In contrast, kernel 2.6.18 -> /mnt/fc6/poweroff -> perfectly
kernel 2.6.20 -> /mntfc6/halt ->perfectly.
In conclusion, i hope this information may help someone.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.