bugGNU GRUB - Bugs: bug #33353, installing to image file =...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33353: installing to image file = grub-probe: error: no such disk.

Submitted by:  Carl Karsten <carlfk>
Submitted on:  Fri 20 May 2011 12:04:44 AM UTC  
 
Category: Disk & PartitionSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: carlfk
Open/Closed: ClosedRelease: 
Release: 1.98Reproducibility: Every Time
Planned Release: None

(Jump to the original submission Jump to the original submission)

Fri 20 May 2011 03:54:53 PM UTC, comment #9:

note:
parted --script disk.img set 1 bios_grub on
but parted -l shows:
Number Start End Size File system Flags
1 0.00B 983kB 983kB ext2
(no flags) but it is shown here:
juser@trist:~$ parted disk.img
WARNING: You are not superuser. Watch out for permissions.
GNU Parted 2.3
Using /home/juser/disk.img
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: (file)
Disk /home/juser/disk.img: 2097MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 1000kB 983kB ext2 primary bios_grub
2 1049kB 2090MB 2089MB ext3 primary

juser@trist:~$ ./mksid_vm.sh
+ clear

+ sudo umount /dev/mapper/loop0p2
+ sudo kpartx -v -d /home/juser/disk.img
del devmap : loop0p2
device-mapper: remove ioctl failed: Device or resource busy
ioctl: LOOP_CLR_FD: Device or resource busy
can't del loop : /dev/loop0
+ sudo losetup -d /dev/loop0
loop: can't delete device /dev/loop0: Device or resource busy
+ qemu-img create -f raw disk.img 2000M
Formatting 'disk.img', fmt=raw size=2097152000
+ parted disk.img mklabel gpt
WARNING: You are not superuser. Watch out for permissions.
+ parted --script disk.img mkpart primary 1 1
Warning: The resulting partition is not properly aligned for best performance.
+ parted --script disk.img set 1 bios_grub on
+ parted --script disk.img mkpart primary ext3 2 2090
+ sudo losetup /dev/loop0 disk.img
losetup: /dev/loop0: device is busy
+ sudo kpartx -a /dev/loop0
+ sudo mkfs.ext3 /dev/mapper/loop0p2
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
127488 inodes, 509952 blocks
25497 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=524288000
16 block groups
32768 blocks per group, 32768 fragments per group
7968 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
+ mkdir -p rootfs
+ sudo mount /dev/mapper/loop0p2 rootfs
+ sudo parted -l
Model: ATA HITACHI HTS72201 (scsi)
Disk /dev/sda: 100GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 97.9GB 97.9GB primary ext4 boot
2 97.9GB 100GB 2102MB extended
5 97.9GB 100GB 2102MB logical linux-swap(v1)

Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/loop0p2: 2089MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number Start End Size File system Flags
1 0.00B 2089MB 2089MB ext3

Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/loop0p1: 983kB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number Start End Size File system Flags
1 0.00B 983kB 983kB ext2

