Tuesday, April 30, 2013

Re: [LINUX_Newbies] Mounting Memory Stick

 

On Tue, Apr 30, 2013 at 6:11 PM, Donald <tambeaud@personainternet.com> wrote:
> I am trying to install a memory stick on my raspberry pi. This memory stick was used with a Window 7 computer and it is fat formatted. I made a directory "storage" in the media directory. I did the following:
> Sudo mount /dev/sda1 /media/storage.

You assume (possibly) incorrectly. To check if it's mounted, try just
using the mount command:

$ mount

That will list all the mounted filesystems.

assuming your mount above (sudo mount /dev/sda1 /media/storage) was
successful, then yes, it is mounted and you should see it listed in
the output when you use "mount" without any options.

> This produce "ssh .odt" in the media/storage. I am assuming that the memory stick is mounted. Now I would like to know if I have to format it for Linux and how do I write to it or copy to it.

I have no idea what you mean here. "This produce "ssh .odt" in the
media/storage" makes no sense... sorry...

If you do this:

$ ls /media/storage

and see something listed, then that MAY be what's on your USB stick.
I say that because, and this is what gets REALLY confusing for
newbies, you can put files in a directory, then mount something to
that directory, and your original files may appear to have
disappeared. BUT, as soon as you unmount the device, you'll see the
old files again.

For example:

bladernr@klaatu:~$ mkdir temp-mount
bladernr@klaatu:~$ cd temp-mount
bladernr@klaatu:~/temp-mount$ touch file1 file2 file3 file4
bladernr@klaatu:~/temp-mount$ ls
file1 file2 file3 file4
bladernr@klaatu:~/temp-mount$ pwd
/home/bladernr/temp-mount

Here I've created a directory, moved into that directory, created some
sample files, and ran 'ls' to show the files. Then I ran 'pwd' to
show the present working directory just to verify where I am.

bladernr@klaatu:~/temp-mount$ cd ../
bladernr@klaatu:~$ sudo mount /dev/sdb1 temp-mount/
[sudo] password for bladernr:
bladernr@klaatu:~$ cd temp-mount/
bladernr@klaatu:~/temp-mount$ ls
boot efi md5sum.txt pool ubnfilel.txt ubuntu
cdromupgrade install menu.c32 preseed ubninit
dists isolinux opt README.diskdefines ubnkern
doc ldlinux.sys pics syslinux.cfg ubnpathl.txt
bladernr@klaatu:~/temp-mount$ pwd
/home/bladernr/temp-mount

Now I back out, mount a usb stick to that directory, move back in and
do ls again, but this time, my example files are not there, instead, I
see the contents of my usb stick.
and again, pwd to show that I'm still in that dir.

Here's an abbreviated run of 'mount' as mentioned above showing what's
currently mounted (abbreviated because I cut out a lot of unnecessary
stuff)

