Talk:Installing Gentoo: Difference between revisions
No edit summary |
|||
| Line 24: | Line 24: | ||
--[[User:mattlley|mattlley]] 10:30, 29 November 2013 (UTC) | --[[User:mattlley|mattlley]] 10:30, 29 November 2013 (UTC) | ||
== Serial console and kernel parameters (to fix console hanging) == | |||
I had to do the following on my image to get the serial console to work:<br> | |||
echo "hvc0:2345:respawn:/sbin/agetty -L 9600 hvc0" >> /mnt/etc/inittab<br> | |||
echo hvc0 >> /mnt/etc/securetty | |||
I also needed to add "console=hvc0 xencons=tty" to my list of kernel parameters:<br> | |||
kernel /boot/vmlinuz root=/dev/xvda1 console=hvc0 xencons=tty | |||
Revision as of 19:12, 24 October 2014
I failed pretty much at the first hurdle with this guide.
I'm guessing that stage3 has to be unpacked into the target directory (/mnt/gentoo), but the guide doesn't specify.
Where does mirrorselect come from? This looks like a Gentoo package but I can't find it for Debian thus can't install it in the rescue environment.
I didn't get any further than that, but some other thoughts:
- What's the point of splitting xvda into /boot and / if they are both going to be the same filesystem type (ext4 in this case)? Normally the only point in having a separate /boot on a VPS is if you want to use something more exotic like btrfs or LVM for your root.
- is --f-omit-frame-pointers a safe CFLAG?
- — Andy
In response.... Doing this in abstracted way (on a Xen VM at Home prior to moving it to Bitfolk). You don't need grub. Mirrorselect is from the Gentoo CD. Just use something sensible in /etc/portage/make.conf
- SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
- GENTOO_MIRRORS="http://gentoo.virginmedia.com http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://mirror.bytemark.co.uk/gentoo http://mirror.qubenet.net/gentoo"
I see little point in having a seperate /boot. Especially as /boot just contains a kernel and grub config if you don't use genkernel.
--Jon Agland 22:50, 12 November 2013 (UTC)
Thanks Andy and Jon, I've made some edits in light of what you said. Hopefully it's more correct
--mattlley 10:30, 29 November 2013 (UTC)
Serial console and kernel parameters (to fix console hanging)
I had to do the following on my image to get the serial console to work:
echo "hvc0:2345:respawn:/sbin/agetty -L 9600 hvc0" >> /mnt/etc/inittab
echo hvc0 >> /mnt/etc/securetty
I also needed to add "console=hvc0 xencons=tty" to my list of kernel parameters:
kernel /boot/vmlinuz root=/dev/xvda1 console=hvc0 xencons=tty