howtos:grub_via_serial
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
howtos:grub_via_serial [26/07/2008 21:10] – domingo | howtos:grub_via_serial [02/12/2018 21:34] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Controlling Grub through serial link ====== | ||
+ | |||
+ | With this configuration of Grub I can boot my box and control the boot menu, make choice' | ||
+ | |||
+ | |||
+ | ===== / | ||
+ | |||
+ | < | ||
+ | #color white/blue black/ | ||
+ | default 0 | ||
+ | timeout 3 | ||
+ | #gfxmenu (hd0, | ||
+ | |||
+ | serial --unit=0 --speed=9600 | ||
+ | terminal --timeout=15 console serial | ||
+ | |||
+ | ### | ||
+ | title SUSE LINUX 9.3 | ||
+ | # kernel (hd0, | ||
+ | kernel (hd0, | ||
+ | initrd (hd0, | ||
+ | |||
+ | ### | ||
+ | title Failsafe -- SUSE LINUX 9.3 | ||
+ | kernel (hd0, | ||
+ | initrd (hd0, | ||
+ | |||
+ | title SUSE LINUX 9.3 Serial | ||
+ | kernel (hd0, | ||
+ | initrd (hd0, | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Ubuntu Hardy Heron ===== | ||
+ | When system has booted. | ||
+ | |||
+ | / | ||
+ | |||
+ | < | ||
+ | # ttyS0 - getty | ||
+ | # | ||
+ | # This service maintains a getty on ttyS0 from the point the system is | ||
+ | # started until it is shut down again. | ||
+ | start on runlevel 2 | ||
+ | start on runlevel 3 | ||
+ | start on runlevel 4 | ||
+ | start on runlevel 5 | ||
+ | stop on runlevel 0 | ||
+ | stop on runlevel 1 | ||
+ | stop on runlevel 6 | ||
+ | respawn | ||
+ | exec /sbin/getty 9600 ttyS0 | ||
+ | </ | ||