MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
You could run KNOPPIX or another rescue disc. Some distros can use the installation CD as a rescuer. From the rescue system run e2fsck. Is this an ext2 or ext3 system? ext2 were always getting messed up. The journalling file systems are much more rugged. You can convert ext2 to ext3, once you clean it up. If this is an old disc, you may want to do a badblocks scan on it.
If your filesystem is clean and it will not boot, I cannot imagine what has changed.
If you can read the logs on /dev/hda7, we might get some clues. Also, you could try to record the error messages for a few lines before the crash. Maybe it is unrelated to the fsck message. When the system crashed, the filesystem is left in an unstable state. That is what fsck cleans up, but the disc problems may be a symptom and not the cause of the crash.
In KNOPPIX, try
fdisk -l /dev/hda7
then
mkdir /mnt/hda7
mount /dev/hda7 /mnt/hda7 -o ro
less /mnt/hda7/var/log/messages
q gets you out. You can scroll around in the log.
In less,
/hda7 enter will seek to mention of hda7
n repeats the seek
pgdn scrolls screen by screen so you can read it all
You might want to list the directory or file
ls /mnt/hda7/boot
cat /mnt/hda7/etc/fstab
cat /mnt/hda7/boot/grub/menu.lst
I hope that turns up something we can use. Can you copy and paste them to here? Thanks.
Thanks for quick response .Have tried Knoppix and the commands like fdisk -l /dev/hda7
also ls /mnt/hda7/boot. All come on screen. Now my problem is
How can I copy and paste these files from Knoppix.
I configured Kppp dialup internet ,no problem and would like to post them to you
This is my first time use of Knoppix It certainly looks very good
I used terminal in root to fdisk -l /dev/hda7 all ready to send but that was not to
be.
Could not find away of saving this information you require
7.6 Does it show
Maurice
On my system, if I am in the GUI and select text with mouse (left click and hold/drag over text/release) it goes onto the clipboard. Then, in the terminal window, I can type ctrl(the control key)-shift-v together and the
text is inserted at the cursor position. In the browser, I can insert into a text box by clicking on it or tabbing to it and typing ctrl-v or right-click/paste or menu/edit/paste. On some systems after selecting the text, you must menu/edit/copy or ctrl-c to put it into the clipboard. I run klipper to have more flexibility in this.
All this is generally available on graphical user interfaces. It is usually called copy and paste or cut and paste.
Good! The GRUB menu shows that you have other entries like failsafe and Mandrake10. Can you boot any of those?
When the GRUB menu comes up push up/down arrow keys to get the one you want and press enter.
The other thing I can see is that /dev/hda7 is ext2, which was the default in the Dark Ages, but is prone to getting messed up. Nowadays, almost everyone uses journalling filesystems like ext3, jfs, or ReiserFS. You can convert an ext2 system to ext3 with a command:
tune2fs -j /dev/hda7
which would help except you cannot boot.
You could try it from KNOPPIX, but it may not help you boot and could mess things up further.
Unless something valuable is in the /home directory on /dev/hda7, I would suggest re-installation would be the surest bet. Choose ext3 for file system type if possible. You may have to choose expert install to get that option.
If you still want to try to fix the system, try giving us the output from
fdisk -l /dev/hda
and
umount /dev/hda
fsck -a /dev/hda7 (this will attempt to automatically repair the partition)
You may want to attempt to copy anything of value from /home before doint this.
Hi Robert
Have reinstalled Mandriva2006
No Password or User added during install That's what I wanted
Grub is my boot loader ,but have lost Mandrake 10 on the list
System boots up tp Welcome to Local Host
Needs Name and Pass word
Not what I expected as it should start.
The installation went well but No Mandriva to use
Yet another learning curve
Any comments Maurice
Hi Robert
Mandriva 2006 all OK!
Running in Root just a matter of seting the desktop up and all the other bits an pieces.
Linux certainly is not easy to repair system.
You could write a book about it
Thank you very much for your assistance,much appreciated
Maurice
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.