Skip to contentSkip to conversation

grub-probefs

DISCUSSION Yoshinori K. Okuji 2 participants 3 messages Aug 1, 2005 – Aug 2, 2005

lore
Share & tools
lore
#0 lore raw

I have implemented grub-probefs which probes a filesystem module right now. If you have a PC, please test it. Running it has no harm.

Okuji

#1 lore raw
Quoted 13 lines · Yoshinori K. Okuji

I have implemented grub-probefs which probes a filesystem module right now. If you have a PC, please test it. Running it has no harm.

Okuji

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

I tested it. As I understand the syntax is

./grub-probefs -m <device map> <GRUB file>

I have my GRUB floppy image mounted on ../../mnt (from current path) I tried:

$ ./grub-probefs -m ./device.map \(fd0\)/boot/grub/core.img
grub-probefs: error: Cannot stat `(fd0)/boot/grub/core.img'

And also:

./grub-probefs -m ./device.map ../../mnt/boot/grub/core.img cannot find a GRUB device for ../../mnt/boot/grub/core.img.

my device.map:

(fd0) /home/vova/grub/grub.img

my /etc/fstab:

....
/home/vova/grub/grub.img /home/vova/grub/mnt auto umask=0,user,iocharset=utf8,noauto,exec,users,loop 0 0
....

Vladimir

#2 lore raw
Quoted 3 lines · Vladimir Serbinenko

I tested it. As I understand the syntax is

./grub-probefs -m <device map> <GRUB file>

The argument can be a file or a directory.

Quoted 13 lines

I have my GRUB floppy image mounted on ../../mnt (from current path) I tried:

$ ./grub-probefs -m ./device.map \(fd0\)/boot/grub/core.img
grub-probefs: error: Cannot stat `(fd0)/boot/grub/core.img'

And also:

./grub-probefs -m ./device.map ../../mnt/boot/grub/core.img cannot find a GRUB device for ../../mnt/boot/grub/core.img.

my device.map:

Quoted 8 lines

(fd0) /home/vova/grub/grub.img

my /etc/fstab:

....
/home/vova/grub/grub.img /home/vova/grub/mnt auto umask=0,user,iocharset=utf8,noauto,exec,users,loop 0 0
....

Currently, it does not work with loopback. I know this problem but I don't intend to fix it at the moment. This is the same problem as grub-setup cannot guess a root device automatically with loopback.

Okuji