Re: [gentoo-user] ext3 partition dissapeared :(

2007-01-23 Thread Alan McKinnon
On Tuesday 23 January 2007 18:05, Sigfrido V. Ortiz C. wrote:
> Try fsck --help
> then select the options related to recovery  and repair the system
> file at least twice, then reboot your system with "shutdown -b now"
>
> Based in my experience this occur after shutdown by power fault and
> not by command.
> The format must be fsck -p -f /dev/partition_name
>
> the flag -p will repair automatically your system and the flag -f
> force the revision even the file system appear like clean.
> Good luck!!!
> Sigfrido

Hi,

Please don't top post. If you know the fsck command then you know why I 
have asked this.

I wouldn't advise that the OP follows your advise - from the way he 
wrote his post it is very likely he doesn't know a whole lot about 
filesystems and fsck programs. So he will blindly enter your commands, 
forcing an action to occur and potentially causing further loss without 
him having much of a clue about what he has just done.

The force flag is useful, after you get an output from fsck and you know 
what it will do and are prepared to accept the loss. jcd isn't in that 
position.

jcd, what you should do is gather information about what happened and 
try figure it out. If you can't, lots of people here will decrypt it 
for you (as much as possible) then tell you what to do and explain what 
will happen as a result. 

The golden rule: don't ever run a file system checker blindly without 
some understanding of what it's doing.
>
> [EMAIL PROTECTED] wrote:
> > On Tuesday 23 January 2007 13:11, jcd wrote:
> >>Hi.
> >>I'm in bad situation. I have two physical disks. First (DiskA) have
> >>200GB and second (DiskB) have 160GB capacity. On DiskB I have Linux
> >>partitions and some data partitions. On DiskA I had had 40GB NTFS
> >>(Windows) and 160GB NTFS partitions (data), but I already deleted
> >>Windows partition. So, I copied data from 160GB partition on DiskA
> >> to temporary space on DiskB, then I deleted remaining NTFS
> >> partition on DiskA and created one 200GB ext3 partition (I think
> >> so. In cfdsik I chose partition type '83 Linux') and then
> >> formatted it 'mke2fs -j /dev/sdb1'. Then I copied (moved :( ) all
> >> the data back to DiskA and everuthing was fine. It was yesterday.
> >> Today I started PC and at startup init said "Some local
> >> filesystems failed to mount". OK, in /etc/fstab I have "/dev/sdb1
> >> /mnt/zaloha ext3 noatime 0 2" ... it seems to be good. I also
> >> tried to change ext2, but with both 'mount -a' says:
> >>mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
> >>   missing codepage or other error
> >>   In some cases useful info is found in syslog - try
> >>   dmesg | tail  or so.
> >>In /var/log/messages I found just "VFS: Can't find ext3 filesystem
> >> on dev sdb1" :((. When I try just 'mount /dev/sdb1 /mnt/zaloha',
> >> at /mnt/zaloha I have mounted that old Windows partition that I
> >> already deleted. Do you know any solution how can I get back my
> >> ext3 partition to get back my data please? And what could be cause
> >> of this problem or when I can find what is the cause? Thanks very
> >> very much.
> >
> > You've given lots of words, but very very little information, not
> > even the commands you used to perform these actions. Without this
> > info it becomes very hard to help you out.
> >
> > Meantime, please provide the output of the following commands:
> >
> > fdisk -l
> > fsck /dev/sdb1
> > mount /dev/sdb1 /some/mount/point
> >
> > and we'll take it from there
> >
> > alan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ext3 partition dissapeared :(

2007-01-23 Thread Alan McKinnon
On Tuesday 23 January 2007 19:47, Hans-Werner Hilse wrote:

> Did you reboot between changing the partition layout and creating
> that new partition (and moving data)? Otherwise the kernel wouldn't
> be aware of the new partition layout. Well, if everything you wrote
> is correct, that data should have ended up on that former Windows
> partition and that partition should now be an ext3 one. But if you
> just didn't care and mounted the old linux partition (sdb2 at that
> point in time before the new partition layout), copied data and you
> _then_ rebooted -- then you would have written your data to a
> partition that was only a reminiscence in the kernel's structures and
> not
> corresponding to what cfdisk wrote to the HD. That would be an
> explanation why the next boot failed.
>
> > When I do "mount /dev/sdb1 /mnt/zaloha" at /mnt/zaloha I see that
> > old Windows NTFS partition that I already deleted (There are
> > "Program Files", "WINDOWS", ...). I don't understand why (somewhere
> > I read that ext3 start writing at the middle of the disk space to
> > prevent defragmentation).
>
> Deleting the partition is something that only affects the boot
> sector. Ext3 should in fact have overwritten this with it's first
> superblock. So the mkext2fs you issued did definitively hit the wrong
> partition.
>
> So my suggestion is: try "gpart -w ext2,1.5 /dev/sdb" to find your
> partition (even better: write back the backup you've made from the
> old partition table. Errrm...)

Some background here to elaborate on what Hans has said:

It looks like when you moved the data onto the new partition, it got 
written somewhere on the disk. However, the kernel's idea of how the 
partitions are laid out at that time and what fdisk just wrote to the 
disk probably don't agree and the kernel had got it wrong This does 
happen when you delete two or more partitions and create one large one.

That's the bad news. The good news is that unless you did something to 
wipe the disk clean, the data is there somewhere and you need to find 
it. Hans' gpart command will search the disk looking for the sequence 
of data that is found at the start of a filesystem, and will then make 
a smart estimate as to what the partition ought to look like.

The next good news is that you can create and delete partitions many 
times and still get the data back intact as long as you don't overwrite 
it. fdisk updates the partition table right at the start of the disk 
and does nothing else so you can always undo these changes. Until you 
are happy that everything is back it will be smart to mount this 
partition read-only so it can't be changed:

mount -o rw /dev/sdb1 /path/to/mount/point

You say in your original mail that after moving the data "everything was 
fine". What exactly do you mean by that:

1. The command ended without failure so you assume it moved stuff 
correctly, or
2. You proved the move was done by mounting the partition and all your 
files were there, or
3. Some other reason?

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo not starting with eth0, router not giving IP

2007-01-23 Thread Joseph
What kind of router is it?
I'm assuming you are running dhcpd on your router, can you access it
from windows and check if dhcpd is enabled?

-- 
#Joseph

On Tue, 2007-01-23 at 18:51 -0500, Samuel Baldwin wrote:
> Hello.
> 
> Recently after rebooting from Windows to Gentoo, I noticed I had no
> internet access. 
> My router, which is set to give my mac address the same IP
> (192.168.0.104), seems to 
> have decided NOT to do this anymore. Nothing has changed in my
> settings on either my computer
> or the router. I get the same thing for every OS (Gentoo LiveCD,
> Gentoo installed, SuSE installed)
> besides windows. I'm totally stumped. Sometimes eth0 gets enabled at
> startup but gets no IP (SuSE), 
> other times (Gentoo & Gentoo LiveCD) it doesn't and I have to run
> ifconfig eth0 up. 
> 
> Running "route add eth0 192.168.0.1" returns "eth0: Host name lookup
> failure" 
> 
> ifconfig returns:
> 
> 
> eth0  Link encap:Ethernet HWaddr 00:16:17:18:D5:4A
> UP BROADCAST RUNNING MULTICAST  MTU:1500 Metric:1
> RX packets:498 errors:0 dropped:0 overruns:0 frame:0 
> TX packets:0 errors:0 dropped:2 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:152940 (149.3 Kb)   TX bytes:0 (0.0 b)
> Interrupt:19 base address:0xe000 
> 
> lo Link encap: Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:16 errors:0 dropped:0 overruns:0 frame:0
> TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1188 (1.1 Kb)   TX bytes:1188 (1.1 b)
> 
> Any help would be apreciated, I'm stumped.
> 
> -- 
> Samuel (shardz)
> 
> Shardz's Igloo: 
> shardz.homelinux.net
> 
> Registered Linux User #410639
> 
> amarok.kde.org
> defectivebydesign.org
> usmc.mil

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] naim asks for password then nothing

2007-01-23 Thread Willie Wong
On Tue, Jan 23, 2007 at 03:52:03PM -0500, Penguin Lover Randy Barlow squawked:
> It seems to be a versioning problem.  The stable version of naim in
> portage is quite outdated (from 2004) and the newest version was
> released in October 2006.  There is a bug report[1] for the version
> bump, and the new version is in ~arch for several architectures.

Hum, you are right. I just emerged the latest ~x86 on my testing box
and it connects like a charm. 

W
-- 
Pintsize: I'm always naked!
Sortir en Pantoufles: up 47 days,  3:53
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GCC Failing

2007-01-23 Thread Vlad Dogaru

On 1/23/07, Pierre-Yves Rofes <[EMAIL PROTECTED]> wrote:


On Mon, January 22, 2007 8:49 pm, Randy Barlow wrote:
> On Mon, 2007-01-22 at 19:33 +0200, Vlad Dogaru wrote:
>> (presumably good -- only let
>> memtest run for about 3 minutes)
>
> You should probably test it much longer than 3 minutes before you can be
> confident that the 256 MB chip doesn't have issues...
>

Indeed, 1 hour is the bare minimum for a memtest, and ideally
you should let it run for about 7-8 hours (during one night for exemple)...


Well, I tested it all last night and still came up with no failures. I
have tried booting into Windows (yuck) and it works reasonably well so
I am guessing a problem with my Gentoo installation. I wanted to do a
complete reinstall of everything (mostly due to swapping my hard
drives), so I can live with the situation for the time being.

Thanks to everyone who helped-- I probably would have ended up with a
specialist just for this faulty memory.

Cheers,
Vlad

--
How's my English? How about my Netiquette?
Do mail me if something is wrong with my behaviour. Thank you.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unmasking USE flags

2007-01-23 Thread Daniel Barkalow
On Tue, 23 Jan 2007, Bo ?rsted Andresen wrote:

> On Tuesday 23 January 2007 22:28, Daniel Barkalow wrote:
> > Is there some approved way to unmask a USE flag that your profile masks?
> > (Maybe only for certain packages?) I need "multilib" for
> > cross-arm-elf/newlib, and x86 profiles have it masked.
> >
> > (For that matter, arm profiles seem to also have it masked, despite at
> > least some arm devices having two ISAs)
> 
> I seriously doubt it'll work but unmasking a use flag is easy..

Why wouldn't it work? I'm working around an infelicity in crossdev-enabled 
packages, where the USE flag for supporting multiple ABIs for the target 
is masked by the profile for the build host, which is actually totally 
irrelevant to the --enable-multilib configure option to (e.g.) newlib.

