[prev in list] [next in list] [prev in thread] [next in thread]
List: grub-bug
Subject: [bug #43004] nativedisk aborts Virtualbox VM
From: adrian15 <INVALID.NOREPLY () gnu ! org>
Date: 2014-08-17 3:11:04
Message-ID: 20140817-031103.sv86173.90142 () savannah ! gnu ! org
[Download RAW message or body]
URL:
<http://savannah.gnu.org/bugs/?43004>
Summary: nativedisk aborts Virtualbox VM
Project: GNU GRUB
Submitted by: adrian15sgd
Submitted on: dom 17 ago 2014 03:11:02 GMT
Category: Disk & Partition
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: Git master
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
Affected GIT commit
-------------------
c291f47b2c003ef6daeafaedd458db838bad6fb8
Build system
-------------
Debian Unstable from 08 August 2014
Build options
./configure --with-platform=efi at first pass.
./configure --with-platform=pc at second pass.
How do I build and prepare my system
------------------------------------
Make sure no Debian grub package is found in chroot
apt-get remove '.grub.'
Grub2 (efi+pc)) Build and installation
# Make sure we are testing the right revision
mkdir grub_upstream
cd grub_upstream
git clone git://git.savannah.gnu.org/grub.git .
git checkout COMMIT-TO-TEST
# Remove any non git related file - BEGIN
git reset --hard
git clean -f -d
git clean -f -x -d
# Remove any non git related file - END
# Build efi based grub and install it - BEGIN
./autogen.sh && ./configure --with-platform=efi && make
# Dont forget to delete any rest of previous installation - BEGIN
sudo rm -rf /usr/local/etc/grub.d/ /usr/local/bin/grub-*
/usr/local/share/grub/
# Dont forget to delete any rest of previous installation - END
sudo make install
# Build efi based grub and install it - END
make clean # Prepare for next build
./configure --with-platform=pc && make # Prepare for a i386 build
sudo make install # Install i386 build
Super Grub2 Disk build
----------------------
./supergrub-mkrescue -o="whatever-name.iso"
You can find supergrub-mkrescue source code here:
https://forja.cenatic.es/scm/browser.php?group_id=204
Anyways what it is running is:
grub-mkrescue --output=super_grub2_disk_hybrid_2.00s2.iso /tmp/tmp.As2v1yM9lK
where /tmp/tmp.As2v1yM9lK is a temporary directory with all the extra Super
Grub2 Disk files.
Probably running:
grub-mkrescue --output=test.iso /tmp/emptydir/
which needs to output both these messages:
Enabling BIOS support ...
Enabling x86_64-efi support ...
should arise the same results.
VM system
----------
Virtualbox 4.3.10 r93012
Enable EFI option is unchecked!
Cdrom drive: super_grub2_disk_2.00s2.iso
Disk 1: Windows 7
Disk 2: Rescatux USB
Disk 3: SteamOS disk
Disk 4: efi test
How to reproduce the bug
-------------------------
If needed press 'c' to go to grub shell.
grub> nativedisk
What happens then
------------------
I am currently not seeing but I remember to have seen:
`hd96' disk not found
The Virtualbox Virtual Machine aborts (You see aborted next to it). There is
no important information in the Virtualbox logs.
More information
-----------------
While doing some more tests with phcoder we have kind of concluded that the
problem came from ahci.
Grub probably deals with ahci in a way that no other OS does so... it might be
that Virtualbox cannot support that behaviour.
But, actually, more information and testing is needed.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43004>
_______________________________________________
Mensaje enviado vía/por Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic