Hirdetés

Új hozzászólás Aktív témák

  • Proxy2

    aktív tag

    Hát íme, kérek mindenkit tényleg legyen körültekintő.

    !!!! A leírás használatából eredő károkért nem vállalok felelősséget, mindenki saját felelőségre tegyen bármit!!!!

    Segítség: Költöztetés DSM 5.2-ről 6.0 - BareMetal
    Az eredeti innen származik:
    by Polanskiman » 28 Oct 2016 16:18

    Köszönhetően Jun’s fórum társnak a XPenology.com-on lehetőség van ismét a Synology DSM használatásra nem Synology eszközökön.

    Amire szükséged lesz a migrációhoz:
    - Win32 Disk Imager program, ezzel készíted el a bootolható USB drive-ot.
    - 4GB USB drive
    - Megoldás amivel megnézed az USB drive VID és PID értékét
    - egy valamire való szövegszerkesztő: Notepad ++
    - DSM 6.0.2 pat fájl a synology letöltő központból
    - Jun’s v.1.0.1 loader, vagy a legfrissebb hybrid UEFI/BIOS loader

    a loader támogatja az AMD alapú fizikai gépeket, DE mivel EZT NEM TUDTAM TESZTELNI olvassa mindenki ell itt: olvasnivaló

    !!!MINDENKI SAJÁT FELELŐSÉGÉRE HASZNÁLJA!!!

    A folyamat a következő:

    1, Backup-old az adataidat és készíts mentést a konfigurációdról, mielőtt nekifogsz a DSM 5.2-ről DSM 6.0-ra költözésnek

    2, Kapcsold ki a NAS-t és húzd ki az USB drive-ot ami a jelenlegi DSM 5.2.
    Azt javaslom, hogy tedd ezt az USB drive-ot félre, ha gond adódna a DSM 5.2 költöztetése kapcsán DSM 6.0-ra, legyen mire visszaállni.

    3, A gépeden keresd ki a kiszemelt USB drive VID és PID értékét, ehhez a fórumban találsz segítséget

    4, Csomagold ki az előzőleg letöltött loader fájlt, egy .img kiterjesztésű fájlt fogsz kapni, ez a Win32 Disk Imager programmal ki kell írni a pendrive-ra, ne felejtsd el, hogy a pendrive bootolható legyen

    5, Keresd meg a gépeden a pendrive mappáját, abban a /groub mappát és abban a grub.cfg fájlt, nyisd meg a Notepad++ programmal, valami ilyesmit látsz majd:

    serial --port=0x3F8 --speed=115200
    terminal_input serial console
    terminal_output serial console
    set default='0'
    set timeout='1'
    set fallback='0'

    menuentry 'Synology DS3615xs' --class os {
       insmod   fat
       linux   /image/DS3615xs/zImage root=/dev/md0 syno_hdd_powerup_seq=0 netif_num=1 HddHotplug=0 syno_hw_version=DS3615xs vender_format_version=2 vid=0x090C pid=0x1000 console=uart,io,0x3f8,115200n8 sn=C7LWN09761 mac1=0011322CA785 withefi elevator=your_magic_elevator quiet
       initrd   /image/DS3615xs/ramdisk.lzma
    }

    Ezeket kell módosítanod, hogy működjön:

    Változtasd meg az értéket vid=0x090C erről vid=0x[a te usb driveod vid-je]
    Változtasd meg az értéket pid=0x1000 erről pid=0x[a te usb drive-od pid-je]
    Változtasd meg az értéket console=uart,io,0x3f8,115200n8 erről console=ttyS0,115200n8
    Változtasd meg az értéket sn=C7LWN09761 erről sn=[a te sorozatszámodra]
    Változtasd meg az értéket mac1=0011322CA785 erről mac1=[a te mac címedre]
    Ha van akkor add hozzá a mac2=[a te második mac2 címed] Ez csak akkor kell ha van második Hálókártyád.

    Nagyon fontos az alábbi parameter SataPortMap=[a HDD-k száma a rendszerben].
    You can add it after HddHotplug=0 for example. Don’t forget to update this parameter if you add additional drives to your machine.
    !!Ide kérnék segítséget, én úgy értelmezem, hogyha új HDD-t adok a rendszerhez akkor itt ezt módosítani kell. De ebben nem vagyok bizots!!

    @@@@@@@@ Mi ez a SataPortMap= mit is jelent? @@@@@@@@
    setsunakawa írta a xpenology.com forumban:
    SataPortMap=4 az első négy port az első kontrolleren.
    SataPortMap=44 az első négy port az első kontorlleren és az első négy port a második kontroll.eren
    SataPortMap=422 4port az eslő, 2 port a második, 2 port a harmadik kontorlleren

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Egyel megvagyunk, mentsd el a grub.cfg fájt, készen állsz a frissítésre.

    6 – Dugd át a pendriv-ot a NAS-ba. Indítsd el a NAS-t és mielőtt bármit is tennél, lépj be a BIOS-ba, állítsd be hogy az USB drive legyen a rendszerindító meghajtó. A loader bootolhat UEFI vagy BIOS, úgy választasz, ahogy a legjobb neked. Győződj meg róla, hogy HDD vezérlő AHCI módban és nem IDE módban legyen. Végül, ha ki van kapcsolva, engedélyezd a soros port. REBOOT.

    7 – A NAS-ra csatlakoztatott monitoron a következőt kell látnod:

    early consol in decompress_kernel
    Decompressing Linux.. Parsing ELF… done.
    Booting the kernel.

    Most menj vissza a gépedhez, és indítsd el a Synology Assitant vagy egyszerűen csak nyisd mega http://find.synology.com címet. Általában megtalálja a NAS-t a helyi hálózatban. Kövesd az utasításokat,
    vagy úgy döntesz, hogy “Telepítés”, ha azt szeretnéd, hogy egy tiszta telepítés legyen,
    vagy vállaszd a "migrációt", ha a DMS 5.2-t szeretnéd frissíteni, miközben megőrzi az adatokat.
    Ezután meg kell adni a .pat fájlt, ezt korábban kell letölteni (DSM_DS3615xs_8451.pat).

    8 – Miután a migráció befejeződött, akkor valószínűleg frissíteni kell néhány csomagot. Ezután folytasd a frissítést a DSM 6.0-ról DSM 6.0.2-8451 update1, majd update2.

    9 – örülsz!

    --------------

    1. megjegyzés: Ha nem találja meg sem a http://find.synology.com sem a Synology Assistant a rendszert akkor nagyon valószínű, hogy a hálózati vezérlő driverét nem tartalmazza a ramdisk a loader-ben. A fórumon jelezd és igyekszem segíteni!

    2. megjegyzés: A Synology fokozta a biztonságot a DSM 6.0-ban. Root hozzáférés SSH-n keresztül már nem áll rendelkezésre. Azonban használd az admin fiókot és adj engedélyeket a következő paranccsal:

    sudo -i

    Note 3: Ha ezt a hibaüzenetett kapod”Failed to install the file. The file is probably corrupted. (13)" akkor amit megadtál VID és/vagy PID nem megfelelő.

    ############## Tutorial UPDATES ##################
    [30/10/2016] Frissített loader elérhető. Jun Loader v.1 Az új loader támogatja az AMD-s rendszereket.
    [03/11/2016] Frissített Jun's loader verzió: v1.0.1 – A letöltési link ugyan az!.

    Tutorial: Migrate from DSM 5.2 to 6.0 - Baremetal
    by Polanskiman » 28 Oct 2016 16:18
    I created a tutorial for the French section so I thought, what the heck, let's do it for the English one as well. Here it goes.

    As most of you know by now Jun was able to find a way to install DSM 6 on non Synology boxes. Here is the thread: http://xpenology.com/forum/viewtopic.php?f=2&t=20216

    Here is what you need for the migration:

    - Win32 Disk Imager to make a bootable USB drive. There are other programs out there so chose whatever suits you best.
    - A 4GB USB drive should be sufficient to install the loader
    - A way to read your USB's drive VID and PID
    - A good text editor: Notepad++ I don't recommend using Windows's Notepad
    - DSM 6.0.2. The file comes straight from Synology servers.
    - Jun's official v.1.0.1 loader. This is the latest hybrid UEFI/BIOS loader so it should work for most baremetal install/migrations.
    Loader now supports AMD based hardware.
    PLEASE READ THIS PRIOR ATTEMPTING ANYTHING >>> l viewtopic.php?f=2&t=22100&start=10#p76612 l

    Use this loader at your own risk. I wont be held responsible for any loss of data or black smoke

    Here is the process:

    1 - Backup your data and save your configuration prior any attempts to migrate from DMS 5.2 to DSM 6.0

    2 - Turn off your NAS and unplug the USB drive you are currently using with DSM 5.2. I recommend you put this USB drive aside in case migration to DSM 6.0 doesn’t go as expected and you need to revert to DSM 5.2.

    3 - Now go to your workstation, plug a new USB drive (or the old one if you don’t have spares). Use the link I provided earlier to check your USB drive VID and PID. Write it down somewhere.

    4 - Unzip the loader you downloaded earlier. You will end up with an image file with an ".img" extension. Now use Win32 Disk Imager to burn the image file onto the USB drive. This will also make the drive bootable.

    5 - Now go to your USB drive and open the grug.cfg file located under the /grub folder. Below is what you will see in the file:

    serial --port=0x3F8 --speed=115200
    terminal_input serial console
    terminal_output serial console
    set default='0'
    set timeout='1'
    set fallback='0'

    menuentry 'Synology DS3615xs' --class os {
       insmod   fat
       linux   /image/DS3615xs/zImage root=/dev/md0 syno_hdd_powerup_seq=0 netif_num=1 HddHotplug=0 syno_hw_version=DS3615xs vender_format_version=2 vid=0x090C pid=0x1000 console=uart,io,0x3f8,115200n8 sn=C7LWN09761 mac1=0011322CA785 withefi elevator=your_magic_elevator quiet
       initrd   /image/DS3615xs/ramdisk.lzma
    }

    You need to modify the following, else it wont work:

    Change vid=0x090C to vid=0x[your usb drive vid]
    Change pid=0x1000 to pid=0x[your usb drive pid]
    Change console=uart,io,0x3f8,115200n8 to console=ttyS0,115200n8
    Change sn=C7LWN09761 to sn=[your sn]
    Change mac1=0011322CA785 to mac1=[your mac address] You can also add mac2=[your mac2 address] if you have a 2nd NIC.

    I also recommend you add the following parameter SataPortMap=[number of HDDs in your system]. You can add it after HddHotplug=0 for example. Don’t forget to update this parameter if you add additional drives to your machine.

    @@@@@@@@ What does SataPortMap= mean? @@@@@@@@
    setsunakawa wrote:
    SataPortMap=4 means first 4 ports of 1st controler.
    SataPortMap=44 means first 4 ports of 1st controler and first 4 ports of 2nd controler.
    SataPortMap=422 means first 4 ports of 1st controler, first 2 ports of 2nd controler and first 2 ports of 3rd controler.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Once you are finished editing the grub.cfg file, save it. You are now ready for the upgrade.

    6 - Unplug the USB drive from your workstation. Plug it in your NAS. Boot your NAS and before doing anything fancy, access your BIOS so to make your USB drive the 1st boot drive. The loader can boot in UEFI or in legacy BIOS, so you chose what suits you best. Also, make sure your HDDs are booted in AHCI mode and not in IDE, else it wont work. Finally, if disabled, also please enable the serial port. REBOOT.

    7 - If you have a monitor connected to your NAS you won’t see much other than the following:

    early consol in decompress_kernel
    Decompressing Linux.. Parsing ELF… done.
    Booting the kernel.

    Now go back to your workstation, and launch Synology Assitant or simply go to http://find.synology.com. You should normally be able to see your NAS on the local network. Just follow the instructions and either chose Install if you wish to have a clean install or chose “migration” if you are coming from DMS 5.2 and wish to update while retaining your data. You will then be asked to provide the .PAT file you downloaded earlier (DSM_DS3615xs_8451.pat).

    8 - When the migration is finished you will most probably have to update some of your packages. You can then proceed and update DSM 6.0 to DSM 6.0.2-8451 update 1 followed by update 2.

    9 - Enjoy.

    --------------
    Note 1: If after following the tutorial you can’t find your NAS through m http://find.synology.com m ou Synology Assistant it is highly possible that the drivers of your NIC are not included in the ramdisk of the loader. In doubt, just ask.
    Note 2: Synology increased security in DSM 6.0. Root access through SSH is no longer available out of the box. You can however use your admin account and elevate permissions with the following command

    sudo -i

    Note 3: Please check you have the right VID/PID prior proceeding. If you get the following error ”Failed to install the file. The file is probably corrupted. (13)" it means your VID and/or PID is wrong.

    ############## Tutorial UPDATES ##################
    [30/10/2016] Updated loader to latest version. Jun Loader v.1 This loader now has AMD support.
    [03/11/2016] Updated Jun's loader to latest version v1.0.1 - Link remains the same.

    [ Szerkesztve ]

    Proxy5

Új hozzászólás Aktív témák