[Grml] GRML Accessibility Features
John G Heim
jheim at math.wisc.edu
Fri Feb 12 17:17:54 CET 2016
Oops, it occurs to me that if you are booting from a CD, you can't do an
eject. I always run grml from a thumb drive. That is why I forgot about
that. By the way, it runs way better from a thumb drive than from a CD.
Here is a script I use to build a grml bootable thumb drive. You can
set the environmental variables GRMLDEVICE and GRMLISO and just run it.
Or you can pass them in as parameters. Or you can just run the script
and it will ask. GRMLDEVICE is the device name of your thumb drive and
GRMLISO is the path to a grml iso file. The script will format the thumb
drive and then run grml2usb for you.
#!/bin/bash
test ! -z "$1" && GRMLDEVICE="$1"
if [ -z "$GRMLDEVICE" ]; then
DEFAULT=/dev/sdb
echo -n "Device (default=${DEFAULT}): "
read GRMLDEVICE
test -z "$GRMLDEVICE" && GRMLDEVICE="$DEFAULT"
fi
test ! -z "$2" && GRMLISO="$2"
if [ -z "$GRMLISO" ]; then
for DEFAULT in grml64-full_*; do continue; done
echo -n "GRML iso file (default=$DEFAULT): "
read GRMLISO
test -z "$GRMLISO" && GRMLISO="$DEFAULT"
fi
echo "Building grml on $GRMLDEVICE using $GRMLISO"
P1SIZE=2G
parted ${GRMLDEVICE} mklabel msdos
parted ${GRMLDEVICE} mkpart pri fat16 512 ${P1SIZE}
parted ${GRMLDEVICE} mkpart pri ext2 ${P1SIZE} 100%
parted ${GRMLDEVICE} set 1 boot on
sync
mkfs.vfat -n grml "${GRMLDEVICE}1"
mke2fs -L persistence "${GRMLDEVICE}2"
grml2usb --bootoptions="persistence"
--bootoptions="mypath=/home/grml/persistent" "${GRMLISO}" "${GRMLDEVICE}1"
MOUNTPOINT=/tmp/loop
test ! -d "$MOUNTPOINT" && mkdir "$MOUNTPOINT"
mount "${GRMLDEVICE}2" "$MOUNTPOINT"
cat /dev/null > "${MOUNTPOINT}/persistence.conf"
echo "/home/grml/persistent" >> "${MOUNTPOINT}/persistence.conf"
umount "$MOUNTPOINT"
rmdir "$MOUNTPOINT"
# EOF
On 02/12/2016 10:07 AM, John G Heim wrote:
>
> There is a menu that comes up when you boot grml. Could that be what
> you are getting? You should be able to press the Q key to get a
> command prompt. And then try the eject command to see if it opens your
> CD drawer. If you don't have a CD drive, you could also try beep. Once
> you're sure you are at the command prompt, you can type in the
> commands to start speech. You probably already know this but just in
> case, the commands are:
>
> modprobe speakup_soft
> espeakup
>
>
> On 02/12/2016 08:51 AM, Simon Eigeldinger wrote:
>> Hi,
>>
>> it seems that there is a login screen coming up by default after the
>> cd has stopped spinning.
>>
>> greetings,
>> simon
>>
>> Am 12.02.2016 um 14:52 schrieb John G Heim:
>>> If you have a smart phone and the KNFB reader, you might be able to get
>>> it to read enough of the screen to you to tell if it's stuck part way
>>> through the boot. I've had maybe a 50% success rate with that
>>> technique.
>>> Another thing you can do is to try commands like beep and eject. If
>>> those work, you know you're at the command line. If you are typing in
>>> the commands to get speech and it's not working, then it's probably a
>>> sound issue.
>>>
>>> On 02/12/2016 05:33 AM, Simon Eigeldinger wrote:
>>>> Hi,
>>>>
>>>> I was having this on for a few minutes after it stopped spinning so to
>>>> make sure this might be it.
>>>> but maybe there might be an error message.
>>>> tested the 32 bit latest daily sid build.
>>>> when i have a set of eyes around i will recheck and write back.
>>>>
>>>> greetings,
>>>> simon
>>>>
>>>>
>>>> Am 12.02.2016 um 00:46 schrieb covici at ccs.covici.com:
>>>>> On my system, it takes quite a long time till the musical tone
>>>>> comes up,
>>>>> it usually is at least 2-3 minutes. It must be a network
>>>>> timeout. This
>>>>> is with betas as of beginning of January.
>>>>>
>>>>> Simon Eigeldinger <simon.eigeldinger at vol.at> wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I just refreshed my rescue cd with the latest grml sid daily.
>>>>>> so according to the wiki page at
>>>>>> http://wiki.grml.org/doku.php?id=accessibility
>>>>>> i just have to wait until a musical tune will come up during boot.
>>>>>> what i hear is the beep of the boot prompt but the musical tune is
>>>>>> missing.
>>>>>> ok the document has been last modified in 2013 so there could be
>>>>>> have
>>>>>> been a lot of changes.
>>>>>>
>>>>>>
>>>>>> could someone please tell me how to start grml using software speech
>>>>>> using speakup?
>>>>>> should be the old way but it seems it doesn't reach the console.
>>>>>>
>>>>>> greetings and thanks,
>>>>>> simon
>>>>>>
>>>>>> ---
>>>>>> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
>>>>>> https://www.avast.com/antivirus
>>>>>>
>>>>>> _______________________________________________
>>>>>> Grml mailing list - Grml at ml.grml.org
>>>>>> http://ml.grml.org/mailman/listinfo/grml
>>>>>> join #grml on irc.freenode.org
>>>>>> grml-devel-blog: http://blog.grml.org/
>>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
More information about the Grml
mailing list