[SLUG] Bad sector's

2010-10-07 Thread Josh Smith

Can Linux have trouble booting if there is bad sectors on the disk.


Lately Linux is being having trouble loading taking a long time to load
up. Even when in the / dir it was problems.




sda1= 150 bad sectors
sdb1= 392 bad sectors
sdc1= 238 bad sectors







-- 
Ask a question and be dumb for 2 minutes... 

... Never ask a question and be dumb for life

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Bad sector's

2010-10-07 Thread Jeremy Visser
Josh Smith said:
 Can Linux have trouble booting if there is bad sectors on the disk.

Definitely. No operating system in the world has mental telepathy. Every
OS boots based on the data the disk gives it, and if the disk doesn’t
give the right data, no amount of Open Source Magic™ or Reality
Distortion Fields™ are going to make it boot.

 Lately Linux is being having trouble loading taking a long time to load
 up. Even when in the / dir it was problems.
 
 sda1= 150 bad sectors
 sdb1= 392 bad sectors
 sdc1= 238 bad sectors

Weird that you have bad sectors on each drive. Unless all three drives
are really old and decrepit.

What did you use to generate that data?



signature.asc
Description: OpenPGP digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Experience with Tweak?

2010-10-07 Thread Jeremy Visser
wbenn...@turing.une.edu.au said:
 I was looking for a program that would clean up the hard drive, ie.,find
 any scraps unconnected to anything and delete them.

Sounds like a solution looking for a problem. Have you any evidence that
is taking place at all?

(P.S. All versions of fsck since forever will delete orphaned inodes,
which is one possibility of what you were referring to.)



signature.asc
Description: OpenPGP digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Escaping illegal characters in filenames - how?

2010-10-07 Thread DaZZa
On Thu, Oct 7, 2010 at 4:55 PM, Chris Donovan alienreside...@gmail.com wrote:
 So the command could be mv ./-.mxf newname.mxf.

 Another way that you may find handy in the future when using system
 utilities is the -- argument eg: rm -- -filname.  The example
 removes the file -filename.  The argument -- often signifies end of
 arguments, and anything after that is translated as non-arguments to
 the command.  It's used quite a bit in GNU tools, and I'd guess maybe
 more tools.

Thanks to those who replied so promptly.

Clue has been restored to mental processes, and perhaps most
importantly, (l)user has been attacked with seriously large clue stick
and told to not do it again!

DaZZa
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Bad sector's

2010-10-07 Thread Erik de Castro Lopo
Jeremy Visser wrote:

 Josh Smith said:
  sda1= 150 bad sectors
  sdb1= 392 bad sectors
  sdc1= 238 bad sectors
 
 Weird that you have bad sectors on each drive. Unless all three drives
 are really old and decrepit.

Faulty cabling or disk controller could explain why all three
disks are reporting problems.

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Escaping illegal characters in filenames - how?

2010-10-07 Thread Troy Rollo
On Friday 08 October 2010 08:03:32 DaZZa wrote:
 perhaps most
 importantly, (l)user has been attacked with seriously large clue stick
 and told to not do it again!

Why? The only illegal characters in file names on a UNIX or Linux file system 
(including ext2 and ext3) are the forward slash (because it is the path 
separator) and NUL (because it is the string terminator). Everything else is 
perfectly legitimate to use (including having a file named -rf *, which would 
only catch a very careless remover of the file)

-- 

Regards, 
Troy Rollo 
Solicitor 
Parry Carroll 
Commercial Lawyers 
Direct: (02) 8257 3177 
Fax: (02) 9221 1375 
Switch: (02) 9221 3899 
E-mail: t...@parrycarroll.com.au 
Web: www.parrycarroll.com.au 

Liability limited by a scheme approved under Professional Standards 
Legislation 

This message and any attachments are confidential to Parry Carroll. If you 
have received it my mistake, please let us know by reply and then delete it 
from your system. You must not copy the message, alter it or disclose its 
contents to anyone. Thank you.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Escaping illegal characters in filenames - how?

2010-10-07 Thread DaZZa
On Fri, Oct 8, 2010 at 10:19 AM, Troy Rollo t...@parrycarroll.com.au wrote:
 On Friday 08 October 2010 08:03:32 DaZZa wrote:
 perhaps most
 importantly, (l)user has been attacked with seriously large clue stick
 and told to not do it again!

 Why? The only illegal characters in file names on a UNIX or Linux file 
 system
 (including ext2 and ext3) are the forward slash (because it is the path
 separator) and NUL (because it is the string terminator). Everything else is
 perfectly legitimate to use (including having a file named -rf *, which 
 would
 only catch a very careless remover of the file)

Because the over-lying system which interacts with the Unix filesystem
doesn't deal with filenames which begin with a -. it breaks essential
functionality when manipulating the files from the higher layer
program.

DaZZa
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Escaping illegal characters in filenames - how?

2010-10-07 Thread Troy Rollo
On Friday 08 October 2010 10:41:40 DaZZa wrote:

 Because the over-lying system which interacts with the Unix filesystem
 doesn't deal with filenames which begin with a -. it breaks essential
 functionality when manipulating the files from the higher layer
 program.

