[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
howtos:hardware:serial_installation [2014/06/27 18:07 (UTC)] – [Preparation of the boot image] syntax cleanup for consistency with other pages sycamorexhowtos:hardware:serial_installation [2014/06/27 18:11 (UTC)] (current) – [Installation] Syntax cleanup for consistency with other pages sycamorex
Line 44: Line 44:
 Connect the serial ports of your two machines with a null-modem cable, and run  Connect the serial ports of your two machines with a null-modem cable, and run 
  
-''minicom -D /dev/ttyS0 -b 115200''+  minicom -D /dev/ttyS0 -b 115200
  
 on the machine you will use as your terminal. Now boot the machine you are installing on the machine you will use as your terminal. Now boot the machine you are installing
Line 54: Line 54:
 in ''/dev/disk/by-label'', it makes stuff a __lot__ easier later e.g: in ''/dev/disk/by-label'', it makes stuff a __lot__ easier later e.g:
  
-''# mke2fs -L root /dev/sdb1''+  # mke2fs -L root /dev/sdb1
  
-Don't let the slackware installer format them then of course.+Don't let the Slackware installer format them then of course.
 </note> </note>
  
Line 62: Line 62:
 from dialog: from dialog:
  
-''export DIALOGOPTS="--ascii-lines"''+  export DIALOGOPTS="--ascii-lines"
  
 The rest of the installation should work as usual ("special" keys like page up don't seem to work correctly though..). But instead of rebooting after the installation has finished, we need to set the installed system to also use the serial line. Chroot into the installation: The rest of the installation should work as usual ("special" keys like page up don't seem to work correctly though..). But instead of rebooting after the installation has finished, we need to set the installed system to also use the serial line. Chroot into the installation:
  
-''# chroot /mnt''+  # chroot /mnt
  
 Now edit your ''/etc/lilo.conf'' and insert a line  Now edit your ''/etc/lilo.conf'' and insert a line 
  
-''serial= 0,115200n8''+  serial= 0,115200n8
  
 right at the top. The global append line needs the addition like the one right at the top. The global append line needs the addition like the one
 used for the ''usbboot.img'': used for the ''usbboot.img'':
  
-''console=ttyS0,115200''+  console=ttyS0,115200
  
 to let it come up before the init system tries to mount it. to let it come up before the init system tries to mount it.
Line 83: Line 83:
 you should also add: you should also add:
  
-''rootdelay=10''+  rootdelay=10
  
 The device order on the APU is likely to change. So you should The device order on the APU is likely to change. So you should
Line 100: Line 100:
  
 Uncomment the line enabling serial login in your inittab and change the speed to 115200: Uncomment the line enabling serial login in your inittab and change the speed to 115200:
-''+<code>
 [...] [...]
  
Line 108: Line 108:
  
 [...] [...]
-''+</code>
  
 <note important>Uncomment ''ttyS0'' in ''/dev/securetty'' or you will not be able to login as root from the serial line!</note> <note important>Uncomment ''ttyS0'' in ''/dev/securetty'' or you will not be able to login as root from the serial line!</note>
  
-This should be all, exit the chrootand reboot your system!+This should be all. Exit the chroot and reboot your system!
  
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
 {{tag>howtos serial installation}} {{tag>howtos serial installation}}
 howtos:hardware:serial_installation ()