LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 03-23-2006, 08:00 PM   #1
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Rep: Reputation: 15
putting extended hda into /etc/mtab & /etc/fstab


On installation I created an extended partition hda. it has reiserfs format and on suse 10.0.

when I go to mount it says I have nothing in the /etc/fstab and /etc/mtab.

what goes into those two files? thanks.
 
Old 03-23-2006, 08:05 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,542

Rep: Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225
In a nutshell an extended partition is a container for logical partitions and can not be mounted. Logical partitions start at ID5 so you would want to mount /dev/hda5. However you may have more then one logical partition. To find out exactly how your drive is partition look at the output of the fdisk command (as root)
fdisk -l /dev/hda
 
Old 03-23-2006, 09:13 PM   #3
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
I tried that. acutally I think I messed up the 4 gb drive. I am trying to reinstall and the hba won't come up... first time installing onto 2 hd. live and learn...
 
Old 03-23-2006, 09:52 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,340

Rep: Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176
Mount only goes looking in fstab/mtab if you don't specify enough on the command. You can't just say something like "mount /media/whatever" you need (at least) the physical device - maybe type as well.
 
Old 04-05-2006, 06:00 AM   #5
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
Thanks. fyi
I did get the 4 gb drive to be readable again. nt is good for something. I half way installed nt. it fixed it. it was readable again.

I will keep that in mind.

thanks,
tom
 
Old 04-05-2006, 06:05 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You can use the YaST partitioner to mount a new partition. This will edit your /etc/fstab file also.
The mtab file is written by the system to indicate what partitions are currently mounted.
 
Old 04-05-2006, 01:07 PM   #7
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
I had formatted the extended partion. it said 0 bytes. and I cleared the partition table. YaST partitioner wouldn't read it. thanks for the info about mtab and fstab. next time I will use the partitioner first thing.
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
what edits fstab & mtab during boot? dwhawk Mandriva 7 05-24-2005 07:09 PM
/etc/fstab or /etc/mtab praveenv Linux - Newbie 1 08-17-2004 05:03 AM
use mtab as fstab?hi rgiggs Mandriva 5 06-08-2004 01:47 PM
Confirmation of mtab & fstab dogmonkey Linux - Software 3 12-11-2002 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:40 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
Open Source Consulting | Domain Registration