[gentoo-user] NTFS resizing
I'm trying to resize an NTFS partition to fit Gentoo on a new laptop. As recommended by countless sources all over the Internet, I am using Knoppix Qtparted for resizing. However, QTParted complains about accounting errors in the NTFS filesystem (yes, I know that's redundant). After a little bit of Google searching, I discovered I needed to use chkdsk on Windows with the /f switch to fix the errors. Easy. Of course, chkdsk alerted me that it can't modify a running NTFS system. Okay, so I do what it recommends to me: let the checking be run after a reboot. None of this is exactly extraordinary. However, there is the slight problem that chkdsk never actually runs at start up. No bueno. Any tricks to con it into working? -Pingveno P.S. This is a Thinkpad T43 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Keeping /usr/portage/distfiles empty. Need the room. :/
Dale wrote: Hi all, I am putting Gentoo on a fairly small hard drive. I would like to clean out distfiles to save room. I would like to tell it to download the source file then delete it when the compile is finished. I looked in the make.conf.example but I didn't see anything that tells it to do that. Is there a way to do this? Thanks Dale :-) As a horrible, horrible hack, you could just write a shell script to be run by crond. I'm sure there's something better, though. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: NTFS resizing
Yeah, this is the main partition. According to the web sites I have read, there should be no problem with what I'm doing, even with this being the boot partition. Here's the message I get when I run chkdsk /f: output The type of the file system is NTFS. Cannot lock current drive. Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N) Y This volume will be checked the next time the system restarts. /output Yet when I restart, there is no unusual lag in the start up (which would be necessary to scan an entire hard drive). I also continue getting the message, upon running chkdsk without /f, that I need to do chkdsk /f. Weird. -Pingveno Grimaldy Soto wrote: I suposed that if the partition is in use it's because is the main partition, if not you can use the /x option for chkdsk if will force a dismount, anyway why you no resize the partition with a partition manager like partition magic. Its better and faster and course lets dangerous that making inside from linux. On 11/12/05, *Pingveno* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I'm trying to resize an NTFS partition to fit Gentoo on a new laptop. As recommended by countless sources all over the Internet, I am using Knoppix Qtparted for resizing. However, QTParted complains about accounting errors in the NTFS filesystem (yes, I know that's redundant). After a little bit of Google searching, I discovered I needed to use chkdsk on Windows with the /f switch to fix the errors. Easy. Of course, chkdsk alerted me that it can't modify a running NTFS system. Okay, so I do what it recommends to me: let the checking be run after a reboot. None of this is exactly extraordinary. However, there is the slight problem that chkdsk never actually runs at start up. No bueno. Any tricks to con it into working? -Pingveno P.S. This is a Thinkpad T43 -- gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list -- We must agree that the beauty of a work of art will always remain a mystery, in other words, we can never be absolutely sure 'how it's made.' We must at all costs preserve this magic which is peculiar to music and to which, by its nature, music is of all arts the most receptive. -Claude Debussy- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: nvidia driver problem
I am by no means an expert on this subject, but any time you have an X server problem, you run startx -- :1 from a shell. This starts the X server up on virtual terminal 8. The X server starts dumping out information, which might be helpful for diagnostics. -Pingveno sempsteen wrote: Hi, I've installed the nvidia drivers by the walkthrough of Gentoo Linux nVidia Guide. Emerge installed nvidia-glx v1.0.6629-r6 and nvidia-kernel v1.0.6629-r4 with no problems and i did the necessary changes in the xorg.conf file. Then i tested my card with glxinfo | grep direct and glxgears and i got errors: glxinfo | grep direct Xlib: extension GLX missing on display :0.0. Xlib: extension GLX missing on display :0.0. Xlib: extension GLX missing on display :0.0. Error: couldn't find RGB GLX visual Xlib: extension GLX missing on display :0.0. Xlib: extension GLX missing on display :0.0. Xlib: extension GLX missing on display :0.0. Xlib: extension GLX missing on display :0.0. glxgears Xlib: extension GLX missing on display :0.0. glxgears: Error: couldn't get an RGB, Double-buffered visual. Also after a restart gdm couln't start with a X server error: Failed to start the X server (your graphical interface). It is likely that it is not set up correctly... I searched the net but couldn't find a solution yet. Please help me to solve this problem, thanks. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: NTFS resizing
abhay wrote: On Sunday 13 Nov 2005 8:43 am, Pingveno wrote: Yeah, this is the main partition. According to the web sites I have read, there should be no problem with what I'm doing, even with this being the boot partition. Here's the message I get when I run chkdsk /f: output The type of the file system is NTFS. Cannot lock current drive. Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N) Y This volume will be checked the next time the system restarts. /output Yet when I restart, there is no unusual lag in the start up (which would be necessary to scan an entire hard drive). I also continue getting the message, upon running chkdsk without /f, that I need to do chkdsk /f. Weird. -Pingveno Looks like some how dirty bit setting has been disabled on your drive which is essential for running chkdsk at boot time. Try running fsutil to query/set the dirty bit on your drive. To read more about fsutil head here http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/740cb38b-66dc-41e2-9f0b-7f2816c7c2ca.mspx Abhay Strange. Even when I set the dirty bit and restart, no check was done. I think it's time to call up IBM. Maybe one of their wonderful contraptions is stopping chkdsk at startup _ -Pingveno -Pingveno -- gentoo-user@gentoo.org mailing list
[gentoo-user] distcc LiveCD
I have a Windows computer and a Gentoo/Linux box. I'd like to use the Windows computer to help in compiling, but I can't make any (permanent) changes to the WinComp. Distcc + LiveCD would be nice for this task, but the only distcc ISOs I can find floating around the Internet are either Debian or Gentoo with an old version of GCC. In both cases, there would inevitably be compilation problems. Is there a reasonably easy way for me to put together a LiveCD with the necessary software? -Pingveno P.S. Can the CD use RAM (512 MB) for its filesystem, or should I find a way to write files to the NTFS partition? -- Linux User #340304 -- gentoo-user@gentoo.org mailing list
[gentoo-user] GRUB speed up
I've noticed that GRUB takes a rather long time to start up on my computer. Granted, this is PII 550 Mhz. But it takes several seconds just for GRUB, not for anything to do with the kernel starting. The attached file is, obviously, my configuration file. BTW, the commented out entries are just old. Any optimization ideas out there? -Pingveno -- I am the main Dish of the Day. May I interest you in parts of my body? - The Dish of the Day serving itself at the Restaurant at the End of the Universe default=0 timeout=1 splashimage=(hd0,3)/grub/splash.xpm.gz #title Linux 2.6.10-gentoo-r4 #root (hd0,3) #kernel /kernel-2.6.11-gentoo-r8 root=/dev/ram0 real_root=/dev/hda1 vga=0x317 splash=silent,theme:gentoo video=vesafb:ywrap,mtrr,[EMAIL PROTECTED] #initrd /initrd-2.6.11-gentoo-r8 #title Linux 2.6.10-gentoo-r4 #root (hd0,3) #kernel /kernel-2.6.10-gentoo-r4 root=/dev/ram0 real_root=/dev/hda1 vga=0x317 splash=silent,theme:gentoo video=vesafb:ywrap,mtrr,[EMAIL PROTECTED] #initrd /initrd-2.6.10-gentoo-r4 #title Linux 2.6.9-gentoo-r4 #root (hd0,3) #kernel /kernel-2.6.9-gentoo-r4 root=/dev/hda1 real_root=/dev/hda1 splash=silent,theme:gentoo video=vesafb:ywrap,mtrr,[EMAIL PROTECTED] initrd=/initrd-2.6.9-gentoo-r4 #initrd /initrd-2.6.9-gentoo-r4 title Linux 2.6.11-gentoo-r8 root (hd0,3) kernel /kernel-2.6.11-gentoo-r8 init=/linuxrc root=/dev/ram0 real_root=/dev/hda1 video=vesafb:ywrap,mtrr,[EMAIL PROTECTED] udev initrd /initrd-2.6.11-gentoo-r8 #title Windoze ##:1 -- type: 0 = linux, 1 = windows, 2 = other #rootnoverify (hd0,3) #makeactive #chainloader +1
[gentoo-user] LiveCD distcc
I'm running two computers in my house, one 550 MHz Pentium 3 and one 3 GHz Pentium 4. The slow one is running Gentoo Linux, while the fast one is running Windows. I'd like to put together a LiveCD that can run distcc on the faster computer just via a reboot. There's a Knoppix mod with distcc, but apparently there are problems because of the version of gcc that Debian uses. Gentoo has some extra patches for better security, which can conflict with the Debian version of gcc. Is there a way I can build a CD with a Gentoo-compatible version of distcc? -- I have balls. They're metaphorical, but they're mine. - Holly Bostick -- gentoo-user@gentoo.org mailing list
[gentoo-user] Zsh - Home, End, Delete
In zsh, I'd like to use the Home, Delete and End key to get to the beginning of a line, do forward delete, and get to the end of the line. However, I only see a ~ character entered. Any fix? -- Linux User #340304 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Zsh - Home, End, Delete
Gabriel Fernández wrote: El Lun 06 Jun 2005 17:57, Pingveno escribió: In zsh, I'd like to use the Home, Delete and End key to get to the beginning of a line, do forward delete, and get to the end of the line. However, I only see a ~ character entered. Any fix? -- Linux User #340304 you have to put something like that in your .zshrc #Rebind HOME and END to do the decent thing: bindkey '^[[H' beginning-of-line bindkey '^[[F' end-of-line case $TERM in (xterm*) bindkey '\eOH' beginning-of-line bindkey '\eOF' end-of-line esac #To discover what keycode is being sent, hit ^v #and then the key you want to test. #And DEL too, as well as PGDN and insert: bindkey '^[[3~' delete-char bindkey '^[[6~' end-of-history #bindkey '\e[2~' redisplay #Now bind pgup to paste the last word of the last command, bindkey '\e[5~' insert-last-word Thanks! It works perfectly. -- Linux User #340304 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Software suspend
I'm trying to get software suspend to work on my computer. While configuring my kernel, I added in support for software suspend aka hibernate. Alas, I have no idea what command to run to suspend the computer. gentoo-wiki.com has an article on software suspend 2, which is apparently a more advanced version than what is in the regular sources. I started to follow the directions, but I noticed that there is an ebuild required, suspend2-sources, that is either a patch utility or a completely new set of kernel sources. Currently, I don't really care all that much about extra features from a new version of software suspend; I just want to get it to work. A full set of kernel sources would be rather undesirable, so I'd rather not going down that road. What would be the best plan of action? -Pingveno -- Linux User #340304 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] wiki software
Antoine wrote: Mediawiki also powers the following: http://gentoo-wiki.com/ http://en.wikipedia.org/ Two very big-name sites! I haven't done any wiki editing or dev before - not ever having had the urge. At the moment the intranet is in pseudo-html (basically ie-only, with lots of doze file links, etc), and is about as standardised as apple pie. The problem is that there are only a few of us (basically the IT dept) that are brave enough to code the html (and I am the only one who even tries to make it valid), so no one else changes anything. All the others write word files, and then just put them in known directories. Basically we have to have a wisiwig environment for there to be any interest. Even minimal tags will be too much for some of the long-toothers in the company. I had a quick look at wikiwig, which looks pretty much like it fits the bill. Has anyone used it seriously? Maintained it? I just might be able to get Gentoo on one of our servers if I can get a really polished wisiwig interface that won't crash every ten minutes... having locking is also (now I think about it) going to be necessary (almost got subversion for the intranet, but the lack of locking was not a plus... I know you can do it with cvs but anyway). Thanks for the suggestions so far Cheers Antoine Plone/Zope, while a CMS instead of a wiki, does have a WYSIWYG editor (two, actually). You might have to disable some of the features, but the software's reasonably powerful and flexible. The one real problem with the WYSIWYG editor is that it requires a component in the browser - a component only present in Gecko (aka Mozilla) and MSIE. If the browser doesn't have the component, happy HTMLing. www-zope has all the Zope software from that is in the Gentoo repository. -Pingveno -- Linux User #340304 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo discrimination
Bit of a pet peeve here: making things look easier than they really are. I do quite a bit of emerging of packages that aren't stable yet. I have an installation of PHP 5 that, if upgraded from its current version (mod_php-5.0.3-r1) would cause an update of Apache to an unstable version, which would in turn cause portage to try to satisfy dependencies of Apache that include another unstable package. emerge -u world fails on this and other packages. If a Gentoo system uses entirely stable packages, upgrades are a simple command away. But then you have to wait hours, even days, for much of the system to be recompiled. It's more than most users would tolerate. There are reasons many roll their eyes when they see someone spend hours on a KDE install. Gentoo is an excellent distro, with one of the most comprehensive repositories of packages of any Linux distribution. It is powerful and excellently constructed. But to say maintenance and upgrading is easy is like saying Windows is as suitable as Unix/Linux in a server environment. It's just not true and realistic. -Pingveno Ryan Viljoen wrote: Hahah I get batted by my friends regularly about using Gentoo and not Suse and such. Apparently it requires to much constructive work to keep it running or get it running for that matter but then they dont understand anything about keeping your system uptodate with and emerge --synce emerge --world do they?! I wont even get onto my Windows using friends though they just shake their heads. I suppose each person is a zealot for their favourite distro heck I am for Gentoo, I guess thats just linux users for you :/ Cheers Rav On 5/19/05, Grant [EMAIL PROTECTED] wrote: Out of curiosity, who here would say they have experienced any type of emotional discrimination because they use Gentoo? I find this in correspondence with other Linux people sometimes. Is Gentoo far enough out there to warrant this type of attitude? It seems like these people are conservatives unwilling to roll with the changes to me. - Grant -- gentoo-user@gentoo.org mailing list -- Linux User #340304 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] qpkg and etcat deprecated?
Agreement. equery size somepackage is much, much slower than: pkg-size somepackage I don't know if equery can be significantly sped up in the future, but the speed difference is a significant problem for me. With 550 MHz, pkg-size (a relatively simple shell script) was almost instantaneous, while equery size (a python program that directly uses the portage API) took several seconds. BTW, this was after one run of pkg-size to get all of the files cached in RAM, just for fairness. I love Python dearly, but it's annoyingly slow for some things. This is one of them. -Pingveno Neil Bothwick wrote: On Mon, 09 May 2005 18:50:45 +0300, Rumen Yotov wrote: * The qpkg and etcat tools are deprecated in favor of equery and * are no longer installed in /usr/bin in this release. * They are still available in /usr/share/doc/gentoolkit-0.2.1_pre2/deprecated/ * if you *really* want to use them. Considering that qpkg is several orders of magnitude faster than equery, yes, I *really* do want to use them. -- Linux User #340304
Re: [gentoo-user] looking for alternatives to Apache
I don't have a suggestion, but I'm very sympathetic. I've always hated Apache configuration, it seems like a mass of well-hidden options without a robust gui designed to give web site admins a headache. :-) -Pingveno Eric S. Johansson wrote: I have spent a way too much time in the past week screwing around with Apache configurations. The final straw was when I took a working configuration, change the domain name and it failed without telling me why or where. so I'm looking for an alternative. What I need is something that has the following characteristics: Virtual hosts virtual hosts server name aliases 404 handler for different URLs (ie. http://www.demo.com/ and http://www.demo.com/sub/ should be able to have different handlers) REDIRECT_URL properly set during a 404 events CGI directory level access control works with mailman there are probably other things that would be nice but I'll probably find them out when I try to use it. I have already tried and failed with lighttpd. it fails on the REDIRECT_URL test as well as rather difficult workarounds for server name aliases. so I would welcome suggestions about alternative Web servers that are reasonably alive. ---eric -- Linux User #340304 -- gentoo-user@gentoo.org mailing list