Re: New Debian install doesn't recognize/automount all partitions Andreas Janssen wrote:
> Hello
>
> Robert Glueck (<rglk@web.de>) wrote:
>
>
>>What is the default behavior for Debian and what do I have to do to
>>have this straight Debian system recognize and automount all of these
>>other partitions?
>
>
> The default behaviour of Debian is to add the partitions to the fstab
> that you selected during the installation. If you didn't choose the
> other partitions during installation, add them to your fstab yourself.
>
> best regards
> Andreas Janssen
>
I don't recall that during the install I had a choice of which
partitions I wanted to have recognized and/or automounted on bootup. I
did the install with the Debianpure CD which uses the new Debian installer.
In any case, I have edited /etc/fstab using nano in a root console. The
question arises, however, what syntax to use for specifying the mount
points. Xandros uses /disks/hdb.., Mepis uses /mnt/hdb.., and the
Debian install in question uses /media/..., at least for removable media
(floppy, CD-ROM, USB flashdrives). What should I use for hard disk
partitions?
At this point, I've edited /etc/fstab to look as follows:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdb4 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb6 none swap sw 0 0
/dev/hda1 /mnt/C vfat
rw,nosuid,nodev,noexec,nouser,async,umask=0 0 0
/dev/hda2 /mnt/D ntfs
ro,nosuid,nodev,noexec,nouser,async,umask=0,iochar set=iso8859-1 0 0
/dev/hdb1 /mnt/fedora ext3 defaults 0 0
/dev/hdb3 /mnt/xandros2 reiserfs rw 0 0
/dev/hdb5 /mnt/mdkroot ext3 defaults 0 0
/dev/hdb7 /mnt/mdkhome ext3 defaults 0 0
/dev/hdb8 /mnt/mepis ext3 defaults 0 0
/dev/hdb9 /mnt/xandros3 reiserfs rw 0 0
/dev/hdb10 /mnt/slax ext3 defaults 0 0
/dev/hdb11 /mnt/beatrix ext3 defaults 0 0
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda /media/usb0 auto rw,user,noauto 0 0
/dev/sdb /media/usb1 auto rw,user,noauto 0 0
/dev/sdc /media/usb2 auto rw,user,noauto 0 0
Is this correct? As a reminder, this is an install of Debian 3.1
testing done via Debianpure.
An additional question: What do I have to do to have Debian automount
these partitions at bootup?
Robert |