Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

fstab help

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
haveanotherpuff
Posts: 8
Joined: 2005-05-19 01:15
Location: Canada
Contact:

fstab help

#1 Post by haveanotherpuff »

I want to edit my fstab so that these partitions will be auto mounted or easily mounted,i am hoping some one can edit my fsab for me so it will work,I have been trying every post I can find, but just can not seem to get it to work for me,below I hope is all the info you will neeed and if you need more I will get it for whoever takes the time to assist me.The partitions I want to mount are:hda2,hda6,hdc1 and hdc4

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1416 11373988+ 7 HPFS/NTFS
/dev/hda2 1417 4997 28764382+ f W95 Ext'd (LBA)
/dev/hda5 1417 1558 1140583+ 82 Linux swap / Solaris
/dev/hda6 1559 3215 13309821 c W95 FAT32 (LBA)
/dev/hda7 3216 4997 14313883+ 83 Linux

Disk /dev/hdc: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 1 1275 10241406 b W95 FAT32
/dev/hdc2 1276 3187 15358140 83 Linux
/dev/hdc3 3188 3314 1020127+ 82 Linux swap / Solaris
/dev/hdc4 3315 4865 12458407+ b W95 FAT32


----------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdc2 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc3 none swap sw 0 0
/dev/hdb /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdd /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
"Always do sober what you said you'd do drunk. That will teach you to keep your mouth shut."

Ernest Miller Hemingway (1899-1961)

User avatar
dawgie
Posts: 430
Joined: 2004-06-16 21:30
Location: New Hampshire USA

Re: fstab help

#2 Post by dawgie »

haveanotherpuff wrote:The partitions I want to mount are:hda2,hda6,hdc1 and hdc4
Your hda2 is a primary partition containing hda5,hda6 and hda7

To setup hda6:
First create a directory (mount point) for the partition. Use a good name. If it is win95 then:
#mkdir /mnt/win95
Then open up your /etc/fstab file and add this line:
/dev/hda6 /mnt/win95 vfat defaults,users,umask=000 0 0
after you save your changes update your system
#mount -a
Repeat the proceedure for hdc1 and hdc4

Here are a couple of example lines of my data partitions from my fstab file these are setup to allow access to all users:
/dev/hda6 /mnt/pub vfat defaults,users,umask=000 0 0
/dev/hdb1 /mnt/data ext3 defaults,users,exec,dev,suid 0 0

haveanotherpuff
Posts: 8
Joined: 2005-05-19 01:15
Location: Canada
Contact:

beautiful

#3 Post by haveanotherpuff »

I'd tried that before but didn't make a new directory for each partition ,so it always opened the same partition, thanks .I've been using Mepis for last six months,figured I'd try the real thing,I'm learning a lot more than I did from Mepis, I love it! Going to upgrade my kernel next, hoping it will give me all my memory back,I am only getting 900 out of a gig right now,not much difference but every bit counts.

Thanks again!
"Always do sober what you said you'd do drunk. That will teach you to keep your mouth shut."

Ernest Miller Hemingway (1899-1961)

Post Reply