Re: RAID 1 in nslu2 in installing system. The last.

2009-07-22 Thread Xan
I put a text with my experience for hoping it will serve to anyone who want to follow my steps: *installing RAID 1 in running Debian system in NSLU2*. The documents are in github: http://github.com/somenxavi/misc/tree * Original document (in catalan and with txt2tags syntax) [http://github.co

Re: RAID 1 in nslu2 in installing system. The last.

2009-07-09 Thread Xan
Is it wrong? Perhaps I have to did: - cp -dpRx /chrut /mnt/ - cp -dpRx /var/log /mnt/var/ ? Xan. I had to did: cp -dpRx /chrut/./ /mnt/ cp -dpRx /var/log./ /mnt/var/ -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact list

Re: RAID 1 in nslu2 in installing system. The last.

2009-07-09 Thread Xan
En/na Tobias Frost ha escrit: r...@caixa:/var/log/log# ls aptdmesg faillog mail.err pycentral.log aptitude dmesg.0 fsckmail.info syslog auth.log dmesg.1.gz installer mail.log syslog.1 boot dmesg.2.gz

Re: RAID 1 in nslu2 in installing system. The last.

2009-07-09 Thread Xan
En/na Martin Michlmayr ha escrit: * Xan [2009-07-09 17:23]: ** I have to put the configuration in mdadm.conf ? ** Waiting your response I don't reboot for now. I'm not expert with RAID but I don't think /etc/mdadm/mdadm.conf is required. Great, it works!!!. After rebooting I ent

Re: RAID 1 in nslu2 in installing system. The last.

2009-07-09 Thread Martin Michlmayr
* Xan [2009-07-09 17:23]: > ** I have to put the configuration in mdadm.conf ? ** > > Waiting your response I don't reboot for now. I'm not expert with RAID but I don't think /etc/mdadm/mdadm.conf is required. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-arm-

Re: RAID 1 in nslu2 in installing system. The last.

2009-07-09 Thread Xan
En/na Martin Michlmayr ha escrit: * Xan [2009-07-07 23:51]: Mmm. my main problem is really to change boot disk in the kernel from /dev/sda1 to /dev/md0. How can do that in nlsu2? Edit /etc/fstab and then run: update-initramfs -u I edit my fstab: # /etc/fstab: static file sy

Re: RAID 1 in nslu2 in installing system.

2009-07-09 Thread Martin Michlmayr
* Xan [2009-07-09 12:11]: > upslug2 -i backup.img ?? > > where > > cat /dev/mtdblock? > backup.img Yes. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Re: RAID 1 in nslu2 in installing system.

2009-07-09 Thread Xan
En/na Martin Michlmayr ha escrit: * After doing this backup, if something does not work, how can apply the backup to my upslug2? Does I have to touch my usb disk (for example, reverting fstab to the previous state)? Can you tell me what's exactly the steps I have to follow for recovering

Re: RAID 1 in nslu2 in installing system.

2009-07-09 Thread Martin Michlmayr
* Xan [2009-07-09 11:35]: >> flash-kernel installs an initramfs-tools hook that will read the root >> device from /etc/fstab and write it to the ramdisk. > Great!. So it's no needed to change kernel command line (in i386 normal > machines I have to put "root=/dev/md0" for changing de root parti

Re: RAID 1 in nslu2 in installing system.

2009-07-09 Thread Xan
En/na Martin Michlmayr ha escrit: flash-kernel installs an initramfs-tools hook that will read the root device from /etc/fstab and write it to the ramdisk. Great!. So it's no needed to change kernel command line (in i386 normal machines I have to put "root=/dev/md0" for changing de root parti

Re: RAID 1 in nslu2 in installing system.

2009-07-08 Thread Martin Michlmayr
* Xan [2009-07-08 20:14]: >> Edit /etc/fstab and then run: update-initramfs -u >> > And that's all? > I see in /etc/init-ramfs-tool/ and I did not find any reference to actual > boot disk sda1. flash-kernel installs an initramfs-tools hook that will read the root device from /etc/fstab and wr

Re: RAID 1 in nslu2 in installing system.

2009-07-08 Thread Xan
En/na Martin Michlmayr ha escrit: * Xan [2009-07-07 23:51]: Mmm. my main problem is really to change boot disk in the kernel from /dev/sda1 to /dev/md0. How can do that in nlsu2? Edit /etc/fstab and then run: update-initramfs -u And that's all? I see in /etc/init-ramfs-tool/

Re: RAID 1 in nslu2 in installing system.

2009-07-07 Thread Martin Michlmayr
* Xan [2009-07-07 23:51]: > Mmm. my main problem is really to change boot disk in the kernel from > /dev/sda1 to /dev/md0. > > How can do that in nlsu2? Edit /etc/fstab and then run: update-initramfs -u -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-arm-req

Re: RAID 1 in nslu2 in installing system.

2009-07-07 Thread Xan
Mmm. my main problem is really to change boot disk in the kernel from /dev/sda1 to /dev/md0. How can do that in nlsu2? Thanks in advance, Xan. En/na Xan ha escrit: Hi folks, I have nslu2 with debian 5.0.2 installed. I have two usb key attached in my nslu2. One has /, /chrut and /var/log

RAID 1 in nslu2 in installing system.

2009-07-05 Thread Xan
Hi folks, I have nslu2 with debian 5.0.2 installed. I have two usb key attached in my nslu2. One has /, /chrut and /var/log as you can see in fstab: # /etc/fstab: static file system information. # # proc/proc procdefaults0 0 /dev/sda1