LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2003, 03:38 PM   #1
spaztic_fury
LQ Newbie
 
Registered: Oct 2003
Distribution: RH 7.3
Posts: 20

Rep: Reputation: 0
?????? partitioning after install ??????


i recently installed RH7.3 on my computer, @ the time i didn't think to install my SCSI hdd's and now i would like to add them to the filesystem. but when i use the command "/sbin/mke2fs -c -v /dev/sda1" it returns an error "no such device or address while trying to determine filesystem size". what does that mean? how do i check to see if the ssytem is recognizing my SCSI drive (it can ee the controller in control center).

thanks in advance
Sincerely:
ZAnder
 
Old 11-01-2003, 03:43 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Have you added partitions?
fdisk -l
 
Old 11-01-2003, 03:58 PM   #3
spaztic_fury
LQ Newbie
 
Registered: Oct 2003
Distribution: RH 7.3
Posts: 20

Original Poster
Rep: Reputation: 0
yes, just the normal one that the RH7.3 intaller makes (/, swap, ext3). but @ the time of the install i did not have the SCSI drive in the system (it's removable) so now i need to make another ext3 (i think) so i can stick all my files on.

thanks again
 
Old 11-01-2003, 04:01 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Befoer you can format you will need to partiion the scsi drive - therefore use fdisk to create the partion(s) then mkfs to create the filesystem.
 
Old 11-01-2003, 04:04 PM   #5
spaztic_fury
LQ Newbie
 
Registered: Oct 2003
Distribution: RH 7.3
Posts: 20

Original Poster
Rep: Reputation: 0
i'm sorry for the potentially stupid question (i'm new to the linux game) but i have know idea how to use fdisk. could you provide some basic pointers (how to get into it, and what to do then).

thanks again .......and agian
 
Old 11-01-2003, 04:09 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
To "get into it" just run:
fdisk /dev/DRIVE

Replace DRIVE with the drive name that you want to edit.

Then for usage instructions press "m".
 
Old 11-01-2003, 04:37 PM   #7
spaztic_fury
LQ Newbie
 
Registered: Oct 2003
Distribution: RH 7.3
Posts: 20

Original Poster
Rep: Reputation: 0
thanks, i managed to get a new partition set-up, and i set up a file system (ext3), but i need how to mount the drive
 
Old 11-01-2003, 04:42 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
1) make a mount point - eg:
mkdir /mnt/newdrive
2) mount it - eg:
mount /dev/DRIVE /mnt/newdrive

You can also create an fstab entry if you want it to be mounted on each boot.
 
Old 11-01-2003, 04:51 PM   #9
spaztic_fury
LQ Newbie
 
Registered: Oct 2003
Distribution: RH 7.3
Posts: 20

Original Poster
Rep: Reputation: 0
i think creating an fstab entry would be a good idea, i just have no idea how to. some more pointers would be very useful.

thanks...again
 
Old 11-01-2003, 04:55 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Just copy an existing entry - eg home - and change the device and mount point.
 
Old 11-01-2003, 04:57 PM   #11
spaztic_fury
LQ Newbie
 
Registered: Oct 2003
Distribution: RH 7.3
Posts: 20

Original Poster
Rep: Reputation: 0
wow, i feel completely stupid, but i have to ask. how do i change the mount point ?
 
Old 11-01-2003, 04:59 PM   #12
spaztic_fury
LQ Newbie
 
Registered: Oct 2003
Distribution: RH 7.3
Posts: 20

Original Poster
Rep: Reputation: 0
oh, ya, how to i change the device ?

thanx
 
Old 11-01-2003, 05:17 PM   #13
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Code:
Well your exisitng home entry is something like:
/dev/hda3               /home                   ext3    defaults        1 2

Therefore I suggested copying it to make:
/dev/hda3               /home                   ext3    defaults        1 2
/dev/hda3               /home                   ext3    defaults        1 2

Then edit the second entry to reflect the new partition eg:
/dev/hda3               /home                   ext3    defaults        1 2
/dev/hde6               /mnt/newdrive           ext3    defaults        1 2
 
Old 11-01-2003, 05:20 PM   #14
spaztic_fury
LQ Newbie
 
Registered: Oct 2003
Distribution: RH 7.3
Posts: 20

Original Poster
Rep: Reputation: 0
how do i go about changing that (what to type, and where) ?
 
Old 11-01-2003, 05:22 PM   #15
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Edit the file /etc/fstab
 
  


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
Partitioning on new install dismas Slackware - Installation 4 09-27-2005 08:04 AM
Partitioning during install wh33t Yoper 3 10-03-2004 03:06 AM
knoppix 3.6 install and partitioning smb2004 Linux - General 2 09-30-2004 02:54 PM
Partitioning and Install help jakkank Slackware 5 01-01-2004 10:46 PM
Will the Debian install do my partitioning? snatale1 Debian 1 09-13-2003 04:25 PM


All times are GMT -5. The time now is 02:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration