| View previous topic :: View next topic |
| Author |
Message |
rbvim n00b

Joined: 27 Nov 2012 Posts: 1
|
Posted: Tue Nov 27, 2012 6:50 pm Post subject: Installing X and using genkernel/recompiling linux |
|
|
Hi, I want to install Gentoo with X support built in; and I'm considering using genkernel to do it. On a previous installation, I compiled my kernel manually, but then Gentoo complained about KMS or framebuffer support not being enabled when it was installing the X server (I can't remember the exact error, but when I tried startx it said "no screens found", I've read that the solution is to recompile my kernel).
I'm wondering if I can reinstall Gentoo using genkernel to compile my kernel and install X without any problems. I'm using Intel integrated graphics (4000 HD), so I don't think I need any fancy nVidia drivers.
I'm also wondering (slightly off topic) if I would be able to simply recompile my kernel, enabling the options from http://www.gentoo.org/doc/en/xorg-config.xml. I believe I need to access /boot, but I cannot mount it with "mount /boot" because I get "unknown filesystem ext2").
Thanks in advance. |
|
| Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 6424 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Nov 27, 2012 7:13 pm Post subject: Re: Installing X and using genkernel/recompiling linux |
|
|
| rbvim wrote: | | I believe I need to access /boot, but I cannot mount it with "mount /boot" because I get "unknown filesystem ext2"). | That means that you haven't included ext2 support in your kernel, which means you've created somewhat of a chicken & egg scenario. Yes, you can just modify your kernel .config and recompile the kernel but you're going to need to boot an install CD (minimal install CD, LiveCD, or SystemRescueCD are popular choices; whatever you used on the initial install is fine) to mount your boot partition and copy the newly compiled kernel (and, optionally, initramfs) in there. If you're using genkernel, then it's probably best to re-enter the chroot as described in the Handbook and just run genkernel from there.
- John _________________ This space intentionally left blank. |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3973 Location: Saint Amant, Acadiana
|
Posted: Tue Nov 27, 2012 7:22 pm Post subject: |
|
|
Actually, you can enable required filesystem support, run followed by | Code: | | make modules_install | and you will be able to mount. _________________ Please learn how to denote units correctly! |
|
| Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 29965 Location: 56N 3W
|
Posted: Tue Nov 27, 2012 7:25 pm Post subject: |
|
|
rbvim,
Welcome to Gentoo.
You can mount your boot but you need to make a kernel module first.
Get into make menuconf, for your currently running kernel. Check if you are not sure which kernel that is.
Use the search (Press /) and enter ext2
The kernel will tell you where in the configuration menus that option is.
Go there and set it to <M>. <*> not work, as you still won't be able to mount boot.
Exit menuconfig and save your change. Run | Code: | | make modules && make modules_install |
You now have the ext2 driver as a loadable module for your kernel.
will load it, now mount /boot should work.
If you want to make ext2 a built it, you must mount /boot while you still have the module, so that you can copy the a new kernel with ext2 set to <*> over to /boot
You don't need your CD after all. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
| Back to top |
|
 |
|
|
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
|
|