+ grub-install --version
grub-install (GRUB) 1.99+experimental
+ sudo grub-install --boot-directory=rootfs/boot /dev/loop0
/usr/local/sbin/grub-probe: error: unknown filesystem.
Auto-detection of a filesystem of /dev/mapper/loop0p2 failed.
Try with --recheck.
If the problem persists please report this together with the output of "/usr/local/sbin/grub-probe --device-map="rootfs/boot/grub/device.map" --target=fs -v rootfs/boot/grub" to <bug-grub@gnu.org>
+ sudo grub-install --recheck --boot-directory=rootfs/boot /dev/loop0
/usr/local/sbin/grub-probe: error: unknown filesystem.
Auto-detection of a filesystem of /dev/mapper/loop0p2 failed.
Try with --recheck.
If the problem persists please report this together with the output of "/usr/local/sbin/grub-probe --device-map="rootfs/boot/grub/device.map" --target=fs -v rootfs/boot/grub" to <bug-grub@gnu.org>
+ sudo /usr/local/sbin/grub-probe --device-map=rootfs/boot/grub/device.map --target=fs -v rootfs/boot/grub
/usr/local/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: scanning hd0 for LVM.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: no LVM signature found.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos5.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos1.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos5.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos1.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: scanning hd0 for LVM.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: no LVM signature found.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: scanning hd0,msdos5 for LVM.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: no LVM signature found.
/usr/local/sbin/grub-probe: info: scanning hd0,msdos1 for LVM.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: no LVM signature found.
/usr/local/sbin/grub-probe: info: changing current directory to /dev.
/usr/local/sbin/grub-probe: info: changing current directory to dri.
/usr/local/sbin/grub-probe: info: changing current directory to snd.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to cpu.
/usr/local/sbin/grub-probe: info: changing current directory to shm.
/usr/local/sbin/grub-probe: info: changing current directory to disk.
/usr/local/sbin/grub-probe: info: changing current directory to by-uuid.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to by-id.
/usr/local/sbin/grub-probe: info: changing current directory to bsg.
/usr/local/sbin/grub-probe: info: changing current directory to char.
/usr/local/sbin/grub-probe: info: changing current directory to block.
/usr/local/sbin/grub-probe: info: changing current directory to pts.
/usr/local/sbin/grub-probe: info: changing current directory to mapper.
/usr/local/sbin/grub-probe: info: changing current directory to /dev.
/usr/local/sbin/grub-probe: info: changing current directory to dri.
/usr/local/sbin/grub-probe: info: changing current directory to snd.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to cpu.
/usr/local/sbin/grub-probe: info: changing current directory to shm.
/usr/local/sbin/grub-probe: info: changing current directory to disk.
/usr/local/sbin/grub-probe: info: changing current directory to by-uuid.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to by-id.
/usr/local/sbin/grub-probe: info: changing current directory to bsg.
/usr/local/sbin/grub-probe: info: changing current directory to char.
/usr/local/sbin/grub-probe: info: changing current directory to block.
/usr/local/sbin/grub-probe: info: changing current directory to pts.
/usr/local/sbin/grub-probe: info: changing current directory to mapper.
/usr/local/sbin/grub-probe: info: changing current directory to input.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to bus.
/usr/local/sbin/grub-probe: info: changing current directory to usb.
/usr/local/sbin/grub-probe: info: changing current directory to 006.
/usr/local/sbin/grub-probe: info: changing current directory to 005.
/usr/local/sbin/grub-probe: info: changing current directory to 004.
/usr/local/sbin/grub-probe: info: changing current directory to 003.
/usr/local/sbin/grub-probe: info: changing current directory to 002.
/usr/local/sbin/grub-probe: info: changing current directory to 001.
/usr/local/sbin/grub-probe: info: changing current directory to net.
/usr/local/sbin/grub-probe: info: changing current directory to pktcdvd.
/usr/local/sbin/grub-probe: info: changing current directory to /dev.
/usr/local/sbin/grub-probe: info: changing current directory to dri.
/usr/local/sbin/grub-probe: info: changing current directory to snd.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to cpu.
/usr/local/sbin/grub-probe: info: changing current directory to shm.
/usr/local/sbin/grub-probe: info: changing current directory to disk.
/usr/local/sbin/grub-probe: info: changing current directory to by-uuid.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to by-id.
/usr/local/sbin/grub-probe: info: changing current directory to bsg.
/usr/local/sbin/grub-probe: info: changing current directory to char.
/usr/local/sbin/grub-probe: info: changing current directory to block.
/usr/local/sbin/grub-probe: info: changing current directory to pts.
/usr/local/sbin/grub-probe: info: changing current directory to mapper.
/usr/local/sbin/grub-probe: info: changing current directory to input.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to bus.
/usr/local/sbin/grub-probe: info: changing current directory to usb.
/usr/local/sbin/grub-probe: info: changing current directory to 006.
/usr/local/sbin/grub-probe: info: changing current directory to 005.
/usr/local/sbin/grub-probe: info: changing current directory to 004.
/usr/local/sbin/grub-probe: info: changing current directory to 003.
/usr/local/sbin/grub-probe: info: changing current directory to 002.
/usr/local/sbin/grub-probe: info: changing current directory to 001.
/usr/local/sbin/grub-probe: info: changing current directory to net.
/usr/local/sbin/grub-probe: info: changing current directory to pktcdvd.
/usr/local/sbin/grub-probe: info: changing current directory to /dev.
/usr/local/sbin/grub-probe: info: changing current directory to dri.
/usr/local/sbin/grub-probe: info: changing current directory to snd.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to cpu.
/usr/local/sbin/grub-probe: info: changing current directory to shm.
/usr/local/sbin/grub-probe: info: changing current directory to disk.
/usr/local/sbin/grub-probe: info: changing current directory to by-uuid.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to by-id.
/usr/local/sbin/grub-probe: info: changing current directory to bsg.
/usr/local/sbin/grub-probe: info: changing current directory to char.
/usr/local/sbin/grub-probe: info: changing current directory to block.
/usr/local/sbin/grub-probe: info: changing current directory to pts.
/usr/local/sbin/grub-probe: info: changing current directory to mapper.
/usr/local/sbin/grub-probe: info: changing current directory to input.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to bus.
/usr/local/sbin/grub-probe: info: changing current directory to usb.
/usr/local/sbin/grub-probe: info: changing current directory to 006.
/usr/local/sbin/grub-probe: info: changing current directory to 005.
/usr/local/sbin/grub-probe: info: changing current directory to 004.
/usr/local/sbin/grub-probe: info: changing current directory to 003.
/usr/local/sbin/grub-probe: info: changing current directory to 002.
/usr/local/sbin/grub-probe: info: changing current directory to 001.
/usr/local/sbin/grub-probe: info: changing current directory to net.
/usr/local/sbin/grub-probe: info: changing current directory to pktcdvd.
/usr/local/sbin/grub-probe: info: /dev/mapper/loop0p2 starts from 2048.
/usr/local/sbin/grub-probe: info: opening the device /dev/loop0.
/usr/local/sbin/grub-probe: info: the size of /dev/loop0 is 4096000.
/usr/local/sbin/grub-probe: info: Partition 0 starts from 34.
/usr/local/sbin/grub-probe: info: Partition 1 starts from 2048.
/usr/local/sbin/grub-probe: info: opening /dev/loop0,gpt2.
/usr/local/sbin/grub-probe: info: the size of /dev/loop0 is 4096000.
/usr/local/sbin/grub-probe: error: unknown filesystem.
+ exit
juser@trist:~$

