Linux Club

Moderated by: Dean Menezes
Linux Tutorials, Resources and Links Page
 


What do do if you install grub stage 1 over your Windows boot sector by mistake

by qbguy (no login)

You might have done this when reinstalling grub to the mbr after windows wiped it and then typing grub-install /dev/sda1 instead of grub-install /dev/sda.

Using an xp cd:
go to the recovery console and then type fixboot C:.

Using a vista dvd:
1. Put the Windows Vista installation disc in the disc drive, and then start the computer.
2. Press a key when you are prompted.
3. Select a language, a time, a currency, a keyboard or an input method, and then click Next.
4. Click Repair your computer.
5. Click the operating system that you want to repair, and then click Next.
6. In the System Recovery Options dialog box, click Command Prompt.

Then type bootrec.exe /fixboot

Note that you can use the vista cd to fix an xp install (which you might do if you had vista come with the pc and then upgrade to XP using a manufacturer supplied cd. The Vista-to-XP upgrade CD did not have the recovery console option available on it).

http://support.microsoft.com/kb/927392
http://support.microsoft.com/kb/314058

Posted on Sep 24, 2008, 5:20 PM

Respond to this message   

Return to Index


*Do do man?

by (Login burger2227)
R

Posted on Sep 24, 2008, 7:47 PM

Respond to this message   

Return to Index


New York Times Article on Ubuntu

by (Login dean.menezes)
Linux-Forum

http://bits.blogs.nytimes.com/2008/09/09/the-jaunty-jackalope-hops-aboard-ubuntus-ark




WARNING: THE GENERIC GALLEON COMPILER IS NOT READY YET AND I'M NOT SUPPOSED TO POST MESSAGES IN THIS FORUM ABOUT IT BUT I'M SURE THE NEXT DEMO MIGHT BE EVEN BETTER BUT IF YOU TRY IT AND GET FRUSTRATED YOU MIGHT NEVER USE IT AGAIN. DO NOT EAT GENERIC GALLEON COMPILER. GENERIC GALLEON COMPILER MAY BE ILLEGAL IN SOME COUNTRIES WHICH HAVE A DICTATOR GOVERNMENT, ARE RUN BY BILL GATES, OR DO NOT ALLOW ENCRYPTION.

Posted on Sep 11, 2008, 8:31 AM

Respond to this message   

Return to Index


I might try it again.

by (Login MCalkins)
R

I installed Xubuntu on a friend's computer a while back, and he was having some trouble with it, but he is not very technologically minded. I had some trouble working on it, but that is just learning curve stuff.
I hope they've made some improvements. That older version of Xubuntu had some definite rough edges that needed to be smoothed out.
The other thing I really want to try again is FreeBSD. I didn't have enough HDD space last time I tried it.
Regards, Michael

Posted on Sep 11, 2008, 8:35 PM

Respond to this message   

Return to Index


Clippy for Linux!

by qbguy (no login)

http://vigor.sourceforge.net/

Now you can have your least^h^h^h^h^h favorite feature of MS Office without "corrupting" your fully free, open source system by installing Microsoft Office in Wine.

Posted on Aug 31, 2008, 11:42 AM

Respond to this message   

Return to Index


*Ban Clippy.

by (Login MCalkins)
R

Posted on Sep 11, 2008, 8:19 PM

Respond to this message   

Return to Index


ubuntu

by (no login)

I had installed and un-installed Fedora about a year ago. I just got frustrated trying to get stuff to work and finally gave it the heave ho when I wanted the space for movies.

Well I installed Ubuntu (latest release from Ubuntu’s site) last night on my laptop. All’s going pretty well, the only thing I can’t get to work at this point is the DVD for movies. I had it working under Fedora but I can not seem to quite get it with Ubuntu.
I’m thinking I am going to uninstall off of it, xine, mplayer, VLC, dvdlibcss and start over and see if that fixes it. Anyone have any idea’s? The computer is a 1.8gh Celeron mobile with I think 512 mb of ram, DL dvd combo drive. (it will burn DL DVD disks). Duel boot (windows XP Pro sp 2 with part of sp 3 and Ubuntu)

All and all I’m very happy, and impressed. It recognized everything and even wireless worked out of the box. Can’t seem to get dosemu to work, but dosbox is working fine and I have it configured to do what I want it to do. It recognized my Windows network and even installing my network printer was a piece of cake.

It’s been a little time consuming, but really not much worse then a window’s reinstall, and most of that has been a because of the learning curve involved but it sure does feel good, to take my computer back from Microsoft, the script kiddies, and most viruses.

As a matter of fact, I think we will be doing most of our web browsing from Ubuntu, just because of the security. Visual basic will have to live with XP for now.

Raymond

Posted on Aug 21, 2008, 10:20 AM

Respond to this message   

Return to Index


Did you read this?

by qbguy (no login)

https://help.ubuntu.com/community/RestrictedFormats

Is the problem with your DVD drive not being detected? If not, then you can try:

sudo aptitude install ubuntu-restricted-extras

This installs support for MP3, DVD, Windows Media, etc.

You could also try installing the k-lite codec pack in wine (http://www.free-codecs.com/download/K_lite_codec_pack.htm) and then using media player classic to play your dvds.

With dosemu, is the error this:

LOWRAM mmap: Invalid argument
Segmentation fault

?

If so, then do this:

sudo nano /proc/sys/vm/mmap_min_addr

and change whatever number is there to 0 (the number zero, not the letter o) and save.


Posted on Aug 21, 2008, 10:46 AM

Respond to this message   

Return to Index


Oh yeah, and

by qbguy (no login)

libdvdcss might be a violation of the DMCA. Then again, Firefox might also be a violation of the DMCA. Of course, the DMCA is ridiculous and possibly unconstitutional.

Posted on Aug 21, 2008, 10:58 AM

Respond to this message   

Return to Index


*URL and comment

by (no login)

http://techdirt.com/articles/20080821/0251282050.shtml

I say using dvdlibcss is fair use, in my case, becuase I wish to view the DVD I have bought, legitimitely.

Can the RIAA come after me if I rip a CD and put it on my MP3 Player? I am just using my music on another device. So in this case, I'm just using my movie on another device. Sooooooo screw em, I say!

Whats funny is the ummmm.... Back up copies of movies I've made are working fine... it's the originals that aren't. What's that say about CSS?

Raymond

Posted on Aug 21, 2008, 11:52 AM

Respond to this message   

Return to Index


* So unencrypted DVDs work but encrypted (CSS) dvds do not work

by qbguy (no login)

Posted on Aug 21, 2008, 12:50 PM

Respond to this message   

Return to Index


ummmm..... should have clarified

by (no login)

Actually, I don't know if it will play a NON-CSS disk. What was played was an ISO image on my external hard drive and an AVI file. Sorry for any confusion.

I think the hardware is working; Ubuntu was loaded from DVD--(DVD image, cuase I was out of blank Cd's) but it could be a detection problem, as pointed out by QBguy... I will try the following tonight when I get home-- I think I was missing the aptitute bit. I'll try the following per QBGuys instructions.

sudo aptitude install ubuntu-restricted-extras

Raymond Walden
Ubuntu Newbie

Posted on Aug 21, 2008, 2:27 PM

Respond to this message   

Return to Index


dvd's now work

by (no login)


I had to do the following.....

sudo apt-get install build-essential debhelper fakeroot

then

sudo /usr/share/doc/libdvdread3/install-css.sh



Posted on Aug 21, 2008, 11:12 PM

Respond to this message   

Return to Index


Actually I did read that

by (no login)

I did install the restricted formats pack, but to no avail.

I am wondering if it's not detecting, correctly. I will try the the otherbit tonight when I get home....

Thanks for the help

Ubuntu Newbie

Raymond Walden

Posted on Aug 21, 2008, 11:55 AM

Respond to this message   

Return to Index


* Maybe it is a configuration error rather than a missing package or hardware issues (URL)

by rpgfan3233 (Login rpgfan3233)
R

http://ubuntuforums.org/showpost.php?p=5055366&postcount=11

https://help.ubuntu.com/community/RestrictedFormats

Found with a google search:
http://www.google.com/search?q=ubuntu+can%27t+play+dvds&btnG=Search

------------------
Waiting patiently for XHTML 2.0, CSS 3.0, the ratification of C++0x, and the day that I can code without logic troubles.



    
This message has been edited by rpgfan3233 on Aug 21, 2008 12:48 PM

Posted on Aug 21, 2008, 12:45 PM

Respond to this message   

Return to Index


Ubuntu is illegal in the US

by qbguy (no login)

1) Firefox allows you to right-click even on pages that have right-click blocking copy-protection.

2) Circumventing copy protection is illegal under the US DMCA

3) Ergo, Firefox is illegal in the US

4) Ubuntu includes Firefox

5) Ergo, Ubuntu is illegal in the US

Posted on Aug 18, 2008, 6:12 AM

Respond to this message   

Return to Index


Since when have US citizens obeyed the law?

by rpgfan3233 (Login rpgfan3233)
R

Okay, maybe the first few generations did, but after that, it was all downhill... :P

On-topic: FWIW, most things on the Internet are illegal using that logic. After all, suppose someone uses a script to disable right-clicking via JS. Now suppose that I'm surfing with a text browser like Lynx (or Links, Links2, ELinks, etc.), which doesn't support JS. That makes Lynx (or whatever other browser) illegal!

In addition, if I disable JavaScript in IE, I would be breaking the law, non?

This is why the DMCA, among other ridiculous laws regarding digital matter, is absurd.

rpgfan

------------------
Waiting patiently for XHTML 2.0, CSS 3.0, the ratification of C++0x, and the day that I can code without logic troubles.

Posted on Aug 18, 2008, 3:09 PM

Respond to this message   

Return to Index


As long as it is legal here

by Iain (no login)

I'm just fine. But, we've had our share of brilliant laws, and even illegal ones. I'm still pissed about how the House of Lords was illegally forced to lose power thanks to the Irish MPs (who really were transplanted Englishmen a few generations removed). Bloody idiots.

Posted on Aug 19, 2008, 4:49 AM

Respond to this message   

Return to Index


This is somewhat unsettling (*URL)

by (Login Mikrondel)
R

But I think it's a very interesting read, especially the email exchange with Foxconn.

http://ubuntu-virginia.ubuntuforums.org/showthread.php?s=aa528c56f0961263e6497467d4d9f9da&t=869249

Posted on Aug 1, 2008, 6:33 PM

Respond to this message   

Return to Index


first things first, if that's deliberate, boycott wii

by mennonite (Login mennonite)

i mean that's ridiculous.

but also it looks like it will be okay if you don't use acpi. i understand that's not suitable for a lot of users, and if foxconn does this to one feature, they can do it to any. a list of all foxconn products would be nice, if possible, then we can never buy their stuff.

but i know that sadly, rebranding and the fact that sometimes identical models use different chips from different people, (at least in networking cards) means we may never be able to completely avoid these people.

getting the ftc involved is a great idea. this is more anti-trust stuff, and the pro-microsoft doj that bill and melinda bought in 2000 may be packing their bags soon.

i never liked apm/acpi, and i'm a laptop user. i know it can help with batteries, i know it's good for the environment, but i just thought it gave too much power to software, it's very 2001: a space odyssey in my opinion. it seems like there ought to be an option that ignores more of the table,... although people should fight this sort of thing from foxconn.

Posted on Aug 1, 2008, 7:17 PM

Respond to this message   

Return to Index


Linux - only use it if you have time... [IMG]

by rpgfan3233 (Login rpgfan3233)
R



------------------
Waiting patiently for XHTML 2.0, CSS 3.0, the ratification of C++0x, and the day that I can code without logic troubles.



    
This message has been edited by rpgfan3233 on Jul 31, 2008 8:28 AM
This message has been edited by rpgfan3233 on Jul 31, 2008 8:28 AM

Posted on Jul 31, 2008, 8:27 AM

Respond to this message   

Return to Index


LOL, step one, don't compile anything

by mennonite (no login)

learn to compile if and when you want to, never assume there is a need, or use anything that requires you to.

step two, never use linux if you don't have high speed. you'll waste years otherwise. try one ppp dialer for one distro, then give up on that. it works on windows, and on dos, it should on linux. oh and use a serial external modem, if you have a serial port, not usb.

don't try to get wireless working first. it's easier to get eth working on a networking cable. if you use pcmcia or cardbus (those little things that look like a 1/4 pack of cards that you put in a laptop) then look up the model on a website for your distro.

and despite all that dual boot, livecd, emulation, and so on, sometimes it's just easier to get linux working if you have a system you can dedicate to it.

do you want to learn more, or do you want to just use it? if you want to learn more, you can put yourself through years of frustration trying to get it to work under special circumstances. different distros have different strengths. they're all different, and they're all the same. but it takes years to see the similarities. people that don't care will have an easier time, they'll find the easiest ways, but people that do care will learn more before they're happy. i don't know if it helps if you are sick of microsoft. probably. but if you can find the best in vista, you can probably find the best in ubuntu. you can always learn how to compile later if you want.

Posted on Jul 31, 2008, 8:47 AM

Respond to this message   

Return to Index


On ubuntu ethernet worked out of the box on all the computers I tried

by qbguy (no login)

Wireless worked with ndiswrapper and then use wireless drivers. On a Dell laptop (came with Windows but dual-booted Linux when Windows I was able to use the native b43-fwcutter (Broadcom) driver instead. But on my Toshiba laptop, I couldn't get the native linux driver to work.

Actually, the easiest way is to buy a preinstalled pc with linux because then the pc manufacturer does all the installation stuff for you, allowing you to be free to break your system.

http://www.dell.com/content/topics/segtopic.aspx/ubuntu?c=us&cs=19&l=en&s=dhs&dgc=IR&cid=11973&lid=471885

Posted on Jul 31, 2008, 9:24 AM

Respond to this message   

Return to Index


Sure, wireless is a breeze these days...

by rpgfan3233 (Login rpgfan3233)
R

... until you get around to configuring wpa_supplicant when you realize that your router/gateway has a WPA/WPA2 key, and without wpa_supplicant being configured, you're kinda screwed for wireless. :P

Once you figure out how to do things, it isn't too bad, but it is a pain to figure out for the first time... and the time after that, and the time after...

Where am I? Who are you? How many distros have I tried? :P

------------------
Waiting patiently for XHTML 2.0, CSS 3.0, the ratification of C++0x, and the day that I can code without logic troubles.

Posted on Jul 31, 2008, 10:16 AM

Respond to this message   

Return to Index


i don't trust you when it comes to making things simple :)

by mennonite (no login)

people that prefer to compile their own kernel and are into really complex equations can't be trusted with "simple," imo.

but if they manage to contribute to "simple," more power to them.

obviously you see that wireless could be very intimidating in its present state. much easier in windows. some distros / tools make it easier than others, but not the default tool in every distro obviously.

suppose i want dsl because my system is old but i'm a linux noob. i still haven't got my (listed as compatible with dsl, by the dsl community) wireless card doing anything in dsl, but a similar card (for wired eth) is fine.

if i go to ubuntu, i can get wireless running but on the livecd, where you'll need to remind it of your settings, it's still not as easy as in windows. i'm not sure i remember how i did it, but i assume i will manage again. i've never, in a decade, gotten various distros to dial up and stay connected, and setup the dns. dialup is worth one try. wireless several, but use wired eth first, because it's the only thing that linux is designed to be easy with.

Posted on Jul 31, 2008, 1:36 PM

Respond to this message   

Return to Index


yeah but by my standards, you're an expert

by mennonite (no login)

so is rpgfan. it's pretty simple how i arrive at that, i've been playing with linux for 10 years, and when i have a question i can't find the answer to online, you're the first person i think to ask.

i'm tempted to title my posts "question for qbguy," because i don't want other people to think i expect an answer to my odd questions, but i don't because if they actually have an answer, hey, post it.

Posted on Jul 31, 2008, 1:41 PM

Respond to this message   

Return to Index


I had enough trouble installing Puppy Linux...

by (Premier Login iorr5t)
Forum Owner

I wanted to try something small, just to see what it was like. It was between DSL and Puppy and Puppy seemed easiest to me but I still made a couple of goofs.

What I do love is that these small Linux systems allow me to boot from a CD rom; so, if anything bad every happened to Windows, I'd boot into my systems with the pup.

I imagine as a hobby this OS is a kick but I like to program on my OS, not program my OS. My guess is that since Micro$oft can't get out of its own way and Apple for some reason isn't taking more advantage of that, to beat them bloody, that someday there will be enough store avaialable Linux systems so we won't have to look like the guy in the comics.

Pete

Posted on Aug 8, 2008, 10:32 AM

Respond to this message   

Return to Index


i've been trying to list all (20000+) packages in xubuntu to plaintext

by mennonite (no login)

i've read about it, and the articles i read suggest:

dpkg --get-selections | grep something

maybe if i don't narrow the list using grep (in dsl at the moment, dpkg would be used in xubuntu) it will list the packages, but i don't know if it will give me the same information as synaptic. mostly i'm interested in "package:" and "description:" lines.

i found a folder that has a lot of that in plaintext, maybe all of it, but there is more than one repository. if you subtract the files that contain "translation" in the name, and the ones that contain ".gpg" you end up with about 10 files that cat doesn't like to cat, because of some unicode nonsense.

qb64 to the rescue... i open all the files with qb64 in wine, read each line from each one using line input #2, and print it all out to s single file, only lines that start with "package:" or "description:"

it processes about 30mb of text. i haven't completed it yet, right now it tries to do every single line, and somehow ends up with over 47mb of text (obviously i need to change something in that program.)

it would be cool if there was an easier, built in way to do this. but if not, qb64 will have to (hopefully) be good enough.

i already tried to copy/paste the information from synaptic.

Posted on Jul 30, 2008, 3:17 PM

Respond to this message   

Return to Index


Found a list online

by qbguy (no login)

Posted on Jul 30, 2008, 3:59 PM

Respond to this message   

Return to Index


you did it, thank you!

by mennonite (no login)

yes, that will do nicely. i can still use the qb64 program to find more details without downloading lots of files, but that list has got the data i was looking for

Posted on Jul 30, 2008, 4:46 PM

Respond to this message   

Return to Index


things that are built in and not built in to the shell

by qbguy (no login)

cd is built in to the Linux shell like on Windows. however, ls is not (unlike on Windows). Another think that is different from Windows is that asterisks expansion is built into the shell.

This means "mv *.html *.htm" will not work the same way as "ren *.htm *.html" on dos. Instead, you have to do this:


rename .htm .html *.htm


You can also do this:


for i in *.htm
do
j=`echo $i | sed 's/.htm$/.html/'`
# or, in this simple case even just: j=$"i"l
mv $i $j
done

Posted on Jul 30, 2008, 2:56 PM

Respond to this message   

Return to Index


*thanks qbguy

by mennonite (no login)

Posted on Jul 30, 2008, 3:08 PM

Respond to this message   

Return to Index


Dvorak aliases for bash

by qbguy (no login)

# dvorak aliases
alias aoeu='setxkbmap us'
alias asdf='setxkbmap dvorak'

Posted on Jul 27, 2008, 10:00 AM

Respond to this message   

Return to Index


* Hm... shouldn't that be the other way around?

by lkt153 (no login)

*

Posted on Jul 27, 2008, 7:47 PM

Respond to this message   

Return to Index


No.

by qbguy (no login)

If you're on qwerty, you type asdf (left hand home row) to switch to dvorak. If you're on dvorak, you type aoeu (left hand home row) to switch to qwerty. So it's the easy to switch keyboard layouts either way.

Posted on Jul 27, 2008, 7:50 PM

Respond to this message   

Return to Index


* Where do I get the stick on keypad letters?

by (Login burger2227)
R

Posted on Jul 27, 2008, 8:05 PM

Respond to this message   

Return to Index


* Wow, you're right ;) my bad

by lkt153 (no login)

*

Posted on Jul 27, 2008, 8:39 PM

Respond to this message   

Return to Index