Re: [SLUG] removing a custom kernel

2010-02-16 Thread david



pe...@chubb.wattle.id.au wrote:

david == david  da...@kenpro.com.au writes:


david I have a custom kernel installed to run VMWare. I've now
david switched to virtual box and want to get rid of the custom
david kernel.

david # dpkg -r linux-image-2.6.31.6-custom

reboot with a different kernel first.  Removing the modules for the
kernel you're currently running can be dangerous.


That made good sense, so I did it, and no nasty messages happened.

then I got this swag of errors. I've been googling madly but no joy.

/dev/sdb1 (root drive) and /dev/sdc1 (unmounted backup) both have boot 
directories. It leaves me somewhat nervous about re-booting. Any 
suggestions?


thanks



da...@david:/usr/src$ sudo dpkg -r linux-image-2.6.31.6-custom
(Reading database ... 178528 files and directories currently installed.)
Removing linux-image-2.6.31.6-custom ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms
Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-19-generic
Found initrd image: /boot/initrd.img-2.6.31-19-generic
grub-probe: error: Cannot find a GRUB drive for /dev/sdb1.  Check your 
device.map.


grub-probe: error: Cannot find a GRUB drive for /dev/sdb1.  Check your 
device.map.


Found linux image: /boot/vmlinuz-2.6.31-17-generic
Found initrd image: /boot/initrd.img-2.6.31-17-generic
grub-probe: error: Cannot find a GRUB drive for /dev/sdb1.  Check your 
device.map.


grub-probe: error: Cannot find a GRUB drive for /dev/sdb1.  Check your 
device.map.


Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
grub-probe: error: Cannot find a GRUB drive for /dev/sdb1.  Check your 
device.map.


grub-probe: error: Cannot find a GRUB drive for /dev/sdb1.  Check your 
device.map.


Found memtest86+ image: /boot/memtest86+.bin
Found Ubuntu 9.10 (9.10) on /dev/sdc1
grub-probe: error: Cannot find a GRUB drive for /dev/sdc1.  Check your 
device.map.


grub-probe: error: Cannot find a GRUB drive for /dev/sdc1.  Check your 
device.map.


grub-probe: error: Cannot find a GRUB drive for /dev/sdc1.  Check your 
device.map.


grub-probe: error: Cannot find a GRUB drive for /dev/sdc1.  Check your 
device.map.


grub-probe: error: Cannot find a GRUB drive for /dev/sdc1.  Check your 
device.map.


grub-probe: error: Cannot find a GRUB drive for /dev/sdc1.  Check your 
device.map.


grub-probe: error: Cannot find a GRUB drive for /dev/sdc1.  Check your 
device.map.


grub-probe: error: Cannot find a GRUB drive for /dev/sdc1.  Check your 
device.map.


done
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
Unless you used the optional flag in lilo,
 you may need to re-run your boot loader[lilo]
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
Unless you used the optional flag in lilo,
 you may need to re-run your boot loader[lilo]









--
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] removing a custom kernel

2010-02-16 Thread Peter Chubb
 david == david  da...@kenpro.com.au writes:


david then I got this swag of errors. I've been googling madly but no
david joy.

david /dev/sdb1 (root drive) and /dev/sdc1 (unmounted backup) both
david have boot directories. It leaves me somewhat nervous about
david re-booting. Any suggestions?

david thanks

This sounds like grub2.  I'm not much help there --- the config files
are not documented, and the tools have near-useless man pages.

There should however be a way to regenerate the device map that tells
grub what BIOS drive number corresponds to which drive.  I have no
idea how to tell whether such a generated file is correct -- it seems
that the BIOS drive numbers change around depending on what you tell
SETUP, and how it chooses to scan the scsi, sata and IDE buses today.
And how those numbers then map onto the grub numbers (hd0,n) is also
magic.

Try running
grub-mkdevicemap
before doing an
apt-get -f install
to rerun unconfigured bits

and see if that helps.  Check the /boot/grub/device.map file.  It
should contain something like
(hd0) /dev/sdb
(hd1) /dev/sdc

assuming that you want to use /dev/sdb as the boot device.







-- 
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] Mentoring

2010-02-16 Thread Ken Foskey
On Tue, 2010-02-16 at 12:58 +1100, John Nielsen wrote:
 Hi All
 I'm aware that this a little off topic...I have started a Diploma in Website
 development at Ultimo TAFE.
 
 I am finding it somewhat challenging especially with all the HTML coding to
 some extent as I am totally new to that and the Java.
 
 Who among you would be willing to mentor me and be willing to answer
 questions that I may have?

If you post the questions showing what you have done to solve the
problem on slug chat then you will probably get a direction to an
answer.

Ta
Ken

-- 
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] Mentoring

2010-02-16 Thread meryl
Hello John, 

further to Ken's response, the best textual beginners guide is
Elizabeth Castro's HTML, XHTML, and CSS, Sixth Ed ISBN
978-0321430847. She has also published HTML 4 for the World Wide Web.
Printed as Visual Quickstart Guides, they are easy reading with very
good exercises  explanations. Even if these titles are not in your
textbook list, they are a fabulous resource for new web designers.

cheers,
Meryl


-- 
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] Mailing list web archives..... Is this leagal ?

2010-02-16 Thread Troy Rollo
On Tuesday 16 February 2010 09:59:37 pe...@chubb.wattle.id.au wrote:

 I am not a lawyer, but structly speaking, I believe that copyright in
 the individual members' posts resides with the poster.   So
 theoritcally you';d have to ask all the people who post to all the
 mailing lists.

 In practice though it doesn;t matter --- in sending something
 to a mailing list one implcitly gives permission to all the consumers
 of that list, including third party archive sites, to reproduce the
 message.

Peter's comments on the key principles that apply are mostly correct. The only 
thing I would add is be careful in relying on implied consent. The scope of 
implied consent in the case of mailing list traffic is not something that is 
entirely certain. Implying consent for a person to quote a message in reply 
(such as in the quote above, for example), or for the list owner to keep an 
archive, is likely to be easier than implying consent for third party 
archiving. If somebody whose posts on a mailing list were to go and sue a 
third party archiver the answer would likely only be determined after some 
disproportionately expensive litigation that would end in tears for everybody 
except the lawyers.
-- 
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] Mailing list web archives..... Is this leagal ?

2010-02-16 Thread Alan L Tyree
On Wed, 17 Feb 2010 09:12:59 +1100
Troy Rollo t...@parrycarroll.com.au wrote:

 On Tuesday 16 February 2010 09:59:37 pe...@chubb.wattle.id.au wrote:
 
  I am not a lawyer, but structly speaking, I believe that copyright
  in the individual members' posts resides with the poster.   So
  theoritcally you';d have to ask all the people who post to all the
  mailing lists.
 
  In practice though it doesn;t matter --- in sending something
  to a mailing list one implcitly gives permission to all the
  consumers of that list, including third party archive sites, to
  reproduce the message.
 
 Peter's comments on the key principles that apply are mostly correct.
 The only thing I would add is be careful in relying on implied
 consent. The scope of implied consent in the case of mailing list
 traffic is not something that is entirely certain. Implying consent
 for a person to quote a message in reply (such as in the quote above,
 for example), or for the list owner to keep an archive, is likely to
 be easier than implying consent for third party archiving. If
 somebody whose posts on a mailing list were to go and sue a third
 party archiver the answer would likely only be determined after some
 disproportionately expensive litigation that would end in tears for
 everybody except the lawyers.

Real lawyers don't cry :-). I add my support to this caution. The
Courts are recognising increased expectations of privacy and pulling
back on implied consent.

Cheers,
Alan

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


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206

-- 
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] Mentoring

2010-02-16 Thread Marghanita da Cruz

There is also the Webstandards Group,
which has a very active mailing list,
and also possibly of wider interest:

 February Sydney WSG meeting 2010
24 February 2010

Justin Mclean: Connecting open source hardware to the web.

http://webstandardsgroup.org/

Marghanita
--
Marghanita da Cruz
http://ramin.com.au
Tel: 0414-869202


--
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] Mailing list web archives..... Is this leagal ?

2010-02-16 Thread Andrew Cowie
On Wed, 2010-02-17 at 09:12 +1100, Troy Rollo wrote:
 Implying consent for a person to quote a message in reply 
 (such as in the quote above, for example), or for the list owner to keep an 
 archive, is likely to be easier than implying consent for third party 
 archiving.

gmane archives on request of the list owner, which, while not explicit
consent on the part of the originator, is at least a relationship with
the mailing list and that list owner can indicate who (if anyone) is
archiving the list with their consent.

Given how long public mailing lists have been around, and given how long
public web archives of them have been available, it'd be rather hard to
construct an argument that someone _posting_ to a public list should
have an expectation that no one would be able to see their content.

But publishing a recooked archive of someone else's list (as opposed to
archiving your own list or asking gmane to do it on your behalf) without
their consent is pushing it. If nothing else, it is redistribution, and
in open source land we tend to care about getting the semantics of that
right.

AfC
Sydney



signature.asc
Description: This is a digitally signed message part
-- 
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] Mailing list web archives..... Is this leagal ?

2010-02-16 Thread david



Troy Rollo wrote:

On Tuesday 16 February 2010 09:59:37 pe...@chubb.wattle.id.au wrote:


I am not a lawyer, but structly speaking, I believe that copyright in
the individual members' posts resides with the poster.   So
theoritcally you';d have to ask all the people who post to all the
mailing lists.

In practice though it doesn;t matter --- in sending something
to a mailing list one implcitly gives permission to all the consumers
of that list, including third party archive sites, to reproduce the
message.


Peter's comments on the key principles that apply are mostly correct. The only 
thing I would add is be careful in relying on implied consent. The scope of 
implied consent in the case of mailing list traffic is not something that is 
entirely certain. Implying consent for a person to quote a message in reply 
(such as in the quote above, for example), or for the list owner to keep an 
archive, is likely to be easier than implying consent for third party 
archiving. If somebody whose posts on a mailing list were to go and sue a 
third party archiver the answer would likely only be determined after some 
disproportionately expensive litigation that would end in tears for everybody 
except the lawyers.



At least one mailing list owner that I know of stopped archiving and put 
a disclaimer on everything because of threatened lawsuits. Admittedly 
the list was of a personal nature, but sometimes personal things get 
said in flame wars - or copyright gets breached etc etc... so this goes 
beyond questions of permission to quote.


It's a horror story awaiting a litigant with deep pockets.

Is there any case law?
--
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] removing a custom kernel

2010-02-16 Thread david

Thanks Peter

this is for the archive.

# fdisk -l (to locate dev for root drive - assuming you can tell)
# grub-mkdevicemap
# dpkg-reconfigure grub-pc
asks which drive to install on - see fdisk -l above

I found this page:
https://wiki.ubuntu.com/Grub2
which was quite helpful

I'm assuming that dpkg-reconfigure runs
# update-grub
# grub-install /dev/sd? (in my case.. /dev/sdb)

In any case, a check of /boot/grub/grub.cfg verified that the UUID 
matched the UUID listed in /etc/fstab for the root drive, so I took that 
as a good sign.


All the scary error messages have vanished and the system boots correctly.



Peter Chubb wrote:

david == david  da...@kenpro.com.au writes:



david then I got this swag of errors. I've been googling madly but no
david joy.

david /dev/sdb1 (root drive) and /dev/sdc1 (unmounted backup) both
david have boot directories. It leaves me somewhat nervous about
david re-booting. Any suggestions?

david thanks

This sounds like grub2.  I'm not much help there --- the config files
are not documented, and the tools have near-useless man pages.

There should however be a way to regenerate the device map that tells
grub what BIOS drive number corresponds to which drive.  I have no
idea how to tell whether such a generated file is correct -- it seems
that the BIOS drive numbers change around depending on what you tell
SETUP, and how it chooses to scan the scsi, sata and IDE buses today.
And how those numbers then map onto the grub numbers (hd0,n) is also
magic.

Try running
grub-mkdevicemap
before doing an
apt-get -f install
to rerun unconfigured bits

and see if that helps.  Check the /boot/grub/device.map file.  It
should contain something like
(hd0) /dev/sdb
(hd1) /dev/sdc

assuming that you want to use /dev/sdb as the boot device.








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


[SLUG] Adjusting volume on bluetooth headset

2010-02-16 Thread Peter Chubb
Hi folks,
   I've recently acquired a bluetooth headset capable of a2dp
   streaming.  After a lot of mucking around I've managed to get it
   sort-of working with mplayer.  But I can't wwork out how to adjust
   the volume.

   I do
 mplayer -ao alsa:device=bluetooth file.ogg
   and I get sound from the headset.  But alsamixer doesn't see the
   mixer, and it's too loud.  Mplayer's volume control says it has
   changed the volume, but it doesn't seem to make a difference ---
   even when mplayer reports 0% there's still lots of volume.

   And 
   cat /proc/asound/devices
  shows only the on-board Intel sound card, not bluetooth.

Any ideas?

--
Dr Peter Chubb  peter DOT chubb AT nicta.com.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
All things shall perish from under the sky/Music alone shall live, never to die
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html