Re: [gentoo-user] 2.6.23 and xorg delayed startup

2007-12-24 Thread Randy Barlow
Michael George wrote:
 Couldn't establish a connection to :9202: IO::Socket::INET: Bad hostname 
 ':9202'

I'm not sure why the kernel would make this difference, but it looks
like something is trying to connect to No Host:9202.  Do you have your
hostname properly configured?  And in /etc/hosts do you have your
127.0.0.1 entry?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread Matthew R. Lee
Dear All,
I'm running out of space on my laptop  (Compaq Presario V5000) so I've decided 
to intall a bigger hard disk.  Currently I have an 80GB SATA drive, I'm also 
going to add more RAM (from 1GB to 2GB) as RAM is so cheap at the moment.  
I've been through various howto's online, including the one in the 
gentoo-wiki, but I'm not completely clear on a couple of things.  I need this 
to go quickly and smoothly, I'm about to move house and job and I don't have 
too much time for messing around.

My current partition table looks like this:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks Id  System
/dev/sda1   *   1   5 40131   83  Linux
/dev/sda2   6  68506047+  82  Linux swap / 
Solaris
/dev/sda3  699729 77601982+  83  Linux

I intend to keep the same partition layout on the new disk, but with /sda3 
being a lot bigger.

So here's how I think I'll do this, please feel free to correct me if I'm 
wrong.
1. place the new 160GB SATA drive in an external housing and create the 
partitions using fdisk, make the file systems, etc.

Question 1: Should I keep the swap partition the same size or increase it?

2. Copy all the partitions from the old disk to the new disk using cp

Question 2: (This is the main one!) The MBR?  As the new disk is a direct 
replacement for the old one, with the same partitions etc, do I need to 
change anything in my grub.conf?  or should it just work without 
modification?

Here's my current grub.conf:

default 0

timeout 30

splashimage=(hd0,0)/boot/grub/splash2.xpm.gz

title=Gentoo 2.6.22-r2

root (hd0,0)
kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 
video=vesafb:mtrr,ywrap,[EMAIL PROTECTED]

title=Gentoo 2.6.18-r6

root (hd0,0)
kernel /boot/kernel-2.6.18-r6 root=/dev/sda3 
video=vesafb:mtrr,ywrap,[EMAIL PROTECTED]

3. Shutdown, replace the old drive with the new drive, reboot and cross my 
fingers :-)  Will it work?

Any comments, as always, greatly appreciated
Matt
-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread Randy Barlow
Matthew R. Lee wrote:
 Question 1: Should I keep the swap partition the same size or increase it?

If you are increasing the amount of RAM, and you currently do fine on
512 MB of swap, you should be OK.  That said, if you are getting a ton
more space, what is 1 GB to dedicate to swap just in case?

 Question 2: (This is the main one!) The MBR?  As the new disk is a direct 
 replacement for the old one, with the same partitions etc, do I need to 
 change anything in my grub.conf?  or should it just work without 
 modification?

If you use cp you will need to run grub-install, or run setup from
within grub, again.  Make sure you use the correct flags on cp to
maintain permissions/owners/other attributes on the files that you are
copying.  Another option that may be simpler and will definitely be
faster is using dd to copy.  You will probably need to use
grub-install/setup if you do dd as well, unless you dd if=/dev/sda
of=/dev/sdb (or am I wrong about this?)

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] rc-update can't fix broken runlevel config

2007-12-24 Thread reader
I'm stripping down a former regular desktop setup of gentoo to remove
X and any unnecessary services like sendmail samba cups... and more.

