Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

refractainstaller as a text file

Ask your questions here.

Re: refractainstaller as a text file

Postby fsmithred » Mon Oct 27, 2014 5:47 pm

Thanks. I did use genkernel after make menuconfig, and the problem I had was that it would not make the initrd. Then I read somewhere that I'm not supposed to have one. I wonder if there are gaps in the handbook. At one point, it told me to cd to /usr/src/linux, but I had to create that symlink myself. Is that normal, or did something not create it when it should have?
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: refractainstaller as a text file

Postby nadir » Mon Oct 27, 2014 8:01 pm

cd to /usr/src, and linux should be a symlink to the actually installed kernel source
user$ ls -l /usr/src/
total 12
lrwxrwxrwx 1 root root 19 Oct 25 20:30 linux -> linux-3.16.5-gentoo
drwxr-xr-x 20 root root 4096 Oct 9 20:42 linux-3.10.17-gentoo
drwxr-xr-x 25 root root 4096 Oct 12 18:34 linux-3.14.16-gentoo
drwxr-xr-x 24 root root 4096 Oct 25 20:30 linux-3.16.5-gentoo
user$ uname -r
3.14.16-gentoo
user$
(looks like i missed a new kernel .... )

kinda (!!!):
/usr/src/linux links to the last kernel compiled
emerge downloads the new source (nothing happens, until the admin acts)
admin links /usr/src/linux to the new kernel source at /usr/src
cp's the old config to the new kernel dir
compiles the new kernel and cp's it too /boot
Right? Wrong? I am not that sure ...
I just upgraded the kernel (emerge --update @world *downloaded* the new source, but the user/admin has to compile it himself), and something kinda went south with the link (went south means: i didn't fully understand it).

Don't forget to cp the old kernel .config to the new kernel, else you gotta start from scratch again.

Besides the handbook i also looked at:
https://wiki.gentoo.org/wiki/Kernel/Upgrade
I mixed both, wiki and handbook, and asked the rest in IRC.

At the same time someone else asked in IRC, and he had problems with upgrading the kernel by looking only at the handbook too.
Doesn't sound as if it was your problem only (or only the one of the two of us)

initrd ... i read somewhere that i'm not supposed to have one

Well: lol. It sounds outstanding funny, to me.
Might be, might not, i simply don't know.
Last edited by nadir on Mon Oct 27, 2014 8:03 pm, edited 1 time in total.
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1159
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Re: refractainstaller as a text file

Postby nadir » Mon Oct 27, 2014 8:02 pm

tl;dr or too confusing:
https://wiki.gentoo.org/wiki/Kernel/Upgrade
Look if that helps
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1159
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred