• General Linux Chat and Small Questions
    3,153 replies, posted
[QUOTE=CoolCorky;24105641]For some reason the MemTest option in my boot menu which used to run Windows is now actually running MemTest. How do I add Windows to my boot menu?[/QUOTE] Which bootloader are you using? GRUB? GRUB2? Lilo?
GRUB Forgot to mention it, sorry
Add an entry for it. (in /boot/grub/menu.lst) It should look something like this: [code] # (2) Windows 7 title Windows 7 #Give it whatever name you want rootnoverify (hd0,0) #Make sure this points to the right partition #makeactive #If you don't use window 7 uncomment this line chainloader +1 #Don't touch that one savedefault 0 #You can remove that one. (I use it to quickly boot to windows) [/code]
[QUOTE=Boris-B;24110413]Add an entry for it. (in /boot/grub/menu.lst) It should look something like this: [code] # (2) Windows 7 title Windows 7 #Give it whatever name you want rootnoverify (hd0,0) #Make sure this points to the right partition #makeactive #If you don't use window 7 uncomment this line chainloader +1 #Don't touch that one savedefault 0 #You can remove that one. (I use it to quickly boot to windows) [/code][/QUOTE] For the rootnoverify part, what about the Windows partition do I enter? It's name, serial number, what?
[code] rootnoverify (hdX,Y) # Replace X with the HDD number (start at 0) Replace Y with the partition number (start at 0) [/code] If your windows partition is the first partition on the first drive you keep it to "rootnoverify (hd0,0)" if it's on the second partition on the first driver it's "rootnoverify (hd0,1)" And so on. Most setups should use "rootnoverify (hd0,0)" because windows likes to shove itself on the very first partition. If you're not sure of what partition it's on just run the following and post the output. [code] sudo fdisk -l [/code]
-snip- wrong thread
I think I finally found what I need to use vim as my main programming editor instead of a text editor like Kate or an IDE like Netbeans. I had always disliked the method of opening files in vim. I always ended up opening a couple files in tabs, and if I wanted to open another file I'd close vim press the up arrow to reuse the last command and tack on the file path of the new file I wanted to open. I finally got around to trying to find some sort of in-app file browser to open up files. I found NERD_tree which seems nice so far. The problem with the default set up is to use it, you have to use the command :NERDTree to open it, and :NERDTreeClose to close it (:q seemed to work too). But in .vimrc I added: [code] map <F2> :NERDTreeToggle<CR> [/code] So I just have to press F2 and it opens up the file browser. I'm also using Gvim now since I can resize it to be much larger without messing up my default terminal size. I like to keep my terminals fairly small (80 columns x 23 rows), and if I make it bigger KDE will make that my standard size for all terminals. I also found a pretty cool color scheme for Gvim. I was just looking at vim.org today because of the 7.3 update, and it was on the recently updated scripts list. [url]http://www.vim.org/scripts/script.php?script_id=3035[/url]
[QUOTE=Ayra;24081087]I had the Linux ATI driver (fglrx) installed, installed the ATi CCC thing, and then went to the ATi driver page and downloaded the latest drivers, installed them, and then clicked "remove" on the restricted drivers thing. (This is all done in Ubuntu, should you be wondering). This fucked up everything, and I'm now unable to installed or uninstall using the built-in package manager. What do?[/QUOTE] Found the solution. Apparently it works if you install the ATi drivers from AMD/ATi's website and install them ontop of the existing stuff, and then update using the update manager. Then you can remove everything, including the Control Center and the new drivers and everything works. Just getting it out there, in the event I wouldn't be the only one to make this dumb mistake.
Anyone know why Centos 5 would not be blocking an ip added to the iptables? I have tried iptables and installing apf. iptables doesn't say anything. apf gives errors about iptables.
I love how as soon as I'm forced to switch to Ubuntu, I end up with a wealth of problems that I can't figure out how to fix. I never had any of these issues with Arch, Gentoo, or even Debian. I may end up going ahead and installing Arch this weekend instead of waiting until I get my new GPU.
The only reason I'm not using Arch is because networking simply does not want to work on it, no matter what I do. :frown:
How do I put my iso onto a memory stick?
[QUOTE=Kingy_who;24184134]How do I put my iso onto a memory stick?[/QUOTE] Windows: Use UNetbootin Mac OS X: [code] Download the desired file Open the Terminal (in /Applications/Utilities/ or query Terminal in Spotlight) Convert the .iso file to .img using the convert option of hdiutil (e.g., hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso) Note: OS X tends to put the .dmg ending on the output file automatically. Run diskutil list to get the current list of devices Insert your flash media Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2) Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2) Execute sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m (replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.img or ./ubuntu.dmg). Using /dev/rdisk instead of /dev/disk may be faster. If you see the error dd: Invalid number '1m', you are using GNU dd. Use the same command but replace bs=1m with bs=1M. If you see the error dd: /dev/diskN: Resource busy, make sure the disk is not in use. Start the 'Disk Utility.app' and unmount (don't eject) the drive. Run diskutil eject/dev/diskN and remove your flash media when the command completes[/code]
How do I install [B]jre-6u21-linux-i586.bin[/B] (latest Java), which I downloaded from their site?
sh jre-6u21-linux-i586.bin
[QUOTE=Pixel Heart;24187635]How do I install [B]jre-6u21-linux-i586.bin[/B] (latest Java), which I downloaded from their site?[/QUOTE] If you haven't read the instructions in the Linux downloads section, it should help.
[QUOTE=n0cturni;24189606]If you haven't read the instructions in the Linux downloads section, it should help.[/QUOTE] I got it working, thank you.
What do you gents know about BIND9? I didn't even realize that afraid.org works with domains that don't belong to them so I got my domain connected to my server so I don't have to pay for hosting but would prefer if I didn't have t use a 3rd party like afraid.org. Is running my own DNS server even plausible with my resources (10 year old home server)?
[QUOTE=Maccabee;24202029]What do you gents know about BIND9? I didn't even realize that afraid.org works with domains that don't belong to them so I got my domain connected to my server so I don't have to pay for hosting but would prefer if I didn't have t use a 3rd party like afraid.org. Is running my own DNS server even plausible with my resources (10 year old home server)?[/QUOTE] If you have a small number of domain records to host, and you're going to have a low traffic site, you can probably host the DNS on your 10yo server, yeah. BIND is a confusing bitch though, then again so is djbdns. It could make the first connection for each person to your domains a bit slow though.
[QUOTE=TehDoomCat;24212527]If you have a small number of domain records to host, and you're going to have a low traffic site, you can probably host the DNS on your 10yo server, yeah. BIND is a confusing bitch though, then again so is djbdns. It could make the first connection for each person to your domains a bit slow though.[/QUOTE] Any good books on bind9 or should I just read the [URL="http://www.bind9.net/manuals"]manual.[/URL] :scared: [editline]07:54PM[/editline] *insert emoticon with scared looking guy with hands in front of his face*
[QUOTE=Maccabee;24216381]Any good books on bind9 or should I just read the [URL="http://www.bind9.net/manuals"]manual.[/URL] :scared: [editline]07:54PM[/editline] *insert emoticon with scared looking guy with hands in front of his face*[/QUOTE] :ohdear:
Might have a go at installing Arch when I put my build together, I'm going to be wiping my hard drive anyway as it is a mess right now. Kind of gotten so used to Ubuntu now, I need something that will challenge me a bit more.
God damnit, Valve stated that they are [b]Not[/b] working on Steam Linux client at the moment. :saddowns:
I need you guy's help to pick a server distro. I've been willing to start making a game with a friend for a while now. Since our semester is beginning very soon we will soon get to work. I want to setup a server for SVN and possible to run the game server software (whenever we come up with it). I will be using that SVN server for that one project and possibly others. I've been looking at CentOS and it looks really really good. I found some documentation on how to setup a SVN server using the apache plugin. That causes a problem for me. My ISP block incoming connections on port 80. (I can use the web all I want but I can't host a webserver. I know that there's a standalone server software. I'm wondering if CentOS is the right choice. I also have close to no experience with redhat based systems. (I used Open Suse once..) I am willing to learn tho. I already have about everything I would need to build the server. I even have some old spark rack servers and a compac server tower box. (It looks like a normal-ish computer tower, but it's build like a server) I was also wondering how big of an HDD I needed. I think I have a few small ones (5-8G). Will svn take up a lot of place with all the revisions? What HDD size would you recommend?
you can configure apache to use a different port for web stuff. a lot of people use 8080, or 8000.
SVN sucks. Use git.
[QUOTE=Maccabee;24216381] *insert emoticon with scared looking guy with hands in front of his face*[/QUOTE] Woah, I've always seen it as a dude with his buck teeth sticking out. You have shown me the light holy shit.
Is there a disadvantage to using the standalone SVN server software instead of the apache plugin? I don't see the point of installing apache in the first place because I don't plan to be using this as a webserver. I don't think we will be using GIT. By buddy and I are already familiar with SVN. For the sake of curiosity what makes GIT superior to SVN? [editline]10:32PM[/editline] [url]http://stackoverflow.com/questions/871/why-is-git-better-than-subversion[/url] I found this after some googling. I think we won't be using git. I would surely consider it if I make a larger project.
where can i get all the libraries needed for cmake?
cmake should be in the package manager. If you install it from there you'll get all the libraries you need.
Sorry, you need to Log In to post a reply to this thread.