I've been checking dependences and removing thing in some attempt at
sytematically .. but the end its `emerge -vC something'

So I now have things set in some runlevels that are uninstalled.
rc-update show has these error messages


   Broken runlevel entry: /etc/runlevels/default/samba
   Broken runlevel entry: /etc/runlevels/default/net.eth0
   Broken runlevel entry: /etc/runlevels/default/sendmail
 
[...]

rc-update will not let me delete or readd them (since they are
missing)

I find mention of this problem with google but the only fix mentioned
is to readd and then delet... I can't do that here.

So I guess I need to hand edit whatever source file or files rc-update
uses. Where are they?


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rc-update can't fix broken runlevel config

2007-12-24 Thread Michal 'vorner' Vaner
Hello

On Mon, Dec 24, 2007 at 11:15:59AM -0600, [EMAIL PROTECTED] wrote:
 So I guess I need to hand edit whatever source file or files rc-update
 uses. Where are they?

In /etc/runlevels, there is a directory for each runlevel. That
directory contains symlinks to the scripts in /etc/init.d. Just delete
the ones that point to non-existing files (they are usually red in bash,
if you have colors).

I hope this helps.

-- 
Hello, I'm an extension to the infamous signature virus, called spymail.
Could you please copy me into your signature and send back what you were
doing last night between 10pm and 3am?

Michal 'vorner' Vaner


pgp1GuiSBXKSr.pgp
Description: PGP signature


[gentoo-user] removing X

2007-12-24 Thread reader
I'm attempting to remove X from a former desktop machine now going to
see action as a semi-DMZ.

What is the best way to go about removing X and all its files.

Removing the basic x11-base/xorg-x11 is easy enough but there appears
to be dozens of other X related pkgs installed.
  x11-proto/* has apparently dozens of relatives installed.

emerge does not appear to accept globbing or maybe I'm just doing it
wrong.


Would just passing dozens of command line arguments to emerge be a
suitable way to get rid of all the clutter?

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: rc-update can't fix broken runlevel config

2007-12-24 Thread reader
Michal 'vorner' Vaner [EMAIL PROTECTED] writes:


 In /etc/runlevels, there is a directory for each runlevel. That
 directory contains symlinks to the scripts in /etc/init.d. Just delete
 the ones that point to non-existing files (they are usually red in bash,
 if you have colors).

 I hope this helps.

Yup.. it did.. I should have thought of that and chased it down .. thanks

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] removing X

2007-12-24 Thread Michal 'vorner' Vaner
Hello

On Mon, Dec 24, 2007 at 11:31:16AM -0600, [EMAIL PROTECTED] wrote:
 I'm attempting to remove X from a former desktop machine now going to
 see action as a semi-DMZ.
 
 What is the best way to go about removing X and all its files.
 
 Removing the basic x11-base/xorg-x11 is easy enough but there appears
 to be dozens of other X related pkgs installed.
   x11-proto/* has apparently dozens of relatives installed.
 
 emerge does not appear to accept globbing or maybe I'm just doing it
 wrong.
 
 
 Would just passing dozens of command line arguments to emerge be a
 suitable way to get rid of all the clutter?

You could remove the meta-package (the one that has size 0 and depends
on everything, I guess it's xorg-x11) and then emerge --depclean. You
probably should check, what everything that might want to remove, as it
might get the things a bit wrong, sometimes.

-- 
When eating an elephant take one bite at a time.
-- Gen. C. Abrams

Michal 'vorner' Vaner


pgpTBIgkd0FIE.pgp
Description: PGP signature


Re: [gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread Dale
Matthew R. Lee wrote:
 Dear All,
 I'm running out of space on my laptop  (Compaq Presario V5000) so I've 
 decided 
 to intall a bigger hard disk.  Currently I have an 80GB SATA drive, I'm also 
 going to add more RAM (from 1GB to 2GB) as RAM is so cheap at the moment.  
 I've been through various howto's online, including the one in the 
 gentoo-wiki, but I'm not completely clear on a couple of things.  I need this 
 to go quickly and smoothly, I'm about to move house and job and I don't have 
 too much time for messing around.

 My current partition table looks like this:

 Disk /dev/sda: 80.0 GB, 80026361856 bytes
 255 heads, 63 sectors/track, 9729 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot  Start End  Blocks Id  System
 /dev/sda1   *   1   5 40131   83  Linux
 /dev/sda2   6  68506047+  82  Linux swap / 
 Solaris
 /dev/sda3  699729 77601982+  83  Linux

 I intend to keep the same partition layout on the new disk, but with /sda3 
 being a lot bigger.

 So here's how I think I'll do this, please feel free to correct me if I'm 
 wrong.
 1. place the new 160GB SATA drive in an external housing and create the 
 partitions using fdisk, make the file systems, etc.

 Question 1: Should I keep the swap partition the same size or increase it?

 2. Copy all the partitions from the old disk to the new disk using cp

 Question 2: (This is the main one!) The MBR?  As the new disk is a direct 
 replacement for the old one, with the same partitions etc, do I need to 
 change anything in my grub.conf?  or should it just work without 
 modification?

 Here's my current grub.conf:

 default 0

 timeout 30

 splashimage=(hd0,0)/boot/grub/splash2.xpm.gz

 title=Gentoo 2.6.22-r2

 root (hd0,0)
 kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 
 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED]

 title=Gentoo 2.6.18-r6

 root (hd0,0)
 kernel /boot/kernel-2.6.18-r6 root=/dev/sda3 
 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED]

 3. Shutdown, replace the old drive with the new drive, reboot and cross my 
 fingers :-)  Will it work?

 Any comments, as always, greatly appreciated
 Matt
   

cp- a should work fine.  I have used that several times and no problems
yet.  You can add the -v if you like to see the files scrolling by.

If you have the same partitions on the new drive as the old drive, your
grub.conf and fstab should be fine. 

You will need to install grub on the new drive tho.  I usually do that
from the Gentoo CD myself. 

Hope it all goes well.

Dale

:-)  :-) 
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: removing X

2007-12-24 Thread reader
Michal 'vorner' Vaner [EMAIL PROTECTED] writes:

 Hello

 On Mon, Dec 24, 2007 at 11:31:16AM -0600, [EMAIL PROTECTED] wrote:

[...]

 Would just passing dozens of command line arguments to emerge be a
 suitable way to get rid of all the clutter?

 You could remove the meta-package (the one that has size 0 and depends
 on everything, I guess it's xorg-x11) and then emerge --depclean. You
 probably should check, what everything that might want to remove, as it
 might get the things a bit wrong, sometimes.

That appears not to be possible here since I've already begun
uninstalling stuff the hard way.  I get this message from
  --depclean

I don't want to follow the advice offered there an run the newuse
world yet... I want to finish cleaning house first.

  Dependencies could not be completely resolved due to  
  the following required packages not being installed 

  x11-proto/kbproto required by x11-libs/libX11-1.1.1 x11-libs/libXt-1.0.5
  x11-proto/xextproto required by x11-libs/libXext-1.0.3
  x11-proto/xproto required by x11-libs/libXau-1.0.3 x11-libs/libXdmcp-1.0.2 
x11-libs/libXmu-1.0.3 x11-libs/libICE-1.0.3 x11-libs/libSM-1.0.2 
x11-libs/libXt-1.0.5 x11-libs/libXfont-1.2.7
  x11-proto/fontsproto required by x11-libs/libXfont-1.2.7
  =dev-lang/python-2.5 required by sys-apps/portage-2.1.4_rc11
  =x11-proto/xproto-7.0.6 required by x11-libs/libX11-1.1.1
  =sys-fs/cryptsetup-1.0.5 required by sys-apps/hal-0.5.7.1-r5

  Have you forgotten to run `emerge --update --newuse --deep world` prior to
  depclean?  It may be necessary to manually uninstall packages that no longer
  exist in the portage tree since it may not be possible to satisfy their
  dependencies.  Also, be aware of the --with-bdeps option that is documented
  in `man emerge`.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread Dale
Dale wrote:


 cp- a should work fine.  I have used that several times and no problems
 yet.  You can add the -v if you like to see the files scrolling by.

 If you have the same partitions on the new drive as the old drive, your
 grub.conf and fstab should be fine. 

 You will need to install grub on the new drive tho.  I usually do that
 from the Gentoo CD myself. 

 Hope it all goes well.

 Dale

 :-)  :-) 
   


Me and my sucky typing.  Make that cp -a instead.  That may work better. 

Dale

:-)  :-)


Re: [gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread Thanasis
I would first create the new partitions on the new disk keeping the same
sequence (and increasing swap partition to 1GB), and then format them.
Say the new drive is /dev/sdb. I would go like this (mind the spaces):

mkdir /mnt/dst /mnt/src

mount /dev/sdb3 /mnt/dst
mount -o bind / /mnt/src  cd /  tar cfp - . |tar xfp - -C
/mnt/dst (to copy the / partition)
mount /dev/sdb1 /mnt/dst/boot  cd /boot  tar cfp - . |tar xfp - -C
/mnt/dst/boot  (to copy the /boot partition)
 
then install new grub on sdb's MBR:

mount -t proc none /mnt/dst/proc
mount -o bind /dev /mnt/dst/dev
chroot /mnt/dst /bin/bash
env-update  source /etc/profile
grub
 device (hd0) /dev/sdb
 root (hd0,0)
 setup (hd0)
 quit

exit

unmount all previous (the reverse sequence) and shutdown and swap disks :-)

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread Thanasis
on 12/24/2007 08:38 PM Thanasis wrote the following:
 I would first create the new partitions on the new disk keeping the same
 sequence (and increasing swap partition to 1GB), and then format them.
 Say the new drive is /dev/sdb. I would go like this (mind the spaces):

 mkdir /mnt/dst /mnt/src

 mount /dev/sdb3 /mnt/dst
 mount -o bind / /mnt/src  cd /  tar cfp - . |tar xfp - -C
 /mnt/dst (to copy the / partition)
 mount /dev/sdb1 /mnt/dst/boot  cd /boot  tar cfp - . |tar xfp - -C
 /mnt/dst/boot  (to copy the /boot partition)
  
 then install new grub on sdb's MBR:

 mount -t proc none /mnt/dst/proc
 mount -o bind /dev /mnt/dst/dev
 chroot /mnt/dst /bin/bash
 env-update  source /etc/profile
 grub
   
 device (hd0) /dev/sdb
 root (hd0,0)
 setup (hd0)
 quit
 

 exit

 unmount all previous (the reverse sequence) and shutdown and swap disks :-)

   
Please correct above to

mount -o bind / /mnt/src  cd /mnt/src  tar cfp - . |tar xfp - -C /mnt/dst 


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] 2.6.23 and xorg delayed startup

2007-12-24 Thread Michael George
On Mon, Dec 24, 2007 at 11:06:21AM -0500, Randy Barlow wrote:
 Michael George wrote:
  Couldn't establish a connection to :9202: IO::Socket::INET: Bad hostname 
  ':9202'
 
 I'm not sure why the kernel would make this difference, but it looks
 like something is trying to connect to No Host:9202.  Do you have your
 hostname properly configured?  And in /etc/hosts do you have your
 127.0.0.1 entry?

I agree with your assessment.  I found a similar message on an LTSP
list, but the terminal's name was before 9202.  (That post was about a
different problem, so the solution there didn't help me.)

My /etc/hosts file includes the localhost entry (127.0.0.1 localhost)
and also an entry for my system's real IP address and hostname
(192.168.0.251 brego ...).

So I don't think that is the problem.  Thank you for the suggestion,
though, as I had not double-checked /etc/hosts yet...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread Matthew R. Lee
On Monday 24 December 2007 15:06:36 Dale wrote:
 Dale wrote:
  cp- a should work fine.  I have used that several times and no problems
  yet.  You can add the -v if you like to see the files scrolling by.
 
  If you have the same partitions on the new drive as the old drive, your
  grub.conf and fstab should be fine.
 
  You will need to install grub on the new drive tho.  I usually do that
  from the Gentoo CD myself.
 
  Hope it all goes well.
 
  Dale
 
  :-)  :-)

 Me and my sucky typing.  Make that cp -a instead.  That may work better.

 Dale

 :-)  :-)

Right, so when I've finished copying the partitions to the new disk, I swap 
the disks and boot with the Gentoo live CD and follow the instructions from 
the install handbook:

Default: Setting up GRUB using grub-install
 To install GRUB you will need to issue the grub-install command. However, 
grub-install won't work off-the-shelf since we are inside a chrooted 
environment. We need to create /etc/mtab which lists all mounted filesystems. 
Fortunately, there is an easy way to accomplish this - just copy 
over /proc/mounts to /etc/mtab, excluding the rootfs line if you haven't 
created a separate boot partition. The following command will work in both 
cases: 
Code Listing 5: Creating /etc/mtab
  # grep -v rootfs /proc/mounts  /etc/mtab

   Now we can install GRUB using grub-install: 
Code Listing 6: Running grub-install
  # grub-install --no-floppy /dev/hda

   If you have more questions regarding GRUB, please consult the GRUB FAQ or 
the GRUB Manual. 
 Continue with Rebooting the System. 

Cheers!

-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread Dale
Matthew R. Lee wrote:
 On Monday 24 December 2007 15:06:36 Dale wrote:
   
 Dale wrote:
 
 cp- a should work fine.  I have used that several times and no problems
 yet.  You can add the -v if you like to see the files scrolling by.

 If you have the same partitions on the new drive as the old drive, your
 grub.conf and fstab should be fine.

 You will need to install grub on the new drive tho.  I usually do that
 from the Gentoo CD myself.

 Hope it all goes well.

 Dale

 :-)  :-)
   
 Me and my sucky typing.  Make that cp -a instead.  That may work better.

 Dale

 :-)  :-)
 

 Right, so when I've finished copying the partitions to the new disk, I swap 
 the disks and boot with the Gentoo live CD and follow the instructions from 
 the install handbook:

 Default: Setting up GRUB using grub-install
  To install GRUB you will need to issue the grub-install command. However, 
 grub-install won't work off-the-shelf since we are inside a chrooted 
 environment. We need to create /etc/mtab which lists all mounted filesystems. 
 Fortunately, there is an easy way to accomplish this - just copy 
 over /proc/mounts to /etc/mtab, excluding the rootfs line if you haven't 
 created a separate boot partition. The following command will work in both 
 cases: 
 Code Listing 5: Creating /etc/mtab
   # grep -v rootfs /proc/mounts  /etc/mtab

Now we can install GRUB using grub-install: 
 Code Listing 6: Running grub-install
   # grub-install --no-floppy /dev/hda

If you have more questions regarding GRUB, please consult the GRUB FAQ or 
 the GRUB Manual. 
  Continue with Rebooting the System. 

 Cheers!

   

If I recall correctly, mount the partitions, chroot in, do the
env-update and I always do the source /etc/profile too, just in case. 
Then do the grub part.  Thanasis seems to have that explained very well.

Someone step up if I messed a step here.

Dale

:-)  :-) 


Re: [gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread Neil Bothwick
On Mon, 24 Dec 2007 20:52:30 +0200, Thanasis wrote:

 mount -o bind / /mnt/src  cd /mnt/src  tar cfp - . |tar xfp -
 -C /mnt/dst  tar cfp - . |tar xfp -
 -C /mnt/dst 

You don't need to mess around with bind mounting /, just do

cd /  tar clfp - ...

For that matter, the f option is redundant, as tar send to stdout by
default.

cd /  tar cp . | tar xp -C /mnt/dst 

Even simpler...

rsync -ax / /mnt/dst/


-- 
Neil Bothwick

Top Oxymorons Number 18: Taped live


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: removing X

2007-12-24 Thread Neil Bothwick
On Mon, 24 Dec 2007 11:56:57 -0600, [EMAIL PROTECTED] wrote:

 I don't want to follow the advice offered there an run the newuse
 world yet... I want to finish cleaning house first.
 
   Dependencies could not be completely resolved due to  
   the following required packages not being installed 
 
   x11-proto/kbproto required by x11-libs/libX11-1.1.1
 x11-libs/libXt-1.0.5 x11-proto/xextproto required by
 x11-libs/libXext-1.0.3
...

You may have a long night ahead of you. Unless this is a slow machine, it
is probably quicker to emerge -u world first, especially if most the
packages you have removed as as small as the ones you listed. 


-- 
Neil Bothwick

I'm not crying victim, but I am stating that a lot of spammers
are genuine scumbags. -Sanford Wallace


signature.asc
Description: PGP signature


Re: [gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread Stroller


On 24 Dec 2007, at 17:06, Randy Barlow wrote:

... You will probably need to use
grub-install/setup if you do dd as well, unless you dd if=/dev/sda
of=/dev/sdb (or am I wrong about this?)


No, you're correct - `dd` would copy the boot-sector.

But it would also leave all partitions at their original sizes,  
leaving 80gig of free space at the end of the drive. I'm not sure how  
one would go about enlarging the /dev/sda2 in order to fill this -  
I'm sure it's possible, but I can't say I've ever had to do so.


It might be as simple as completing the `dd if=/dev/sda of=/dev/sdb`  
and then using `fdisk` to delete the last partition, then recreate it  
with the same start point (and a later end point). The filesystem  
would then need to be resized. But I don't know if this will work,  
and it's potentially destructive if you get it wrong (although the  
original drive is still intact if it doesn't).


Stroller.
 
--

[EMAIL PROTECTED] mailing list



[gentoo-user] Re: removing X

2007-12-24 Thread reader
Neil Bothwick [EMAIL PROTECTED] writes:

 On Mon, 24 Dec 2007 11:56:57 -0600, [EMAIL PROTECTED] wrote:

 I don't want to follow the advice offered there an run the newuse
 world yet... I want to finish cleaning house first.
 
   Dependencies could not be completely resolved due to  
   the following required packages not being installed 
 
   x11-proto/kbproto required by x11-libs/libX11-1.1.1
 x11-libs/libXt-1.0.5 x11-proto/xextproto required by
 x11-libs/libXext-1.0.3
 ...

 You may have a long night ahead of you. Unless this is a slow machine, it
 is probably quicker to emerge -u world first, especially if most the
 packages you have removed as as small as the ones you listed. 

Thanks... this wasn't a huge installation.  I'm not sure how many
installed packages were there... but I was able to get it done in
about 1 hr.

emerge was able to gulp long cmdlines constructed like:

   eix -I installed
Then a series of this type command:
  emerge -vC `awk '/x11-drivers/{print $2}'`

Rebuilding the `installed' file occasionally.

I'm not sure what kind of a mess I've created yet ..  I just started

 emerge -vuDe world

Today about 1/2 hr ago

But at least the `world' file was pared way down; no monster kde
compiles to wait out.

-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] brlcad users here?--RESOLVED

2007-12-24 Thread maxim wexler

--- Arttu V. [EMAIL PROTECTED] wrote:

 
  Date: Tue, 18 Dec 2007 11:33:52 -0800
  From: [EMAIL PROTECTED]
  
  Just to clarify: What does a 'pre-compiled binary'
 do?
 
 I meant just regular binary files, which have been
 compiled -- as opposed
 to the source files (non-compiled ;) ). Sorry for
 being unclear. :)
 
 -- 
 Arttu V.

No, I get it Arrtu. But still, what advantage is
software that's been compiled against a completely
different system? 

_
 Express yourself instantly with MSN Messenger!
 Download today it's FREE!

http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/--
 [EMAIL PROTECTED] mailing list
 
 



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread maxim wexler
 Question 2: (This is the main one!) The MBR?  As the
 new disk is a direct 
 replacement for the old one, with the same
 partitions etc, do I need to 
 change anything in my grub.conf?  or should it just
 work without 
 modification?

I just did this. My method:

Duplicate the partitions, file systems.

Then dd if=[old device] of=[new device] bs=32k for
each partition. Note: won't work if new device  old
device.

fschk each file system for corruption.

Remove or reformat other drive for storage etc.

Install grub on the partition of choice.

That's it!


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] 2.6.23 and xorg delayed startup

2007-12-24 Thread felix
On Sun, Dec 23, 2007 at 10:36:16PM -0500, Michael George wrote:

 I do have this error from startx, though:
 Couldn't establish a connection to :9202: IO::Socket::INET: Bad hostname 
 ':9202'

I hate to offer so primitive a suggestion, but grep -rl 9202 /etc
might help.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] moving my instalation to new hard drive

2007-12-24 Thread Neil Bothwick
On Mon, 24 Dec 2007 21:28:37 +, Stroller wrote:

 It might be as simple as completing the `dd if=/dev/sda of=/dev/sdb`  
 and then using `fdisk` to delete the last partition, then recreate it  
 with the same start point (and a later end point). The filesystem  
 would then need to be resized. But I don't know if this will work, 

It will, I've done it myself. The main disadvantages are that you can
only resize the last partition,and it is very slow (because dd copies
every byte of the source drive, not jut the ones in use). Although I have
used this method, I wouldn't do it again, I'd set up the partitions,
copy with rsync and run grub to install it on the new drive.


-- 
Neil Bothwick

Error reading FAT record: Try the SKINNY one? (Y/N)


signature.asc
Description: PGP signature


[gentoo-user] Re: removing X

2007-12-24 Thread Grant Edwards
On 2007-12-24, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I'm attempting to remove X from a former desktop machine now
 going to see action as a semi-DMZ.

That sounds like a lot of work.  My guess is that it would be a
faster and easier to wipe the disk and install from scratch.

-- 
Grant


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Intel Wireless 3945ABG Adapter

2007-12-24 Thread Sergey Kobzar
I have laptop with wireless adapter:

# lspci | grep -i wireless
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network 
Connection (rev 02)

It has 2 drivers:

http://ipw3945.sourceforge.net/ (marked as deprecated)
http://intellinuxwireless.org/ (masked in portage tree)

At the moment I use IPW3945. Is it wort to switch to iwlwifi? How does
it work with 2.6.23 kernel? Is it stable?

Thanks for any help.

-- 
Sergey

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Intel Wireless 3945ABG Adapter

2007-12-24 Thread Neil Bothwick
On Tue, 25 Dec 2007 01:04:33 +0200, Sergey Kobzar wrote:

 At the moment I use IPW3945. Is it wort to switch to iwlwifi? How does
 it work with 2.6.23 kernel? Is it stable?

I use iwlwifi with an Intel 4965 and it works well.


-- 
Neil Bothwick

Accordion: a bagpipe with pleats.


signature.asc
Description: PGP signature


[gentoo-user] Why doesn't `sandbox' like /root/.bash_history?

2007-12-24 Thread reader

Any usage of emerge gets:

  ACCESS DENIED  open_rd:   /root/.bash_history
  ACCESS DENIED  open_rd:   /root/.bash_history

if I:

  mv ~/.bash_history ~/.bash_historyX

It works fine.

  ls -l ~/.bash_history
  -rw--- 1 root root 1841 Dec 24 12:14 /root/.bash_history

I've tried chmodding it to 644 but that does nothing.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: removing X

2007-12-24 Thread reader
Grant Edwards [EMAIL PROTECTED] writes:

 On 2007-12-24, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I'm attempting to remove X from a former desktop machine now
 going to see action as a semi-DMZ.

 That sounds like a lot of work.  My guess is that it would be a
 faster and easier to wipe the disk and install from scratch.

I would have done that without hesitation had it not been for the fact
that this installation is a vm guest on winXP and I had a heck of a
time getting it to work with gentoo.

But as it turned out it wasn't all that hard.  Mainly because it was
kind of a basic installation even though it had X and KDE desktop.

The fact that emerge can swallow giant size lists of stuff to
uninstall was a big bonus.  I didn't go over 86 on cmdline and just
settled for doing it multiple times, but I think it would have
swallowed more if I had.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] 2.6.23 and xorg delayed startup

2007-12-24 Thread David Relson
On Sun, 23 Dec 2007 22:36:16 -0500
Michael George wrote:

 I just upgraded my kernel from 2.6.19 to 2.6.23 and it takes almost a
 minute for X to start now.
 
 I have changed window managers (normally ctwm, tested with twm) with
 the same results.  I rebooted the 2.6.19 kernel and X fires right up
 as expected.  Booting back to 2.6.23 and it's excruciatingly long.
 
 I saw some prior posts which indicated a network problem, but in that
 case the OP said that the loopback interface wasn't up.  I checked my
 system (ifconfig) and both lo and eth0 are up and running.
 
 I do have this error from startx, though:
 Couldn't establish a connection to :9202: IO::Socket::INET: Bad
 hostname ':9202'
 
 I forgot to check if I had that error when running 2.6.19...  I tried
 a web search for this type of error and came up empty.  What part of X
 would this error be from?
 
 Thanks!
 
 -- 
 -M

