harleylg n00b
Joined: 28 Aug 2015 Posts: 2
|
Posted: Fri Dec 28, 2018 8:15 am Post subject: Cant boot into TinyGentoo |
|
|
I want to build a tinygentoo use in my kvm guest. I follow the instruction in:
https://magicyyang.wordpress.com/2006/01/11/tiny-gentoo-with-qemu-howto/
https://forums.gentoo.org/viewtopic-t-705771-start-0.html
http://wikigentoo.ksiezyc.pl/TinyGentoo.htm
But when I finished, when connect from the vnc, after display a message said the kernel mount the rootfs, tmpfs and free some memory then halt, the CAPS and SCROLL led flashing, it seens a kernel panic happened.
I boot another gentoo guest using the kernel, it's OK. I boot the disk image by using another kernel, the same problom.
The stage3 I used is hardened with uclibc-ng.
What I've done to the new image is:
Connected the image with qemu-nbd, partition nbd device with parted, make a ext4 file system on rootfs. emerge baselayout, uclibc-ng, busybox by
Code: | FEATURES="nodoc noman" USE="make-symlinks minimal mdev hardened static" emerge -avUDN --root=/tiny-root --root-deps=rdeps baselayout uclibc-ng busybox
mkdir /tiny-root/{dev,sys,proc} |
then edit the fstab:
Code: | /dev/vda1 /boot vfat noauto,noatime 1 2
/dev/vda3 / ext4 noatime 0 1
/dev/vda2 none swap sw 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
|
chroot into tiny-root, edit the hostname and change root's password.
What did I missing? |
|