bladernr@klaatu:~$ mount
/dev/sda6 on / type ext4 (rw,errors=remount-ro)
<SNIP>
/dev/sda7 on /home type ext4 (rw)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
gvfsd-fuse on /run/user/bladernr/gvfs type fuse.gvfsd-fuse
(rw,nosuid,nodev,user=bladernr)
/dev/sdb1 on /media/bladernr/A7B2-9A4D type vfat
(rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
/dev/sdb1 on /home/bladernr/temp-mount type vfat (rw)

Now, finally, I'll back out, unmount the usb stick and then look in
the directory temp-mount once more:

bladernr@klaatu:~/temp-mount$ cd ../
bladernr@klaatu:~$ sudo umount temp-mount/
bladernr@klaatu:~$ ls temp-mount/
file1 file2 file3 file4

I bring this up because I found, in teaching, that people will copy
files into /media/something BEFORE there's anything actually mounted
there, then are surprised when their files are not on the usb device
(or floppy, or whatever).

To answer your remaining questions, Linux (any linux) should have
built in support or FAT16, FAT32, vFAT, and anymore, NTFS, so no, you
don't need to format anything.

Just make sure the usb device is mounted ('mount') then copy files in,
then 'umount' then move the stick to wherever you need it to go.
Also, be sure to unmount the device before you pull it from the USB
port. Don't just copy files and yank the stick. It's possible that
your files will just be cached, not actually written to the device,
and just pulling the stick will cause them to never be written.
Unmounting or ejecting the device will cause the kernel to flush any
buffers and write everything out before marking the device as
unmounted.

Cheers
Jeff

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
MARKETPLACE


.

__,_._,___

[LINUX_Newbies] Mounting Memory Stick

 

I am trying to install a memory stick on my raspberry pi. This memory stick was used with a Window 7 computer and it is fat formatted. I made a directory "storage" in the media directory. I did the following:
Sudo mount /dev/sda1 /media/storage.
This produce "ssh .odt" in the media/storage. I am assuming that the memory stick is mounted. Now I would like to know if I have to format it for Linux and how do I write to it or copy to it.
Thank you
Don
VE3HOL

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
MARKETPLACE


.

__,_._,___

Friday, April 26, 2013

Re: [LINUX_Newbies] How can I clean a PC when I want do delete a program.

 

apt-get remove evolution?? will remove the program evolution.

if any other programs depend on it you will be notified.

If evolution is removed and there are any programs that no longer needed, apt-get autoremove will remove those.

You will also be notified if any directories were not removed because they were empty, giving you the opportunity to delete them yourself.

-----Original Message-----
From: highskywhy &lt;highskywhy@yahoo.de&gt;
To: LINUX_Newbies &lt;LINUX_Newbies@yahoogroups.com&gt;
Sent: Fri, Apr 26, 2013 9:38 am
Subject: [LINUX_Newbies] How can I clean a PC when I want do delete a program.

Fr Apr 26 08:19:33 2013
Good morning
Question:
How to delete a progamm in Linux.
Example:
sudo apt-get install evolution.
OK.
Then I destroyed something in evolution.
I did a backup and this destroyed the directories.
So I want to clean PC from evolution and then install again.
sudo apt-get remove evolution.
BUT
after install again evolution
there was the dirt from before.
I think
it is the same problem like windows.
Linux is creating many files like registry and I have to clean them also.
How can I clean a PC when I want do delete a program.

I did it with terminal
and also with gui.

Regards
Sophie


------------------------------------

To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com
& you will be removed.Yahoo! Groups Links

&lt;*&gt; To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/

&lt;*&gt; Your email settings:
Individual Email | Traditional

&lt;*&gt; To change settings online go to:
http://groups.yahoo.com/group/LINUX_Newbies/join
(Yahoo! ID required)

&lt;*&gt; To change settings via email:
LINUX_Newbies-digest@yahoogroups.com
LINUX_Newbies-fullfeatured@yahoogroups.com

&lt;*&gt; To unsubscribe from this group, send an email to:
LINUX_Newbies-unsubscribe@yahoogroups.com

&lt;*&gt; Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[Non-text portions of this message have been removed]

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (5)
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
MARKETPLACE


.

__,_._,___

Re: [LINUX_Newbies] screensaver not starting up automatically.

 

If you like Xscreensaver you may prefer Lubuntu, as I recall having to disable the Gnome and Kubuntu default screensavers before Xscreensavers would work, plus there is a way to autoload it, but some Distros don't do it to save on overhead for low resource computers.
Joan in Reno

--- On Fri, 4/26/13, gvinrad <gerry@dragonmobility.com> wrote:

From: gvinrad <gerry@dragonmobility.com>
Subject: [LINUX_Newbies] screensaver not starting up automatically.
To: LINUX_Newbies@yahoogroups.com
Date: Friday, April 26, 2013, 2:41 AM

 

Hi Guy's,

I'm new to linux & have managed to install version 12.04 onto my pc but I'm having a few issues tweaking gnome classic desktop, I have xscreensaver installed but it just won't start up automatically when I turn the pc on. Can anyone suggest anything I could try please, al help gratefully received.

Gerry.

[Non-text portions of this message have been removed]

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
MARKETPLACE


.

__,_._,___

Re: [LINUX_Newbies] Default toolbar colour

 

If memory serves the top most bar can't be changed in Ubuntu since 11.04. The inflexibility of Ubuntu since they switched to one look for all devices, is one reason many have migrated to other looks like KDE, LXDE, etc., or other Distros like Mint, Zorin, PcLinuxOS, Suse, and many others. However, Ubuntu Tweak might help in offering other Themes and settings.
Joan in Reno

--- On Fri, 4/26/13, gvinrad <gerry@dragonmobility.com> wrote:

From: gvinrad <gerry@dragonmobility.com>
Subject: [LINUX_Newbies] Default toolbar colour
To: LINUX_Newbies@yahoogroups.com
Date: Friday, April 26, 2013, 3:04 AM

 

Hi Guy's,

I'm new to linux & have managed to install version 12.04 onto my pc but I'm having a few issues tweaking gnome classic desktop, I'm trying to change the default colour of the toolbars but just can't manage it. Can anyone suggest anything I could try please, all help gratefully received.

Gerry.

[Non-text portions of this message have been removed]

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
MARKETPLACE


.

__,_._,___

[LINUX_Newbies] Re: How can I clean a PC when I want do delete a program.

 



--- In LINUX_Newbies@yahoogroups.com, "highskywhy@..." <highskywhy@...> wrote:
>
>
> Fr Apr 26 08:19:33 2013
> Good morning
> Question:
> How to delete a progamm in Linux.
> Example:
> sudo apt-get install evolution.
> OK.
> Then I destroyed something in evolution.
> I did a backup and this destroyed the directories.
> So I want to clean PC from evolution and then install again.
> sudo apt-get remove evolution.
> BUT
> after install again evolution
> there was the dirt from before.
> I think
> it is the same problem like windows.
> Linux is creating many files like registry and I have to clean them also.
> How can I clean a PC when I want do delete a program.
>
> I did it with terminal
> and also with gui.
>
> Regards
> Sophie
>

aptitude purge evolution

Word is to use aptitude today. Read it for yourself here:

http://www.debian.org/doc/manuals/debian-faq/ch-uptodate.en.html

Note this line in particular:

"aptitude is the recommended package manager for Debian GNU/Linux systems."

apt-get is yesterday's utility so get with the times.

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
MARKETPLACE


.

__,_._,___

[LINUX_Newbies] Default toolbar colour

 

Hi Guy's,

I'm new to linux & have managed to install version 12.04 onto my pc but I'm having a few issues tweaking gnome classic desktop, I'm trying to change the default colour of the toolbars but just can't manage it. Can anyone suggest anything I could try please, all help gratefully received.

Gerry.

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
MARKETPLACE


.

__,_._,___