LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 10: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, 01: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 01:15 AM.
 
Old 02-17-2005, 12: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, 03: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-17-2005, 11:35 PM   #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-17-2005 at 11:37 PM.
 
  


Reply



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 07:29 PM
How to make mirror image of linux partion to one1 HDD TO 2 HDD raj_1 Linux - General 2 11-04-2004 01:45 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
New 2.6 mount options make VFAT filesystem mounting saner TheOneKEA LinuxQuestions.org Member Success Stories 0 11-19-2003 12:05 PM
How do I mount a HDD with a NTFS filesystem? orange400 Linux - General 15 03-04-2003 10:51 PM

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

All times are GMT -5. The time now is 07:24 PM.

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