Updates from January, 2014 Toggle Comment Threads | Keyboard Shortcuts

  • Ady Romantika 4:39 pm on January 7, 2014 Permalink | Reply
    Tags:   

    Debian 6.0 RAID and GRUB 

    One of the three hard disk failed on the ancient Linux firewall at the office. It had all disks configured into one logical volume.

    Two other disks are fine, so I decided to pair them into RAID 1. To save time, I’m using the Debian 6.0 DVD found in the office.

    All went well until it’s time to install GRUB. It turned out, mdmadm wasn’t installed on the target system.

    chroot /target apt-get install mdmadm
    chroot /target grub-install /dev/sda
    chroot /target grub-install /dev/sdb
    

    Installing GRUB on both MBR will ensure that the machine will be able to boot even if one of the disks fails. At least, that’s the theory. Will test if time permits.

     
  • Ady Romantika 12:26 pm on January 5, 2014 Permalink | Reply
    Tags:   

    Restore Time Machine Backup from Third Party NAS 

    Upgraded my hard disk, and restored from a Time Machine backup. Used DiskMakerX to create Mavericks install USB disk a while ago.

    Before doing anything it’s handy to have:

    1. Username, password, and IP number of the NAS (especially if helping someone else)
    2. Lots of time. Once it starts restoring we can leave it running. To get it into perspective, my 200GB backup was restored in 13 hours on a 100Mbps connection. No gigabit connection here.

    To make sure the restore utility finds the backup, open terminal after booting from the installation media:

    cd /Volumes
    mkdir TimeMachine
    mount -t afp afp://<username>:<password>@<ip_address>/Volumes/TimeMachine
    hdid /Volumes/TimeMachine/<backup_name>.sparsebundle
    

    Close terminal, go to the restore utility and the time machine backup should be there.

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel