Menu

#84 ocs-live-dev configure serial and boot menu timeout

open
nobody
None
5
2016-10-22
2016-10-19
Mircea Dan
No

how do i set ocs-live-dev to configure syslinux.cfg ?

1) change timeout 300 to 0
2) configure serial port redirect of the screen
grub way
serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
terminal_input serial
terminal_output serial
console=tty0 console=ttyS0,115200n8
syslinux way
serial <space> <serial_port> [ <space> <speed> [ <space> <syslinux_flow_control> ] ]

3) mem=1G

i have no idea how to atempt 1 and parts of 2

for 3rd and part of 2 looks like i may be able to use --extra-boot-param will be very nice if you have some examples if not i'll experiment

sudo ocs-live-dev --help
....
-x, --extra-boot-param EXTRA_PARAM Assign extra boot parameter EXTRA_PARAM for clonezilla live kernel to read. These parameters are the same with that from live-initramfs. Ex. "noeject" can be use to not prompt to eject the CD on reboot.
......

i also noticed http://clonezilla.org/fine-print-live-doc.php?path=clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc but i did not found such thing for the command i need ocs-live-dev this tty config thing may be for some other parts of clonezilla

Discussion

  • Steven Shiau

    Steven Shiau - 2016-10-19

    Program ocs-live-dev only can add parameters for the boot parameters. However, some you have requested are about syslinux (boot loader) itself. Therefore it's easier to just edit the file /syslinux/syslinux.cfg directly.
    1. Modify
    timeout 300
    as
    timeout 0
    (However, 0 means wait forever. Make sure it's what you want.)

    1. For the serial consle about syslinux boot loader, just edit /syslinux/syslinux.cfg, put in the 1st directive.
      For the boot parameters, it's mentioned here:
      http://clonezilla.org/fine-print-live-doc.php?path=./clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc#00_live-boot-parameters.doc
      Therefore you just append "live-getty console=ttyS0,115200n81" in the append line.

    Steven

     
  • Mircea Dan

    Mircea Dan - 2016-10-20

    ok so i configured things manualy in sysconfig.cfg
    and i can see everything including teh linux boot on both the video attached monitor and serial console ttyS0

    but the moment clonezilla starts i can see what is happening only on the monitor

    i looked at this thread https://sourceforge.net/p/clonezilla/mailman/message/24276635/

    and i was able to redirect clonezilla to show on the ttyS0 but than i don't see anything anymore on the monitor.

    any way i can see clonezilla output on both VGA connected monitor and tttyS0 (aka console cable)?

     

    Last edit: Mircea Dan 2016-10-21
  • Steven Shiau

    Steven Shiau - 2016-10-22

    There is no way to show them both on ttyS0 and monitor. Unless you enter "screen" and share that on different console.
    For more info, please check the doc about "screen":
    https://www.gnu.org/software/screen/manual/screen.html

    Steven

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.