Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 11-30-2003, 03:48 PM   #1
Registered: Aug 2003
Distribution: Red Hat, Debian & Mandrake
Posts: 47

Rep: Reputation: 15
Mandrake 9.2 - dead hard disk

Hi all,

Ok heres my problem. I have a server running mandrake 9.2 a hard disk died with the swap partition on. I got another hard disk, stuck it in, booted into rescue and put a new swap partition on there.

I reboot, both in normal and failsafe and this happens,

Normal startup until it comes to a message saying something about /dev/sdc1 (the swap partition) having errors, do you want to check Y/N?

I select N and it freezes there, if I select yes, messages appear on the screen quicker than I can take them down and then it stops with

Code: Bad EIP value.
<0>Kernel Panic: Aiee, killing interupt handler!
In interupt handler, not syncing

Sorry for being a bit vague, if there is any logs you want just tell me where to find them and ill get them for you.

The setup is as follows;

4GB hard disk / (dev/sda)
36GB hard disk /music (dev/sdb)
4GB hard disk swap partition 100meg and the rest empty (dev/sdc)
10GB hard disk /docs (dev/hdd)
CD-ROM (dev/hda)

I want to try and fix the system without reinstalling as I have alot setup on there.

Thanks in advance

Old 11-30-2003, 07:44 PM   #2
LQ Newbie
Registered: Nov 2003
Posts: 15

Rep: Reputation: 0
Which is the HD that died?
If you created a new swap partition, I guess that you have declared it to the system in the /etc/fstab file, haven't you?
Because if you haven't, then the kernel, at boot time, will try to mount the dead swap partition.
You can find the main .log files in /var/log/
Old 11-30-2003, 08:22 PM   #3
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
if you have enought ram to boot without the swap disk, you can
comment out the line for loading it in /etc/fstab.

fdisk -l will list all your partitions as linux sees them.

mkswap /dev/??? makes the swap partition swappable.

swapon /dev/??? starts it up. thats how you can troubleshoot it.

when you get something working right, you can change what you
need in fstab.
Old 11-30-2003, 10:24 PM   #4
Registered: Oct 2003
Distribution: Gentoo, Mint, Ubuntu, Vector
Posts: 174

Rep: Reputation: 17
thought I could help... but couldn't

Last edited by Gary987; 11-30-2003 at 10:27 PM.
Old 12-01-2003, 01:21 PM   #5
Registered: Aug 2003
Distribution: Red Hat, Debian & Mandrake
Posts: 47

Original Poster
Rep: Reputation: 15
Thank you for all of your help, I just commented out the line for the swap and now I get the following error, I am not sure if this is to do with the swap disk dying or whether its a totally different unrelated error; During boot it fails and comes up with this,

getpwnam failed for root
grsec: attempted resouce overstep by requesting 4096 for RLIMIT_CORE against limit 0 by (pam_console_app:404) uid/euid:0/0 gid/egid:0/0, parent (rc.sysinit:20) uid/euid:0/0 gid/egid:0/0
/etc/rc.d rc.sysinit: line 874:
404 Segmentation Fault
/sbin/pam_console_apply -r
chgrp: invalid group name 'utmp'

The hard disk that died was /dev/sdc1 and ONLY had a swap partition on it the rest was unformatted.

I really want to revive this server without reinstalling linux on it, if you can help me to do that, it would be fantastic.

Thanks so far

Old 12-02-2003, 11:14 AM   #6
Registered: Aug 2003
Distribution: Red Hat, Debian & Mandrake
Posts: 47

Original Poster
Rep: Reputation: 15
I left the server for a while after that and it continued loading, after half an hour of loading (and still hadnt finished) it gave up after about 25 errors.

I think it might be corrupt files from the server crashing as the hard disk died.

I was going to reinstall mandrake 9.2, but instead have opted for slackware, I have built a computer with this before and it was a good distro, so ill give it a test run on the server. I have been using mandrake since 6, so I am used to text based installs and this looks like it could make an excellent server from the onset.
Old 01-18-2004, 04:53 PM   #7
Registered: Oct 2003
Location: London, UK
Distribution: Debian Sarge & Mac OS X 10.3.8
Posts: 31

Rep: Reputation: 15

I was thinking that if you ran the mandrake install while using the option to upgrade, you should repair the system and preserve your settings/partitions (depending on your choices in diskdrake).

This isn't much you learn from this solution, but you already know its the failed HD at fault.

Take this info with a large pinch of salt. I'm still really green with linux stuff (newbie ;-)


Ps. You may want to double-check with some 'Guru' about this suggestion.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't read off 2nd hard disk (Mandrake 10) illiniguy3043 Linux - Hardware 1 06-28-2004 06:16 PM
hard disk problems on mandrake razod Linux - Hardware 3 06-12-2003 09:58 AM
mandrake hard disk installation from image jang Linux - Software 0 04-01-2003 09:39 PM
installing mandrake from hard disk bele Linux - Distributions 0 01-17-2003 10:19 PM
Adding a hard disk in Mandrake aizkorri Linux - General 3 03-26-2002 04:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration