Re: [gentoo-user] USB stick recognition problem
Hi Helmut, It sounds like there is a problem with the partition table on your USB stick. It might be the consequence of a hardware failure (read or more probably write) at some point. If, as you mention, once you do an fdisk then p, you can use once again your USB stick, then maybe save everything you have on it, then create a new partition table using fdisk on that disk and format the whole thing. Hope that helps, Greg On Mon, Jan 31, 2011 at 10:43 AM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, since a few weeks I have a strange effect with my USB stick. According to fdisk there is one partition on it /dev/sde1 38 7839719 3919841 b W95 FAT32 which I haven't changed for a long time. Whenever I insert this stick, the kernel log shows /dev/sde but not /dev/sde1 (and there is no file /dev/sde1) After Invoking fdisk /dev/sde with a simple 'p' command but nothing else, this device shows up. Has anybody an idea what's going on here? Many thanks for a hint, Helmut.
Re: [gentoo-user] tuxonice and suspend-to-ram
Hi Stephan, Frankly, I don't think it would bring anything to you, except maybe the possibility to cancel a suspension on the fly and maybe some check when coming from suspension. I'm using tuxonice only for the suspend to disk, but even there, the kernel has some builtin features that would be sufficient for me (I'm lazy, I don't want to try ;-)). tuxonice is mainly some wrapping scripts that makes the suspension more feature full than the bare kernel provided but in the end, they still use what the kernel provides. In your case, I don't think it's mandatory to use tuxonice. HTH, Greg On Tue, Jan 25, 2011 at 10:04 AM, Stefan G. Weichinger li...@xunil.at wrote: Greets, I use suspend-to-ram all the time on my desktop-machine as well. Energy-saving and quicker for me ... it works fine. I use the tuxonice-sources for this, back then it was more reliable with my hardware. Usually the ebuild for tuxonice-sources is some weeks later than gentoo-sources. As I am always curious for the latest stable kernel I often run gentoo-sources inbetween (and think to myself I can get by without S2R for a while). Now I have noticed that hibernate-ram works with plain gentoo-sources as well. And it does so without a problem. Fine! Is there any real advantage in using tuxonice here? Pls note that I only use S2R, and never suspend to disk all the disk-related features of tuxonice aren't important to me. Thanks for your opinions, Stefan
Re: [gentoo-user] ZSH: Gentoo-completion...how to modifiy?
Hi, You have 2 choices here. 1. You can change the default terminal colours in you .Xdefaults. As an example, for rxvt-unicode (a.k.a. urxvt), you can put this in you .Xdefaults: ! tangoesque scheme urxvt*background: #11 urxvt*foreground: #babdb6 ! Black (not tango) + DarkGrey urxvt*color0: #00 urxvt*color8: #555753 ! DarkRed + Red urxvt*color1: #ff6565 urxvt*color9: #ff8d8d ! DarkGreen + Green urxvt*color2: #93d44f urxvt*color10: #c8e7a8 ! DarkYellow + Yellow urxvt*color3: #eab93d urxvt*color11: #ffc123 ! DarkBlue + Blue urxvt*color4: #204a87 urxvt*color12: #3465a4 ! DarkMangenta + Mangenta urxvt*color5: #ce5c00 urxvt*color13: #f57900 !DarkCyan + Cyan (both not tango) urxvt*color6: #89b6e2 urxvt*color14: #46a4ff ! LightGrey + White urxvt*color7: #cc urxvt*color15: #ff (This was taken from http://wiki.archlinux.org/index.php/Xdefaults#Terminal_colors, but you can find example all around). I suggest you also to check what colour it outputs by using simple tools like gcolor2 and if you don't like how they go, just change them or check another theme somewhere. I would advise you to keep the type of colours as such: meaning if you want to change the dark yellow and the bright yellow, keep them in the yellow range. Maybe make them a less coloured yellow or more orange-ish, but don't make them green. Programs rely on these 16 colours for their output, at least the numbers, and you could end up with something unreadable (as you suggest in your mail). 2. change your PS1 variable (maybe the easiest) Do echo $PS1 in a terminal, and see where the faulty colour is. Then, change it in your .zshrc file. You can also check this page (http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/) or this one (http://aperiodic.net/phil/prompt/) to get an idea of what you could get with a Zsh prompt. HTH, Greg On Mon, Apr 5, 2010 at 5:15 AM, meino.cra...@gmx.de wrote: Hi, adding Gentoo/emerge related stuff to the completion system of the zsh is nice...but getting a dark blue color for parts of the prompt with that is not. Where can I tuirn what to modifiy the color or get back my previous prompt? Best regards, mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] How do I find new packages?
http://packages.gentoo.org/gentoo.rss HTH, Greg On Tue, Aug 4, 2009 at 4:27 PM, fe...@crowfix.com wrote: On Tue, Aug 04, 2009 at 08:49:26AM -0400, Saphirus Sage wrote: If you're just looking for updated packages emerge -au world would certainly do that. Nah, that only shows updated packages I have already installed. I am curious about packages which I haven't installed. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / fe...@crowfix.com 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 -- - One hour of broadband to ftp the Linux package, 10 cents - CDs to burn the files, 50 cents - The knowledge that nothing on your computer is from MicrosoftTM , PRICELESS. There are people who like to be free. For everyone else, there’s WindowsTM.
[gentoo-user] Howto remove Xorg?
Hello all, I have a VM with Gentoo as guest and I don't know why, maybe I was lonely, but I tried to install X on the guest without needing it (maybe just to see how it looks to have X in X ;-)). The problem is that now, I sync'ed the guest and it wants to pull an update for X and all the drivers. Frankly, I don't want to spend dozen of minutes compiling the new X when I don't need it on a VM... So my question is: how do I remove X and all its components? Thanks in advance! Greg
Re: [gentoo-user] Howto remove Xorg?
It works! Thanks! I just had to have a close look at the output of depclean as it tryed to remove not essential packages such as vixie-cron, or grub, cronbase, or syslog-ng ;-) I'm updating now and no more traces of xorg! Greg On Mon, Jun 15, 2009 at 4:55 PM, Fred.Lrap...@drakonix.fr wrote: On Monday 15 June 2009 16:43:00 Fred.L wrote: Hi, Hello all, I have a VM with Gentoo as guest and I don't know why, maybe I was lonely, but I tried to install X on the guest without needing it (maybe just to see how it looks to have X in X ;-)). The problem is that now, I sync'ed the guest and it wants to pull an update for X and all the drivers. Frankly, I don't want to spend dozen of minutes compiling the new X when I don't need it on a VM... So my question is: how do I remove X and all its components? I think you could try this: $ emerge --unmerge xorg-server xorg-server is usually not in world. xorg-x11 is a meta package that DEPENDs on xorg-server, the OP should unmerge xorg-x11 Yes, I saw my mistake but it was to late the mail was already sent. Sorry for that. -- alan dot mckinnon at gmail dot com Fred.L = * Webmaster at http://www.drakonix.fr * =
Re: [gentoo-user] Laptop Lid Close...
I've googled a bit and found these two things: [1] http://bugs.gentoo.org/175464 [2] https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/51591 They both refer to problems with hald and acpid entering in conflict. Check if you are using hald. If you are, try stopping it and starting acpid to see if it still gives you the problem. Concerning the fact that the script isn't called, you have to check in your /etc/acpi/event/default. Make sure that you have lines such as: event=.* action=/etc/acpi/default.sh %e Basically, it says that for any event handled by acpi, launch /etc/acpi/default.sh. And in /etc/acpi/default.sh, check for the lid event. It should look like this: [...] case $group in [...] lid) /etc/acpi/screen_off.sh /tmp/screen_off 21 [...] where screen_off.sh is the script I sent you in my previous mail. HTH, Greg On Sat, Jan 24, 2009 at 4:58 AM, BRM bm_witn...@yahoo.com wrote: For some reason, the script is not getting called when I press the button. That is not to say that the system doesn't recognize it - if I set KDE to put the system in stand-by when the lid is closed, it very well will. But as I said earlier, that's not what I want - I just want to turn on/off the monitor. I know kacpid is running...but I don't think acpid is...at least, when I tried /etc/init.d/acpid start it complained: * Starting acpid ... acpid: can't open /proc/acpi/event: Device or resource busy Ben - Original Message From: Gregory SACRE gregory.sa...@gmail.com To: gentoo-user@lists.gentoo.org Sent: Friday, January 23, 2009 2:57:31 PM Subject: Re: [gentoo-user] Laptop Lid Close... This is the script I am using. It is spawned by the default.sh from /etc/acpi: -- SCRIPT START -- # default display on current host export XAUTHORITY=/home/your_user/.Xauthority DISPLAY=:0.0 # find out if monitor is on STATUS=`cat /proc/acpi/button/lid/LID0/state` logger monitor: $STATUS # find out if DPMS is enabled DPMS=`xset -display $DISPLAY -q | grep -e 'DPMS is'` logger dpms: $DPMS # enable DPMS if disabled if [ $DPMS == DPMS is Disabled ] then logger Enabling DPMS ... xset -display $DISPLAY +dpms fi if [ `echo $STATUS | grep -i closed | wc -l` -eq 1 ] then logger [`date`] Turning display OFF xset -display $DISPLAY dpms force off else logger [`date`] Turning display ON # shows up in log xset -display $DISPLAY dpms force on# turn monitor on xset -display $DISPLAY s activate # un-blank monitor fi #clean up unset STATUS unset DPMS # comment this line out if you're manually running this script from a shell (put a # in front of it) unset DISPLAY exit 0 -- SCRIPT STOP -- Change the your_user variable. I had also to set xscreensaver to switch off my monitor instead of blanking it, because I think (not sure) that xscreensaver was switching on my monitor when it was supposed to start the screensaver (as after a while, my monitor was switched back on, and as I didn't see that happening since my xscreensaver modification, I can only assume that was the problem). HTH, Greg On Fri, Jan 23, 2009 at 8:14 AM, Joshua Murphy poiso...@gmail.com wrote: On Thu, Jan 22, 2009 at 8:24 PM, BRM bm_witn...@yahoo.com wrote: I'm running a Dell D600, and I've located a number of tools for it but I am not seeing anything related to when I close the lid. Since I got Gentoo running on it, the Monitor continues running when I close the lid. I've found several sources for doing something as an ACPI event, which seems to be the right method. I can toggle the button with the lid open and cat /etc/acpi/button/lid/LID/state and see it change between 'open' and 'closed'; and I know I could write myself a little script do something like calling radeontool to turn off the backlight, but I'd like to find a more official method. I mostly run KDE 3.5 (I'll go to KDE4 when I can...once portage 2.2 comes out and all), but I didn't see anything for a 'turn off monitor on lid close' setting (preferrably root controlled so that it affects all users). The only thing I can find is a the standby/suspend/shutdown/logoff, system performance, and CPU throttling. I don't really want to do any of that - just put the monitor into stand-by, not necessarily the whole system. Any how...I'd really like to get this working. TIA, Ben In... /etc/acpi/default.sh there's a comment (with commented code you can use following it)... # if your laptop doesnt turn on/off the display via hardware # switch and instead just generates an acpi event, you can force # X to turn off the display via dpms. note you will have to run # 'xhost +local:0' so root can access the X DISPLAY. if radeontool or something will allow you to disable the display even when you aren't
Re: [gentoo-user] Laptop Lid Close...
This is the script I am using. It is spawned by the default.sh from /etc/acpi: -- SCRIPT START -- # default display on current host export XAUTHORITY=/home/your_user/.Xauthority DISPLAY=:0.0 # find out if monitor is on STATUS=`cat /proc/acpi/button/lid/LID0/state` logger monitor: $STATUS # find out if DPMS is enabled DPMS=`xset -display $DISPLAY -q | grep -e 'DPMS is'` logger dpms: $DPMS # enable DPMS if disabled if [ $DPMS == DPMS is Disabled ] then logger Enabling DPMS ... xset -display $DISPLAY +dpms fi if [ `echo $STATUS | grep -i closed | wc -l` -eq 1 ] then logger [`date`] Turning display OFF xset -display $DISPLAY dpms force off else logger [`date`] Turning display ON # shows up in log xset -display $DISPLAY dpms force on# turn monitor on xset -display $DISPLAY s activate # un-blank monitor fi #clean up unset STATUS unset DPMS # comment this line out if you're manually running this script from a shell (put a # in front of it) unset DISPLAY exit 0 -- SCRIPT STOP -- Change the your_user variable. I had also to set xscreensaver to switch off my monitor instead of blanking it, because I think (not sure) that xscreensaver was switching on my monitor when it was supposed to start the screensaver (as after a while, my monitor was switched back on, and as I didn't see that happening since my xscreensaver modification, I can only assume that was the problem). HTH, Greg On Fri, Jan 23, 2009 at 8:14 AM, Joshua Murphy poiso...@gmail.com wrote: On Thu, Jan 22, 2009 at 8:24 PM, BRM bm_witn...@yahoo.com wrote: I'm running a Dell D600, and I've located a number of tools for it but I am not seeing anything related to when I close the lid. Since I got Gentoo running on it, the Monitor continues running when I close the lid. I've found several sources for doing something as an ACPI event, which seems to be the right method. I can toggle the button with the lid open and cat /etc/acpi/button/lid/LID/state and see it change between 'open' and 'closed'; and I know I could write myself a little script do something like calling radeontool to turn off the backlight, but I'd like to find a more official method. I mostly run KDE 3.5 (I'll go to KDE4 when I can...once portage 2.2 comes out and all), but I didn't see anything for a 'turn off monitor on lid close' setting (preferrably root controlled so that it affects all users). The only thing I can find is a the standby/suspend/shutdown/logoff, system performance, and CPU throttling. I don't really want to do any of that - just put the monitor into stand-by, not necessarily the whole system. Any how...I'd really like to get this working. TIA, Ben In... /etc/acpi/default.sh there's a comment (with commented code you can use following it)... # if your laptop doesnt turn on/off the display via hardware # switch and instead just generates an acpi event, you can force # X to turn off the display via dpms. note you will have to run # 'xhost +local:0' so root can access the X DISPLAY. if radeontool or something will allow you to disable the display even when you aren't in X, or without proper access to the display (like xset requires) you might be able to even escape needing that xhost setting. No way of testing it at all myself though. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] Awesome vs Xmonad
Hi Man, I was a huge fan of FVWM (loved the flexibility of it) and I tried to switch to awesome. After trying a bit to understand how the configuration script work (about three days in my spare time), I understood how awesome (this one was easy :-p) this wm is. You can do pretty much what you want as the configuration script, which is using the Lua script language, can load system commands (such as conky, even thought I couldn't get it to work, but used native lua scripts with the wicked.lua library) or run native code (I use this to see the disk space, mpd songs, battery life, cpu usage with a graph, ...). One of the other things I really like in awesome, it's the fact that you can mix up tiling windows and floating ones. You can define, for certain window titles in the configuration file, the fact that they are floating. Then, when you start them, they appear as floating windows and not tiled as the rest of them. This is pretty much interesting for applications such as Skype, gitk, mplayer, ... As for other tiling wm, you can also assign tags (sort of virtual desktops) to window titles so when you start it, it goes directly there, leaving your actual tag clean with what you were doing. I have never tried xmonad, I can just share my experience with awesome. HTH, Greg On Wed, Dec 17, 2008 at 5:51 AM, Man Shankar man.ee@gmail.com wrote: Hello, I want to try out the tiling window managers. I would want to know the experiences of the users about awesome and xmonad. Primarily i would like to know which of those two tiling WMs has worked for you guys. The hurdles you encountered and the gains you got thereof. Currently i am a happy e16 user, but the fact that the tiling WMs manage the windows makes me attracted to them. Please comment. -- Regards, Man Shankar man.ee.gen(at)gmail.com
Re: [gentoo-user] Limit upload and source IP
For the limitation, I cannot help you. But allowing only an IP range, you can use iptables. You define the default rule for INPUT packets to DROP and allow only a range (e.g. 192.168.0.0/24). That would give something like: iptables -A INPUT -p ALL -i your_interface -s ip_address_or_range --dport 80 -m tcp -j ACCEPT You can check the following links for more info on iptables: http://gentoo-wiki.com/HOWTO_Iptables_for_newbies http://iptables-tutorial.frozentux.net/iptables-tutorial.html HTH, Greg 2008/9/12 Amar Cosic [EMAIL PROTECTED]: Hello all I am trying to limit upload speed from my server and also limit source IP's .For ex. I want to give only 60K of my upload speed.Also I want to make somekind of rule where only IP range that I chose can connect to port 80,and all others to be rejected. I am using Apache as web server. Any hints on this? Thanks -- Amar Ćosić [EMAIL PROTECTED] [EMAIL PROTECTED] +38761240095 http://www.amar.ba
Re: [gentoo-user] Perl server-side debug
Well, to be honest, I am developing a server side Perl application on my Gentoo box. Everything is local and I just transfer the sources to their Window$ server. So far, the only debugging method I used for my Perl script is a tail -f /var/log/apache2/error_log. It was not verbose, but at least 90% of the time, it was giving me where the problem occured, so it was not that hard to figure out what happened. But this method depends on the fact that you have access to the logs, which might not be possible in your case. What I tried to do also in my developing is to keep separate the web specific parts from the logic ones. This helped me in a sense that most of the logic scripts can be executed from the command line with some parameters (as they are independent from where they are called) and therefore be tested on the spot. The web specific part is generally related to display and not that often keen on errors :-) HTH, Gregory On Mon, Aug 4, 2008 at 7:51 PM, [EMAIL PROTECTED] wrote: I have a non-gentoo question here, but my problems are probably partly flavored by using gentoo at home and something else at work. Here is a page on debugging perl server-side code under Apache: http://perl.apache.org/docs/1.0/guide/debug.html#Interactive_mod_perl_Debugging It has two steps: starting apache with -X (run on the console in the foreground, don't fork or start any children, handle incoming requests directly one at a time) and adding configuration to use Apache::DB. My problem is that I am trying to do this on a server not entirely under my comlete control; it writes a configuration file from a template which I can change, but a lot of internal logic deals with Mason, and I can't just go changing everything to make this work. I can start my own server, that is not the problem, it's that I must keep its original behavior intact, including using Mason. One of the puzzles is that the web page in question apparently is using a pretty old version of perl5db.pl, 1.0402, which has different perldb commands than I am used to: 'w' for a window of source listing, where I am used to 'l' for list. Both my home gentoo system and this foreign system I am using are 1.28. Or perhaps this web page is written for Windows users of some sort, and Windows perl has differences from the real version :-) Does anyone have any experience with this server-side debugging process? -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. 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
Re: [gentoo-user] Changing the font size in X
Vlad Dogaru ([EMAIL PROTECTED]) wrote: Hello, I find that fonts are too small for my 15 monitor, causing eye strain and misunderstandings. How can I change font size globally? I apologise if this question is too basic, but Google strangely did not provide this time. Thanks, 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 Well, that depends on what kind of desktop/session manager you're using (Gnome, KDE, Fvwm, ...). If it's Gnome or KDE (or I think XFCE), there should be a font manager somewhere in the preferences. If you're using something like Fvwm, you can change the GTK fonts and that will affect all the GTK applications (such as Firefox, Gaim, ...) (for the QT applications, I have to admit I don't know how they pick a default font if you're not under KDE). To change the GTK font, put this as an example in your ~/.gtkrc (or ~/.gtkrc-2.0 depending on the GTK version you're using): style default { fontset = -*-helvetica-medium-r-normal--14-*,-*-fixed-medium-r-normal--14-* } Where you can of course change the font to suit your needs. HTH, Gregory -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Problem with disk: cannot mount as ext3 but yes as ext2 ???
On 10/13/06, Walter Dnes [EMAIL PROTECTED] wrote: On Fri, Oct 06, 2006 at 08:29:40AM +0200, Gregory SACRE wrote Is there anything wrong with my hardware? Is it a super-block problem? Is there a way to solve it? Thank you in advance! This is not intended as an insult, but let's start at square 1. In make menuconfig, have you enabled... Ext3 journalling file system support Yes I did as the 2 other hard disks are of ext3 format. Other question about my problem: is it possible that it would be a sector problem, and that those sectors would contain the journaling of ext3? And that would be the reason why I can mount it as ext2 and not ext3? And therefore, do I need to perform a low level format in order to bring everything as new? -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] Problem with disk: cannot mount as ext3 but can as ext2
Hello, I had a hard disk attached on an old RedHat PC formatted and mounted as ext3 filesystem. I removed the hard disk from the PC and plugged it in my Gentoo box. I tried to mount it as ext3 file system and got this error: | # mount -t ext3 /dev/hdd1 /jukebox | mount: wrong fs type, bad option, bad superblock on /dev/hdd1, |missing codepage or other error |In some cases useful info is found in syslog - try |dmesg | tail or so I then tried to see the partition type with fdisk: | Command (m for help): p | | Disk /dev/hdd: 81.9 GB, 81964302336 bytes | 16 heads, 63 sectors/track, 158816 cylinders | Units = cylinders of 1008 * 512 = 516096 bytes | |Device Boot Start End Blocks Id System | /dev/hdd1 1 15881680043232+ 83 Linux My next step was to try to repair it with fsck.ext3: | # fsck.ext3 -p /dev/hdd | fsck.ext3: Bad magic number in super-block while trying to open /dev/hdd | /dev/hdd: | 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 device I tried what was written with e2fsck: | # e2fsck -b 8193 /dev/hdd | e2fsck 1.39 (29-May-2006) | e2fsck: Bad magic number in super-block while trying to open /dev/hdd | | 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 device After googling for a while, and not really finding an answer, I tried to mount it as readonly, and because of a typo, I mounted it as ext2... and it worked!!! I tried then to mount it normally, not anymore as read-only with ext2 format... and it worked!!! So my first question is: how come? I'm sure the filetype is ext3 as it can be seen in my old fstab: | [...] | /dev/hdb5 swapswapdefaults0 0 | #/dev/hdc1 /jukebox ext3defaults 1 1-- this is the one ;-) | [...] I thought maybe I could try to repair it with the normal fsck: | # fsck /dev/hdd1 | fsck 1.39 (29-May-2006) | e2fsck 1.39 (29-May-2006) | /dev/hdd1: Attempt to read block from filesystem resulted in short read while reading block 525 | | /dev/hdd1: Attempt to read block from filesystem resulted in short read reading journal superblock | | fsck.ext3: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /dev/hdd1 Is there anything wrong with my hardware? Is it a super-block problem? Is there a way to solve it? Thank you in advance! Greg -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] Problem with disk: cannot mount as ext3 but yes as ext2 ???
Hello, I had a hard disk attached on an old RedHat PC formatted and mounted as ext3 filesystem. I removed the hard disk from the PC and plugged it in my Gentoo box. I tried to mount it as ext3 file system and got this error: | # mount -t ext3 /dev/hdd1 /jukebox | mount: wrong fs type, bad option, bad superblock on /dev/hdd1, |missing codepage or other error |In some cases useful info is found in syslog - try |dmesg | tail or so I then tried to see the partition type with fdisk: | Command (m for help): p | | Disk /dev/hdd: 81.9 GB, 81964302336 bytes | 16 heads, 63 sectors/track, 158816 cylinders | Units = cylinders of 1008 * 512 = 516096 bytes | |Device Boot Start End Blocks Id System | /dev/hdd1 1 15881680043232+ 83 Linux My next step was to try to repair it with fsck.ext3: | fsck.ext3 -p /dev/hdd | fsck.ext3: Bad magic number in super-block while trying to open /dev/hdd | /dev/hdd: | 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 device I tried what was written with e2fsck: | e2fsck -b 8193 /dev/hdd | e2fsck 1.39 (29-May-2006) | e2fsck: Bad magic number in super-block while trying to open /dev/hdd | | 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 device After googling for a while, and not really finding an answer, I tried to mount it as readonly, and because of a typo, I mounted it as ext2... and it worked!!! I tried then to mount it normally, not anymore as read-only with ext2 format... and it worked!!! So my first question is: how come? I'm sure the filetype is ext3 as it can be seen in my old fstab: | [...] | /dev/hdb5 swapswapdefaults0 0 | #/dev/hdc1 /jukebox ext3defaults 1 1-- this is the one ;-) | [...] I thought maybe I could try to repair it with the normal fsck: | fsck /dev/hdd1 | fsck 1.39 (29-May-2006) | e2fsck 1.39 (29-May-2006) | /dev/hdd1: Attempt to read block from filesystem resulted in short read while reading block 525 | | /dev/hdd1: Attempt to read block from filesystem resulted in short read reading journal superblock | | fsck.ext3: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /dev/hdd1 Is there anything wrong with my hardware? Is it a super-block problem? Is there a way to solve it? Thank you in advance! Greg -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] fvwm conf file request
You can look at the fvwmrc2 designed by taviso. Here is his website: http://dev.gentoo.org/~taviso/You can have a look at his desktop here: http://dev.gentoo.org/~taviso/screenshot05.pngI've been using it and believe me, that looks awsome!When you minimize a window, it takes a small screenshot of the window before minimizing it and that is so sweet. HTH,GregoryOn 7/14/06, Willie Wong [EMAIL PROTECTED] wrote: On Thu, Jul 13, 2006 at 08:01:37PM -0700, Penguin Lover maxim wexler squawked: Anybody got a .fvwm2rc they'd be willing to let me use?Ooh, another fvwm user. Good for you!My config files are posted here: http://www.math.princeton.edu/~wwong/recipe_fvwm.htmlIt is _very basic_, hardly anything advanced.The screenshots are rather out of date. The Fvwm pager (as configured now) displays a miniature version of the desktop background image,instead of solid colours.I am still tweaking it a lot, so the configuration is not too wellcommented. But I think it is fairly straight forward if you read it with the manual in hand.(also, if you don't mind eye-candy, you could try emergingfvwm-crystal...)Best of luck,W--(02:14:53) DJP: i would be lol if my roommate weren't asleep... (02:15:48) DJP: please don't let me stall your paper any longer(02:16:08) DJP: thanks for everything(02:16:11) W: no rpob(02:16:23) DJP: you're a good friend(02:16:31) W: here's a preemptive fuck you if I get lower than a B on my paper (02:16:40) W: you include Dan and EmilySortir en Pantoufles: up 2 days, 15:10--gentoo-user@gentoo.org mailing list -- SACRE GregoryAlcatel Bell O2Ireland ProjectBd. Comte de Smet de Nayer, 14 Tel: +32 (0) 81 235639B-5000 Namur Mobile: +32 474 961377 Belgiume-Mail: [EMAIL PROTECTED]