Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # --------------------
- # Note: Is this a re-install?
- #
- # Copy:
- # * initrd.buffalo
- # * initrd.buffalo.final
- # * squeeze-armel-rootfs.tgz
- # to ~/
- #
- # If you came here from Step 4 of this guide: http://pastebin.com/H6rEZ5ge
- # these files should already be there and you can continue on.
- # After this guide, go to Step 6 of the other guide
- # --------------------
- # --------
- # If the NAS fails to boot, you can unbrick your NAS using TFTP. I have described it here:
- # http://pastebin.com/5sY24CTQ
- # --------
- tar xvzf squeeze-armel-rootfs.tgz -C /mnt/array1/
- cp squeeze-armel-rootfs.tgz /mnt/array1/
- mv /boot/initrd.buffalo /boot/initrd.buffalo.old
- cp initrd.buffalo* /boot/
- reboot
- mkfs.ext3 /dev/md1
- tune2fs -c0 -i0 /dev/md1
- mount /dev/md1 /mnt
- tar xvzf /squeeze-armel-rootfs.tgz -C /mnt
- cp /squeeze-armel-rootfs.tgz /mnt/root # make a copy
- nano /etc/fstab
- # /etc/fstab: static file system information.
- #
- # file system mount point type options dump pass
- /dev/md1 / ext3 defaults,noatime 0 1
- /dev/md0 /boot ext3 ro,nosuid,nodev 0 2
- /dev/md10 none swap sw 0 0
- proc /proc proc defaults 0 0
- # * Important is /dev/md1
- # Use correct initrd
- cd /boot
- mv initrd.buffalo initrd.buffalo.initial
- cp initrd.buffalo.final initrd.buffalo
- reboot
- mkfs.ext3 -m0 /dev/md2
- tune2fs -c0 -i0 /dev/md2
- nano /etc/fstab
- # /etc/fstab: static file system information.
- #
- # file system mount point type options dump pass
- /dev/md1 / ext3 defaults,noatime 0 1
- /dev/md2 /home ext3 defaults,noatime 0 2
- /dev/md0 /boot ext3 ro,nosuid,nodev 0 2
- /dev/md10 none swap sw 0 0
- proc /proc proc defaults 0 0
- reboot # as a test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement