Opened 11 years ago

Closed 11 years ago

#693 closed defect (fixed)

mindi USB key problems

Reported by: victor gattegno Owned by: Bruno Cornec
Priority: normal Milestone: 3.0.4
Component: mindi Version: 3.0.3
Severity: normal Keywords: mindi keyboard azerty
Cc: victor gattegno, rue

Description

When I run mindi and create a USB key, that key boots but it cannot mount /dev/sdb1 to /mnt/cdrom, so - for example - AZERTY keyboard is not set.

It is because of the find-and-mount-cdrom file, which does not try /dev/sdb devices and which try to mount with iso9660 type only (and USB key made by mindi is vfat fs type).

If I change in /usr/lib/mindi/rootfs/sbin/find-and-mount-cdrom

for device in /dev/hd? /dev/scd? /dev/rcd? /dev/sr? /dev/cd? /dev/ide/*/*/*/*/cd /dev/scsi/*/*/*/*/cd; do

by

for device in /dev/hd? /dev/sdb? /dev/scd? /dev/rcd? /dev/sr? /dev/cd? /dev/ide/*/*/*/*/cd /dev/scsi/*/*/*/*/cd; do

and the two mounts

mount $device -t iso9660 -o ro /mnt/cdrom 2> /tmp/mount.log

by

mount $device -t vfat -o ro /mnt/cdrom 2> /tmp/mount.log

Then mindi can mount the USB key to /mnt/cdrom at boot.

I still get the following error and keyboard type is still QWERTY, but it is because my USB key was made by mindi, not by mondo so there is no archives directory on it.

There is a CD in /dev/sdb1 but it's not a Mondo CD

Attachments (2)

mindi logs Ubuntu 12.04 64bit.zip (56.9 KB ) - added by victor gattegno 11 years ago.
mindi logs with find-and-mount-cdrom not modified
mondorestore.zip (21.9 KB ) - added by victor gattegno 11 years ago.
mondorestore.log, after I modified /usr/lib/mindi/rootfs/sbin/find-and-mount-cdrom and ran mindi again

Download all attachments as: .zip

Change History (4)

by victor gattegno, 11 years ago

mindi logs with find-and-mount-cdrom not modified

by victor gattegno, 11 years ago

Attachment: mondorestore.zip added

mondorestore.log, after I modified /usr/lib/mindi/rootfs/sbin/find-and-mount-cdrom and ran mindi again

comment:1 by victor gattegno, 11 years ago

With the find-and-mount-cdrom not modified, I booted on the USB mindi key, and I used:

boot: usb=/dev/sdb

Then I get AZERTY keyboard in the shell.

So I guess that there is no bug and that this ticket can be closed...

Last edited 11 years ago by victor gattegno (previous) (diff)

comment:2 by victor gattegno, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.