What program is that? I don't recall any serious program that could not deal 
rationally with such file names.
-- 

Regards, 
Troy Rollo 
Solicitor 
Parry Carroll 
Commercial Lawyers 
Direct: (02) 8257 3177 
Fax: (02) 9221 1375 
Switch: (02) 9221 3899 
E-mail: t...@parrycarroll.com.au 
Web: www.parrycarroll.com.au 

Liability limited by a scheme approved under Professional Standards 
Legislation 

This message and any attachments are confidential to Parry Carroll. If you 
have received it my mistake, please let us know by reply and then delete it 
from your system. You must not copy the message, alter it or disclose its 
contents to anyone. Thank you.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] change to linux and google chrome

2010-10-07 Thread Bob Peterson
I am new to slug, can you do the following, I have a note book with
XP, can I remove microsoft and change to linux and use google chrome
as the browser, if so, how would I get information to do so.

--
Kind regards
Bob Peterson
0428 27 07 42
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Experience with Tweak?

2010-10-07 Thread James
On Friday 08 October 2010 05:03:38 slug-requ...@slug.org.au wrote:
 Has anybody had any experience with Tweak?
 
 It was recommended by a friend, but I can't seem to find any information
 on it.
 
 I was looking for a program that would clean up the hard drive, ie.,find
 any scraps unconnected to anything and delete them.The recommendation was
 Tweak.

As politely and gently as I can, krap!
There is no need to clean up a working drive and FSCK will clean a broken one 
mostly by disgarding the incondistent bits (or if you're lucky putting them in 
LostandFound)
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Escaping illegal characters in filenames - how?

2010-10-07 Thread James
On Friday 08 October 2010 09:00:03 slug-requ...@slug.org.au wrote:
  perhaps most
  importantly, (l)user has been attacked with seriously large clue stick
  and told to not do it again!
 
 Why? The only illegal characters in file names on a UNIX or Linux file
 system  (including ext2 and ext3) are the forward slash (because it is the
 path separator) and NUL (because it is the string terminator). Everything
 else is perfectly legitimate to use (including having a file named -rf
 *, which would only catch a very careless remover of the file)

The nice thing with vi is that it is predictable and consistant
ie you want the date in a document and have never done that before so yo do
:r !date
(read the output of the command 'date', and you can predict that)

Likewise -- as an argument says no further options so
mv -- -fr zot
renames the file '-fr' to zot
cp -- zot -fr
copies zot to -fr
rm -- -fr zot
removes file '-fr' and file 'zot'

rm -fr zot will recursivly remove directory zot even if the files in it are 
read only! so do beware

James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] change to linux and google chrome

2010-10-07 Thread Nick Andrew
G'day Bob,

On Fri, Oct 08, 2010 at 11:10:06AM +1100, Bob Peterson wrote:
 I am new to slug, can you do the following, I have a note book with
 XP, can I remove microsoft and change to linux and use google chrome
 as the browser, if so, how would I get information to do so.

First you should obtain a distro (e.g. Ubuntu, Fedora) on a device (e.g.
CD or USB drive). Boot from the device and follow its installation
process to wipe out XP and install itself on your disk drive. Once you
have linux installed and connected to the Net you can download Chrome
browser and install it.

Nick.
-- 
PGP Key ID = 0x418487E7  http://www.nick-andrew.net/
PGP Key fingerprint = B3ED 6894 8E49 1770 C24A  67E3 6266 6EB9 4184 87E7
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] change to linux and google chrome

2010-10-07 Thread Brett Mahar
 From: Bob Peterson bbbpeter...@gmail.com
 To: s...@slug.org.au

 Subject: [SLUG] change to linux and google chrome
 I am new to slug, can you do the following, I have a note book with
 XP, can I remove microsoft and change to linux and use google chrome
 as the browser, if so, how would I get information to do so.


http://www.ubuntu.com/desktop/get-ubuntu/download
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] change to linux and google chrome

2010-10-07 Thread kfoskey
On Fri, Oct 8th, 2010 at 11:10 AM, Bob Peterson bbbpeter...@gmail.com wrote:

 I am new to slug, can you do the following, I have a note book with
 XP, can I remove microsoft and change to linux and use google chrome
 as the browser, if so, how would I get information to do so.

You do not have to make that choice.

Firstly you can try the whole thing out with a live CD.Download an image
and burn a CD,  boot off the CD (Assuming that you can do this, there are
other options as mentioned USB keys).

See ubuntu.com for links to various downloads,  there are a lot of options
here.   Depending on what exactly you want to do another distribution may be
a better fit.   All distributions come with openoffice.org that works well
with microsoft office.

Regarding Chrome,  yes you can install this however most Distributions use
firefox.   I have both installed but there are other choices as well.
http://www.mozilla.com/en-US/

In order to get things working really well you may have to enable flash and
other features.  Because there are licensing issues you may have to install
this yourself.  See https://help.ubuntu.com/9.04/internet/C/web-browsing.html

Hope this helps,
Thanks Ken
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html