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

17th March 2012, 04:59 PM
|
|
Registered User
|
|
Join Date: Mar 2012
Location: hell
Posts: 37

|
|
|
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
|

17th March 2012, 05:44 PM
|
 |
Registered User
|
|
Join Date: Jun 2007
Location: Lytham St Annes, Lancashire, UK
Posts: 309

|
|
|
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.
|

17th March 2012, 05:45 PM
|
|
Registered User
|
|
Join Date: Mar 2012
Location: hell
Posts: 37

|
|
|
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
|

17th March 2012, 06:53 PM
|
 |
Registered User
|
|
Join Date: Jun 2007
Location: Lytham St Annes, Lancashire, UK
Posts: 309

|
|
|
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
|

18th March 2012, 05:49 AM
|
|
Registered User
|
|
Join Date: Mar 2012
Location: hell
Posts: 37

|
|
|
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.
|

18th March 2012, 10:25 PM
|
|
Registered User
|
|
Join Date: Mar 2012
Location: hell
Posts: 37

|
|
|
Re: Fedora 16 xfce boot in problem
Please help
|

19th March 2012, 02:47 AM
|
 |
Registered User
|
|
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,180

|
|
|
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
|

19th March 2012, 11:01 PM
|
|
Registered User
|
|
Join Date: Mar 2012
Location: hell
Posts: 37

|
|
|
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.
|

20th March 2012, 01:19 AM
|
 |
Registered User
|
|
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,180

|
|
|
Re: Fedora 16 xfce boot in problem
Quote:
Originally Posted by mrfool
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
|

20th March 2012, 01:29 AM
|
|
Registered User
|
|
Join Date: Mar 2012
Location: hell
Posts: 37

|
|
|
Re: Fedora 16 xfce boot in problem
Is there anyway that I can copy my /boot/grub2/grub.cfg and post it here?
|

20th March 2012, 02:07 AM
|
 |
Registered User
|
|
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,180

|
|
|
Re: Fedora 16 xfce boot in problem
Quote:
Originally Posted by mrfool
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.
|

20th March 2012, 02:11 AM
|
|
Registered User
|
|
Join Date: Mar 2012
Location: hell
Posts: 37

|
|
|
Re: Fedora 16 xfce boot in problem
Code:
# cat /boot/grub2/grub.cfg > grub.txt
But how can I save it to my usb?
|

24th March 2012, 05:34 PM
|
|
Registered User
|
|
Join Date: Mar 2012
Location: hell
Posts: 37

|
|
|
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?
|

24th March 2012, 07:23 PM
|
 |
Registered User
|
|
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,180

|
|
|
Re: Fedora 16 xfce boot in problem
Quote:
Originally Posted by mrfool
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 06:57 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|