Carl Karsten <carlfk>
Fri 20 May 2011 03:38:42 PM UTC, comment #8:

http://www.gnu.org/software/grub/manual/html_node/BIOS-installation.html#BIOS-installation

Vladimir Serbinenko <phcoder>
Project Administrator
Fri 20 May 2011 03:16:08 PM UTC, comment #7:

juser@trist:~$ sudo grub-install --boot-directory=rootfs/boot /dev/loop0 /usr/local/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/local/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/local/sbin/grub-setup: error: will not proceed with blocklists.

Carl Karsten <carlfk>
Fri 20 May 2011 03:14:18 PM UTC, comment #6:

got it:

With devmapper support: Yes

building now, will test and report soon.

Carl Karsten <carlfk>
Fri 20 May 2011 02:56:40 PM UTC, comment #5:

juser@trist:~$ ldd /usr/local/sbin/grub-probe
linux-vdso.so.1 => (0x00007fff8ecf5000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd8bc7dc000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd8bcb86000)

So I guess it isn't. how do I enable it?

Carl Karsten <carlfk>
Fri 20 May 2011 02:55:01 PM UTC, comment #4:

juser@trist:~$ sudo /usr/local/sbin/grub-probe --device-map="rootfs/boot/grub/device.map" --target=fs -v rootfs/boot/grub
/usr/local/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: scanning hd0 for LVM.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: no LVM signature found.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos5.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos1.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos5.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos1.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: scanning hd0 for LVM.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: no LVM signature found.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: scanning hd0,msdos5 for LVM.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: no LVM signature found.
/usr/local/sbin/grub-probe: info: scanning hd0,msdos1 for LVM.
/usr/local/sbin/grub-probe: info: the size of hd0 is 195371568.
/usr/local/sbin/grub-probe: info: no LVM signature found.
/usr/local/sbin/grub-probe: info: changing current directory to /dev.
/usr/local/sbin/grub-probe: info: changing current directory to dri.
/usr/local/sbin/grub-probe: info: changing current directory to snd.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to cpu.
/usr/local/sbin/grub-probe: info: changing current directory to shm.
/usr/local/sbin/grub-probe: info: changing current directory to disk.
/usr/local/sbin/grub-probe: info: changing current directory to by-uuid.
/usr/local/sbin/grub-probe: info: changing current directory to by-path.
/usr/local/sbin/grub-probe: info: changing current directory to by-id.
/usr/local/sbin/grub-probe: info: changing current directory to bsg.
/usr/local/sbin/grub-probe: info: changing current directory to char.
/usr/local/sbin/grub-probe: info: changing current directory to block.
/usr/local/sbin/grub-probe: info: changing current directory to pts.
/usr/local/sbin/grub-probe: info: changing current directory to mapper.
/usr/local/sbin/grub-probe: info: opening loop0p1.
/usr/local/sbin/grub-probe: error: no such disk.

