LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 07: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, 07:05 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,162

Rep: Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875Reputation: 1875
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, 08: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, 08:52 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,888

Rep: Reputation: 2192Reputation: 2192Reputation: 2192Reputation: 2192Reputation: 2192Reputation: 2192Reputation: 2192Reputation: 2192Reputation: 2192Reputation: 2192Reputation: 2192
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, 05: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, 05:05 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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, 12: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 06:15 AM
what edits fstab & mtab during boot? dwhawk Mandriva 7 05-24-2005 06:09 PM
/etc/fstab or /etc/mtab praveenv Linux - Newbie 1 08-17-2004 04:03 AM
use mtab as fstab?hi rgiggs Mandriva 5 06-08-2004 12:47 PM
Confirmation of mtab & fstab dogmonkey Linux - Software 3 12-11-2002 09:55 PM

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

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