grub [version 0.97] does not continue loading suse10.2
Hello,
As of this morning my laptop failed to boot, I have tried several reboots and a full energy drainage... None of these work. After my bios has started I get the following screen: Code:
GNU GRUB version 0.97 (639K lower/ 506816 upper memory) Does anyone know how to solve this, or at least how I can recover my files? Sincerely, Frank Stalpers |
Frank
Have you tried the installation disk and choose the Rescue option? If you have let the installer do a full format on the disk again, I suspect your files will be unrecoverable, although I think with a quick format you might be able to get a lot back. As a matter of interest, why are you using a boot loader at all if you only run SuSE? I run SuSE 10.3 and WinXP Pro, but on two different disks. I select which one to boot at the BIOS screen rather than a Boot Loader, since XP often modifies the Master Boot Record and I lose the grub loader. I'm very familiar with XP, but I'm a Linux newbie. However, I seem to recall that when I installed my 64-bit SuSE 10.3, there was an option to not use a separate boot loader and just load linux as the OS. Best I can suggest :-( |
Actually you are pretty well equipped to boot the system up "manually" because you have a Grub prompt.
AFAIK there is no installed PC system that cannot be booted up by a Grub prompt. So how about Find out which partition that has Grub's configuration file by command Code:
find /boot/grub/menu.lst Code:
configfile (hd0,2)/boot/grub/menu.lst Code:
root (hd0,2) Suppose the menu.lst is so corrupted that it simply won't boot but diverts you back to a Grub prompt you can then ask Grub to display it by Code:
cat (hd0,2)/boot/grub/menu.lst You may ask why should you boot a defective menu.lst. The answer is Grub will respond to each line and the one that actrually Grub can execute will then be known. You can then report it and we can advise further. Post the following if you still have the problem (1) output of "fdisk -l", say from any booted up Live Linux (2) /boot/grub/menu.lst of your OpenSuse. (3) /boot/grub/device.map |
The find /boot/grub/menu.lst outputs:
Error 15: File not found |
Then you will examine the geometry of the hard disks with command
Code:
geometry (hd0) It is possible that you might have added extra disk (or disks) to your system resulting the disk order no longer matching the original pattern. Also I suggest you boot up a Live CD and post the output of "fdisk -l" here. The fdisk output should match that from geometry (hd0) etc. There is a small possibility that your laptop hard disk may be in trouble to the point that its partitions are having a problem of being read correctly, say an earlier hardware fault. This could prevent the access of information inside the partitions. The fdisk program is the most robust partitioning tool that will still work while other program like cfdisk packs in. You can use a Bash command, off a Live CD, "cfdisk /dev/sda" to see if the hard disk is in trouble. If it is OK and can be mounted then you should be able to see the /boot/grub/menu.lst inside. A lesser possibility is Grub becomes corrupted. You can restore it by a Live CD using a Grub shell in terminal. The commands are exactly the same I have given to you earlier (ie. root + setup commands) |
geometry (hd0) worked and outputted:
grub> geometry (hd0) drive 0x80: C/H/S = 1023/255/63, The number of sectors = 58605120, LBA Partition num: 0, Filesystem type unknown, partition type 0x82 Partition num: 2, Filesystem type is ext2fs, partition type 0x83 Partition num: 3, Filesystem type is ext2fs, partition type 0x83 Partition num: 4, Filesystem type unknown, partition type 0x82 fdisk -l did nothing cfdisk /dev/hd0 FATAL_ERROR: Cannot opet disk drive Press any key to exit cfdisk I hope this helps Frank |
I have booted a live version of ubuntu. It automatically mounts the partitions which I use in suse. The /home partition is available.
If I open / in the file browser it shows me the folder contents and a message box saying: Unable to mount the volume. Code:
Details Code:
[19382.792000] EXT3-fs: group descriptors corrupted! |
The "fdisk -l" is a Linux command (not a Grub command) and should be issued at a Linux terminal.
Grub is not Linux and calls the 1st disk (hd0), 2nd disk (hd1). The same disks in Linux are called sda and sdb. fdisk and cfdisk programs have to operate on the system and you have to be a root user in order to be able to use them. If you run Code:
cfdisk /dev/sda It appear your partition sda3, (hd0,2) in Grub term, has errors and cannot be mounted. The bad superblock means the filing indexing system has errors resulting the operating system unable to find the files. You have also done something unusual to sda in that partition 0 and 4 are both type 82 (or swap). Only one swap is needed if you have 300 Linux distros. |
cfdisk /dev/sda returns to following:
cfdisk 2.12r Disk Drive: /dev/sda Size: 30005821440 bytes, 30.0 GB Heads: 255 Sectors per Track: 63 Cylinders: 3648 Name Flags Part Type FS Type [Label] Size (MB) ------------------------------------------------------------------------------ sda1 Primary Linux swap / Solaris 493.52 sda3 Boot Primary Linux ext3 11581.20 sda4 Primary Linux ext3 17207.29 sda5 Logical Linux swap / Solaris 723.83 [Bootable] [ Delete ] [ Help ] [Maximize] [ Print ] [ Quit ] [ Type ] [ Units ] [ Write ] Toggle bootable flag of the current partition fdisk -l returned this: Disk /dev/sda: 30.0 GB, 30005821440 bytes 255 heads, 63 sectors/track, 3648 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 60 481918+ 82 Linux swap / Solaris /dev/sda2 3561 3648 706860 5 Extended /dev/sda3 * 61 1468 11309760 83 Linux /dev/sda4 1469 3560 16803990 83 Linux /dev/sda5 3561 3648 706828+ 82 Linux swap / Solaris Partition table entries are not in disk order |
Your partition table appears normal except it has two swap partition.
Corruption to the files may be just inside the partition. It is highly unlikely that a Linux installer would set up the first primary as a swap and the size would indicated may it was a /boot partition before. I got a feeling you have done something to the Linux. Can you show us the /etc/fstab? It should be in sda3 or sda4. If you can't then show us then mount sda3 and sda4 and show us their directory/file names. The status of your Linux is currently no error in the partition table and the Live CD Linux can read it. sda3 appears to have a file corruption problem and may not be mountable. As the owner of the Linux may be you can tell us what are the different partitions are for and why you want two swaps, to assist us to formulate a solution. |
sda1 Primary Linux swap / Solaris 493.52 -- swap
sda3 Boot Primary Linux ext3 11581.20 -- / root partition sda4 Primary Linux ext3 17207.29 -- /home home folder sda5 Logical Linux swap / Solaris 723.83 -- swap I truly don't know why I have 2 swap partitions, neither do I know what went wrong. The last thing I did was looking through some photos in my home directory. About the contents of /etc/fstab: I am not certain wether these are of the live system, or my installed system... Both are exactly the same so I reckon it took the live version when I tried opening the installed version. unionfs / unionfs rw 0 0 tmpfs /tmp tmpfs nosuid,nodev 0 0 /dev/sda1 swap swap defaults 0 0 /dev/sda5 swap swap defaults 0 0 |
The information is a live system from your Live CD because the root filing system has been obtained from unionfs and not from a partition.
You need to get into root console or in a terminal by typing Code:
sudo su You can then manually mount sda3 and sda4 by Code:
mkdir /mnt/sda3 Code:
ls /mnt/sda3 Code:
cat /mnt/sda3/etc/fstab |
sda3 cannot be mounted, due to a bad superblock
|
I didn't expect your sda3 to be mountable but what about the information in sda4?
You can try to fsck the filing system of sada3. You should now establish if the hard disk has developed a hardware fault or not and salvage as much information as possible. A hard disk is a precision instrument and the vibration and disturbance of the laptop is not good for longevity. Even in a perfect condition a hard disk is a consumable because it has a finite number of spinning cycles in its working life. |
I have performed the fsck, I have now been able to mount the disk and I am currently backing up the most important files. Afterwards I'll go for a reboot to see whether it will boot.
|
All times are GMT -5. The time now is 04:54 PM. |