All of lore.kernel.org
 help / color / mirror / Atom feed
* Errors in nano-x add_to_full3.sh script
@ 2017-03-19  4:17 Derek Johansen
  2017-03-19  4:19 ` Jody Bruchon
  2017-03-19 17:46 ` Georg Potthast 2
  0 siblings, 2 replies; 3+ messages in thread
From: Derek Johansen @ 2017-03-19  4:17 UTC (permalink / raw)
  To: ELKS

1) I get the following errors when I run sudo ./add_to_full3.sh nterm:

djohanse@djohanse-VirtualBox:~/elk2/elks/nano-X/src$ sudo
./add_to_full3.sh nterm
Adding nano-X demos to ELKS full3 image

Enter demo file in bin directory to copy to full3 image as script parameter

./add_to_full3.sh: 9: ./add_to_full3.sh: shopt: not found
./add_to_full3.sh: 17: [: !=: unexpected operator
umount: full3: not mounted
umount: /mnt/elks: not mounted
Filesystem     1K-blocks  Used Available Use% Mounted on
/dev/loop0          1424  1286       138  91% /mnt/elks
-e
Run nterm in full3 with
qemu.sh

2)  When I run .sudo ./qemu.sh to bring up ELKS, then try to run nterm,
about 50% of the time I get a "not enough memory" error.  The other
times I get an xterm which is very cool.

Thanks,
Derek

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Errors in nano-x add_to_full3.sh script
  2017-03-19  4:17 Errors in nano-x add_to_full3.sh script Derek Johansen
@ 2017-03-19  4:19 ` Jody Bruchon
  2017-03-19 17:46 ` Georg Potthast 2
  1 sibling, 0 replies; 3+ messages in thread
From: Jody Bruchon @ 2017-03-19  4:19 UTC (permalink / raw)
  To: ELKS

Sounds like the script does not start with

#!/bin/bash

as it should if it uses Bashisms like shopt.

On 2017-03-19 12:17 AM, Derek Johansen wrote:
> 1) I get the following errors when I run sudo ./add_to_full3.sh nterm:
>
> djohanse@djohanse-VirtualBox:~/elk2/elks/nano-X/src$ sudo
> ./add_to_full3.sh nterm
> Adding nano-X demos to ELKS full3 image
>
> Enter demo file in bin directory to copy to full3 image as script parameter
>
> ./add_to_full3.sh: 9: ./add_to_full3.sh: shopt: not found
> ./add_to_full3.sh: 17: [: !=: unexpected operator
> umount: full3: not mounted
> umount: /mnt/elks: not mounted
> Filesystem     1K-blocks  Used Available Use% Mounted on
> /dev/loop0          1424  1286       138  91% /mnt/elks
> -e
> Run nterm in full3 with
> qemu.sh
>
> 2)  When I run .sudo ./qemu.sh to bring up ELKS, then try to run nterm,
> about 50% of the time I get a "not enough memory" error.  The other
> times I get an xterm which is very cool.
>
> Thanks,
> Derek
> --
> To unsubscribe from this list: send the line "unsubscribe linux-8086" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Errors in nano-x add_to_full3.sh script
  2017-03-19  4:17 Errors in nano-x add_to_full3.sh script Derek Johansen
  2017-03-19  4:19 ` Jody Bruchon
@ 2017-03-19 17:46 ` Georg Potthast 2
  1 sibling, 0 replies; 3+ messages in thread
From: Georg Potthast 2 @ 2017-03-19 17:46 UTC (permalink / raw)
  To: ELKS, Derek Johansen

I am not at my development PC for several days now. However, on my distro I did not need "#!/bin/bash" but I can add it. The other messages appear since the script tries to unmount first to be on the save side. Also I did add a "df" command to see how much space is left on the floppy image after adding the demo file.

I usually disable the network drivers and the dj compression for slip to get enough space. I think nterm will then work for you all the time.

Georg

> Derek Johansen <djohanse678@gmail.com> hat am 19. März 2017 um 05:17 geschrieben:
> 
> 
> 1) I get the following errors when I run sudo ./add_to_full3.sh nterm:
> 
> djohanse@djohanse-VirtualBox:~/elk2/elks/nano-X/src$ sudo
> ./add_to_full3.sh nterm
> Adding nano-X demos to ELKS full3 image
> 
> Enter demo file in bin directory to copy to full3 image as script parameter
> 
> ./add_to_full3.sh: 9: ./add_to_full3.sh: shopt: not found
> ./add_to_full3.sh: 17: [: !=: unexpected operator
> umount: full3: not mounted
> umount: /mnt/elks: not mounted
> Filesystem     1K-blocks  Used Available Use% Mounted on
> /dev/loop0          1424  1286       138  91% /mnt/elks
> -e
> Run nterm in full3 with
> qemu.sh
> 
> 2)  When I run .sudo ./qemu.sh to bring up ELKS, then try to run nterm,
> about 50% of the time I get a "not enough memory" error.  The other
> times I get an xterm which is very cool.
> 
> Thanks,
> Derek
> --
> To unsubscribe from this list: send the line "unsubscribe linux-8086" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-19 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-19  4:17 Errors in nano-x add_to_full3.sh script Derek Johansen
2017-03-19  4:19 ` Jody Bruchon
2017-03-19 17:46 ` Georg Potthast 2

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.