Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
need some help with fstab
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Ekj530
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2003
Posts: 130
Location: Atlantic Beach, NC

PostPosted: Sun Oct 05, 2003 8:56 am    Post subject: need some help with fstab Reply with quote

I've been running gentoo for a little while and am getting everything set up. I have a dvd and a cdrw but neither are listed in fstab. I want to begin setting up my cdrw to burn cd's and my dvd to play dvd's with mplayer. So, here is my current fstab:

Code:

# <fs>                  <mountpoint>    <type>          <opts>                  <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda8               /boot           ext2            noauto,noatime          1 1
/dev/hda10              /               ext3            noatime                 0 0
/dev/hda11              /home           ext3            noatime                 0 0
/dev/hda9               none            swap            sw                      0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro               0 0
/dev/cdroms/cdrom1      /mnt/cdrom1     iso9660         noauto,ro               0 0
/dev/fd0                /mnt/floppy     auto            noauto,users            0 0
/dev/sda1               /mnt/sda1       vfat            noauto,users            0 0

# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults                0 0


Can someone look at this an suggest how I need to change this to make it work with my drives. As it is now, both drives work as cdroms. Also, I have 1 ntsf partition and 1 fat32 partition; /dev/hda6 /dev/hda7 respectively. How should I list these so that I can mount them as well? I know my kernel is set up right to mount these, I just need to know how to do so.

Thanks!
_________________
If you're being chased by a bear remember: you don't have to outrun
the bear; you only have to outrun your hiking buddy.
Back to top
View user's profile Send private message
reverius42
Apprentice
Apprentice


Joined: 16 Jul 2002
Posts: 166
Location: Tucson, AZ

PostPosted: Sun Oct 05, 2003 10:13 am    Post subject: Re: need some help with fstab Reply with quote

Ekj530 wrote:
How should I list these so that I can mount them as well?


The DVD and CDRW issue is slightly more complicated than a simple fstab thing... in order to view/play DVD's, you should just be able to point mplayer to /dev/cdroms/cdrom0 (or 1, if that's your DVD drive). That's all I do... For the CDRW, you need to set up SCSI emulation (i think). That's a process I'm not quite familiar with. Add the following two lines to fstab to get your two drives to work:

Code:
/dev/hda6  /mnt/ntfs-drive  ntfs  noatime,ro
/dev/hda7  /mnt/fat32-drive  vfat  noatime


I'm fairly sure the "<dump/pass>" section can be left out. I have no idea what it does. I leave it out.
_________________
Even a stopped clock gives the right time twice a day.
Back to top
View user's profile Send private message
ElGuido
n00b
n00b


Joined: 24 Apr 2003
Posts: 74

PostPosted: Sun Oct 05, 2003 10:26 am    Post subject: Reply with quote

For ntfs I would recommend, so you can view as a user not just root:

Code:
/dev/sda1       /mnt/xp         ntfs            user,umask=0,ro         0 0


There are quite a few posts about scsi emulation, I normally found that the small note in the installation guide would be enough to help me setup my cdrw :)
Back to top
View user's profile Send private message
Decha
n00b
n00b


Joined: 12 Jul 2003
Posts: 52
Location: Zürich

PostPosted: Sun Oct 05, 2003 10:39 am    Post subject: Re: need some help with fstab Reply with quote

Greetings!

Ekj530 wrote:
I want to begin setting up my cdrw to burn cd's and my dvd to play dvd's with mplayer.


For this you need no changes to fstab.

For CD-Burning you need ide-scsi compiled in or as modules.
Try hdX=ide-scsi as kernel parameter in bootloader.
Then - "cdrecord --scanbus".

For DVD playing using mplayer just try:
mplayer -dvd 1
(you may need to set up you device (which of cdrom's
is DVD-rom - see man)

SY, Decha.
_________________
When It's Done - It's Done!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum