LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2005, 11:51 PM   #1
weblance
LQ Newbie
 
Registered: Nov 2004
Distribution: SME 6.0-01
Posts: 2

Rep: Reputation: 0
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)

Carl
 
Old 02-16-2005, 02:13 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
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.


Last edited by dalek; 02-16-2005 at 02:15 AM.
 
Old 02-17-2005, 01:03 PM   #3
binny_07
LQ Newbie
 
Registered: Feb 2005
Location: India , New Delhi
Posts: 5

Rep: Reputation: 0
Cool

while installing linux let autopartition take the headache



 
Old 02-17-2005, 04:01 PM   #4
weblance
LQ Newbie
 
Registered: Nov 2004
Distribution: SME 6.0-01
Posts: 2

Original Poster
Rep: Reputation: 0
dalek had the right method - used it and it worked as intended

Thanx dalek!

/Carl
 
Old 02-18-2005, 12:35 AM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Something works, finally.

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

Later



Edit: my bad typing again.

Last edited by dalek; 02-18-2005 at 12:37 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 08:29 PM
How to make mirror image of linux partion to one1 HDD TO 2 HDD raj_1 Linux - General 2 11-04-2004 02:45 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 02:50 PM
New 2.6 mount options make VFAT filesystem mounting saner TheOneKEA LinuxQuestions.org Member Success Stories 0 11-19-2003 01:05 PM
How do I mount a HDD with a NTFS filesystem? orange400 Linux - General 15 03-04-2003 11:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration