Thursday, October 1, 2009

Debian: Add a new hard driver

With fast storage coast (movie,photo and music) I have to add an new 1.5TB hard driver on my Debian Home Server.

The server had a hard driver on /dev/sda already.

First shutdown the server:

# halt

Then add the hard driver with power and data cable.

Power on wait for the boot up then login as ROOT and input:

# fdisk /dev/sdb
n --create a new partition

Format a partition:
# mkfs -t ext3 -V /dev/sdb1

Create a mount directory:
# mkdir /home2

Mount it:
#mount -t ext3 /dev/sdb1 /home2

Automatic mount at start up:
# vi /etc/fstab
Add:
/dev/sdb1 /home2 ext3 defaults 0 2

10 comments:

  1. How do I create a feed of the comments I add to others' blog posts?

    ReplyDelete
  2. I'm a freshman in college and I was planning on majoring in Computer Engineering, but unfortunately it doesn't really seem too interesting to me, especially all the computer programming. I'm considering changing my major to Computer Science except I don't really know what kind of career a degree in Computer Science will get me. So what is the difference between the two? Please help me out, I don't really have too much time to ask the advisers at my university, so any help would be appreciated..

    ReplyDelete
  3. Hi, there. I am from computer science, learned lots of interesting theory from school, but by the end you still need programing to make the money. How about database? That does not need lots of programing buy a start brain.

    ReplyDelete
  4. I only want one of my posts to show on my blogger homepage, but it keeps showing the latest one, and I do not want to see that post. What can I do?.

    ReplyDelete
  5. Is there free software or online database to keep track of scheduled blog posts? I would also like it to keep a record of past and future posts. I am trying to avoid creating a spreadsheet in Excel..

    ReplyDelete
  6. My bestfriend and I want to create a blogging site, but we dont know which one to use. We basically will just be uploading random stuff about anything but we want the site to be fun and decorative, not just a plain layout..

    ReplyDelete
  7. I have a blogger blog with a custom domain set up. I want to export it to a hosted wordpress blog. Some of my posts have good ranks with google and I don't want to mess that up. My new WP blog will be the .net of my custom blogger domain so the permalinks will technically change if I import the old posts...any ideas how to get around this?.

    ReplyDelete
  8. google blogger to wordpress migration.
    It is very easy.

    ReplyDelete
  9. If you want fun, then go find a wordpress theme you love.
    Then start input.

    ReplyDelete
  10. Is it possible to automatically dismiss the incorrect positions on the site? What plug-in if it is, you recommend? I would appreciate an answer.

    ReplyDelete