1. Quick Setup – Automatically selects a random MAC Address, Serial Number and assists setting vid/pid of USB Stick
2. List current IP Address of eth0
3. Get new DHCP lease
4. Set Static IP Adress
5. Set MAC Address either randomly or by input
6. Set Serial Number either randomly or by input
7. Set vid/pid for USB boot stick
8. Set SATA Port Mapping
9. Set number of Network Interfaces
10. Set max number of disks
11. List attached disks
12. Enable/Disable Synology Hybrid Raid (SHR) enabled by default
13. Enable/Disable tty service (no serial port)
14. Start SSH Service (This is without PAM, so need to use PUB KEYs)
15. Stop SSH Service
16. Start Telnet Service
17. Stop Telnet Service
18. Update XPEnology Ramdisk/Drivers/Kernel
19. Update XPEnology Configuration Tool
20. Troubleshoot System
21. Reboot
22. Poweroff
23. Exit to shell
Troubleshooting Features:
1. List attached disks
2. fdisk -l
3. sfdisk -l
4. parted -l
5. cat /proc/partitions
6. cat /proc/mdstat
7. mdadm –detail /dev/md0
8. mdadm –detail /dev/mdX (any volume)
9. fsck.vfat -y boot disk
10. fsck.ext4 -y /dev/md0 (this will fsck the root volume)
11. fsck.ext4 -y /dev/mdX (this will fsck your data volume)
12. blkid
13. lsblk
14. lscpu
15. lsmod
16. lspci
17. lsusb
18. less /var/log/messages
19. tail -f /var/log/messages (useful to run before/during install)
20. Return to Main Menu
21. Reboot
22. Poweroff
23. Exit to shell
注意几点
1、You do not need to modify grub.cfg directly. However, if you do, ONLY MODIFY GRUB.CFG!
IF YOU MESS WITH ANY OTHER FILES YOU ARE ON YOUR OWN! YOU WILL NOT BE SUPPORTED!
2、Unless you have serial console, you will see nothing past "Booting the kernel."
3、Set max number of disks
Checking root partition
max disks currently set to: maxdisks="12"
internalportcfg currently set to: internalportcfg="0xfff"
esataportcfg currently set to: esataportcfg="0xff000"
usbportcfg currently set to: usbportcfg="0x300000"
Would you like change the number of supported disks? [y/n]: y
Synology's configuration for how many disks it can see is kept in /etc.defaults/synoinfo.conf
There are four values that determine how many disks are available: maxdisks, internalportcfg, esataportcfg and usbportcfg.
These values are read in their respective order!
Notice that maxdisks is the number of drives, and the other three values are in hex format.
These are Synology's default values.
Let's change the maximum number of supported drives
Enter a new numerical value for maxdisks (4-64) 24
Enter a new hex value for internalportcfg (looks like 0xfff) 0xffffffff
Enter a new hex value for esataportcfg (looks like 0xff000) 0x000000000
Enter a new hex value for usbportcfg (looks like 0x300000) 0x3000000000
Your new configuration will be the following:
maxdisks=24
internalportcfg=0xffffffff
esataportcfg=0x000000000
usbportcfg=0x3000000000
Would you like change the number of supported disks with the values above? [y/n]: y
Setting new number of supported disks to 24.
maxdisks is now set to maxdisks="24"
internalportcfg is now set to internalportcfg="0xffffffff"
esataportcfg is now set to esataportcfg="0x000000000"
usbportcfg is now set to usbportcfg="0x300000000"
4、 Start SSH Service (Must use included Private RSA Key)
Would you like to start ssh service? [y/n]: y
Starting sshd service.
sshd service is running with pid 9146
You must copy the text below into ~/.ssh/id_rsa in order to connect via ssh.
Make sure you chmod 600 ~/.ssh/id_rsa
==================== id_rsa ========================
-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAvsK6v+E3ESClz6sDCU9SmRcK1AEF+o/PWWVMEGzNEHPAe1TE
aqbm0n0Afk0wAsgio7KSBZ3CnxI6aEREZwjDIhuzsh2Ez40WO8lfZ8URnI1yi9Z7
tWgr+yHecTDT4hBVYsDxUonpQPJOeum2MiVZ1Rb/tgZj4EeROtmPbgsMhksevy51
oz4dQXL2nVJqhv0Q6b4FPZHA0TaL4AU2mldgq+AKHvqiItT/FaQSriDRBdJOGgvY
EKob2OCW0sySwE6SiaYSe0f+Yjnx9gaNS3XqEhQotl/ee5tO7qTKvmSQVQetv0Hk
vbug6RKIO+T8Wig6cet1PtdhXqz4ijWQbREG6QIDAQABAoIBAFi4GELFa+b7WCKN
Vowt6CxrGw4eq7ksyTK6efXppDXSn+K8Od2gYhnjKSeUno+spO+dTWxvQuTYhXGY
znddC+QBHkHomKwu4fhMX6LTdK1q26tNxZtJJ6tUxS+/lcu97PhQ4+uPWHxsNTPV
HneUB4OjfqoZrr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MNBM=
-----END RSA PRIVATE KEY-----
====================================================