Re: [CentOS] Booting from a USB hard drive?

2010-06-12 Thread Robert Heller
At Sat, 12 Jun 2010 18:48:08 -0500 CentOS mailing list  
wrote:

> 
> I'm trying to learn Asterisk (specifically Trixbox) and, as you
> probably know, it runs on CentOS. I want to run it on my laptop and
> thought that I could install it to an external USB hard drive, like
> I've done with Fedora 12 and Linux Mint 8 (I like to keep my small
> CentOS/Windows dual booting hard drive in the laptop's hard drive
> slot). But it won't work. It kept giving me hard drive errors when I
> tried to install it to the USB drive, so I installed it in the regular
> hard drive slot in the laptop -- where it works fine. But when I move
> it to the USB enclosure, it starts to boot, but can't mount the
> partitions and goes into kernel panic. I checked this with my CentOS
> hard drive and it does the same. I'm guessing the only reason Linux
> Mint works is because it refers to all partitions as "sda" instead of
> "hda" -- so it doesn't know it's in the wrong slot (just a guess).
> 
> Is there an easy fix for this? Is there some configuration file that I
> can change entries from "hda" to "sda" so the partitions will mount or
> is it more involved than that?

/etc/fstab

Also, you need to change the grub config (root=/dev/hda).

Even better than changing from /dev/hda to /dev/sda, would be to use
labeled file systems (using LABEL=mumble instead of /dev/hdaN or
/dev/sdaN).  See 'man e2label' for more information.

> 
> Thanks for any pointers.
> 

-- 
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software-- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
hel...@deepsoft.com   -- Contract Programming: C/C++, Tcl/Tk


   
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] introductory online kernel programming course

2010-06-12 Thread Athmane Madjoudj

>
> Anything involving money should be cleared by the list admins before
> posting. That said, I've know Rob on the TLUG mailing list for some
> time. I'd vouch that he had best intentions and didn't mean it to be spam.
>

I'm just wondering because the courses has no relation with CentOS, it 
mostly Ubuntu related.

Thanks for information.

-- 
Athmane Madjoudj
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] introductory online kernel programming course

2010-06-12 Thread Digimer
On 10-06-12 08:11 PM, Athmane Madjoudj wrote:
> On Sat, Jun 12, 2010 at 10:33 PM, Robert P. J. Day
>   wrote:
>>
>>   yes, it's OT but just in case folks here know someone who might be
>> interested, i'm writing and publishing a course to introduce people to
>> the joys of linux kernel programming:
>>
>> http://www.crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming
>>
>>   and, no, it's not free -- six months worth of course will cost you
>> all of $39 (CAD), but the first four lessons are free so you can see
>> what you're getting into and decide whether you think it's worth it.
>>
>>   this is the only mention i'll make of that here.  if you want to
>> keep up with new developments, feel free to follow me on twitter.
>>
>
> Is this a SPAM !

Anything involving money should be cleared by the list admins before 
posting. That said, I've know Rob on the TLUG mailing list for some 
time. I'd vouch that he had best intentions and didn't mean it to be spam.

-- 
Digimer
E-Mail: li...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] introductory online kernel programming course

2010-06-12 Thread Athmane Madjoudj
On Sat, Jun 12, 2010 at 10:33 PM, Robert P. J. Day
 wrote:
>
>  yes, it's OT but just in case folks here know someone who might be
> interested, i'm writing and publishing a course to introduce people to
> the joys of linux kernel programming:
>
> http://www.crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming
>
>  and, no, it's not free -- six months worth of course will cost you
> all of $39 (CAD), but the first four lessons are free so you can see
> what you're getting into and decide whether you think it's worth it.
>
>  this is the only mention i'll make of that here.  if you want to
> keep up with new developments, feel free to follow me on twitter.
>

Is this a SPAM !


-- 
Athmane Madjoudj
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] introductory online kernel programming course

2010-06-12 Thread Robert P. J. Day
On Sun, 13 Jun 2010, Karanbir Singh wrote:

> On 06/12/2010 10:33 PM, Robert P. J. Day wrote:
> >
> >yes, it's OT but just in case folks here know someone who might be
> > interested, i'm writing and publishing a course to introduce people to
> > the joys of linux kernel programming:
> >
>
> please leave commercial postings of this nature off this list.

  sorry, my apologies.

rday
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Booting from a USB hard drive?

2010-06-12 Thread Ron Blizzard
I'm trying to learn Asterisk (specifically Trixbox) and, as you
probably know, it runs on CentOS. I want to run it on my laptop and
thought that I could install it to an external USB hard drive, like
I've done with Fedora 12 and Linux Mint 8 (I like to keep my small
CentOS/Windows dual booting hard drive in the laptop's hard drive
slot). But it won't work. It kept giving me hard drive errors when I
tried to install it to the USB drive, so I installed it in the regular
hard drive slot in the laptop -- where it works fine. But when I move
it to the USB enclosure, it starts to boot, but can't mount the
partitions and goes into kernel panic. I checked this with my CentOS
hard drive and it does the same. I'm guessing the only reason Linux
Mint works is because it refers to all partitions as "sda" instead of
"hda" -- so it doesn't know it's in the wrong slot (just a guess).

Is there an easy fix for this? Is there some configuration file that I
can change entries from "hda" to "sda" so the partitions will mount or
is it more involved than that?

Thanks for any pointers.

-- 
RonB -- Using CentOS 5.5
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] introductory online kernel programming course

2010-06-12 Thread Karanbir Singh
On 06/12/2010 10:33 PM, Robert P. J. Day wrote:
>
>yes, it's OT but just in case folks here know someone who might be
> interested, i'm writing and publishing a course to introduce people to
> the joys of linux kernel programming:
>

please leave commercial postings of this nature off this list.

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] [OT] introductory online kernel programming course

2010-06-12 Thread Robert P. J. Day

  yes, it's OT but just in case folks here know someone who might be
interested, i'm writing and publishing a course to introduce people to
the joys of linux kernel programming:

http://www.crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming

  and, no, it's not free -- six months worth of course will cost you
all of $39 (CAD), but the first four lessons are free so you can see
what you're getting into and decide whether you think it's worth it.

  this is the only mention i'll make of that here.  if you want to
keep up with new developments, feel free to follow me on twitter.

rday

-- 


Robert P. J. Day   Waterloo, Ontario, CANADA

Top-notch, inexpensive online Linux/OSS/kernel courses:
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5 Update error

2010-06-12 Thread John R Pierce
Morten P.D. Stevens wrote:
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
>   
>> Yes, you see you have Perl 64-bit and 32-bit installed. You really need
>> it as an i386 package?
>>
>> I have no problem updating x86_64 packages only.
>> 
>
> Hi Alexander,
>
> thank you. I removed perl.i386 and the yum update process is now working 
> perfectly :)
>   


this is an ongoing sporadic problem with yum and centos ...  I suspect 
what might be happening is the i386 package sometimes gets updated 
first, then confuses it when it goes to update the x86_64 package.   
perhaps this happens when a mirror is only partially updated, but thats 
just a wild guess.

this can be a real annoyance when it happens with a package, like for 
instance a library, that you have to have both 386 and _64 packages for...




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5 Update error

2010-06-12 Thread Morten P.D. Stevens
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> 
> Yes, you see you have Perl 64-bit and 32-bit installed. You really need
> it as an i386 package?
> 
> I have no problem updating x86_64 packages only.

Hi Alexander,

thank you. I removed perl.i386 and the yum update process is now working 
perfectly :)

Morten
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5 Update error

2010-06-12 Thread Alexander Dalloz
Am 12.06.2010 21:30, schrieb Morten P.D. Stevens:

[ ... ]
>   file /usr/share/man/man3/Safe.3pm.gz from install of 
> perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package 
> perl-5.8.8-27.el5.i386
> 
> Error Summary
> -
> 
> Any ideas?

Yes, you see you have Perl 64-bit and 32-bit installed. You really need
it as an i386 package?

I have no problem updating x86_64 packages only.

Alexander
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 5 Update error

2010-06-12 Thread Morten P.D. Stevens
Hi,

I get the following error while installing the newest centos patches.

[r...@gateway ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: centos.intergenia.de
 * base: centos.intergenia.de
 * extras: centos.intergenia.de
 * updates: centos.intergenia.de
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.5-49.el5_5.2 set to be updated
---> Package glibc.x86_64 0:2.5-49.el5_5.2 set to be updated
---> Package glibc-common.x86_64 0:2.5-49.el5_5.2 set to be updated
---> Package glibc-devel.x86_64 0:2.5-49.el5_5.2 set to be updated
---> Package glibc-headers.x86_64 0:2.5-49.el5_5.2 set to be updated
---> Package mysql.i386 0:5.0.77-4.el5_5.3 set to be updated
---> Package mysql.x86_64 0:5.0.77-4.el5_5.3 set to be updated
---> Package mysql-server.x86_64 0:5.0.77-4.el5_5.3 set to be updated
---> Package perl.x86_64 4:5.8.8-32.el5_5.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved


 Package   Arch 
  Version Repository
   Size

Updating:
 glibc i686 
  2.5-49.el5_5.2  updates   
  5.3 M
 glibc x86_64   
  2.5-49.el5_5.2  updates   
  4.7 M
 glibc-common  x86_64   
  2.5-49.el5_5.2  updates   
   16 M
 glibc-devel   x86_64   
  2.5-49.el5_5.2  updates   
  2.4 M
 glibc-headers x86_64   
  2.5-49.el5_5.2  updates   
  592 k
 mysql i386 
  5.0.77-4.el5_5.3updates   
  4.8 M
 mysql x86_64   
  5.0.77-4.el5_5.3updates   
  4.8 M
 mysql-server  x86_64   
  5.0.77-4.el5_5.3updates   
  9.8 M
 perl  x86_64   
  4:5.8.8-32.el5_5.1  updates   
   12 M

Transaction Summary

Install   0 Package(s)
Upgrade   9 Package(s)

Total size: 61 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /usr/lib/perl5/5.8.8/File/Path.pm from install of 
perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package 
perl-5.8.8-27.el5.i386
  file /usr/share/man/man1/c2ph.1.gz from install of 
perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package 
perl-5.8.8-27.el5.i386
  file /usr/share/man/man1/cpan.1.gz from install of 
perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package 
perl-5.8.8-27.el5.i386
  file /usr/share/man/man1/dprofpp.1.gz from install of 
perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package 
perl-5.8.8-27.el5.i386
  file /usr/share/man/man1/enc2xs.1.gz from install of 
perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package 
perl-5.8.8-27.el5.i386
  file /usr/share/man/man1/find2perl.1.gz from install of 
perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package 
perl-5.8.8-27.el5.i386
  file /usr/share/man/man1/h2ph.1.gz from install of 
perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package 
perl-5.8.8-27.el5.i386
  file /usr/share/man/man1/h2xs.1.gz from install of 
perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package 
perl-5.8.8-27.el5.i386
  file /usr/share/man/man1/instmodsh.1.gz from install of 
perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package 
perl-5.8.8-27.el5.i386
  file /usr/share/man/man1/libnetcf