View previous topic :: View next topic |
Author |
Message |
Ekj530 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/3229654283f91f2d78b573.gif)
Joined: 08 Sep 2003 Posts: 130 Location: Atlantic Beach, NC
|
Posted: Sun Oct 05, 2003 8:56 am Post subject: need some help with fstab |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
reverius42 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/4402dce93d6d9d24afc5b.gif)
Joined: 16 Jul 2002 Posts: 166 Location: Tucson, AZ
|
Posted: Sun Oct 05, 2003 10:13 am Post subject: Re: need some help with fstab |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ElGuido n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/204036141242dcffb71888a.jpg)
Joined: 24 Apr 2003 Posts: 74
|
Posted: Sun Oct 05, 2003 10:26 am Post subject: |
|
|
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 ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Decha n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_agent_smith.gif)
Joined: 12 Jul 2003 Posts: 52 Location: Zürich
|
Posted: Sun Oct 05, 2003 10:39 am Post subject: Re: need some help with fstab |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|