Editing fstab - Some guidance please
Billie Walsh
bilwalsh at swbell.net
Thu Nov 22 19:29:31 UTC 2007
As I understand it, if I edit fstab it will mount my other drives on my
computer at startup. Is that correct? If not, where would I edit?
I have XP on sdb1 and OpenSuSE home on sda3, root on sda2. I would like
to have both drives mounted on startup, but not the SuSE root partition.
Once in a while I run across something that I want for XP and it would
just be nice to download to the proper drive/directory. I also have some
files on the SuSE drive that I would like to have access to from time to
time. My first experience in Linux with SuSE back about 9.* it was
automatic. When I got back to Linux [ OpenSuSE 10.0 ] it no longer was.
Wish list item:
Mount other drives automatically.
Anyway, IF I am correct that fstab is the correct place could someone
post a hint as to the format of the line to add?
This is my current fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1
UUID=f5818467-4e5c-4219-94f2-182bf7e6b42b / ext3
defaults,errors=remount-ro 0 1
# /dev/hda5
UUID=b06ff899-4a37-4613-9020-5ada5959c8b9 none swap
sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/hdc /media/cdrom1 udf,iso9660 user,noauto,exec 0 0
/dev/sdc /media/floppy0 auto rw,user,noauto,exec 0 0
OK, I understand the "/dev/*" part and the "/media/*" part the rest of
it I'm not sure of. The first is the device/drive to be mounted. The
second is where to put it and what it's called. I assume that I would do
something like "/dev/sdb1 /media/Windows" but what is all that other
stuff?
This is the output of fdisk -l for this drive:
Disk /dev/sdb: 80.0 GB, 80032038912 bytes
255 heads, 63 sectors/track, 9730 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x23213b72
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 9730 78156193+ 7 HPFS/NTFS
I'm just VERY leery of editing something without some guidance. I get
enough IDTenT errors without trying to create another.
TIA
More information about the kubuntu-users
mailing list