01 Jan 2000
Home  »    »   How To Install Debian On Software Raid

How To Install Debian On Software Raid

Posted in HomeBy adminOn 01/10/17

Ubuntu-RAID-1-Step-8-Configure-Software-RAID.jpg' alt='How To Install Debian On Software Raid Ubuntu' title='How To Install Debian On Software Raid Ubuntu' />How To Install Debian On Software Raid 1How To Install Debian On Software RaidHow To Install Debian On Software Raid 0Cross Compilation and the Eclipse IDEManual Kernel Build for the BBBupdated March 2. Please note that the following discussion is specific to the Debian armhf release. This process constantly evolves and it is highly likely that there will be changes required to the process listed here. Please check the website http eewiki. Beagle. Bone for updates to this process. The following discussion provides you with a guide to the steps involved in building a Linux kernel and deploying a Linux image to an SD card that can be used to boot your BBB. Building Das U Boot. The bootloader, discussed in Chapter 3, is the first component to be built. How To Install Debian On Software Raid 5Added March 1st 2015 Page 252 in the book describes how to install a toolchain under Debian Wheezy. Unfortunately, due to the severe server problems that are. Whether adding new solid state drives SSDs or upgrading existing hard disk drive storage arrays, the MegaRAID SAS 92664i 6Gbs SAS and SATA RAID controller card. Install-Debian-9-Stretch-Choose-Softwares.png' alt='How To Install Debian On Software Raid Windows' title='How To Install Debian On Software Raid Windows' />You can download the source code to your desktop machine using the following. Cloning into u boot. Resolving deltas 1. Cloning into u boot. Resolving deltas 1. Go to https github. AM3. 35x. Presently that is v. How To Install Debian On Software Raid' title='How To Install Debian On Software Raid' />Therefore, ensure that you are using the same branch of u boot e. You can use any name for the branch name EBBBoot in this case. EBBBoot. Switched to a new branch EBBBootu boot git checkout v. EBBBoot. Switched to a new branch EBBBootDownload the u boot patch for that branch all on one line. Env. txt bootz n fixes. Env. txt bootz n fixes. Env. txt bootz n fixes. Env. txt bootz n fixes. Then apply it to the current source code for u boot. Env. txt bootz n fixes. Hunk 2 succeeded at 7. Hunk 9 succeeded at 5. Env. txt bootz n fixes. Hunk 2 succeeded at 7. Hunk 9 succeeded at 5. Set up the build environment and then build u boot. ARCHarm CROSSCOMPILEarm linux gnueabihf distclean. ARCHarm CROSSCOMPILEarm linux gnueabihf am. HOSTCC scriptsbasicfixdep. HOSTCC scriptskconfigconf. ARCHarm CROSSCOMPILEarm linux gnueabihf. ARCHarm CROSSCOMPILEarm linux gnueabihf distcleanu boot make ARCHarm CROSSCOMPILEarm linux gnueabihf am. HOSTCC  scriptsbasicfixdep  HOSTCC  scriptskconfigconf. ARCHarm CROSSCOMPILEarm linux gnueabihf After a short build process you will have the x loader MLO file and the u boot file that will allow you to boot your kernel image. Debian. Jessie. VM u boot ls l MLO. Mar 8 1. 4 5. 2 MLO. Debian. Jessie. VM u boot ls l u boot. Mar 8 1. 4 5. 2 u bootmolloydDebian. Jessie. VM u boot ls l MLO rw r r 1 molloyd molloyd 7. Mar  8 1. 4 5. 2 MLOmolloydDebian. Jessie. VM u boot ls l u boot rwxr xr x 1 molloyd molloyd 2. Mar  8 1. 4 5. 2 u boot. Install i. 38. 6 support if using amd. You must install the 3. If this step works correctly then you will not have to install an i. To do this under Debian Jessie, perform the following steps. Debian. Jessie. VM sudo dpkg add architecture i. Debian. Jessie. VM sudo dpkg print foreign architectures. Debian. Jessie. VM sudo dpkg add architecture i. Debian. Jessie. VM sudo dpkg print foreign architecturesarmhfi. Then, you must update the list of available packages and install the i. Debian. Jessie. VM sudo apt get update. Debian. Jessie. VM sudo apt get install libc. Debian. Jessie. VM sudo apt get updatemolloydDebian. Jessie. VM sudo apt get install libc. Installing a Change Root for i. JessieIt can be difficult to build the Linux kernel on the Debian arm. If you are using a 3. Linux distribution, this step is not necessary. As Debian multiarch matures, this will not be as significant an issue however, for the moment the easiest way to cross build the Linux kernel is to install a change root for i. Linux kernel. The steps to install the change root are quite similar to the change root that was installed earlier in this chapter for ARM, except applied to i. Copy the static QEMU emulator into the change root from your regular root and then change the root, as you did for the armhf change root. Finally, install Git on the i. Derek Molloy. rootdebian git config global user. Derek Molloyrootdebian git config global user. Building the Linux Kernel. Next, you can checkout the source code for the Linux kernel and then build it using the Robert. CNelson Git repository. This is performed within the home directory of the i. Debian. Jessie. VM git clone git github. Robert. CNelsonbb kernel. Cloning into linux dev. Reusing existing pack 2. Receiving objects 1. Mi. B 6. 60 Ki. Bs, done. Resolving deltas 1. Debian. Jessie. VM cd bb kernelmolloydDebian. Jessie. VM git clone git github. Robert. CNelsonbb kernel. Cloning into linux dev. Reusing existing pack 2. Receiving objects 1. Mi. B 6. 60 Ki. Bs, done. Resolving deltas 1. Debian. Jessie. VM cd bb kernelI will checkout the Linux kernel version 3. I can test it, but choose whichever version you prefer. Debian. Jessie. VM bb kernel git checkout originam. Branch tmp set up to track remote branch am. Switched to a new branch exploringbb. Debian. Jessie. VM bb kernel. Detected build host debian. HEAD commit 5b. DebianUbuntuMint missing dependencies, please install. Failed dependency checkmolloydDebian. Jessie. VM bb kernel git checkout originam. Branch tmp set up to track remote branch am. Switched to a new branch exploringbbmolloydDebian. Jessie. VM bb kernel. Detected build host debian host x. Vector Based Software Programs. HEAD commit 5b. DebianUbuntuMint missing dependencies, please install sudo apt get updatesudo apt get install device tree compiler lzma lzop u boot tools libncurses. Failed dependency check. Install any missing dependencies. Debian. Jessie. VM bb kernel sudo apt get install device tree compiler lzma lzop u boot tools libncurses. Debian. Jessie. VM bb kernel sudo apt get install device tree compiler lzma lzop u boot tools libncurses. Then build the kernel when all dependencies are satisfied. Debian. Jessie. VM bb kernel. Debian. Jessie. VM bb kernel. After the kernel begins building you will be presented with the kernel configuration tool displayed in Figure 7 1. This tool enables you to configure the kernel. For example, you can change the SPI options Device Drivers  SPI Support  enable Debug support for SPI drivers. Figure 7 1. 3 Jessie Build The kernel configuration tool. After some time the Linux kernel will be built and you can see the files in the deploy directory as follows. Debian. Jessie. VM bb kernel cd deploy. Debian. Jessie. VM bb kerneldeploy ls lhg. K Mar 8 1. 7 1. 3 3. M Mar 8 1. 7 1. 3 3. M Mar 8 1. 7 1. 3 3. M Mar 8 1. 7 1. 3 3. Image. rw r r 1 molloyd 1. K Mar 8 1. 7 1. 3 config 3. K Mar 8 1. 7 1. 3 tmp. Debian. Jessie. VM bb kernel cd deploymolloydDebian. Jessie. VM bb kerneldeploy ls lhgtotal 2. M rw r r 1 molloyd 9. K Mar 8 1. 7 1. 3 3. M Mar 8 1. 7 1. 3 3. M Mar 8 1. 7 1. 3 3. M Mar 8 1. 7 1. 3 3. Image rw r r 1 molloyd 1. K Mar 8 1. 7 1. 3 config 3. K Mar 8 1. 7 1. 3 tmp. You now have a complete kernel however, the kernel is only one part of a Linux distribution. The easiest way to put a file system in place is to download a very basic one that includes the key tools and libraries. Robert has also made a minimum file system available that can be used. Downloading a Root File System. Go to the site http rcn ee. For example, if you are using Debian 7. Debian. Jessie. VM wget c http rcn ee. Saving to debian jessie minimal armhf 2. M 4. 6. 8. KBs in 1. KBs debian jessie minimal armhf 2. Debian. Jessie. VM md. Debian. Packages HWraid. Debian Packages. We provide a Debian repository containing all packages to install proprietary and opensource tools for you RAID card. Please add deb http hwraid. In example, for current Debian stable release Stretch. Theses packages are available for amd. Sources packages are available as well replace deb with deb src. Packages are now signed, please run the following command after adding the repository to sources. O https hwraid. Here is a quick list of the available binary packages. Ware Eskalad 7. 00. XX. tw cli 2. 0. Ware Eskalad 7. XX. 3dm. 2 2. 1. 1. KB1. 66. 25 1 3. Ware Eskalad 7. XX. aacraid status 0. Adaptec AACRaid XX. Adaptec AACRaid XX. Adaptec AACRaid XX. Adaptec AACRaid XX. Adaptec AACRaid XX. Adaptec AACRaid XX. Adaptec AACRaid XX. Adaptec AACRaid XX. HPCompaq Smart. Array XX. HPCompaq Smart. Array XX. LSI Mega. RAID Mega. RAID SAS XX. megactl 0. LSI Mega. RAID Mega. RAID SAS XX. megamgr 5. LSI Mega. RAID XX. LSI Mega. RAID Dell cards only XX. LSI Mega. RAID SAS XX. LSI Mega. RAID SAS XX. LSI Mega. IDE XX. LSI Mega. IDE X. mpt status 1. LSI Fusion. MPT XX. LSI Fusion. MPT XX. LSI Fusion. MPT SAS2 XX. LSI Fusion. MPT SAS2 XX.