LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 03-27-2004, 09:42 PM   #1
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
running low on hardrive


hi

i have almost used up my 16 gig harddrive

im thinking about buying another hardrive

i just want to know do i have to do anything special before installing the new hardrive

and how can i acces the hardrive?

thanks
 
Old 03-27-2004, 10:24 PM   #2
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
Just try it and see if anything breaks . (No really)
Sorry, I've never added a drive to linux system, so I can't tell you.
 
Old 03-28-2004, 05:31 AM   #3
sterrenkijker
Member
 
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302

Rep: Reputation: 30
The bios will detect the harddrive. Just start linux, and partition your harddrive (or partition your harddrive, and start linux ). You can mount it as hdb, instead of hda for you first harddrive. Example:

mount hdb1 /mnt/some_kind_of_folder_which_must_exist
 
Old 03-28-2004, 10:25 AM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
you will need to add the new drive to your /etc/fstab in order to mount it at all!! and make a mount point in / or /mnt/
 
Old 03-28-2004, 10:44 AM   #5
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
oh ok thanks

now when i make the partition, do i have to make it the same fileing system like ext2 ext3 or that Rans Heister thingy?
-because i dont remember what i chose for my file system

thanks for the replies
 
Old 03-28-2004, 11:21 AM   #6
sterrenkijker
Member
 
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302

Rep: Reputation: 30
All supported filesystems (that is ext2, ext3, reiserfs, even FAT32 and maybe NTFS) will work. If you also have a windows installed I would advice formatting it FAT32, so windows can easily acces that partition. If you don't, choose reiser or ext3: they're journalling filesystems, and will reduce the risk of loosing data or getting a corrupted filesystem. Reiser is also very good with small files (fast acces and little waste of diskspace)
 
Old 03-28-2004, 11:39 AM   #7
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
oh i didnt know that thanks sterrenkijker
 
Old 03-28-2004, 03:38 PM   #8
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Rep: Reputation: 15
Quote:
Originally posted by 320mb
you will need to add the new drive to your /etc/fstab in order to mount it at all!! and make a mount point in / or /mnt/
Actually, I think you can moutn things without having it in your fstab. really, to the best of my knowledge it's just "mount -<fs; e.g vfat> <mountpoint>"
 
Old 03-28-2004, 03:44 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Of course, one other option would be to see whether you have files you can safely delete. My point is that you may not need another disk, maybe youv'e got 5G of data (or whatever) that you no longer need. If so, you may not need a new drive today. Keep in mind that drive prices drop constantly, and if you can wait for another 4 or 5 months, you can probably either save $$$ for the same size drive you're considering, or spend the same $$$ and get a bigger drive. Just thought -- J.W.
 
Old 04-01-2004, 12:31 AM   #10
sterrenkijker
Member
 
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302

Rep: Reputation: 30
If you add a line for your new disk in /etc/fstab it will be automatically mounted every time you boot. If you don't, you have to mount it manually with a command like "mount /dev/hdb1 /mnt/newdisk"
 
Old 04-01-2004, 06:30 AM   #11
Stoli
LQ Newbie
 
Registered: Jan 2004
Location: Netherlands
Distribution: Debian & alfalinux & mandrake
Posts: 9

Rep: Reputation: 0
if you're gonna set the filesystem in linux, don't forget to do a "mkfs", which is the command that actually makes the file system. For example, after you partition the hd (in one big partition or several little ones), you have to run "mkfs" once. After that, it's easy to mount 'em.
 
Old 08-30-2004, 02:26 PM   #12
DangerousDrDave
LQ Newbie
 
Registered: Aug 2004
Location: Great Falls, Montana
Distribution: Fedora Core 2
Posts: 1

Rep: Reputation: 0
What line do you put in the /etc/fstab file to get the other Fat32 hard drive to mount automatically? An example would be very helpful!

In my case I have 98se on the single partition C drive (hda1) and Fedora Core 2 on the Linux partitioned D drive (hdb1,hdb2,hdb3). I dual boot with GRUB.

do you just put the manual mount command in the file?

Last edited by DangerousDrDave; 08-30-2004 at 02:31 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running low on diskspace cheetahman Suse/Novell 1 06-13-2005 07:58 AM
Running a bit low on space zxzx123 Linux - Newbie 3 12-25-2004 08:37 PM
CPU running too low! Nikkou Linux - Software 5 10-09-2004 09:05 PM
Partitioning problem! Running low on space! brandog Linux - General 8 04-02-2003 08:24 PM
New Hardrive ggramajo Linux - Software 4 10-21-2001 08:31 AM


All times are GMT -5. The time now is 07:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration