Friday, March 26, 2010

Where Is The Beautiful Places Close Todallas

[HowTo] start a good week!

Hello everyone, a quick post for those who use Ubuntu in English and at least once you are confused by looking at the calendar begins with Sunday.

This procedure (which I found here, but being in English, as always translate) it allows us to change the starting day of the week, we go to the point:
  1. open our beloved local shell and type to find out what language we are using (if you use Ubuntu in English, will probably be en_US )
  2. hours make a backup copy of our language file like this: sudo cp / usr/share/i18n/locales/en_US / usr/share/i18n/locales/en_US.bak and then edit the original copy with sudo gedit / usr/share/i18n/locales/en_US going to search for the string "1 first_weekday " and replacing it with " first_weekday 2" (if we want the week begin on Monday, otherwise the numerino need to change the day); save and close gedit.
  3. we type sudo locale-gen that I think will serve to do a general refresh of the language file
  4. we end the procedure sudo killall gnome-panel ending on the desktop (at least I did) reopens updated.
I recall that I personally use UNR 9.10 guides are then tested on this distribution in particular. Now I hope not to "mess" with most Sundays earlier this week and I greet you.

Links:

Thursday, March 25, 2010

Owners Manual Perfect Flame Grill

[HowTo] Getting data from raid0

Hi, now 2 months ago I was spoiled the LaCie NAS, so I had to catch up 1 TB of data (fortunately still work hard). The main obstacle is that this therapeutic consists of 2 500GB SATA2 drives in RAID0 (striping). The hardest thing is to make a raid on another machine (among other things, I never had to do with raid arrays before then). In

this page is the procedure I followed and it worked perfectly, but since it is to translate into English for the less "international".
  1. First we need to connect the disks to a PC (I would assume) and start with a live linux distribution (I used parted magic , but ubuntu is fine).
  2. open a shell and type fdisk-l . The output (result) of this command should be something like:

     Disk / dev / sda: 500.1 GB, 500107862016 bytes 
    255 heads, 63 sectors / track, 60801 cylinders Units = cylinders of
    16065 * 512 =
    8225280 bytes Disk identifier: 0x65764f20

    Disk / dev / sda Does not Contain a valid partition table

    Disk / dev / sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors / track, 60801
    cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk
    identifier: 0x00000000 Device Boot Start

    End Blocks Id System
    / dev/sdb1
    1125 1004031 5 Extended / dev/sdb2 126 60801 487379970 83 Linux
    / dev / sdb5 1 16 128457 82 Linux swap / Solaris
    / dev/sdb6
    17 17 8001 83 Linux / dev/sdb7
    18 18 8001 83 Linux / dev/sdb8 19 34 128 488 + 83 Linux
    / dev/sdb9 35 125 7309 26 83 Linux

    which does not contain a disk partition (or are not valid), while the other contains multiple partitions.
  3. mount the partition to 130 mb (sdb8 128,488 +), and with a text editor (in leafpad I used parted magic, but on ubuntu you can use gedit), open the file in / etc / mdadm.conf typing gedit path_mount / etc / mdadm.conf (replacing path_mount to the path where you mounted the partition) and copiamone the entire contents that should be about something like this: DEVICE

     / dev/sdb2 / dev / sda 
    ARRAY / dev/md0 level = linear num-devices = 2 UUID = 163218f3: 299b9ccc: 3c666c38: 60539313

  4. after you make sure you have mdadm installed (if not type sudo apt-get install mdadm ) edit the file / etc / mdadm / mdadm.conf (in my case this was not but it was just in / etc / mdadm.conf, then you see what you have ) with the command gedit / etc / mdadm / mdadm.conf and glue (basically) what you copied above. Note well that this is NOT the same file to point 3!
  5. now type mdadm - assemble / dev/md0 . If all went well past the next step, otherwise you will re-open the file in step 4 and change the first line like so:
     DEVICE / dev/sda2 / Dev / sdb 
    probably because the two disks are swapped (but not a problem). Without this, repeat the command beginning of this paragraph.
  6. now you're done, you can already enjoy the taste of victory and prepare the champagne =); type mount / dev/md0 path_che_volete and you can get back your beloved files.
If you work with ubuntu, you should always precede the command sudo each line. Now I'm thinking

FreeNAS as an alternative NAS solution, and then probably in the next post there will be one that will speak of this distribution based on BSD, and I hope you do not have to use this guide as it would mean that your NAS has abandoned you, but in the case, I hope you find it useful!

Links: