Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 was following a guide enabling some hdparm parameters i probably should have, and now I cannot boot...tons of errors while loading shared libraries for agetty. Then it stops saying trying to respawn to fast, pausing for 5 minutes...I never waited the 5 minutes, but I have a feeling my drive is totally screwed up now...I have a lot of important data that I must recover if a reinstall is necessary. Please any advice would be helpful...I'm not sure what to do or where to begin. Thanks.
do you have a rescue disk ?
if not there should be a linux rescue disk image on your install cd's
or optionally, download a rescue disk image.
OR, somthing like a live linux cd such as KNOPPIX or Damn-Small-Linux (DSL) would be perfect !
boot your live distro or rescue floppy and copy all your vital data to some other medium..... floppies or a spare hard disk, or if u have KNOPPIX or somthing with cd-writing software you can backup onto CD.
maybe the best thing to do would be to just backup your entire home directory.
anyway, once thats done, you can attempt to fix the damage you caused without worry.
please post exactly all the changes you made to the system that caused this boot error.
(optionally, just re-install, somtimes its faster to re-install)
Thanks for the reply. I copied the entire disk with dd to another drive of the smae size. I am booted in SystemRestoreCd (gentoo-based live cd) right now positng this. I am positive this is hdparm's doing, as I rebooted directly before and after the hdparm changes. The hdparm command I used was:
SO. you are saying that you entered that command into a shell prompt ?
Any changes you make to hdparm are reset to default on re-boot.
if you entered that command into a bootup config file, like anything in /etc/rc.d/rc.local then simply remove the line and drive will return to stay default dureing boot.
HOWEVER... if you didnt add that line to a bootup config script, then a reboot would have re-set the disk to defaults, and STILL caused a crash.
i havent looked up exactly what you have done, but it seems to me, that you made a bad change to hdparm, which damaged some files.
-A Disable/enable the IDE drive’s read-lookahead feature (usually
ON by default).
why did you use this flag?? and this was not a good idea either......
Code:
-u Get/set interrupt-unmask flag for the drive. A setting of 1
permits the driver to unmask other interrupts during processing
of a disk interrupt, which greatly improves Linux’s responsive-
ness and eliminates "serial port overrun" errors. Use this fea-
ture with caution: some drive/controller combinations do not
tolerate the increased I/O latencies possible when this feature
is enabled, resulting in massive filesystem corruption. In par-
ticular, CMD-640B and RZ1000 (E)IDE interfaces can be unreliable
(due to a hardware flaw) when this option is used with kernel
versions earlier than 2.0.13. Disabling the IDE prefetch fea-
ture of these interfaces (usually a BIOS/CMOS setting) provides
a safe fix for the problem for use with earlier kernels.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.