Re: [gentoo-user] kernel choices for booting gentoo as guest in vbox vm

2018-02-01 Thread Alexander Kapshuk
On Wed, Jan 31, 2018 at 2:44 PM, Harry Putnam  wrote:
> Installing gentoo as guest into vbox vm on solaris-11 (openindiana)
> HOST
> gentoo-17
> VBox 5.2.6
> Kernel 4.15.0
>
> My first boot resulted in resulted in a kernel panic... not able to
> mount root.
>
> I checked my /etc/fstab trying to make sure I didn't make a stupid
> mistake there... it appear to be sound. (Included at the end of post)
>
> I suspect it may be the result of a kernel choice... or rather the
> lack of one.  Something that would have been able to mount /
>
> I thought it would be ata_piix and made sure that was selected in
> kernel .config
>
> I'm thinking it may be be ata_generic, which I did not have selected.
> Which I have now enabled.  But I see now, that is for IDE.
>
> In a chroot now I can see lspci -k shows ata_piix in use .. but that
> would probably be because in vbox I have the gentoo install media on
> IDE secondary master.  But also shows sata controller ahci
>
> Which I do also have selected in .config.  However there a number of
> AHCI choices in the kernel config that were not selected.
>
> Can anyone tell me what they used to allow gentoo in vbox to boot?
>
>
>
Did you enable the recommended kernel config options as suggested here [1]?
[1] https://wiki.gentoo.org/wiki/VirtualBox



Re: [gentoo-user] kernel choices for booting gentoo as guest in vbox vm

2018-02-01 Thread 80x24
On Wed, Jan 31, 2018 at 8:44 PM, Harry Putnam  wrote:
> Installing gentoo as guest into vbox vm on solaris-11 (openindiana)
> HOST
> gentoo-17
> VBox 5.2.6
> Kernel 4.15.0
>
> My first boot resulted in resulted in a kernel panic... not able to
> mount root.
>

Maybe taking a video record or screenshot and providing a extact log
message would help.

> In a chroot now I can see lspci -k shows ata_piix in use .. but that
> would probably be because in vbox I have the gentoo install media on
> IDE secondary master.  But also shows sata controller ahci

In case device driver is fine, you would want to check the filesystem
type. I've done something like using btrfs as rootfs but didn't mark
btrfs as builtin module.

Similar kernel panic.


-- 
Silence is golden.



[gentoo-user] kernel choices for booting gentoo as guest in vbox vm

2018-01-31 Thread Harry Putnam
Installing gentoo as guest into vbox vm on solaris-11 (openindiana)
HOST
gentoo-17
VBox 5.2.6
Kernel 4.15.0

My first boot resulted in resulted in a kernel panic... not able to
mount root.

I checked my /etc/fstab trying to make sure I didn't make a stupid
mistake there... it appear to be sound. (Included at the end of post)

I suspect it may be the result of a kernel choice... or rather the
lack of one.  Something that would have been able to mount /

I thought it would be ata_piix and made sure that was selected in
kernel .config

I'm thinking it may be be ata_generic, which I did not have selected.
Which I have now enabled.  But I see now, that is for IDE.

In a chroot now I can see lspci -k shows ata_piix in use .. but that
would probably be because in vbox I have the gentoo install media on
IDE secondary master.  But also shows sata controller ahci

Which I do also have selected in .config.  However there a number of
AHCI choices in the kernel config that were not selected.

Can anyone tell me what they used to allow gentoo in vbox to boot?