Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th March 2012, 04:59 PM
mrfool Offline
Registered User
 
Join Date: Mar 2012
Location: hell
Posts: 37
windows_7firefox
Fedora 16 xfce boot in problem

Need some help
I tried to install nvidia driver using this guide
http://www.if-not-true-then-false.co...ouveau-driver/
I installed yum install akmod-nvidia xorg-x11-drv-nvidia-libs
then I would not boot in
So I remove it in the recovery mode
Then I can boot in
But after I restart my pc I can't boot in again
Attached Thumbnails
Click image for larger version

Name:	1.JPG
Views:	44
Size:	211.2 KB
ID:	22863   Click image for larger version

Name:	2.JPG
Views:	44
Size:	240.8 KB
ID:	22864   Click image for larger version

Name:	3.JPG
Views:	51
Size:	198.8 KB
ID:	22865  
Reply With Quote
  #2  
Old 17th March 2012, 05:44 PM
SteveGYBE's Avatar
SteveGYBE Offline
Registered User
 
Join Date: Jun 2007
Location: Lytham St Annes, Lancashire, UK
Posts: 309
linuxfirefox
Re: Fedora 16 xfce boot in problem

Did you make a backup copy of the "initramfs..." file as in step 5 of the guide? If you did and it is still in the /boot directory you can edit the line in Grub to boot using your "initfamfs...nouveau,img" backup instead and see if that works.

If that gets you in, replace the faulty "initramfs...img" with your backed-up one.
Reply With Quote
  #3  
Old 17th March 2012, 05:45 PM
mrfool Offline
Registered User
 
Join Date: Mar 2012
Location: hell
Posts: 37
windows_7firefox
Re: Fedora 16 xfce boot in problem

I did make a back up copy of it but I have no idea what to do with it
Reply With Quote
  #4  
Old 17th March 2012, 06:53 PM
SteveGYBE's Avatar
SteveGYBE Offline
Registered User
 
Join Date: Jun 2007
Location: Lytham St Annes, Lancashire, UK
Posts: 309
linuxfirefox
Re: Fedora 16 xfce boot in problem

When booting the machine, hit "e" to edit the Grub menu entry. At the end you should see the "initramfs" file it will use - if running the latest F16 x86_64 kernel, it will be
Code:
initramfs-3.2.9-2.fc16.x86_64.img
Assuming you bbacked up your original file exactly as per the guide, change it as follows
Code:
initramfs-3.2.9-2.fc16.x86_64-nouveau.img
Then press <F10> to boot with the edited file name. This page on the guide, although about booting to a different run-level has the basics of editing Grub 2 boot commands.

Last edited by SteveGYBE; 17th March 2012 at 06:57 PM. Reason: Add link for editing Grub 2
Reply With Quote
  #5  
Old 18th March 2012, 05:49 AM
mrfool Offline
Registered User
 
Join Date: Mar 2012
Location: hell
Posts: 37
windows_7firefox
Re: Fedora 16 xfce boot in problem

The "e" trick is not working
I got this error
Code:
Failed to start LSB: Start and stops login and scanning of iSCSI devices [Failed]
Then I waited an hour and got this
Code:
Starting Display Manager.. [Ok]
Started Display Manager [Ok]
Then nothing happen
Should I also change the runlevel to 5?

---------- Post added at 04:49 AM ---------- Previous post was at 12:50 AM ----------

What should I do

Last edited by mrfool; 18th March 2012 at 01:57 AM.
Reply With Quote
  #6  
Old 18th March 2012, 10:25 PM
mrfool Offline
Registered User
 
Join Date: Mar 2012
Location: hell
Posts: 37
windows_7firefox
Re: Fedora 16 xfce boot in problem

Please help
Reply With Quote
  #7  
Old 19th March 2012, 02:47 AM
StephenH's Avatar
StephenH Offline
Registered User
 
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,180
linuxfirefox
Re: Fedora 16 xfce boot in problem

Okay, let me see if I can figure this out. First off, I don't know if you are using the i686 or x86_64 version, but that really should not matter.

When you get to the grub2 menu, hit an "e" to edit the boot sequence.

Find the line that begins with "linux /vmlinuz-3.2.10-3.fc16.x86_64 root= . . . "

Then scroll to the end of that line, which should read something like "LANG=en_US.UTF-8"

At the end of that, place these two commands: "nouveau.modeset=0 rdblacklist=nouveau"

I would also recommend adding "3" to the end so you boot to a command prompt instead of the graphical login manager. This is so you can do what I will suggest next.

When you get to the login prompt, login as root and enter your password.

Execute "yum install akmod-nvidia akmods kmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs nvidia-xconfig nvidia-settings" Optionally, if you are using WINE or CrossOver, you would want to include xorg-x11-drv-nvidia-libs.i686 also.