Is there some way to specify a totally different profile (per ARCH) for 
cross-ARCH/* packages? (Ideally, it would only be somewhat seperate, in 
case the build arch needs to determine some of the stuff, while the target 
arch determines most of the important stuff for this sort of package.)

In any case, /etc/portage/profile is what I needed to know, thanks.

-Daniel
*This .sig left intentionally blank*

[gentoo-user] Gentoo not starting with eth0, router not giving IP

2007-01-23 Thread Samuel Baldwin

Hello.

Recently after rebooting from Windows to Gentoo, I noticed I had no internet
access.
My router, which is set to give my mac address the same IP (192.168.0.104),
seems to
have decided NOT to do this anymore. Nothing has changed in my settings on
either my computer
or the router. I get the same thing for every OS (Gentoo LiveCD, Gentoo
installed, SuSE installed)
besides windows. I'm totally stumped. Sometimes eth0 gets enabled at startup
but gets no IP (SuSE),
other times (Gentoo & Gentoo LiveCD) it doesn't and I have to run ifconfig
eth0 up.

Running "route add eth0 192.168.0.1" returns "eth0: Host name lookup
failure"

ifconfig returns:


eth0  Link encap:Ethernet HWaddr 00:16:17:18:D5:4A
   UP BROADCAST RUNNING MULTICAST  MTU:1500 Metric:1
   RX packets:498 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:2 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:152940 (149.3 Kb)   TX bytes:0 (0.0 b)
   Interrupt:19 base address:0xe000

lo Link encap: Local Loopback
   inet addr:127.0.0.1 Mask:255.0.0.0
   UP LOOPBACK RUNNING MTU:16436 Metric:1
   RX packets:16 errors:0 dropped:0 overruns:0 frame:0
   TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:1188 (1.1 Kb)   TX bytes:1188 (1.1 b)

Any help would be apreciated, I'm stumped.

--
Samuel (shardz)

Shardz's Igloo:
shardz.homelinux.net

Registered Linux User #410639

amarok.kde.org
defectivebydesign.org
usmc.mil


Re: [gentoo-user] Setting up a home router

2007-01-23 Thread Daniel Pielmeier

Hi all,

i solved my problem by the help of the shorewall mailing list.

The shorewall maintainer Tom Eastep helped me with a quick answer.
It has nothing to do with shorewall so there is no file of shorewall
causing this troubles.
When i set up internet connection with pppoe-setup i have activated
the FIREWALL=STANDALONE setting in /etc/pppoe.conf. This loads a
iptables rule set which overwrites my custom iptables, this may have
also caused my problems with shorewall.

Nevertheless thank you all for trying to help me so much.

Daniel
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unmasking USE flags

2007-01-23 Thread Bo Ørsted Andresen
On Tuesday 23 January 2007 22:28, Daniel Barkalow wrote:
> Is there some approved way to unmask a USE flag that your profile masks?
> (Maybe only for certain packages?) I need "multilib" for
> cross-arm-elf/newlib, and x86 profiles have it masked.
>
> (For that matter, arm profiles seem to also have it masked, despite at
> least some arm devices having two ISAs)

I seriously doubt it'll work but unmasking a use flag is easy..

# mkdir -p /etc/portage/profile

To unmask it globally:

# echo '-multilib' >> /etc/portage/profile/use.mask

Or on a per package basis (note: for this to work properly requires portage
2.1.2 which isn't stable quite yet):

# echo 'cross-arm-elf/newlib -multilib' >> /etc/portage/profile/package.use.mask

-- 
Bo Andresen


pgpj21TiIiFFK.pgp
Description: PGP signature


[gentoo-user] Unmasking USE flags

2007-01-23 Thread Daniel Barkalow
Is there some approved way to unmask a USE flag that your profile masks? 
(Maybe only for certain packages?) I need "multilib" for 
cross-arm-elf/newlib, and x86 profiles have it masked.

(For that matter, arm profiles seem to also have it masked, despite at 
least some arm devices having two ISAs)

-Daniel
*This .sig left intentionally blank*
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] naim asks for password then nothing

2007-01-23 Thread Bo Ørsted Andresen
On Tuesday 23 January 2007 21:52, Randy Barlow wrote:
> It seems to be a versioning problem.  The stable version of naim in
> portage is quite outdated (from 2004) and the newest version was
> released in October 2006.  There is a bug report[1] for the version
> bump, and the new version is in ~arch for several architectures.
>
> [1] http://bugs.gentoo.org/show_bug.cgi?id=151956
>
> Hopefully it will stabilize sometime soon :)

It's been in the tree for only 10 days. Wait till it's been in the tree for 30 
days and then file a new bug requesting stabilization on your arch(es). In 
the mean time just use package.keywords for that package. It's not like 
keywording it stable now magically makes it more stable.

-- 
Bo Andresen


pgpNWgKdt1KgN.pgp
Description: PGP signature


Re: [gentoo-user] naim asks for password then nothing

2007-01-23 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Willie Wong wrote:
> That said, if you do find a solution, I'd much appreciate if you post
> it here. Also, you could try contacting upstream http://naim.n.ml.org
> I hear they are good people and very willing to help.

It seems to be a versioning problem.  The stable version of naim in
portage is quite outdated (from 2004) and the newest version was
released in October 2006.  There is a bug report[1] for the version
bump, and the new version is in ~arch for several architectures.

[1] http://bugs.gentoo.org/show_bug.cgi?id=151956

Hopefully it will stabilize sometime soon :)

R
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtnVzhOwpC65EoKARAgNsAJ9n/iXvReyn/kheH0K78QPBrWKgFACeMzOc
C7m6iytf7vlTa7DV53IPyQU=
=aj5V
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] x11 display as v4l device

2007-01-23 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hans-Werner Hilse wrote:
> I thought about this thing. I can't image what you're actually trying
> to archieve. Is this for recording? Streaming/broadcasting? Why does
> v4l compatibility matter? Maybe mpeg-out would be sufficient, or even a
> raw video stream (i.e. by other means than v4l).

Because Flash for Linux supports "webcam streaming". And, as I want to stream 
the screen and avoid
not using flash (as I have a strong feeling it's gonna be open sourced soon), 
then having my screen
display be viewable from flash as a webcam seems the most logical solution.

Of course, I am fully open to suggestions. I've read about 
x11-drivers/xf86-video-v4l. Any comments?

- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
¿No sabés a dónde ir a comer o tomar algo? Visitá www.vivamoslavida.com.ar

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtm26AlpOsGhXcE0RAgeZAJ9OaPc+M3FhIFoK0PKgDSPWjsPyogCePMew
06Z84mrzavXxyckxfz9SJ78=
=uWMO
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox VERY slow on launch

2007-01-23 Thread Alan
On Tue, Jan 23, 2007 at 07:36:15PM +, Gabriel Rossetti wrote:
> Hello,
> 
> I just reinstalled everything and Firefox takes about 3-5 mins to load 
> the first time. After that it is very fast. Does anyone have an idea as 
> of why this is happening? I tried deleting my ~/.mozilla directory but 
> that doesn't help. This is not the firefox binary ebuild/install but the 
> regular ebuild.

See if you have the line 

127.0.0.1 localhost

in your /etc/hosts file.  It might be a DNS lookup timeout issue.

-- 
Alan <[EMAIL PROTECTED]> - http://arcterex.net

"Backups are for people who don't pray." -- big Mike
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Direct rendering on a Radeon

2007-01-23 Thread Benno Schulenberg
Jan Stępień wrote:
> If I understand it correctly, this means that if I want a 3D
> acceleration I've got to use closed ATI's fglrx,

No, there is constant development on the R300 front.  What versions 
of Mesa, x11-drm, and libdrm do you have installed?

For which apps run for sure with 3D accel on an R300 see:

  http://dri.freedesktop.org/wiki/R300Application

For more info and configuration see:

  http://dri.freedesktop.org/wiki/ATIRadeon

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox VERY slow on launch

2007-01-23 Thread Jakob Buchgraber

Gabriel Rossetti wrote:

Hello,

I just reinstalled everything and Firefox takes about 3-5 mins to load 
the first time. After that it is very fast. Does anyone have an idea 
as of why this is happening? I tried deleting my ~/.mozilla directory 
but that doesn't help. This is not the firefox binary ebuild/install 
but the regular ebuild.


Thank you,
Gabriel

Hey!

Try starting firefox in the shell and paste the output you get. I had a 
similar problem as firefox couldn't load some libs properly.


Best Regards Jay
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dbus fails to emerge

2007-01-23 Thread Avaricen

Markus Schönhaber wrote:

Mick wrote:

  

Just upgraded to the latest dbus- and as I ran revdep-rebuild afterwards
this horrible failure occurred:


[...]
  

!!! ERROR: sys-apps/pmount-0.9.9 failed.


[...]
  

Any ideas?



Update pmount to 0.9.13. On x86 it's stable already.

BTW: in contrast to what the subject of your post says, dbus din't fail to 
emerge, right?


Regards
  mks
  

Have you attempted to emerge pmount using 'emerge' ;)
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dbus fails to emerge

2007-01-23 Thread Avaricen

Markus Schönhaber wrote:

Mick wrote:

  

Just upgraded to the latest dbus- and as I ran revdep-rebuild afterwards
this horrible failure occurred:


[...]
  

!!! ERROR: sys-apps/pmount-0.9.9 failed.


[...]
  

Any ideas?



Update pmount to 0.9.13. On x86 it's stable already.

BTW: in contrast to what the subject of your post says, dbus din't fail to 
emerge, right?


Regards
  mks
  

You mean revdep-rebuild failed. ;)
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Firefox VERY slow on launch

2007-01-23 Thread Gabriel Rossetti

Hello,

I just reinstalled everything and Firefox takes about 3-5 mins to load 
the first time. After that it is very fast. Does anyone have an idea as 
of why this is happening? I tried deleting my ~/.mozilla directory but 
that doesn't help. This is not the firefox binary ebuild/install but the 
regular ebuild.


Thank you,
Gabriel
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] x11 display as v4l device

2007-01-23 Thread Hans-Werner Hilse
Hi again,

On Sun, 21 Jan 2007 11:38:47 -0300
"Arturo 'Buanzo' Busleiman" <[EMAIL PROTECTED]> wrote:

> Hans-Werner Hilse wrote:
> > Probably not. Since V4L is a kernel interface, you would need a dummy
> > driver in the kernel. Probably the easiest way to archieve what you
> > want is to write a module that provides a v4l interface to a dummy
> > framebuffer. Not that I'm volunteering...
> 
> It seems I'll have to write it, or pay someone to do it. If anyone's willing, 
> let me know.

I thought about this thing. I can't image what you're actually trying
to archieve. Is this for recording? Streaming/broadcasting? Why does
v4l compatibility matter? Maybe mpeg-out would be sufficient, or even a
raw video stream (i.e. by other means than v4l).

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] naim asks for password then nothing

2007-01-23 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Willie Wong wrote:
> That said, if you do find a solution, I'd much appreciate if you post
> it here. Also, you could try contacting upstream http://naim.n.ml.org
> I hear they are good people and very willing to help.

I'll see what upstream says - thanks!

> (Also, have you made sure your account is not suspended? I.e. try
> logging on using another AIM client?)

Yeah, I can log onto gaim just fine on a different machine, but the
particular machine I'd like to try naim on isn't going to have X.

Thanks!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtk7AhOwpC65EoKARAjjjAKCUt/lJ+qQp9fnl8oJun9vX0AHZkwCeKScs
+Z675XVHXB/F9VOY71d7Qxg=
=cELz
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ext3 partition dissapeared :(

2007-01-23 Thread Hans-Werner Hilse
Hi,

On Tue, 23 Jan 2007 17:17:58 +0100
jcd <[EMAIL PROTECTED]> wrote:

> > > So, I copied data from 160GB partition on DiskA to
> > > temporary space on DiskB, then I deleted remaining NTFS partition on
> > > DiskA and created one 200GB ext3 partition (I think so. In cfdsik I
> > > chose partition type '83 Linux') and then formatted it 'mke2fs
> > > -j /dev/sdb1'. Then I copied (moved :( ) all the data back to DiskA
> > > and everuthing was fine.

Did you reboot between changing the partition layout and creating that
new partition (and moving data)? Otherwise the kernel wouldn't be aware
of the new partition layout. Well, if everything you wrote is
correct, that data should have ended up on that former Windows
partition and that partition should now be an ext3 one. But if you just
didn't care and mounted the old linux partition (sdb2 at that point in
time before the new partition layout), copied data and you _then_
rebooted -- then you would have written your data to a partition that
was only a reminiscence in the kernel's structures and not
corresponding to what cfdisk wrote to the HD. That would be an
explanation why the next boot failed.

> When I do "mount /dev/sdb1 /mnt/zaloha" at /mnt/zaloha I see that old
> Windows NTFS partition that I already deleted (There are "Program
> Files", "WINDOWS", ...). I don't understand why (somewhere I read that
> ext3 start writing at the middle of the disk space to prevent
> defragmentation).

Deleting the partition is something that only affects the boot sector.
Ext3 should in fact have overwritten this with it's first superblock.
So the mkext2fs you issued did definitively hit the wrong partition.

So my suggestion is: try "gpart -w ext2,1.5 /dev/sdb" to find your
partition (even better: write back the backup you've made from the old
partition table. Errrm...)

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [UDEV] No network on startup

2007-01-23 Thread Jakob Buchgraber

Richard Fish wrote:

On 1/22/07, Jakob Buchgraber <[EMAIL PROTECTED]> wrote:

Hello!
So I downgraded to udev-103 again and now I get the error message (on
startup) that /lib/udev/net.sh cannot be executed, because this file
doesn't exist!
I also tried reemerging udev, but it didn't help.


What kernel version are you using.  I suspect the problem with -104
may be due to using an older kernel version.  Also downgrading udev
can be tricky, because it may leave orphaned files around (which seems
to be the problem you are having with -103).

A guideline when upgrading udev:
- be sure to run etc-update/dispatch-conf and accept any file
modifications for /etc/udev/rules.d/.  The only file you should modify
in here is 10-local.rules, and udev shouldn't touch it.

A guideline when downgrading udev:
- run etc-update/dispatch-conf just as when upgrading
- Also check each file in /etc/udev/rules.d with "equery belongs" to
find any orphans and consider removing them.  Again, your rules in
10-local.rules should be ok to keep.

-Richard

Thanks for your reply!

I already fixed the problem with the udev error messages by simply 
deleting /et/udev/rules.d/70-persistent-net.rules (and reemerging udev) 
as this file was not update correctly despite running etc-update! I am 
now running udev-104 which works fine for me :-)


Thanks!

Best Regards Jay

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] naim asks for password then nothing

2007-01-23 Thread Willie Wong
On Mon, Jan 22, 2007 at 11:38:18PM -0500, Penguin Lover Randy Barlow squawked:
> Howdy all,
> 
>   I'm trying to get naim to work, but am having no success so far.  When
> I type /connect S/N, it asks me to type my password and then hit enter.
>  I type the password, hit enter, and then nothing.  Any ideas?

Not a suggestion per se, but, my personal experience says to just give
up. There was once a period where it was my aim client of
choice between 2002 - 2004, and sometime around 2005 the connection
becomes flaky and I haven't been able to get it connect a single time
in 2006.  And incidentally, the current stable naim release is just
about that old I think. 

That said, if you do find a solution, I'd much appreciate if you post
it here. Also, you could try contacting upstream http://naim.n.ml.org
I hear they are good people and very willing to help. 

(Also, have you made sure your account is not suspended? I.e. try
logging on using another AIM client?)

Best, 

W
-- 
Murphy's Law of Government:
  If anything can go wrong, it will do so in triplicate.
Sortir en Pantoufles: up 46 days, 14:26
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ext3 partition dissapeared :(

2007-01-23 Thread jcd
Alan McKinnon píše v Út 23. 01. 2007 v 16:39 +0100:
> On Tuesday 23 January 2007 13:11, jcd wrote:
> > Hi.
> > I'm in bad situation. I have two physical disks. First (DiskA) have
> > 200GB and second (DiskB) have 160GB capacity. On DiskB I have Linux
> > partitions and some data partitions. On DiskA I had had 40GB NTFS
> > (Windows) and 160GB NTFS partitions (data), but I already deleted
> > Windows partition. So, I copied data from 160GB partition on DiskA to
> > temporary space on DiskB, then I deleted remaining NTFS partition on
> > DiskA and created one 200GB ext3 partition (I think so. In cfdsik I
> > chose partition type '83 Linux') and then formatted it 'mke2fs
> > -j /dev/sdb1'. Then I copied (moved :( ) all the data back to DiskA
> > and everuthing was fine. It was yesterday. Today I started PC and at
> > startup init said "Some local filesystems failed to mount". OK, in
> > /etc/fstab I have "/dev/sdb1 /mnt/zaloha ext3 noatime 0 2" ... it
> > seems to be good. I also tried to change ext2, but with both 'mount
> > -a' says:
> > mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
> >missing codepage or other error
> >In some cases useful info is found in syslog - try
> >dmesg | tail  or so.
> > In /var/log/messages I found just "VFS: Can't find ext3 filesystem on
> > dev sdb1" :((. When I try just 'mount /dev/sdb1 /mnt/zaloha',
> > at /mnt/zaloha I have mounted that old Windows partition that I
> > already deleted. Do you know any solution how can I get back my ext3
> > partition to get back my data please? And what could be cause of this
> > problem or when I can find what is the cause? Thanks very very much.
> 
> You've given lots of words, but very very little information, not even 
> the commands you used to perform these actions. Without this info it 
> becomes very hard to help you out.
> 
> Meantime, please provide the output of the following commands:
> 
> fdisk -l
> fsck /dev/sdb1
> mount /dev/sdb1 /some/mount/point
> 
> and we'll take it from there
> 
> alan
> 

OK. Here it is (I confused First disk capacity, 250GB instead of 200GB):


#fdisk -l /dev/sdb
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
240 heads, 63 sectors/track, 32301 cylinders
Units = cylindry of 15120 * 512 = 7741440 bytes

 Device   Boot  Start End  Blocks   Id  System
/dev/sdb1   1   32301   244195528+  83  Linux



#fsck /dev/sdb1
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext3: Bad magic number in super-block while trying to
open /dev/sdb1

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate
superblock:
e2fsck -b 8193 


When I do "mount /dev/sdb1 /mnt/zaloha" at /mnt/zaloha I see that old
Windows NTFS partition that I already deleted (There are "Program
Files", "WINDOWS", ...). I don't understand why (somewhere I read that
ext3 start writing at the middle of the disk space to prevent
defragmentation).


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Good arguments to use Gentoo Linux?

2007-01-23 Thread Rumen Yotov
On Tue, 23 Jan 2007 12:07:46 +
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Mon, 22 Jan 2007 18:12:07 -0800 (PST), Eric Bohn wrote:
> 
> > Using Portage you're putting yourself at the mercy of any Joe Schmoe
> > with a proxy connection to a Gentoo server that wants to compromise
> > your machine.
> 
> How so? They'd have to get a compromised source tarball on the
> distfiles mirrors and a hacked ebuild into the CVS tree. Getting a
> hacked ebuild on the servers isn't enough, it would be replaced in no
> more than fifteen minutes.
> 
> Why is this easier than getting a compromised RPM onto a Red Hat or
> SUSE server?
> 
> 
Hi Neil,
It'll be the same when the 'new' Manifest2 format is fully implemented.
Haven't checked but you need at least ebuild&eclass GPG-signing, etc.
There was a discussion (on some Gentoo ML, IIRC 'security') a year or
more ago, some very ancient Bug was mentioned.
RPMs are signed (but check this again), BTW debs are too.
The work is going on this, but i've no info about the progress made.
HTH. Rumen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ext3 partition dissapeared :(

2007-01-23 Thread Sigfrido V. Ortiz C.

Try fsck --help
then select the options related to recovery  and repair the system file
at least twice, then reboot your system with "shutdown -b now"

Based in my experience this occur after shutdown by power fault and not
by command.
The format must be fsck -p -f /dev/partition_name

the flag -p will repair automatically your system and the flag -f force
the revision even the file system appear like clean.
Good luck!!!
Sigfrido

[EMAIL PROTECTED] wrote:

On Tuesday 23 January 2007 13:11, jcd wrote:


Hi.
I'm in bad situation. I have two physical disks. First (DiskA) have
200GB and second (DiskB) have 160GB capacity. On DiskB I have Linux
partitions and some data partitions. On DiskA I had had 40GB NTFS
(Windows) and 160GB NTFS partitions (data), but I already deleted
Windows partition. So, I copied data from 160GB partition on DiskA to
temporary space on DiskB, then I deleted remaining NTFS partition on
DiskA and created one 200GB ext3 partition (I think so. In cfdsik I
chose partition type '83 Linux') and then formatted it 'mke2fs
-j /dev/sdb1'. Then I copied (moved :( ) all the data back to DiskA
and everuthing was fine. It was yesterday. Today I started PC and at
startup init said "Some local filesystems failed to mount". OK, in
/etc/fstab I have "/dev/sdb1 /mnt/zaloha ext3 noatime 0 2" ... it
seems to be good. I also tried to change ext2, but with both 'mount
-a' says:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
  missing codepage or other error
  In some cases useful info is found in syslog - try
  dmesg | tail  or so.
In /var/log/messages I found just "VFS: Can't find ext3 filesystem on
dev sdb1" :((. When I try just 'mount /dev/sdb1 /mnt/zaloha',
at /mnt/zaloha I have mounted that old Windows partition that I
already deleted. Do you know any solution how can I get back my ext3
partition to get back my data please? And what could be cause of this
problem or when I can find what is the cause? Thanks very very much.



You've given lots of words, but very very little information, not even 
the commands you used to perform these actions. Without this info it 
becomes very hard to help you out.


Meantime, please provide the output of the following commands:

fdisk -l
fsck /dev/sdb1
mount /dev/sdb1 /some/mount/point

and we'll take it from there

alan




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GCC Failing

2007-01-23 Thread Pierre-Yves Rofes

On Mon, January 22, 2007 8:49 pm, Randy Barlow wrote:
> On Mon, 2007-01-22 at 19:33 +0200, Vlad Dogaru wrote:
>> (presumably good -- only let
>> memtest run for about 3 minutes)
>
> You should probably test it much longer than 3 minutes before you can be
> confident that the 256 MB chip doesn't have issues...
>

Indeed, 1 hour is the bare minimum for a memtest, and ideally
you should let it run for about 7-8 hours (during one night for exemple)...

-- 
Pierre-Yves Rofes


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ext3 partition dissapeared :(

2007-01-23 Thread Alan McKinnon
On Tuesday 23 January 2007 13:11, jcd wrote:
> Hi.
> I'm in bad situation. I have two physical disks. First (DiskA) have
> 200GB and second (DiskB) have 160GB capacity. On DiskB I have Linux
> partitions and some data partitions. On DiskA I had had 40GB NTFS
> (Windows) and 160GB NTFS partitions (data), but I already deleted
> Windows partition. So, I copied data from 160GB partition on DiskA to
> temporary space on DiskB, then I deleted remaining NTFS partition on
> DiskA and created one 200GB ext3 partition (I think so. In cfdsik I
> chose partition type '83 Linux') and then formatted it 'mke2fs
> -j /dev/sdb1'. Then I copied (moved :( ) all the data back to DiskA
> and everuthing was fine. It was yesterday. Today I started PC and at
> startup init said "Some local filesystems failed to mount". OK, in
> /etc/fstab I have "/dev/sdb1 /mnt/zaloha ext3 noatime 0 2" ... it
> seems to be good. I also tried to change ext2, but with both 'mount
> -a' says:
> mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
>missing codepage or other error
>In some cases useful info is found in syslog - try
>dmesg | tail  or so.
> In /var/log/messages I found just "VFS: Can't find ext3 filesystem on
> dev sdb1" :((. When I try just 'mount /dev/sdb1 /mnt/zaloha',
> at /mnt/zaloha I have mounted that old Windows partition that I
> already deleted. Do you know any solution how can I get back my ext3
> partition to get back my data please? And what could be cause of this
> problem or when I can find what is the cause? Thanks very very much.

You've given lots of words, but very very little information, not even 
the commands you used to perform these actions. Without this info it 
becomes very hard to help you out.

Meantime, please provide the output of the following commands:

fdisk -l
fsck /dev/sdb1
mount /dev/sdb1 /some/mount/point

and we'll take it from there

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-23 Thread Jan Stępień
Iain Buchanan napisał(a):
> On Mon, 2007-01-22 at 21:47 +0100, Jan Stępień wrote:
> 
> try these exact searches in google (include the site.. bit)
> 
> INPUT_DEVICES VIDEO_CARDS site:http://www.gentoo.org
> and
> INPUT_DEVICES VIDEO_CARDS site:http://www.gentoo-wiki.org

I visited gentoo.org and skimmed the documentation. What I've read
doesn't make me cheerful at all. Quoting from
http://www.gentoo.org/doc/en/ati-faq.xml :

GPU Common Name  Support

R300,R400,R500  Radeon 9500 - x800   xorg 2D, ATI DRI

If I understand it correctly, this means that if I want a 3D
acceleration I've got to use closed ATI's fglrx, and if I'd like to have
an open driver from Xorg I am forced to accept 2D only. So no fglrx is
no 3D at all. Please tell me that I'm mistaken.

Regards,
Jan

-- 
Mailjan at stepien com pl
Jabber  jano at jabber aster pl
GG  1894343
Web http://stepien.com.pl



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Web hosting

2007-01-23 Thread Uwe Thiem
On 23 January 2007 09:30, Nikolay Balov wrote:
> Hi all
> I'm trying to make a web server who will serve may be 3-4 domains. I
> need to make a ftp account for every domain, which root is the root of
> the apache domain (/var/www/domain1/htdocs must be root for apache and
> for the ftp server) so the users can upload files to there web site. Can
> you help me how to do that? 10x a lot BTW I'm using Apache2 and proftpd
> but it's no mandatory to use proftpd, any resolution of my problem will
> be good :)

First of all, forget about FTP, use SSH/SFTP instead.

Set up a virtual named host for each web site. Set up a user for each web site 
with their respective DocumentRoots as their home directories.

Voila!

Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
Proof of concept of a TSP solver for KDE:
http://www.SysEx.com.na/epat-0.1.tar.bz2
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] compiled kdebase never hit xorg dependancy

2007-01-23 Thread Alan McKinnon
On Tuesday 23 January 2007 05:15, [EMAIL PROTECTED] wrote:
> Is it normal to have been able to compile kdebase and all deps and
> never hit an xorg dependancy?

Yes.

KDE and all it's apps are X-clients and so do not depend on an X 
server - the server can quite easily be on another machine.

They will depend on the X client libs though, as well as freetype, 
fontconfig, opengl and the various X extensions like libXrender, 
libXfixes etc

alan
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Program for Sound Recording of Church Services

2007-01-23 Thread Timothy A. Holmes

Timothy A. Holmes ha scritto:
> Hi folks:
> 
> Ive been using gentoo + fluxbox + audacity for about a year now 
> recording our church services to wav or mp3 files.  Its now upgrade 
> time
> 
> The system is a p3 400 running gentoo and fluxbox - im open to 
> suggestions on the proper software to use

Why having to change your software stack if the one you used works? Just
install it on the new machine (if it's really needed to change the
machine).
Or are you having problems with the current software stack?

I also suspect you don't even need audacity, you could do everything
from the command line (don't ask me exactly how, but I'm quite sure)...





Audacity is working adequetly, I was mostly wondering if there was a
better tool out there that I didn't know about.  The computer is being
rebuilt due to it being VERY far back in the update / upgrade curve --
it still had monolitic x and, the wrong chost and the old gcc / profile
-- its gonna be faster to rebuild than upgrade, and as long as im doing
it, im going to lvm as well

Thanks
 


Tim Holmes
IT Manager / Webmaster / Teacher

Medina Christian Academy
A Higher Standard... 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] init script from user

2007-01-23 Thread Bo Ørsted Andresen
On Tuesday 23 January 2007 10:56, Ilya Hegai wrote:
> Is it possible to run init script during boot from normal user, but not
> root?

There is a chapter about Gentoo initscripts in the handbook including a 
section about writing your own. start-stop-daemon has support for running a 
daemon as another user through the --user or --chuid switches. If it isn't a 
daemon you can also just use `su $user -c $command`.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4

-- 
Bo Andresen


pgpnd24agDuHV.pgp
Description: PGP signature


Re: [gentoo-user] init script from user

2007-01-23 Thread Neil Bothwick
On Tue, 23 Jan 2007 14:46:50 +0300, Ilya Hegai wrote:

> One more question. Does conf.d/local.start start before net services?

It starts last.


-- 
Neil Bothwick

The trouble with doing something right the first time is that nobody
appreciates how difficult it was.


signature.asc
Description: PGP signature


Re: [gentoo-user] compiled kdebase never hit xorg dependancy

2007-01-23 Thread Neil Bothwick
On Mon, 22 Jan 2007 21:15:02 -0600, [EMAIL PROTECTED] wrote:

> Is it normal to have been able to compile kdebase and all deps and
> never hit an xorg dependancy?

You don't need xorg-server to install KDE, although you may need some
libraries, because you could be running the apps over a network.


-- 
Neil Bothwick

Gravity isn't easy, but it's the law.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Good arguments to use Gentoo Linux?

2007-01-23 Thread Neil Bothwick
On Mon, 22 Jan 2007 18:12:07 -0800 (PST), Eric Bohn wrote:

> Using Portage you're putting yourself at the mercy of any Joe Schmoe
> with a proxy connection to a Gentoo server that wants to compromise
> your machine.

How so? They'd have to get a compromised source tarball on the distfiles
mirrors and a hacked ebuild into the CVS tree. Getting a hacked ebuild
on the servers isn't enough, it would be replaced in no more than fifteen
minutes.

Why is this easier than getting a compromised RPM onto a Red Hat or SUSE
server?


-- 
Neil Bothwick

I heard someone tried the monkeys-on-typewriters bit trying for the plays
of W. Shakespeare but all they got was the collected works of Francis
Bacon


signature.asc
Description: PGP signature


Re: [gentoo-user] init script from user

2007-01-23 Thread Ilya Hegai

2007/1/23, Thomas Buntrock <[EMAIL PROTECTED]>:

With a little trick...

im my conf.d/local.start


sudo -u bunti -H fetchmail



Thanks.
One more question. Does conf.d/local.start start before net services?

--
regards, Hegai Ilya
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What's the best way to install gentoo on an OLD K6 box w/ tight memory & small disks?

2007-01-23 Thread Oliver Schmidt

> I have an old P2 233Mhz laptop that runs Gentoo. I build the system on a
> modern, very fast machine (specifying the right architecture) and then zipped
> up the partition up into a tarball. Then boot up the old machine with a Live
> CD and ftp over the tarball, unpack it, tweak /etc/fstab, install Grub and
> away you go!


Cool, exactly the same way I do it  :-))
http://www.kernelpanic.ch/html/gentoo_superconcentrate.html
(tarball is just a compressed full install)

but I'm also have a concentrated short install doc
http://www.kernelpanic.ch/html/gentoo_concentrate.html

Maybe someone likes it.

Oli
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Good arguments to use Gentoo Linux?

2007-01-23 Thread Mark Kirkwood

Dale wrote:



As someone who started out using Mandrake, I have to say that using
Gentoo has been a LOT easier.  Yea, I had to learn how to use Gentoo and
it is different from Mandrake by far but it is a whole lot easier to
manage.  I have been using Gentoo for about 2 or 3 years for my desktop
and I would not consider switching to any other distro.  I spend a lot
less time messing with my Gentoo install that I did Mandrake.  The
upgrade process with Mandrake was . . . . a disaster.  From what I
understand Redhat and Mandrake are pretty close.  I certainly wouldn't
switch to Redhat then.

As for security, I have had several times that my internet connection
was messed up and the md5 sums didn't match.  Portage didn't hesitate to
delete those puppies and let me know that something was changed.  It
would seem to me that it would be difficult for someone to change the
source code on one server then change the other files on the rsync
server so they both match up. 


Well, that my $0.02 worth.  Some of what is being said just doesn't make
sense to me at all.  Gentoo is a lot better than some distros.  It
certainly beats windoze.


Gotta second that - I have used Mandrake and Redhat, and Gentoo is such 
a better way - *once* you spend the time to understand why it is like it is!


As for comments about portage sync etc producing destroyed|mangled|buggy 
systems - well *any* update system can do that from time to time (ask 
windows update users after xp sp2 came out...) A sane test-before-deploy 
plan is essential for any large scale environment - ISTM that this is 
just as straightforard in Gentoo as any other Linux distro


So, I see no reason why ya can't use Gentoo in a corporate environment!

Cheers

Mark
--
gentoo-user@gentoo.org mailing list



[gentoo-user] ext3 partition dissapeared :(

2007-01-23 Thread jcd
Hi.
I'm in bad situation. I have two physical disks. First (DiskA) have
200GB and second (DiskB) have 160GB capacity. On DiskB I have Linux
partitions and some data partitions. On DiskA I had had 40GB NTFS
(Windows) and 160GB NTFS partitions (data), but I already deleted
Windows partition. So, I copied data from 160GB partition on DiskA to
temporary space on DiskB, then I deleted remaining NTFS partition on
DiskA and created one 200GB ext3 partition (I think so. In cfdsik I
chose partition type '83 Linux') and then formatted it 'mke2fs
-j /dev/sdb1'. Then I copied (moved :( ) all the data back to DiskA and
everuthing was fine. It was yesterday. Today I started PC and at startup
init said "Some local filesystems failed to mount". OK, in /etc/fstab I
have "/dev/sdb1 /mnt/zaloha ext3 noatime 0 2" ... it seems to be good. I
also tried to change ext2, but with both 'mount -a' says:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so.
In /var/log/messages I found just "VFS: Can't find ext3 filesystem on
dev sdb1" :((. When I try just 'mount /dev/sdb1 /mnt/zaloha',
at /mnt/zaloha I have mounted that old Windows partition that I already
deleted. Do you know any solution how can I get back my ext3 partition
to get back my data please? And what could be cause of this problem or
when I can find what is the cause? Thanks very very much.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What's the best way to install gentoo on an OLD K6 box w/ tight memory & small disks?

2007-01-23 Thread Dale
Robin Atwood wrote:
> On Tuesday 23 January 2007 15:21, Wolfgang Liebich wrote:
>   
>> Hi,
>> I have a rather old computer (tyan motherboard, K6 processor) which
>> currently runs debian. I want to convert it to a gentoo box. As the
>> system is rather old and it's disks are very small by today's
>> standards, too, I would like to hear about your experiences with such
>> tight situations.
>> 
>
> I have an old P2 233Mhz laptop that runs Gentoo. I build the system on a 
> modern, very fast machine (specifying the right architecture) and then zipped 
> up the partition up into a tarball. Then boot up the old machine with a Live 
> CD and ftp over the tarball, unpack it, tweak /etc/fstab, install Grub and 
> away you go!
>
> HTH
> -Robin.
>   

You have a LAN setup, you can use distcc once you get to a point that
you can boot up the new install and install distcc.  I'm not sure if the
Gentoo CD has it installed or not.  May want to look into that.

Hope that gives you one more option to think about.

Dale

:-)  :-)  :-)

-- 
www.myspace.com/dalek1967



Re: [gentoo-user] What's the best way to install gentoo on an OLD K6 box w/ tight memory & small disks?

2007-01-23 Thread Robin Atwood
On Tuesday 23 January 2007 15:21, Wolfgang Liebich wrote:
> Hi,
> I have a rather old computer (tyan motherboard, K6 processor) which
> currently runs debian. I want to convert it to a gentoo box. As the
> system is rather old and it's disks are very small by today's
> standards, too, I would like to hear about your experiences with such
> tight situations.

I have an old P2 233Mhz laptop that runs Gentoo. I build the system on a 
modern, very fast machine (specifying the right architecture) and then zipped 
up the partition up into a tarball. Then boot up the old machine with a Live 
CD and ftp over the tarball, unpack it, tweak /etc/fstab, install Grub and 
away you go!

HTH
-Robin.
-- 
--
Robin Atwood
--











-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Good arguments to use Gentoo Linux?

2007-01-23 Thread Martins
On Tuesday 23 January 2007 11:19, Dale wrote:
> Daniel da Veiga wrote:
>
> As someone who started out using Mandrake, I have to say that using
> Gentoo has been a LOT easier.  Yea, I had to learn how to use Gentoo and
> it is different from Mandrake by far but it is a whole lot easier to
> manage.  I have been using Gentoo for about 2 or 3 years for my desktop
> and I would not consider switching to any other distro.  I spend a lot
> less time messing with my Gentoo install that I did Mandrake.  The
> upgrade process with Mandrake was . . . . a disaster.  From what I
> understand Redhat and Mandrake are pretty close.  I certainly wouldn't
> switch to Redhat then.
>
> As for security, I have had several times that my internet connection
> was messed up and the md5 sums didn't match.  Portage didn't hesitate to
> delete those puppies and let me know that something was changed.  It
> would seem to me that it would be difficult for someone to change the
> source code on one server then change the other files on the rsync
> server so they both match up.
>
> Well, that my $0.02 worth.  Some of what is being said just doesn't make
> sense to me at all.  Gentoo is a lot better than some distros.  It
> certainly beats windoze.
>
> Dale

I can add to this, my first distro was Mandrake too. It was pain to build 
something from source, gather all the dependencies just because they dont 
provide such binaries. Gentoo has huge collection of software to choose from 
and all overlys ...

Martins
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] init script from user

2007-01-23 Thread Thomas Buntrock
Ilya Hegai wrote:
> Hello, list.
> Is it possible to run init script during boot from normal user, but not
> root?

With a little trick...

im my conf.d/local.start


sudo -u bunti -H fetchmail


Thomas
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] init script from user

2007-01-23 Thread Ilya Hegai

Hello, list.
Is it possible to run init script during boot from normal user, but not root?

Thank you.

--
regards, Hegai Ilya
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Good arguments to use Gentoo Linux?

2007-01-23 Thread Dale
Daniel da Veiga wrote:
> On 1/22/07, Eric Bohn <[EMAIL PROTECTED]> wrote:
>> In the US, I'm almost certain you wouldn't be able to get away with
>> running Gentoo, and more specifically, Portage, the way you
>> apparently do in a secure govt environment.  There's probably a
>> federal directive or regulation somewhere that prevents machines
>> being run in govt organizations from using non-standard or officially
>> unapproved technology and/or procedures, and for good reason...
>>
>
> I know of many universities, not only from Brazil, but around the
> world, that use Gentoo. There are many security features in portage,
> and I believe Gentoo servers and mirrors have some security also, else
> it would be too easy to compromise thousands of installations around
> the world, and no cracker would miss this opportunity.
>
> Non-standard and officially unapproved technology sounds more like
> "put someone in control of all tech used in the public sector of IT",
> more like antitrust than standardizing.
>
>> I've had Portage hose my Gentoo install twice before to the point
>> that I could no longer run Portage, and I run stable, not testing. 
>> Using Portage you're putting yourself at the mercy of any Joe Schmoe
>> with a proxy connection to a Gentoo server that wants to compromise
>> your machine.  Even most commercial organizations, for job critical
>> computing, have administrators that establish mirror servers for
>> software testing prior to internal distribution.
>>
>
> As I mentioned before, I don't think we are at the mercy of any
> cracker around by using Gentoo. Of course some level of security would
> be needed, any OS requires that, but lets not hijack this thread, as
> the OP was talking about DESKTOP installations.
>
>> It didn't sound like the OP was intending for anyone to do sys admin
>> tasks with Gentoo either, I imagine that could prove to be risky
>> using any Linux distro.
>>
>
> Yeah, that's one more reason for a Gentoo install. And just for the
> record, ANY OS needs sys admin tasks once in a while, if not for
> initial install, because of breakage, and believe me, I had my quota
> of breakage before using Gentoo.
>

As someone who started out using Mandrake, I have to say that using
Gentoo has been a LOT easier.  Yea, I had to learn how to use Gentoo and
it is different from Mandrake by far but it is a whole lot easier to
manage.  I have been using Gentoo for about 2 or 3 years for my desktop
and I would not consider switching to any other distro.  I spend a lot
less time messing with my Gentoo install that I did Mandrake.  The
upgrade process with Mandrake was . . . . a disaster.  From what I
understand Redhat and Mandrake are pretty close.  I certainly wouldn't
switch to Redhat then.

As for security, I have had several times that my internet connection
was messed up and the md5 sums didn't match.  Portage didn't hesitate to
delete those puppies and let me know that something was changed.  It
would seem to me that it would be difficult for someone to change the
source code on one server then change the other files on the rsync
server so they both match up. 

Well, that my $0.02 worth.  Some of what is being said just doesn't make
sense to me at all.  Gentoo is a lot better than some distros.  It
certainly beats windoze.

Dale

:-)  :-)  :-)

-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is there a program to log the memory consumption of just one selected process...

2007-01-23 Thread Alexis Lahouze

Hi,
# watch ps -C  v
or
# watch ps -p  v

v stands for virtual memory.

Otherwise
# watch /proc//statm
This can help you on how to interpret the result:
http://redhat.activeventure.com/9/referenceguide/s1-proc-directories.html
(find statm)

If you want it graphically, I don't know... maybe ksysmon under kde or gtop...
I found this: http://www.linuxdocs.org/HOWTOs/Process-Monitor-HOWTO-8.html


2007/1/23, Wolfgang Liebich <[EMAIL PROTECTED]>:

Hi,
I want to trace the memory consumption of one selected process
(threads and maybe child processes included). In WindowsNT and higher
the Performance Monitor can do that. Is there a linux tool out there
which can perform that feat, or do I have to hack a script which
periodically looks into /proc and gathers all stats by itself?
Ciao,
Wolfgang
--
gentoo-user@gentoo.org mailing list





--
Alexis Lahouze - Capgemini Bordeaux
Développeur NTIC
+33 (0)6 85 81 05 71

--
gentoo-user@gentoo.org mailing list



[gentoo-user] What's the best way to install gentoo on an OLD K6 box w/ tight memory & small disks?

2007-01-23 Thread Wolfgang Liebich
Hi,
I have a rather old computer (tyan motherboard, K6 processor) which
currently runs debian. I want to convert it to a gentoo box. As the
system is rather old and it's disks are very small by today's
standards, too, I would like to hear about your experiences with such
tight situations.
Some questions:
1) What's the best install route? The system is connected to the
internet via ADSL & a speedtouch USB modem (works pretty good). Has
the live cd the necessary kernel modules + the modem_run utility?
There is no spare partition available, btw...
2) Is it a good idea to use dietlibc or ulibc instead of glibc? The PC
will be a standalone machine, so neither NIS nor LDAP are a concern -
classis shadow password authentication is enough.
Concerning languages - I want to type in & read german texts, too - so
displaying utf8 or iso-latin-0/1 texts is a must. BUT I do not care
much for german man pages or error messages - they are nice, but
conserving disk space & memory is more important.
3) I have a more modern machine available for pre building a custom
install CD - here disk space is not so big a concern.

Any comments would be appreciated...
- Wolfgang
-- 
gentoo-user@gentoo.org mailing list