Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hi. I have a problem. I have messed-up my kernel after trying to get 3d acceleration on SuSe 9.2 and no matter how hard I try I cannot get the thing to work again. What happens is that linux will not boot from either normal or failsafe and i can only boot from rescue mode on the dvd. I have given up trying and want to re-install from scratch This time I am gonna install a distribution that comes with official ati drivers, if one exists.
However, my problem is that I do not want to lose all my data in the home folder, but since it is on the same partition it will surely be reformatted during any re-installation?!?
But I just want to back it up!
I have tried the following without success:
cp'ing the entire folder to my windows partition (in root from rescue mode, after mounting hd and chroot'ing) - will not allow this.
accessing the drive from xp using various tools and copying the data from there - will not allow this even though i can see the data (linux security is TIGHT!)
Is there any other possible solution to copy a users folder on the home drive (should be under 650mb)?
From the web... "For novices, "/" is the root directory, and -r means recursive, so rm keeps deleting files until the entire file system is gone, or at least until something like libc is gone after which the system becomes, as we often joke, a warm brick..."
oh man.... i can't get the d**n thing to work, will not see my hard drive. also tried 'ltools' but that won't even install. have you ever used Explore2fs before? Is there anything I'm not doing (i've looked through all the docs that came with it and it doesn't mention needing to set it up to see your hdd)?
well, I have to admit that I have only forayed into the world of linux properly (I tried out RH8 for a few weeks a year or so ago) the last three weeks. I sought a lot of advice on various forums to try and get SuSe back and running again but just got lost - whenever I almost got to a breakthrough another issue reared its head... Why? Well here is what I did. To begin with, I downloaded the wrong source files for my kernel and ran the following commands to try and get 3d acceleration with the files from *tp://ftp.suse.com/...../fglrx/8.8.25/ (shortened link):
[note, have omitted directory changes]
Code:
rpm -Uhv fglrx*.rpm
rm -f .config
make cloneconfig
make prepare-all
rm -rf /usr/src/kernel-modules/fglrx
rpm -Uhv km_fglrx*.rpm
KERNEL_SOURCE=/usr/src/linux make modules
KERNEL_SOURCE=/usr/src/linux make install
depmod -a
sax2 -r -m 0=fglrx -b /usr/X11R6/lib/sax/profile/firegl -i
[OK]
init5
Obviously, I was not aware that I had used the wrong kernel sources (although I thought I had definitly got the right ones) until after this operation. I was notified of the fact when I rebooted and got:
Code:
Kernel panic - not syncing : VFS: Unable to mount root fs on unknown -block(3,7)
SO, after the initial sweat had dried from my forehead and the desie to throw the pc out the window had subsided, I decided to post a few questions on various forums. The answers I got were very helpful, but neccesitated a degree of command line knowledge that overwhelmed me. I tried out a few of the suggestions and believe that I may have made even more mistakes and screwed-up the system further with them (like messing up the GRUB loader so that my faulty SuSe partition is the default rather than XP, although thankfully it does boot ok). If you know of an easy way to revert back to the original kernel it would help me greatly, as I could then try and run the firegl set-up again and get the system working.
OTHERWISE.
Can you give me some advice about using the explore2fs program? When I run it, it is plain empty. I am running it from the desktop, should it be anywhere else? Also, I am using SP2 on XP, could this be interefering with it?
Forgot to add, the kernel panic message comes up the same on 'failsafe' mode as well, and i am reduced to using the rescue mode from the dvd. The computer freezes when the panic notice comes up and i have to manually reset the box with the switch.
What files are in the /boot partition of your hard drive? Can you post the output from "ls -l" in that directory.
With regards to explore2fs, I've never had any problems with it - are you sure it is an ext2 partition? It seems a little funny for suse 9.2 to be installed on such and old filesystem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.