[Lvlug] mounting "drives" when you boot up Linux.
Albert Seminatore
alsemus at yahoo.com
Tue Jul 20 13:24:12 PDT 2010
Heath:
The drive is the primary drive in my laptop. I have Linux installed on a USB SDD drive. When the system boots up I go to Places and see all the partitions I should see. But the Data1 (sda5) and Data2 (sda6) aren't mounted until I pull them on the desktop.
So I took your advice and tried to modify fstab. On bootup it said it couldn't mount it and enter S to skip. Which I did. When I went to places Data1 was there so I tried to pull it on to the desk top.. ERROR: Only root can mount the drive.
Now there is only one person running this machine and I usually can do anything I want. Some times I have to use sudo but that is after the system is up.
Here is a copy of the fstab file:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sdb1 / ext3 errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=6e841883-23af-4121-a8ab-855da2f38a42 none swap sw 0 0
# mount the ntfs partitions
/dev/sda5 /media/sda5 default 1 2
Help!!!................. Al
Date: Mon, 19 Jul 2010 13:52:30 -0600
From: heath petty <hpetty1 at gmail.com>
Subject:
Re: [Lvlug] mounting "drives" when you boot up Linux.
To: The Las
Vegas Linux Users Group <lvlug at lvlug.org>
Message-ID:
<AANLkTikHZifeuUi7GidIlJVLv7zn6k45icpQTqBa-TCT at mail.gmail.com>
Content-Type:
text/plain; charset="iso-8859-1"
What kind of drives are you
trying to mount? USB and other external
"hotplug" type drives should
be mounted automatically (or you should see an
icon on the desktop to
mount them). If its an internal SATA drive, then you
will need to
add an /etc/fstab entry for it. For example I have a second
SATA
drive in my system with two partitions, sdb1 and sdb2. To mount those
at
boot on my Fedora system I add the following lines:
/dev/sdb1
/media/sdb1 ext3 defaults 1 2
/dev/sdb2
/media/sdb2 ext3 defaults 1 2
If you are using a
different filesystem you'll need to change ext3 to what
ever
filesystem you are using. And for your information, the first 1 means
check
the filesystem at mount time, and the 2 means to mount it after the
root
filesystem has been mounted.
-Heath
Albert Seminatore
Mountain Falls in Pahrump, NV
E-Mail: alsemus at yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lvlug.org/pipermail/lvlug/attachments/20100720/6b497e9f/attachment.htm
More information about the Lvlug
mailing list