d-kam |
03-10-2005 04:38 PM |
SuSe 9.2 Pro Boot Problem
Hello all :) Newbie here...
Linux won't boot. Period. When it begins to boot up it almost immediately throws up:
kernel panic - not syncing: VFS: Unable to mount root fs on Unknown-block(3,7)
I have looked around a bit and it seems to be kernel issue (well, that I could guess) and that it is related to the IDE not being mounted. I came accross this problem by following a guide on the internet to getting firegl working on my ATI 9000pro. I followed the guide and it didn't throw up any errors, but when I restarted I got the above. Is there any way someone here can tell me how to get the kernel to see my IDE config? I have GRUB on a triple boot system, have I messed this up? I can still boot into XP from GRUB. This is what I did:
Code:
step 1, use YAST (or during the initial install process):
INSTALL KERNEL SOURCES
Step 2:
go to: *tp://ftp.suse.com/pub/suse/i386/su...6/fglrx/8.8.25/
and download ALL the files there to your Home user directory.
(There should be 3 files. do _NOT rename then, use original names).
Remember: i386/i586 folders(directories) supply the drivers for Non-64 bit processors. If you have an Amd64 cpu, then use the x64 directory/folder to get the files from.
I.e. if your user name is charlie download to: /home/charlie/
Step 3:
click on the shell icon to create a shell/terminal session/window.
inside type:
su (and press enter)
enter your ROOT password (and press enter)
if you got no error, then you entered the correct password. if an error, try again.
Anyways, that said, type: init 3 (and press enter)
If asked to login, you can use your normal user login (not root).
after logging in, type: su again and enter pword.
if not asked to login, no worries, you're already logged in as root and can remain that way. so do not type the su command.
4) type: cd (and press enter)
type: cd ..
type cd home
type cd charlie (or whatever the username is). (This should get you familiar with the cd command, and now you should be familiar with specifying paths directly....if not no worries).
once inside /home/charlie/ (or whatever your username):
type: rpm -Uhv fglrx*.rpm
when it completes (Should be very quick) type:
cd /usr/src/linux
then type: rm -f .config
then type: make cloneconfig
once that finishes scrolling type: make prepare-all
once that finishes type: rm -rf /usr/src/kernel-modules/fglrx
then type: cd (and press enter)
then type: cd ..
then: cd home
then cd charlie (charlie = your username) (next time we'll do this all in 1 command but i figure you're new and not sure of your familiarity with directory structures etc).
then type: rpm -Uhv km_fglrx*.rpm
then once that finishes type: cd /usr/src/kernel-modules/fglrx
then type: KERNEL_SOURCE=/usr/src/linux make modules
once that finishes (just ignore whatever shows up) and type: KERNEL_SOURCE=/usr/src/linux make install
once again once that finishes, ignore whatever shows up and type:
depmod -a
then type:
sax2 -r -m 0=fglrx -b /usr/X11R6/lib/sax/profile/firegl -i
a box will popup, asking if you want to change anything or keep current changes. You want to keep current settings. (so click YES/ok/Finsihed/whatever).
Then you'll be back at a console prompt.
type: Init 5
that should bring you into a graphical interface again. Restart the computer at this point.
you should be 100% done. enjoy, and NEVER run Sax2 again as it -may-screw up your graphic driver selection (on accident, i know. to change your resolution, your mouse/keyboad settings, etc, you will have to do it manually, which we can explain to you later.
to ensure graphics are working fine, when you login to your desktop, open up a shell/terminal session and type: glxinfo and press enter.
NOTE: REMEMBER linux is CASE SeNsItIVe so use caps and lower-case exactly as shown above.
I have no experience of editing the kernel yet :confused: Can anyone help?
Many thanks,
d-kam.
|