Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant boot into TinyGentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
harleylg
n00b
n00b


Joined: 28 Aug 2015
Posts: 2

PostPosted: Fri Dec 28, 2018 8:15 am    Post subject: Cant boot into TinyGentoo Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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