Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Implementing SAFE mode

Featured Replies

A while back situations came up with additional/extra pacakges/plugins and it was mentioned to disable them somehow.

 

In prior experiments I learned that /proc/cmdline is contains the boot line.

During syslinux boot, you can add other scripts and then query /proc/cmdline for values in them.

 

Some examples.

 

# ------------------------------------------- #
# If noexecgo is in syslinux.cfg command line #
# then exit here, skip the whole GO script    #
# ------------------------------------------- #
if grep -iq 'noexecgo' /proc/cmdline
   then exit
fi

 

# ----------------------------------------------- #
# If troubleshoot is in syslinux.cfg command line #
# mirror the syslog to USB disk, and to tty12     #
# start only emhttp, skip any addons              #
# ----------------------------------------------- #
if grep -iq 'troubleshoot' /proc/cmdline ; then
  mv -f /boot/syslog.current /boot/syslog.last 2>/dev/null
  cat /var/log/syslog > /boot/syslog.current
  echo "*.debug  /boot/syslog.current" >> /etc/syslog.conf
  echo "*.*  -/dev/tty12" >> /etc/syslog.conf
  /etc/rc.d/rc.syslog restart
fi

 

I propose the word safe to mean do not install any additional packages.

Virgin unraid setup.

 

This means the /boot/extra logic also needs to adhere to this.

 

Comments welcome.

I propose the word safe to mean do not install any additional packages.

Virgin unraid setup.

 

This means the /boot/extra logic also needs to adhere to this.

 

Agreed.  And it needs to be written to the syslog, and reported by mdcmd and in "/var/local/emhttp/var.ini"

Excellent Idea.

 

Tom could also add a line in the distributed syslinux.cfg for the "safe" mode in addition to the normal boot and memory test menu choices.

The additional syslog mirroring in "safe" mode is a very nice touch.

 

Joe L.

  • Author

Excellent Idea.

 

Tom could also add a line in the distributed syslinux.cfg for the "safe" mode in addition to the normal boot and memory test menu choices.

The additional syslog mirroring in "safe" mode is a very nice touch.

 

Joe L.

 

safe = no additional plugins. Virgin unraid, bare essentials

troubleshoot = Additional syslog mirroring

 

Both can be used individually or together.

I would be all for safe mode. I couldn't even begin to tell you how many times I had to fix a windows machine via safe mode. LOL

Excellent Idea.

 

Tom could also add a line in the distributed syslinux.cfg for the "safe" mode in addition to the normal boot and memory test menu choices.

The additional syslog mirroring in "safe" mode is a very nice touch.

 

Joe L.

 

safe = no additional plugins. Virgin unraid, bare essentials

troubleshoot = Additional syslog mirroring

 

Both can be used individually or together.

Works for me...

 

Something like this perhaps? 

default menu.c32

menu title Lime Technology LLC

prompt 0

timeout 100

label unRAID OS

  menu default

  kernel bzimage

  append initrd=bzroot

label unRAID - Safe Mode (no add-ons)

  kernel bzimage

  append initrd=bzroot safe

label unRAID - Troubleshooting Mode (mirrored syslog)

  kernel bzimage

  append initrd=bzroot troubleshooting

label unRAID - Safe Troubleshooting Mode (no add-ons, mirrored syslog)

  kernel bzimage

  append initrd=bzroot safe troubleshooting

label unRAID OS - 512Meg memory mode - Run in 512Meg of RAM

  kernel bzimage

  append initrd=bzroot  mem=512M

label Memtest86+

  kernel memtest

 

Notice I added a 512Meg memory mode.  It is needed to allow package developers to test if their add-on will function in a minimally equipped unRAID server.

Something like this perhaps?  

 

Can we have it scan a directory for user additions, and include all the files in that directory so third-party plugins can add options to the syslinux menu?

 

[running furiously for cover...] ;D ;D ;D ;D ;D

Something like this perhaps?  

 

Can we have it scan a directory for user additions, and include all the files in that directory so third-party plugins can add options to the syslinux menu?

 

[running furiously for cover...] ;D ;D ;D ;D ;D

I think you are picking on me...  :'( :'( :'( :'( :'(  (sobbing quietly in the corner.... feeling no love)

 

The extra menu choices in syslinux.cfg are LOTS easier than trying to teach somebody to press "TAB" and then type them in. 

  • Author

The extra menu choices in syslinux.cfg are LOTS easier than trying to teach somebody to press "TAB" and then type them in. 

 

or pressing DEL/F2 during boot or F8 furiously while windows starts. up. hahahahaha! :D

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.