Once these are all in place, execute "reboot" to reboot your system. At the grub2 menu, repeat the edit and verify that the "nouveau.modeset=0 rdblacklist=nouveau" commands are there. If not add them. You should then properly boot to your desktop. If they were not there, then as root (su -), edit the /etc/default/grub file and add those two commands to the "GRUB_CMDLINE_LINUX=" line (be sure to put them before the ending quote which is there, or they will not be recognized.

Once you have done this, then execute "grub2-mkconfig -o /boot/grub2/grub.cfg" to regenerate your /boot/grub2/grub.cfg file. That should fix it for you permanently.

I had to do the grub editing recently when I reinstalled Fedora. The two commands were not added automatically by the installation of the kmod. I know that this process will work. Please let us know when you succeed.
__________________
StephenH

"We must understand the reality that just because our culture claims certain things are true it does not mean they are!" --M. Liederbach

http://pilgrim-wanderings.blogspot.com

Last edited by StephenH; 19th March 2012 at 02:48 AM. Reason: correction
Reply With Quote
  #8  
Old 19th March 2012, 11:01 PM
mrfool Offline
Registered User
 
Join Date: Mar 2012
Location: hell
Posts: 37
windows_7firefox
Re: Fedora 16 xfce boot in problem

I added the line and change grub runlevel to 3 (with the line initramfs-3.2.9-2.fc16.x86_64-nouveau.img and with the line initramfs-3.2.9-2.fc16.x86_64.img)
I try executing
"yum install akmod-nvidia akmods kmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs nvidia-xconfig nvidia-settings"
This is the error I obtained
Code:
 Error: Package: 1 .....
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Then I try the --skip broken option and all the packages are skipped
Code:
Package skipped because of dependency problems
Please see attachment for the detailed version of it

Last edited by mrfool; 19th March 2012 at 11:05 PM.
Reply With Quote
  #9  
Old 20th March 2012, 01:19 AM
StephenH's Avatar
StephenH Offline
Registered User
 
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,180
linuxfirefox
Re: Fedora 16 xfce boot in problem

Quote:
Originally Posted by mrfool View Post
I added the line and change grub runlevel to 3 (with the line initramfs-3.2.9-2.fc16.x86_64-nouveau.img and with the line initramfs-3.2.9-2.fc16.x86_64.img)
I try executing
"yum install akmod-nvidia akmods kmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs nvidia-xconfig nvidia-settings"
This is the error I obtained
Code:
 Error: Package: 1 .....
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Then I try the --skip broken option and all the packages are skipped
Code:
Package skipped because of dependency problems

Okay, For one thing, I did say edit this line (I can't say what yours will look like. I am actually copying this from the /boot/grub2/grub.cfg file, so at the grub prompt, it may look just a little different) to look like this:

Code:
linux	/vmlinuz-3.2.10-3.fc16.x86_64 root=/dev/((This area will vary depending on whether you have encrypted drives or not. My file lists luks-..., yours might not)) rd.md=0 rd.lvm=0 rd.dm=0  KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks.uuid=luks-((again, this is because of encryption, You may not have this entry)) LANG=en_US.UTF-8 nouveau.modeset=0 rdblacklist=nouveau 3
You shouldn't have to change any other line or do anything with initramfs at this point. Once you get to the command prompt, log in as root and install the nvidia files.

As for the error, I also had experienced that error. I filed a bug report, and this morning a new kmod-nvidia was on rpmfusion. Please try again as it may take a little time for it to propagate to all the servers involved. If you continue to get the error, leave off the part about kmod-nvidia and you should be okay. Akmod-nvidia would then just build the kmod as needed for your kernel. That would make the line look like this:

Code:
"yum install akmod-nvidia akmods xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs nvidia-xconfig nvidia-settings"
I hope that it works for you this time.
__________________
StephenH

"We must understand the reality that just because our culture claims certain things are true it does not mean they are!" --M. Liederbach

http://pilgrim-wanderings.blogspot.com
Reply With Quote
  #10  
Old 20th March 2012, 01:29 AM
mrfool Offline
Registered User
 
Join Date: Mar 2012
Location: hell
Posts: 37
windows_7firefox
Re: Fedora 16 xfce boot in problem

Is there anyway that I can copy my /boot/grub2/grub.cfg and post it here?
Reply With Quote
  #11  
Old 20th March 2012, 02:07 AM
StephenH's Avatar
StephenH Offline
Registered User
 
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,180
linuxfirefox
Re: Fedora 16 xfce boot in problem

Quote:
Originally Posted by mrfool View Post
Is there anyway that I can copy my /boot/grub2/grub.cfg and post it here?
Sure. It just depends on how much trouble you want to go through to do so.

Hardest way: copy it by hand and then type it in.

Easier way: When you get to a command prompt, log in, either as root or as user. then do this:

Code:
# cat /boot/grub2/grub.cfg > grub.txt
Once you do that, then you can grab the grub.txt file you just created, open it up in any text editor, then copy and paste or attach it using the "Attach Files" function in the advanced editor"

The only difficulty is in getting it to where you can post it. If you are using a separate machine to do your forum communications, you could always grab a USB stick and mount that, copy the file to it, unmount it, and then take the USB stick to your working system for posting the grub.txt file you created.

Easiest way: Just copy the /boot/grub2/grub.cfg file to the USB stick, leaving out the .txt file creation, then proceed as above.
__________________
StephenH

"We must understand the reality that just because our culture claims certain things are true it does not mean they are!" --M. Liederbach

http://pilgrim-wanderings.blogspot.com

Last edited by StephenH; 20th March 2012 at 02:09 AM. Reason: Needed to add more.
Reply With Quote
  #12  
Old 20th March 2012, 02:11 AM
mrfool Offline
Registered User
 
Join Date: Mar 2012
Location: hell
Posts: 37
windows_7firefox
Re: Fedora 16 xfce boot in problem

Code:
# cat /boot/grub2/grub.cfg > grub.txt
But how can I save it to my usb?
Reply With Quote
  #13  
Old 20th March 2012, 02:41 AM
StephenH's Avatar
StephenH Offline
Registered User
 
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,180
linuxfirefox
Re: Fedora 16 xfce boot in problem

http://www.tuxfiles.org/linuxhelp/linuxcommands.html

The cp command is what you would use. Here's how:

http://www.tuxfiles.org/linuxhelp/fileman.html

Just in case you need to also know how to mount the USB drive so you can copy to it, see here:

http://www.lainoox.com/mount-usb-stick-linux/

This is for the command line since I am guessing that is where you will need to do so. (a little web searching on this will lead you to other command-line information, which can be quite useful at times.
__________________
StephenH

"We must understand the reality that just because our culture claims certain things are true it does not mean they are!" --M. Liederbach

http://pilgrim-wanderings.blogspot.com
Reply With Quote
  #14  
Old 24th March 2012, 05:34 PM
mrfool Offline
Registered User
 
Join Date: Mar 2012
Location: hell
Posts: 37
windows_7firefox
Re: Fedora 16 xfce boot in problem

Quote:
linux /vmlinuz-3.2.10-3.fc16.x86_64 root=/dev/((This area will vary depending on whether you have encrypted drives or not. My file lists luks-..., yours might not)) rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks.uuid=luks-((again, this is because of encryption, You may not have this entry)) LANG=en_US.UTF-8 nouveau.modeset=0 rdblacklist=nouveau 3
My hdd is encrypted so what should I do?
[code]rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks.uuid=luks-[/quote]
I don't have that
Code:
LANG=en_US.UTF-8 nouveau.modeset=0 rdblacklist=nouveau 3
I have the UTF part but not the last part. I thought you add the 3 after the 8?
Reply With Quote
  #15  
Old 24th March 2012, 07:23 PM
StephenH's Avatar
StephenH Offline
Registered User
 
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,180
linuxfirefox
Re: Fedora 16 xfce boot in problem

Quote:
Originally Posted by mrfool View Post
My hdd is encrypted so what should I do?
[code]rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks.uuid=luks-
I don't have that[/QUOTE]
Your line may look different if you used LVM for the installation. I do not so that is why mine looks the way it does. As I said, your line may look different. Look for the parts I specified and don't worry about the "luks" parts if you don't see them.

Code:
LANG=en_US.UTF-8 nouveau.modeset=0 rdblacklist=nouveau 3
I have the UTF part but not the last part. I thought you add the 3 after the 8?[/QUOTE]

If you are trying to use the Nvidia driver, you will need the nouveau.modeset=0 and rdblacklist=nouveau entries. If you are using the nouveau driver, then you should not have those entries. Placing the 3 after the UTF-8 only gets you to a command prompt when you boot. It does nothing toward helping get the Nvidia driver working. The actual order does not matter as much. You could put it as 3 nouveau.modeset=0 rdblacklist=nouveau or nouveau.modeset=0 rdblacklist=nouveau 3 and it will work. I prefer to put the "3" last.
__________________
StephenH

"We must understand the reality that just because our culture claims certain things are true it does not mean they are!" --M. Liederbach

http://pilgrim-wanderings.blogspot.com
Reply With Quote
Reply

Tags
boot, fedora, problem, xfce

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
32 bit Xfce live cd won't boot in kvm ToddAndMargo Using Fedora 1 11th March 2012 12:44 AM
F16 XFCE live CD fails during boot skullbox Using Fedora 1 25th February 2012 03:15 AM
Fedora 16 Xfce thunar language problem SilvioTO Fedora Spins & Remixes 0 4th January 2012 09:46 AM
Grub doesnt list Windows 7 as option to boot. Also XFCE compiz help rolltide101x F16 Development 8 14th September 2011 07:17 AM
Fedora 10 xfce xfce menu not working well xroox Hardware & Laptops 1 1st June 2009 06:47 AM


Current GMT-time: 06:57 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat