| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 79256 | 2007-05-14 05:09:00 | Kernel Panic. (linux server crash) | sjaxso (11577) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 549693 | 2007-05-14 11:48:00 | Not starting a distro argument - I think the Fedora rescue disks still try to use the installed kernel don't they (maybe wrong). Knoppix boots entirely off the CD-ROM - it is worth a go to recover files. |
johnd (85) | ||
| 549694 | 2007-05-15 03:26:00 | Not starting a distro argument - I think the Fedora rescue disks still try to use the installed kernel don't they (maybe wrong). Knoppix boots entirely off the CD-ROM - it is worth a go to recover files. OK, cool. I picked up ubuntu from the cover of a magazine and it runs as a live CD... This is where I'm at: I have two SATA disks set up as a logical volume - VolGroup00. I came in one morning and it was locked up - I rebooted and got a kernel panic, couldn't find the filesystem: ____ 2 Logical Volumes now active VF: Can't find ext3 filesystem on dev dm-0 mount: error mounting /dev/root on /sysroot as ext3: Invalid argument -- Kernel panic - not synching: Attempted to kill init! ____ My grub config (on disk1) looks like this: ___ # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.20-1.2307.fc5) root (hd0,0) kernel /vmlinuz-2.6.20-1.2307.fc5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.20-1.2307.fc5.img title Fedora Core (2.6.18-1.2239.fc5) root (hd0,0) kernel /vmlinuz-2.6.18-1.2239.fc5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.18-1.2239.fc5.img _______ It's logical disk business that is throwing me. I've mounted and can see both HDDs, here - ubuntu@ubuntu:/mnt/disk1$ ls config-2.6.18-1.2239.fc5 lost+found config-2.6.20-1.2307.fc5 System.map-2.6.18-1.2239.fc5 grub System.map-2.6.20-1.2307.fc5 initrd-2.6.18-1.2239.fc5.img vmlinuz-2.6.18-1.2239.fc5 initrd-2.6.20-1.2307.fc5.img vmlinuz-2.6.20-1.2307.fc5 ubuntu@ubuntu:/mnt/disk2$ ls -l total 0 - So this is what I don't understand. Disk 2 appears empty, which makes sense because I don't have a great deal of data on the system anyway... But where is the filesystem? I mean, where are my files? If I can just liberate my data, I'll be laughing. Can you give me a shove in the right direction? I'm struggling, but keen to get my hands dirty and fix it myself, you know? All advice appreciated guys. It really is. |
sjaxso (11577) | ||
| 549695 | 2007-05-15 06:10:00 | If the original disks were set up in some form of RAID configuration, Ubuntu liveCD may not allow you access to them ( not sure ) So - try unplugging ONE of the SATA drives, then boot from the ubuntu cd. If nothing found - shut down and plug said drive back in, and unplug the other one. Trial and error works (for me ) in time of crisis! :) |
racepics (7812) | ||
| 549696 | 2007-05-15 06:25:00 | You should have a look and see what partitions are there. Those files you see are just those used in the first stage of the boot process, and are in a different partition, "/boot", totally separate from your system and data partitions. | Graham L (2) | ||
| 549697 | 2007-05-15 08:40:00 | OK. I can see the drives under ubuntu LiveCD: drive 1 has a ext3 partition for the /boot, and a seperate partition which the system does not recognise. I've tried mounting that, and it tells me that I must specify the filetype. The flag is 'lvm'. Logical Volume Manager? Disk 2 is entirely unrecognised, can't mount that at all. I've removed the logical volume, but the filetype is still unrecognised... |
sjaxso (11577) | ||
| 549698 | 2007-05-15 09:06:00 | I was in another room and asked my staff to tell me what the error said. She thought it was hilarious. "Attempted to kill, init" But they are. I have a friend who teaches Unix and Linux. Even he has fun with some of the errors, not to mention some of the commands.:D |
pctek (84) | ||
| 549699 | 2007-05-15 09:18:00 | But they are. I have a friend who teaches Unix and Linux. Even he has fun with some of the errors, not to mention some of the commands.:D Might be something to do with the original sense of humour of the AT&T programmers who created the first Unix commands back in 1969 |
winmacguy (3367) | ||
| 1 2 | |||||