LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I prepare/mount/make filesystem on a new HDD? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-prepare-mount-make-filesystem-on-a-new-hdd-290776/)

weblance 02-15-2005 10:51 PM

How do I prepare/mount/make filesystem on a new HDD?
 
Hi,

I', trying to install a new hard disk on my SME box but I don't have the faintest idea how to do this. The HDD is to be used to make backups on instead of tape backup.

I need to:

1: Create some kind of partition - the disk is brand new and "raw"
2: Create a filsystem on the partition - ext3 maybe?
3: Make SME mount the disk every time it boots and mount it as /mnt/backup

The new HDD is "deviced" under 'hdd'

Please help me - I'm a totally newbie at this (used to WinXP)

:newbie: Carl

dalek 02-16-2005 01:13 AM

1: cfdisk Pretty easy to use. Works in command line.

2a: for ext3: mke2fs -j /dev/hd** That may be for example; /dev/hda1 for primary master and first partition.

2b: for reiserfs: mkreiserfs /dev/hd** as above.

3: edit fstab and put in something like this:
Code:

/dev/hda10                /mnt/backup                ext3 OR reiserfs        defaults,rw                0 0
Make sure you create the directory /mnt/backup and have the correct permissions.

That should help.

:D :D :D :D

binny_07 02-17-2005 12:03 PM

while installing linux let autopartition take the headache



:Pengy:

weblance 02-17-2005 03:01 PM

dalek had the right method - used it and it worked as intended

Thanx dalek!

/Carl

dalek 02-17-2005 11:35 PM

Something works, finally. :scratch:

Glad it worked out for you. Go fill that thing up, well not 100% full just pretty close. :tisk:

Later

:D :D :D :D

Edit: my bad typing again. :cry:


All times are GMT -5. The time now is 06:20 AM.