Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Solved: Stuck in grub2
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Wed Nov 13, 2013 2:51 am    Post subject: Reply with quote

Well,
Code:
emerge -e system && emerge -e world
has completed. I am still getting the ConsoleKit messge when I went into KDE. I did the Grub2 migration from legacy and it worked, almost. But when I tried to remove legacy it says
Code:
sys-boot/grub:0: No such file or directory

Then I rebooted once more, and it took me back to the grub> prompt. What is going on? I'm dying here.
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Wed Nov 13, 2013 2:15 pm    Post subject: Reply with quote

Try:
Code:
emerge -c sys-boot/grub:2

Post the output
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Wed Nov 13, 2013 7:21 pm    Post subject: Reply with quote

The first time I tried to use wgetpaste to get the output, but I messed up and forgot the | symbol. So I emerged grub2 once more and running
Code:
wgetpaste | emerge -c sys-boot/grub:2

I am still waiting for it to finish. It shouldn't take so long, should it? It should give me the url, right? I will be back home in a couple of hours and maybe I'll have something.
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Thu Nov 14, 2013 3:20 am    Post subject: Reply with quote

This did not work. I don't get it. Why can't I past the output without having to type all it out by hand? I can't copy it out of the xterminal window.
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 260

PostPosted: Thu Nov 14, 2013 3:48 am    Post subject: Reply with quote

Your wgetpaste is on the wrong side of the pipe, it would seem.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3269
Location: Canada

PostPosted: Thu Nov 14, 2013 4:30 pm    Post subject: Reply with quote

mark2 wrote:
This did not work. I don't get it. Why can't I past the output without having to type all it out by hand? I can't copy it out of the xterminal window.



besides wgetpaste, you should be able to copy from the terminal ( which one is exactly xterminal ? never encountered this particular version) by highlighting the text with left button pressed, moving the mouse where you want to (like window with the editor), and pressing the right button. That should work between all X windows applications, unless some specifically broke standard X windows copy/paste mechanism

And wgetpaste looks indeed on the wrong side of the pipe, In all logic it should be 'your command | wgetpaste'
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Nov 14, 2013 5:03 pm    Post subject: Reply with quote

dmpogo wrote:
And wgetpaste looks indeed on the wrong side of the pipe, In all logic it should be 'your command | wgetpaste'


That was my mistake, it's been awhile since I've used wgetpaste.
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Thu Nov 14, 2013 6:11 pm    Post subject: Reply with quote

@Kurly: You were right. Here are the results of
Code:
emerge -c sys-boot/grub:2 | wgetpaste

Code:
Calculating dependencies  .............. done!
>>> Calculating removal order...

 sys-boot/grub
    selected: 2.00_p5107-r1
   protected: none
     omitted: none

All selected packages: sys-boot/grub-2.00_p5107-r1

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in:  5 4 3 2 1 >>> Unmerging (1 of 1) sys-boot/grub-2.00_p5107-r1...

 *
 * To avoid automounting and auto(un)installing with /boot,
 * just export the DONT_MOUNT_BOOT variable.
 *
 *
 * Your boot partition was not mounted as /boot, but portage
 * was able to mount it without additional intervention.
 * Files will be installed there for grub to function correctly.
 *
 *
 * Automatically unmounting /boot
 *
Packages installed:   898
Packages in world:    25
Packages in system:   44
Required packages:    898
Number removed:       1
 * Messages for package sys-boot/grub-2.00_p5107-r1:
 *
 * To avoid automounting and auto(un)installing with /boot,
 * just export the DONT_MOUNT_BOOT variable.
 *



 * Regenerating GNU info directory index...
 * Processed 112 info files.

 * IMPORTANT: 11 config files in '/etc' need updating.

!!! existing preserved libs:
>>> package: x11-libs/libdrm-2.4.46
 *  - /usr/lib64/libdrm_radeon.so.1
 *  - /usr/lib64/libdrm_radeon.so.1.0.1
 *      used by /usr/lib64/xorg/modules/drivers/radeon_drv.so (x11-drivers/xf86-video-ati-7.2.0)
 *  - /usr/lib64/libdrm_nouveau.so.2
 *  - /usr/lib64/libdrm_nouveau.so.2.0.0
 *      used by /usr/lib64/xorg/modules/drivers/nouveau_drv.so (x11-drivers/xf86-video-nouveau-1.0.9)
>>> package: media-libs/mesa-9.1.6
 *  - /usr/lib64/libxatracker.so.1
 *  - /usr/lib64/libxatracker.so.1.0.0
 *      used by /usr/lib64/xorg/modules/drivers/vmware_drv.so (x11-drivers/xf86-video-vmware-13.0.1)
Use emerge @preserved-rebuild to rebuild packages using these libraries
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Nov 14, 2013 6:51 pm    Post subject: Reply with quote

Code:
emerge -av sys-boot/grub-static:0<--Plain Grub
Setup this grub as per the handbook, then follow the migration guide from earlier in the thread.
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Thu Nov 14, 2013 8:29 pm    Post subject: Reply with quote

Ok, will do very shortly, and post back.
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Thu Nov 14, 2013 11:02 pm    Post subject: Reply with quote

Quote:
Code:
emerge -av sys-boot/grub-static:0<--Plain Grub
Setup this grub as per the handbook, then follow the migration guide from earlier in the thread.

That worked! I followed it to the letter. It takes me right to the desktop where I login as my user. I still get the ConsoleKit error message as well as the Power Management which cannot initialize, but I will try to address those in another topic.
Thanks, guys! My Grub2 is working. Unless there is anything else I need to do, I will mark this [Solved-finally!]
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Nov 14, 2013 11:10 pm    Post subject: Reply with quote

