LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install Crux 3.2 in Virtualbox, grub broken? (https://www.linuxquestions.org/questions/linux-newbie-8/install-crux-3-2-in-virtualbox-grub-broken-4175562332/)

mshlinux 12-25-2015 07:36 AM

install Crux 3.2 in Virtualbox, grub broken?
 
Anyone tried Crux 3.2 in Virtualbox?
I install Crux 3.2 in Virtualbox many time. Grub is broken everytime after installed finish. I follow its handbook and run
Code:

# grub-install /dev/sda
and
Code:

# grub-mkconfig -o /boot/grub/grub.cfg
without any error. But when I reboot it from hardisk, grub broken error page appears. How can I fix it?

jpollard 12-25-2015 06:20 PM

Depends on what the error is.

I know in one case the VM used virtio for disk, and grub didn't have the proper driver for that. I don't know if it has been added since. You might check what kind if driver is being used (if it isn't a SATA, pick that for the VM and try again).

mshlinux 12-26-2015 02:42 AM

I tested it with SATA. Not work.
I also tested EFI and Lilo as well.
Not work.

colorpurple21859 12-26-2015 05:16 AM

what is the error that your getting? Did you get the grub prompt?

mshlinux 12-27-2015 05:57 AM

Yes I get grub prompt. Then I get grub rescue> screen.

colorpurple21859 12-27-2015 04:57 PM

Quote:

Yes I get grub prompt. Then I get grub rescue> screen.
Not sure what this mean. Are you saying at first you got a grub prompt and no menu, and now you get a grub rescue prompt? Grub will have to be reinstalled if it is a grub rescue prompt. If it is just a grub prompt you will need to create a /boot/grub/grub.cfg either automatically or manually

Quote:

I tested it with SATA. Not work.
I also tested EFI and Lilo as well.
Not work.
are you currently booting in bios or efi mode?

mshlinux 12-27-2015 09:51 PM

I mean "grub prompt" is that when I reboot it, grub appears very very short time and then "Grub Rescue >" screen appears.
Yes I did, boot from iso and reinstall grub. But same issue.
I am currently trying to boot from bios using grub.
sure I did
Code:

# grub-install /dev/sda
# grub-mkconfig > /boot/grub/grub.cfg

without any error.

colorpurple21859 12-27-2015 11:18 PM

what is your partition layout? what is the output of
Code:

fdisk -l
?


All times are GMT -5. The time now is 09:58 AM.