A one minute delay makes me think of DNS lookup time-out failures.  The
can't establish connection ...9202 sounds like port 9202 of a
non-existant host is wanted.  grep 9202 /etc/services produces:

  wap-wsp-s 9202/tcp # WAP secure connectionless session service 
  wap-wsp-s 9202/udp

Do you do anything with wireless?

HTH,

David

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: removing X

2007-12-24 Thread forgottenwizard
On 18:20 Mon 24 Dec , [EMAIL PROTECTED] wrote:
 Grant Edwards [EMAIL PROTECTED] writes:
 
  On 2007-12-24, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  I'm attempting to remove X from a former desktop machine now
  going to see action as a semi-DMZ.
 
  That sounds like a lot of work.  My guess is that it would be a
  faster and easier to wipe the disk and install from scratch.
 
 I would have done that without hesitation had it not been for the fact
 that this installation is a vm guest on winXP and I had a heck of a
 time getting it to work with gentoo.
 
 But as it turned out it wasn't all that hard.  Mainly because it was
 kind of a basic installation even though it had X and KDE desktop.
 
 The fact that emerge can swallow giant size lists of stuff to
 uninstall was a big bonus.  I didn't go over 86 on cmdline and just
 settled for doing it multiple times, but I think it would have
 swallowed more if I had.
 
 -- 
 [EMAIL PROTECTED] mailing list
 
 

Something to remember for the future:

You can delete entries in the world file

Personally, I find that faster than going through and finding what is
already installed, and doing the uninstall the long way. emerge --tree
should help some, as well, but for a basic install (30 packages in
world), deleting the entries should be the fastest way, followed by an
emerge --depclean.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Dell XPS 420 (Nvidia video card)

2007-12-24 Thread fire-eyes
Hello,

Is anyone on the list using a Dell XPS 420 with an Nvidia card (I avoid
ati)? I am curious as to how it is working out for you, as I am
considering getting one.

Also, if you went with their non-descript wireless card, did it work in
linux? How about the onboard ethernet?

I am interested in all hardware working with no special tricks (vanilla
kernel).

Thank you for your time.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dev-haskell/{cabal,haxml} -- runaway memory hog

2007-12-24 Thread Jason Dusek
On Dec 23, 2007 8:23 AM,  [EMAIL PROTECTED] wrote:
 Emerging haxml directly repeats the greedy performance, and when I
 kill it, it gives me this message:

  * The 'prerm' phase of the 'dev-haskell/haxml-1.13.2' package has failed
  * with exit value -1. The problem occurred while executing the ebuild
  * located at '/var/db/pkg/dev-haskell/haxml-1.13.2/haxml-1.13.2.ebuild'.
  * If necessary, manually remove the ebuild in order to skip the execution
  * of removal phases.

 What the heck is going on here, and how do I manually remove haxml?

Does deleting the ebuild (not haxml, just that particular ebuild, as
suggested by manually remove the ebuild, make any difference?

I don't have these problems, but I've got testing flags enabled
for all my Haskell stuff and I'm using the Gentoo Haskell
overlay.

-- 
_jsn
-- 
[EMAIL PROTECTED] mailing list