Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-12-2003, 08:16 PM
|
#1
|
LQ Newbie
Registered: Feb 2003
Posts: 24
Rep:
|
Mount new hard drives to linux box.
Hi,
I have a linux box that is running out of HD space, I want to add an additional unformated HD to the box. I am running slackware linux and I have some clue of beginning, but keep failing. Can you guys assist. Thanks
Eric
|
|
|
02-12-2003, 08:28 PM
|
#2
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
was the hard drive properly detected by your machine? i.e. does it show up in your bios or can your bios autodetect it?
if yes, take note of its placement - if its an IDE primary slave (it is /dev/hdb) or what.
if u are sure ur hdd was detected, boot into slack. u need to be root to format the drive. check first where is your drive by:
dmesg | less
or
via fdisk:
fdisk -l /dev/hdb
or
fdisk -l /dev/hdc
if u can see partitions (if it has), u can then format it or recreate the partitions.
to create modify partitions:
cfdisk
to format the partitions (ie u'v created /dev/hdb1 or /dev/hdc1):
# BE CAREFUL WITH mkfs - it will erase ur data
# if u specified the wrong partition/drive
mkfs.ext2 /dev/hdb1
or:
man mkfs
hth.
|
|
|
02-12-2003, 08:31 PM
|
#3
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Re: Mount new hard drives to linux box.
Quote:
Originally posted by piglingz
Hi,
I have a linux box that is running out of HD space, I want to add an additional unformated HD to the box. I am running slackware linux and I have some clue of beginning, but keep failing. Can you guys assist. Thanks
Eric
|
More details, better answers.
What have you attempted, what succeeded, what failed, what were the error messages and what is your final destination?
Where are you located in your attempt?
|
|
|
02-12-2003, 09:30 PM
|
#4
|
Member
Registered: Feb 2003
Posts: 484
Rep:
|
i will concour with both. is it reconized? that's the biggest question. if it is than use cfdisk, imo, it's alot easier than fdisk. you could also go for the hacker way and use sfdisk, don't know much about that one though.
when you do make your fs. i would use the ext3. mke2fs -j /dev/hd?
good luck.
|
|
|
02-12-2003, 10:12 PM
|
#5
|
LQ Newbie
Registered: Feb 2003
Posts: 24
Original Poster
Rep:
|
THanks a lot, your posting helped me get pass my difficulty.
|
|
|
All times are GMT -5. The time now is 07:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|