Carl Karsten <carlfk>
Fri 20 May 2011 09:39:31 AM UTC, comment #3:

Then post what GRUB itself said you to post. Also please check that it's compiled with dm support:
$ ldd /usr/local/sbin/grub-probe
libdevmapper.so.1.02.1 => /lib/libdevmapper.so.1.02.1 (0x00007ffddf006000)

Vladimir Serbinenko <phcoder>
Project Administrator
Fri 20 May 2011 09:34:34 AM UTC, comment #2:

> 1.98 (as said in your 'release' field) didn't support the loopback installation. Use latest bzr.


whoopos, I thought I picked -experimental
I have this in my script:

+ grub-install --version
grub-install (GRUB) 1.99+experimental

Carl Karsten <carlfk>
Fri 20 May 2011 07:53:15 AM UTC, comment #1:

1.98 (as said in your 'release' field) didn't support the loopback installation. Use latest bzr.

Vladimir Serbinenko <phcoder>
Project Administrator
Fri 20 May 2011 12:04:44 AM UTC, original submission:

# clean up previous run
sudo umount /dev/mapper/loop0p1
sudo kpartx -v -d $PWD/disk.img
# sudo losetup -d /dev/loop0

# create image:
qemu-img create -f raw disk.img 2000M

# partition it:
parted disk.img mklabel gpt
parted --script disk.img mkpart primary ext3 1 2090

# loop the partition
sudo losetup /dev/loop0 disk.img
sudo kpartx -a /dev/loop0

# format the partition
sudo mkfs.ext3 /dev/mapper/loop0p1

# mount the partition
mkdir -p rootfs
sudo mount /dev/mapper/loop0p1 rootfs

grub-install --version
sudo grub-install --boot-directory=rootfs/boot /dev/loop0
sudo grub-install --recheck --boot-directory=rootfs/boot /dev/loop0

+ qemu-img create -f raw disk.img 2000M
Formatting 'disk.img', fmt=raw size=2097152000
+ parted disk.img mklabel gpt
WARNING: You are not superuser. Watch out for permissions.
+ parted --script disk.img mkpart primary ext3 1 2090
+ sudo losetup /dev/loop0 disk.img
+ sudo kpartx -a /dev/loop0
+ sudo mkfs.ext3 /dev/mapper/loop0p1
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
127488 inodes, 509952 blocks
25497 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=524288000
16 block groups
32768 blocks per group, 32768 fragments per group
7968 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
+ mkdir -p rootfs
+ sudo mount /dev/mapper/loop0p1 rootfs
+ grub-install --version
grub-install (GRUB) 1.99+experimental
+ sudo grub-install --boot-directory=rootfs/boot /dev/loop0
/usr/local/sbin/grub-probe: error: no such disk.
Auto-detection of a filesystem of /dev/mapper/loop0p1 failed.
Try with --recheck.
If the problem persists please report this together with the output of "/usr/local/sbin/grub-probe --device-map="rootfs/boot/grub/device.map" --target=fs -v rootfs/boot/grub" to <bug-grub@gnu.org>
+ sudo grub-install --recheck --boot-directory=rootfs/boot /dev/loop0
/usr/local/sbin/grub-probe: error: no such disk.
Auto-detection of a filesystem of /dev/mapper/loop0p1 failed.
Try with --recheck.
If the problem persists please report this together with the output of "/usr/local/sbin/grub-probe --device-map="rootfs/boot/grub/device.map" --target=fs -v rootfs/boot/grub" to <bug-grub@gnu.org>

Carl Karsten <carlfk>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by carlfk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 May 2011 07:53:31 AM UTCphcoderStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1