Ask Your Question

Fedora 20 VirtualBox Native Boot Dracut

asked 2014-05-21 13:28:08 -0500

beastwick gravatar image

I am trying to figure out how to boot Fedora 20 natively through Virtualbox on my Windows 7 host. I am following a guide, , from the Arch Linux Wiki. The guide can be followed exactly for the most part, except where mkinitcpio comes into play. I have been reviewing the Dracut documentation and see easily how I can specify VirtualBox drivers in the output image either in the Dracut configuration file or by the command line, but I don't know where to specify the boot hooks.

edit retag flag offensive close merge delete


I think there is no need to specify any hooks on Fedora. What is the actual problem ? Can you boot into Fedora on VB ?

NikTh gravatar imageNikTh ( 2014-05-21 13:58:06 -0500 )edit

There is no actual problem at the moment. I haven't had the chance to try this yet. What is wrong is translating the part of the guide that requires certain modules and drivers to be active when you create the initramfs image.

MODULES="piix ahci pata_acpi ata_piix"

HOOKS="base udev autodetect ide sata filesystems"

I know how to go about making the modules (drivers) active, but I don't know how to go about specifying those hooks, unless those are also Dracut modules. Or, as you said, it isn't necessary to specify those hooks for Fedora.

beastwick gravatar imagebeastwick ( 2014-05-21 14:46:46 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-05-22 14:04:21 -0500

hedayat gravatar image

You should be able to boot Fedora in VB using the "rescue" grub entry which uses a general initramfs. You can create such initramfs using dracut with --no-hostonly option (dracut --no-hostonly).

Note: after booting Fedora inside VB, you can run dracut without --no-hostonly option to create a minimal initramfs suitable ONLY for booting Fedora inside VB.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-05-21 13:28:08 -0500

Seen: 362 times

Last updated: May 22 '14