You want to solve them here :?:
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Fri Nov 15, 2013 8:44 pm    Post subject: Reply with quote

Quote:
You want to solve them here :?:

That would be good. I did run ufed and set the USE flags on dbus and consolekit, but it hasn't seemed to made any difference.

I did find in Alessio Ababilov's Blog at http://aababilov.wordpress.com/2013/08/09/get-rid-of-consolekit-in-gentoo/ where he found this
Quote:
https://wiki.archlinux.org/index.php/ConsoleKit strongly recommended to get rid of consolekit and switch to systemd-logind. So, I added “systemd -consolekit” to my /etc/portage/make.conf and updated all packages according to useflag changes

I will try this when I get back to town this evening, unless there is something else to consider.
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Fri Nov 15, 2013 9:39 pm    Post subject: Reply with quote

if you use openrc you must use consolekit. If you're going to use systemd, you won't need consolekit, but be aware systemd is quite different.
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Sat Nov 16, 2013 12:03 am    Post subject: Reply with quote

To tell the truth, I don't have any idea of which I use.
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Mon Nov 18, 2013 3:19 pm    Post subject: Reply with quote

mark2 wrote:
To tell the truth, I don't have any idea of which I use.


openrc is default
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Mon Nov 18, 2013 6:29 pm    Post subject: Reply with quote

Yes, I see that now that I have done some reading and found that I don't have loginctl as mentioned in the Arch wiki article. It appears that it would be advisable to change to systemd, and looking at the wiki for Gentoo, It also appears to be a quite involved process. This may take a while to assimilate.
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Mon Nov 18, 2013 6:54 pm    Post subject: Reply with quote

Started with configuring the genkernel options...
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Tue Nov 19, 2013 1:56 pm    Post subject: Reply with quote

I have done something wrong once more. I followed the instructions in the wiki on systemd down to checking the line about GRUB_CMDLINE_LINUX and I already had that in there. So I thought it was time to reboot and now I come into a localhost prompt to login. I can login as my user or root but I have no internet and can't configure my eth0. I type in grub and get the grub 0.97 grub prompt. But the only command it will accept is quit. Tab will not list any other choices.

My brain is beginning to fizzle.
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Nov 19, 2013 3:42 pm    Post subject: Reply with quote

You've done correctly, they forgot to add the networking bit. See:
systemd no internet connection
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Tue Nov 19, 2013 7:14 pm    Post subject: Reply with quote

Well something must have picked up because I could run emerge dhcpcd and it completed. It told me I needed to update 11 configuration files in /etc. I then did an ifconfig eth0 just to see and I saw my IPaddress, so that part was good. Now i just have to figure out where to go next.

I ran
Code:
systemctl status network.target dhcpcd.service

and, this time I got this at http://bpaste.net/show/151266
Better. But still cannot run startx.
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Wed Nov 20, 2013 6:56 pm    Post subject: Reply with quote

This is hard to figure out. I can reboot and get the graphical screen to choose, then it goes into the localhost login prompt. When I try to run startx it says:
Code:
nvidia: disagrees about version of symbol module_layout
modprobe: ERROR: could not insert 'nvidia': Exec format error
(EE)
Fatal server error:
(EE) no screens found(EE)

Then it says to consult the log at /var/log/Xorg.0.log and the server terminates with error and gives up. Also,
Code:
unable to connect to X server: Connectiion refused

_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Thu Nov 21, 2013 3:54 am    Post subject: Reply with quote

So, I have done an emerge --sync, and an emerge --oneshot portage, then another emerge --sync which told me I was already up to date. I did an emerge eix. Then an emerge eix -Cci x11-wm. Also did an emerge x11-base/xorg-server which I think I had already done before. All these steps were not necessarily in this order. I also did an rc-update add dbus default. I don't know what has allowed me to get back into my gui, but I still have to start the dhcpcd and startx to get there. Is there any way to make this automatic? I get the pretty starfield splash screen and then the black page and lots of text which takes me to a login prompt. I can login as my user, but I have to issue the dhcpcd and startx commands to get into my gui.

What am I missing? :?

Oh, yes. Also, my CDrom and my external Iomega USB drive now show up and I can access their files and play media. Yay!
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Nov 21, 2013 3:29 pm    Post subject: Reply with quote

Quote:
Code:
modprobe: ERROR: could not insert 'nvidia': Exec format error


Code:
emerge nvidia-drivers


Re: rc-update won't work anymore as your on systemd. You must use systemctl for everything you do now...
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
mark2
Apprentice
Apprentice


Joined: 22 May 2012
Posts: 293
Location: South Carolina

PostPosted: Mon Nov 25, 2013 6:47 am    Post subject: Reply with quote

Well there was a lot of reading and learning about systemd. In the process I got to go back through and figured out how to get my KDE gui up running at startup, though I might need to find out how to do it in silent mode which shouldn't be too hard. Also got my Kmail to quit complaining about the Akonadi server. Figured out how to setup my printer.

Using:
Code:
emerge -uDN
followed by
Code:
emerge --update --newuse --deep @world

That helped a lot. Then
Code:
systemctl enable kdm
.
But when I did
Code:
systemctl start kdm
my screens went black and I had to reboot. But then it came up with my gui login, so I am happy so far and have marked this thread Solved, at least as far as grub2 is concerned.

Edit: I also forgot to mention that I put CONFIG_PROTECT=".*" in make.conf as well as update my package.use as suggested by emerge something else. That gave me the latest version of Firefox as well as latest versions of whatever else. After the world update I commented out the line in make.conf.

Thanks for all the help! :D
_________________
Thanks,
Mark
__________________________________________________________________
"Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum