LinuxQuestions.org
Register a domain and help support LQ
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 05-13-2004, 07:50 AM   #1
Shaoran
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 7

Rep: Reputation: 0
Newbie haddrive help


Okey, Sio I kicked out all Windblows stuff, and I'm running Slackware 9.1 only.
I'm running two harddrives, one 80 gig and one 160 gig.
I installed Slack on the 80 gig, and at that time, my 160 gig was NTFS, since I was in need of some files there.
I mounted the Win drive, got my files, and then deleted the partitions.
Then I created four Linux partitions of 40 gigs, which I wanna use.
I then did this in my fstab:
/dev/hdc2 / ext3 defaults 1 1
/dev/hdd1 /mnt/hdd1 ext3 defaults 1 1
/dev/hdd2 /mnt/hdd2 ext3 defaults 1 1
/dev/hdd3 /mnt/hdd3 ext3 defaults 1 1
/dev/hdd4 /mnt/hdd4 ex3 defaults 1 1

And some floppy and cdrom stuff, which I guess isn't all that important.

However, it would appear that Linux is not able to use that extra space.
I can't mount it, then I get the usual error message, unknown FS or too many mounted devices.
I also tried actually using the space, copying my movies over to /mnt/hdd1 which did not work, got an error message because I lacked space, and I can assure you, there was enough space.

I tired searching around a bit, but I never found any help about this exact problem, or anything that was close.
 
Old 05-13-2004, 08:04 AM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Are you sure the 160G drive is mounted on hdc or hdd? Isnīt it hdb?
Try to mount in manually doing:
mount /dev/hdb1 /mnt/someplace
 
Old 05-13-2004, 08:07 AM   #3
Shaoran
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
I double checked, and did an fdisk -l and found that it is hdd, I'm 110% sure.
And mount /dev/hdb1 /mnt/hdd1 says "unknow device"
 
Old 05-13-2004, 08:12 AM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Post the whole fstab here.
 
Old 05-13-2004, 08:15 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,933

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Verify the drive is really hdd.

Did you format the new partitions?
For ext3:
mke2fs -j /dev/hdxy (where x = drive location, y = partition ID)
 
Old 05-13-2004, 08:17 AM   #6
Shaoran
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
Okey, this is the exact fstab:

/dev/hdc2 / ext3 defaults 1 1
/dev/hdd1 /mnt/hdd1 ext3 defaults 1 1
/dev/hdd2 /mnt/hdd2 ext3 defaults 1 1
/dev/hdd3 /mnt/hdd3 ext3 defaults 1 1
/dev/hdd4 /mnt/hdd4 ex3 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
/devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
 
Old 05-13-2004, 08:21 AM   #7
Shaoran
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by michaelk
Verify the drive is really hdd.

Did you format the new partitions?
For ext3:
mke2fs -j /dev/hdxy (where x = drive location, y = partition ID)

Boy do I feel stupid, I didn't know about that command, it's formatting now, so that was probably the problem. Thanks a lot!!
 
Old 05-13-2004, 08:25 AM   #8
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Thereīs no hda on your fstab?
 
Old 05-13-2004, 08:26 AM   #9
Shaoran
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by bruno buys
Thereīs no hda on your fstab?
No? Is that wrong?
 
Old 05-13-2004, 08:43 AM   #10
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
did you create the directories ?
/mnt/hdd1 - /mnt/hdd4. if they don't exist, it can't mount.
fdisk -l will list all your partitions also.
 
Old 05-13-2004, 08:43 AM   #11
Shaoran
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
It's okey now, it's working =)
 
Old 05-13-2004, 09:13 AM   #12
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
my fault. i didn't catch the formatting command above where you said it was working.
 
  


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 a Haddrive nd partition Colinux_Tlinux_noob Linux - Newbie 3 10-14-2005 01:57 AM
security newbie, but not Linux newbie. advice on secure delete tools mattie_linux Linux - Security 19 08-15-2005 02:50 AM
Linux semi-newbie and Wine vary newbie geovolt_os1 Linux - Software 4 04-19-2005 12:03 PM
newbie;I am a linux newbie who has installed slackware and have run into a few proble MollyJolly Slackware - Installation 6 06-01-2004 12:21 PM
How To Update To Slackware-Current For a Newbie, By a Newbie :) windsok Slackware 1 09-18-2003 09:53 PM


All times are GMT -5. The time now is 06:59 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