URL:
<http://savannah.gnu.org/bugs/?27737>
Summary: unable to install GRUB to a partitioned loop device
Project: GNU GRUB
Submitted by: tetra
Submitted on: Sat 17 Oct 2009 03:22:30 PM GMT
Category: Installation
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: other
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
grub-probe fails to identify /dev/mapper/loop0p1. I have tried a workaround
of:
ln -s /dev/mapper/loop0p1 /dev/loop0p1
to no effect.
to reproduce;
1. create a disk image with dd.
2. losetup the image
3. partition the image
4. kpartx /dev/loop0 (to create /dev/mapper entries)
5. put filesystem on image
6. mount /dev/mapper/loop0p1 /mnt/image
7. debootstrap to the image
8. create /mnt/image/boot/grub/device.map with:
(hd0) /dev/loop0
9. grub-install --root-directory=/mnt/image /dev/loop0
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27737>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub