|
From: | Christopher Barry |
Subject: | [bug #27737] unable to install GRUB to a partitioned loop device |
Date: | Sat, 17 Oct 2009 15:22:31 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |