From ten, 1 Week ago, written in Plain Text.
This paste is a reply to tinycore boot from HDD etc/grub from ten - view diff
  1.  $ cat /etc/grub.d/50_custom
  2.  
  3. #!/bin/sh
  4. exec tail -n +3 $0
  5. # This file provides an easy way to add custom menu entries.  Simply type the
  6. # menu entries you want to add after this comment.  Be careful not to change
  7. # the 'exec tail' line above.
  8.  
  9. menuentry 'your custom message goes here' { load_video }
  10.  
  11. menuentry 'CorePlux Linux 7.2 -- sda1  Linux 4.2.9 Mar 2017' {
  12.                 load_video
  13.                 insmod gzio
  14.                 insmod part_msdos
  15.                 insmod ext2
  16.                 set root='hd0,msdos1'
  17.                 legacy_kernel '/tcore7.2/boot/vmlinuz' 'quiet' 'embed' 'ht=on' 'hpet=disabled' 'restore=sda1' 'tce=sda1/tce' 'nodhcp' 'blacklist=b43' 'blacklist=bcma' 'blacklist=ssb' 'vga=0x322' 'pause' 'text' 'waitusb=10'
  18.                 legacy_initrd '/tcore7.2/boot/core.gz'
  19. }
  20.  
  21. $
  22. note: substition made: msdos1 for msdos3 (file was originally for sda3 locations)
captcha