[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: arm, both disk able to boot (raid1)



"rosea.grammostola" <rosea.grammostola@gmail.com> writes:

> Hi,
>
> When the 1st raid disk (which is able to boot) fails, an other method to 
> restore the system might be to mount the 2nd disk (which isn't able to 
> boot), on the laptop and make it able to boot via chroot right?

There is no need for this as there is no such thing as a "boot sector"
with an equivalent of grub on ARM. The uboot bootloader directly
loads the kernel and initrd from internal flash memory on the device.
The kernel and initrd are written there by a utility called
"flash-kernel". So you don't have to make your drives bootable like on
x86.

The initial ramdisk should assemble your software raid just fine even if
one disk failed.

Gaudenz

>
> Regards
>
> On 10/10/2012 01:03 PM, Björn Wetterbom wrote:
>> That's the one.
>>
>> /B
>>
>> On Wed, Oct 10, 2012 at 12:59 PM, rosea.grammostola
>> <rosea.grammostola@gmail.com <mailto:rosea.grammostola@gmail.com>> wrote:
>>
>>     On 10/10/2012 12:26 PM, Björn Wetterbom wrote:
>>
>>         http://www.cyrius.com/debian/__orion/qnap/ts-209/
>>         <http://www.cyrius.com/debian/orion/qnap/ts-209/>
>>
>>
>>     Thx. Hmm ok so I need this hardware to connect the qnap to my laptop?
>>     http://apple.clickandbuild.__com/cnb/shop/ftdichip?__productID=53&op=catalogue-__product_info-null&__prodCategoryID=47
>>     <http://apple.clickandbuild.com/cnb/shop/ftdichip?productID=53&op=catalogue-product_info-null&prodCategoryID=47>
>>
>>         On Wed, Oct 10, 2012 at 11:46 AM, rosea.grammostola
>>         <rosea.grammostola@gmail.com
>>         <mailto:rosea.grammostola@gmail.com>
>>         <mailto:rosea.grammostola@__gmail.com
>>         <mailto:rosea.grammostola@gmail.com>>> wrote:
>>
>>              On 10/10/2012 11:07 AM, Björn Wetterbom wrote:
>>
>>                  I have a raid1 setup on my ts-209 (from the original
>>         install).
>>                  See my
>>                  fstab below.
>>
>>                  If your raid1 setup is done, just update your fstab and run
>>         "update-initramfs -u && flash-kernel" to update the initramfs
>>                  with the
>>                  new fstab and install the initramfs to flash. I'd
>>         advice you to
>>                  have a
>>                  serial console in case something goes wrong.
>>
>>
>>              Thanks. I've no experience with a serial console. Tutorials
>>         on the
>>              web seems to edit also the grub files, which aren't on this
>>         ARM install.
>>              What should be done different on a ARM in comparison with this
>>              method for instance?
>>         http://www.cyberciti.biz/faq/____howto-setup-serial-console-__on-__debian-linux/
>>         <http://www.cyberciti.biz/faq/__howto-setup-serial-console-on-__debian-linux/>
>>
>>         <http://www.cyberciti.biz/faq/__howto-setup-serial-console-on-__debian-linux/
>>         <http://www.cyberciti.biz/faq/howto-setup-serial-console-on-debian-linux/>>
>>
>>
>>
>>
>>                  /B
>>
>>                  --- 8< ----
>>
>>                  $ cat /etc/fstab
>>                  # /etc/fstab: static file system information.
>>                  #
>>                  # <file system> <mount point> <type> <options> <dump>
>>         <pass>
>>                  proc            /proc           proc    defaults
>>                     0       0
>>                  /dev/md0        /               ext3
>>           noatime,errors=remount-ro
>>                  0       1
>>                  /dev/md2        /home           ext3    noatime
>>                  0       2
>>                  /dev/md1        none            swap    sw
>>                     0       0
>>                  none            /proc/bus/usb   usbfs   defaults
>>                     0       0
>>
>>                  --- >8 ---
>>
>>                  On Wed, Oct 10, 2012 at 10:53 AM, rosea.grammostola
>>         <rosea.grammostola@gmail.com <mailto:rosea.grammostola@gmail.com>
>>         <mailto:rosea.grammostola@__gmail.com
>>         <mailto:rosea.grammostola@gmail.com>>
>>         <mailto:rosea.grammostola@
>>         <mailto:rosea.grammostola@>__gm__ail.com <http://gmail.com>
>>
>>         <mailto:rosea.grammostola@__gmail.com
>>         <mailto:rosea.grammostola@gmail.com>>>> wrote:
>>
>>                       On 10/10/2012 06:53 AM, Johnson Chetty wrote:
>>
>>
>>                                you need u-boot to set up the environment
>>         for the
>>                           device.... and
>>                                u-boot will then load the kernel..
>>
>>
>>                       Thanks. Do you've pointers for how to do this?
>>
>>
>>
>>                       --
>>                       To UNSUBSCRIBE, email to
>>                  debian-arm-REQUEST@lists.__deb____ian.org
>>         <http://deb__ian.org> <http://debian.org>
>>         <mailto:debian-arm-REQUEST@
>>         <mailto:debian-arm-REQUEST@>__l__ists.debian.org
>>         <http://lists.debian.org>
>>
>>         <mailto:debian-arm-REQUEST@__lists.debian.org
>>         <mailto:debian-arm-REQUEST@lists.debian.org>>>
>>
>>                       with a subject of "unsubscribe". Trouble? Contact
>>         listmaster@lists.debian.org <mailto:listmaster@lists.debian.org>
>>         <mailto:listmaster@lists.__debian.org
>>         <mailto:listmaster@lists.debian.org>>
>>         <mailto:listmaster@lists.
>>         <mailto:listmaster@lists.>__deb__ian.org <http://debian.org>
>>         <mailto:listmaster@lists.__debian.org
>>         <mailto:listmaster@lists.debian.org>>>
>>                       Archive:
>>         http://lists.debian.org/______50753797.7010803@gmail.com
>>         <http://lists.debian.org/____50753797.7010803@gmail.com>
>>         <http://lists.debian.org/____50753797.7010803@gmail.com
>>         <http://lists.debian.org/__50753797.7010803@gmail.com>>
>>         <http://lists.debian.org/____50753797.7010803@gmail.com
>>         <http://lists.debian.org/__50753797.7010803@gmail.com>
>>         <http://lists.debian.org/__50753797.7010803@gmail.com
>>         <http://lists.debian.org/50753797.7010803@gmail.com>>>
>>
>>
>>
>>
>>
>>
>
>
> -- 
> To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/50755840.2000701@gmail.com
>

-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~


Reply to: