Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

101.

Solve : Ubuntu 9.10 on usb stick?? possible or NOT??

Answer»

alright, i just bought a 16gb lexar jump drive and want to install ubuntu 9.10 on it, making the jump drive a external computer, but having questions like, am i still able to use the jump drive when not using ubuntu and whether i will have tp repartition the drive and how to do it so i dont do any damage to to flash drive and be still able to erase ubuntu and use it as a normal flash drive again if ever needed. I have the LIVE CD of ubuntu so im ready just need instructions on how to do this and with all the questions above answered please.
thanks Quote from: comda on September 13, 2011, 08:25:44 PM

am i still able to use the jump drive when not using ubuntu
Yes. You can use EASEUS Partition Manager or the Ubuntu installer to partition the flash drive-1 partition for ubuntu, 1 partition for regular Windows use, for example. If you ever want to delete Ubuntu, just remove the partition.*CENSORED*, what i need is to be able to boot ubuntu 9.10 or any other version off my jump drive but when im running of my normal hard drive use the USB as external HDD which happens to have ubuntu on it, so i can access all the files using one partition. what im generally asking from you is if i install ubuntu 11.04 using universal USB installer and i plug my usb into a machine running on its hard drive will i still be able to use it as a jump drive and share the same partition with ubuntu and my personal files from when im not using ubuntu from the jump drive? Quote from: comda on September 14, 2011, 03:42:04 PM
what im generally asking from you is if i install ubuntu 11.04 using universal USB installer and i plug my usb into a machine running on its hard drive will i still be able to use it as a jump drive and share the same partition with ubuntu and my personal files from when im not using ubuntu from the jump drive?

yes, if your other OS can read the file system on the jump drive.

alright thats good, but one more thing, when i tried to use the universal USB installer it said it would reinstall the MBR? is that a bad idea?
As long as you don't have any other operating systems installed on the flash drive. Installing the MBR makes your PC recognize the flash drive as a boot device. Make sure that you are really installing the MBR to the flash drive, not to another drive... alright so i got ubuntu 10.04 working fully on my 16 gn flash drive but when i plug it in on my macbook when its not using ubuntu its says its not formated same as windows XP. why can i get into the jump drive and us it as a slave drive?
Hard to figure. Here is what My USB stick looks like with Ubuntu on it. It is only 2 GB.

no, you have the ubuntu installer on your usb drive i actaully installed ubuntu like my jump drive is a hard drive, but it wont run as a slave when in using normal hard drive to boot os. Quote from: comda on September 19, 2011, 08:32:48 PM
no, you have the ubuntu installer on your usb drive i actaully installed ubuntu like my jump drive is a hard drive, but it wont run as a slave when in using normal hard drive to boot os.
You said jump drive. Most sources say a jump drive is a flash USB device.Do you mean you have a hard drive on a USB adapter? This problem is getting realllly convoluted-I'll try to simplify it...


1) You can turn your flash drive into a ubuntu live cd with UNETbootin/YUMI.
2) You will then be able to boot to ubuntu Live CD from your flash drive/jump drive/pen drive/thumb drive/zip drive/whatever. I mean portable flash drive(e.g. Sandisk Cruzer), not portable hard drive with a cable.
3) You can make 2 partitions on your usb drive-install ubuntu on the first, and use the second for document/file storage. I do this. You can save files in ubuntu to the second partition and they will be readable in Windows/Mac (PROVIDED the 2nd partition is formatted with FAT32.)


EDIT: You can do the full installation on a 4GB+ USB Flash drive,( and USB hard drive). Just tried with a live cd(in a real DVD drive). You can do the same with WUBI too: http://www.pendrivelinux.com/move-wubi-to-a-usb-flash-drive/
102.

Solve : UNetbootin -Put Linux on USB?

Answer»

Recently found this:
Quote

Introduction
UNetbootin allows you to create bootable Live USB drives for Ubuntu, Fedora, and other Linux DISTRIBUTIONS without burning a CD. It runs on Windows, Linux, and Mac OS X. You can either let UNetbootin download one of the many distributions supported out-of-the-box for you, or supply your own Linux .iso file if you've already downloaded one or your preferred distribution isn't on the list.   ...
http://unetbootin.sourceforge
Has anybody tried it? ? Quote from: Geek-9pm on August 23, 2011, 01:00:24 AM
Has anybody tried it? ?

Yep. I use it all the time.
I use an alternative to UNetbootin, which supports creating a Bootable Windows Vista/7 install flash drive along with the linux distros. It also allows you to try unsupported ISOs, such as, say, the Seagate disk check tool, or HIREN's boot CD, or BartPE.
http://www.pendrivelinux.com/yumi-multiboot-usb-creator/
YUMI.I've been using grub4dos to do this, I have 3 ISOs, Windows 7 Windows 7 System Repair CD, Windows 7 PE, and linuxmint 9 live CD on a pen drive.


There are many good and stable utilities that will HELP you to create a Live USB Stick with your favourite distribution. Fedora has also a default utility for that which is called "Fedora Live USB Creator" (See https://fedorahosted.org/liveusb-creator/). I think that same applies to Ubuntu, which comes with a similar utility.

uNetbootin is an excellent choice as well and you've nothing to lose. Go ahead, install it, play with it. It works pretty well and can be used with most Linux Distributions and other free OSes.
103.

Solve : sed command?

Answer»

Hi EVERYBODY!

I want to change some lines of text with the sed command but not as usual. This are the lines I have:

south
{
type            zeroGradient;
}
WEST
{
type            zeroGradient;
}
east
{
type            zeroGradient;
}
NORTH
{
type            zeroGradient;
}
TOP
{
type            zeroGradient;
}
}


And these are the lines I want:

south
{
type            zeroGradient;
}
west
{
type            symmetryPlane;
}
east
{
type            symmetryPlane;
}
north
{
type            zeroGradient;
}
top
{
type            zeroGradient;
}
}

I'm working on CFD simulations and the number of lines depend on the grid... So I can't use: sed -i '22s/zeroGradient/symmetryPlane/g', because it won't be allways at the same line.

What can I do?

Thank you very much for helping me!

RogerYou use awk, not sed

Code: [Select]
awk -vRS="}" '/west|east/{ gsub(/zeroGradient/,"symmetryPlane"); }1' ORS="}" file

104.

Solve : Can Unix Include files/other code?

Answer»

If so, does the calling/master program have full access to all lines of code in the CALLED file?

Problem:
Exiting application RUNS SQL commands.  The SQL command needs to be replaced.

My thought would be to include the SQL file (ie., include SQL.TXT)
Then when the SQL changes, the COMPLETE file, SQL.TXT would just be replaced.

the file SQL.TXT does have variable- for month and year.
the SQL command may or may not return rows. (That is acceptable, as the main application knows what to do- under both circumstances.)

Thanks for you help.
Doesn't sound like a Unix QUESTION to me.  Are you talking about bash scripting?  Making text files polymorphic?  Yes, using bash it is possible to process the content of other files.  I just can't tell from your description exactly what you're trying to do.

105.

Solve : importing?

Answer»

How do I import applications such as email, AT&T Communications Manager, etc. from Windows Vista to Linux?  I don't want to REMOVE them from Windows, just add the various things I want from Windows Vista to Linux.
Thanks.Well, to use Windows Applications on Linux, you would need to install a (free) PROGRAM that is called Wine. (http://www.winehq.org/)

It can emulate a wide-variety of applications that RUN under Windows (Including many games).

sudo apt-get install wine
- For Ubuntu
yum install wine - For Fedora

Hope this helps. Cheers! Quote from: sherlock1212 on August 07, 2011, 10:55:25 AM

How do I import applications such as email, AT&T Communications Manager, etc. from Windows Vista to Linux?  I don't want to remove them from Windows, just add the various things I want from Windows Vista to Linux.
Thanks.
For most Windows-based programs, there are Linux alternatives.  And many programs are available on both platforms (e.g. Firefox, OpenOffice).  Wine is not a straightforward route, since many programs won't run well under Wine - or will run slowly.  Wine is improving all the time; you just need to UNDERSTAND that programs can't simply be moved from one to the other.  Windows and Linux are very different beasts.PS  You might find this website useful: http://www.osalt.com/All the windows programs will not work in ubuntu by using wine.If you really want to use windows programs in Linux,you should use virtual machine called VIRTUALBOX. It is a free software.by installing this software It is possible to use windows and Linux at the same time and in the same desktop.for more information about it you can visit its website.www.virtualbox.org No need to bump two month old threads...I am posting not to get a REPLY hacker boy. Quote from: mrlmohan on October 05, 2011, 10:19:54 AM
I am posting not to get a reply hacker boy.

Please observe an acceptable standard of politeness and behaviour as laid down in the forum rules that you have agreed to observe. As previously observed, this is an old thread.

ok ok...
106.

Solve : microSD won't show on Ubuntu?

Answer»

hello,

I have bought a microSD card for my cell phone  . so that I can listen to some audio BOOKS on my phone. The card came with two adapters: one adapter fits into the SD/MMC slot of my machine: http://l.westfalia.eu/medien/scaled_pix/600/600/000/000/000/000/001/562/89.jpg on inserting this a diode starts blinking next to the slot.

The other adapter is a USB one although sort of weird looking: http://tnm.scene7.com/is/image/TNM/template_335x300?$plus_335x300$&$image=is{TNM/8600261800_89002_prod_002}.

Both are not recognized on my computer  .

A regular USB stick is no problem, it's recognized at once.

I've alread did some internet research but it really hasn't helped so far.





Quote

Both are not recognized on my computer  .
Are you sure? Does the computer never acknowledges that you put in a new device? What about the disk manager in administrator tools? Uhh. no.. not in Linux. You have to mount it.

I have several micro SD cards and adapter. A few were bad. Most of them work. Check you camera documentation to see if that is an alternative format for the card. Also, make sure you send the pictures to the removable SD card, not just leave them in the cell phone internal memory.

A 2GB micro SD card is very cheap. But they are slow. Don't be surprised that it TAKES a bit for the OS to recognize it.

The fact the a regular stick can be READ by Ubuntu would indicate that the adapters may be flaky LIKE I said, I got some of them. Adapters now are DIRT  cheap, but if you buy a dozen, most should work. Buy it from a major vendor and RMA if it don't work.

http://www.google.com/products/catalog?q=2GB+micro+SD+with+USB&hl=en&um=1&ie=UTF-8&tbm=shop&cid=17157109873614143400&sa=X&ei=cHWKTr3jHaqFsgKeqbmWBA&ved=0CIsBEPMCMAM


Well, I've never had any problems on Ubuntu, even with "chinese" memory cards that I bought from the net.
Maybe you should get/borrow an alternative card reader and see if that works. Also, which version of Ubuntu are you currently using?james64k, Come to think  abut it, your are right. It is almost always the card reader that is flaky. You jogged my memory. About a quarter of the darers I have bought are unreliable. Goat them on  eBay from Hong Kong. Old men tend to forget bad memories.I had them adapters replaced and bought a data cable and a loose MicroSD instead.
And this seems to work  .

I use Ubuntu 11.04. I does recognisze my "old" USB memory stick (1 GB) but not the USB card adapter. And the adpater worked fine at the laptop of the guy in the shop when I brought it back to have it replaced.

107.

Solve : Help Regarding JNI ERROR?

Answer»

i am using TAU and i am facing the problem of JNI error that JNI cannot FIND TAU_HOME ALTHOUGH i have imported all the paths.You might need to provide a bit more information about what TAU and JNI are... Quote from: Rob POMEROY on October 07, 2011, 02:52:50 AM

You might need to provide a bit more information about what TAU and JNI are...

JNI is Java Native Interface. Although that is pretty much a guess, so  I have no idea what they are TALKING about, either. Googling TAU_HOME +$ENV lead me to this page:

http://code.google.com/p/qmcpack/source/browse/trunk/CMake/FindTau.cmake?r=4936

Which states:

Code: [Select]# this module look for tau (http://www.boost.org) support
Which leads me to believe tau is a boost library, or something. I cannot find any reference to either java or tau on those pages, though.
108.

Solve : installing/using Linux?

Answer»

I've heard about Linux for years but have never personally seen it in use or used it myself. However I've always heard people say how they thought it is better than Windows and have wanted to try it. I already used the distribution chooser to get a recommendation on which would be the best one for me and am considering getting a copy, partitioning my hard drive and installing the Linux on the partition.

However, I'm curious, is there any danger is using Linux instead of Windows? Is it more vulnerable to collecting any viruses or spyware when surfing the web? Does it come with or is it compatible with anti-virus software that commonly runs  in Windows OS? Is it compatible with programs that would have run in Windows? My laptop has Windows Vista 32-bit. Could I expect any clashes or issues with the hardware since the laptop was intended for Windows OS? Thank you Linux is not better than Windows.

Windows is a huge SUV with automatic trany.
Linux is a 4 wheel drive pickup with a stick shift.
Linux is free. Windows is not free.

IMHO, you really should start with Puppy Linux. It is a quick download and is easy for a Windows user to get the hang of it. It is a bard bones OS that gives you the very basic things and is a good way to get the 'feel' of Linux. Works with Ethernet, but not so great on Wi-Fi.
Puppy Linux Download.There is no need to install anti virus in Linux computer because windows viruses will not work in Linux.Linux is the safest OS in the world.There are plenty of free soft wares for Linux.you can install Linux along with windows by partitioning and it is also possible to install Linux(UBUNTU) in the windows OS.Once you use Linux after using windows for several years It will be difficult for you.with time and patience you can use it very well.Ubuntu is the best Linux Variant out there.You can download it here. http://www.ubuntu.com/thank you. I might try it but I have to resolve some other issues first atm... Quote from: mrlmohan on October 04, 2011, 12:21:47 AM

There is no need to install anti virus in Linux computer because windows viruses will not work in Linux.
Very true. But viruses written for Linux will work on it.

Quote
Linux is the safest OS in the world.
No it's not. What about Haiku? Or FreeBSD? or OpenBSD? And remember, safest != secure; any semblance of "safety" that Linux has from viruses isn't because it's inherently more secure, but because it's not targeted. Nobody is going to waste their time WRITING malware for an OS that is around a single percent of all desktop users because they can invest the same amount of work into a virus that can work on 90% of them.


Quote
Ubuntu is the best Linux Variant out there.
And this is just plain laughable. First of all, the term "Linux Variant"- even as noted on this forum's profile information page- makes no sense. Linux doesn't have "variants" it has distros.

My point being that they are all the same tree, just with different junebugs stuck in their sap.

On another note, distro choosers are sort of pointless. You'll need to try distributions for yourself to see if they fit. My personal recommendation would be Linux Mint, which I've found to be far better than Ubuntu in nearly every way. It's "Mint Menu" also somewhat mimics the behaviour of the start menu.Its true that Viruses written for Linux will work on it.but I am using Ubuntu for 5 years.my computer is online 12 hrs a day.I didn't got a single virus infection in my computer.I agree that Mac OS X and Open source BSD are the safest Operating Systems in the world.
But when it comes to using it as a server, Linux is still one of the safest operating systems out there. You can make a Linux server very hard to crack into. You just have to be willing to learn about it and make sure that you know what you are doing....The OP has used Windows and he wants to learn about Linux. It is alright to be passionate, but let's not scare him with too much information.
Linux Mint is good, But load a short version that fits on a CD. A n novice does not need all the stuff.

For a broad yet short review of most everything out there, the link below is a good read.
Free and non-free Operating Systems

I still believe newcomers should start with a minimal Linux that can run "Live" with very low overhead. Puppy Linux. Or one of the early Knoppix distros. Quote from: mrlmohan on October 05, 2011, 12:34:17 AM
But I am using Ubuntu for 5 years.my computer is online 12 hrs a day.I didn't got a single virus infection in my computer.
Anecdotal. I've been running windows 7 since it was released, and this machine is usually on nearly 24 hours a day and it's yet to get infected, but I don't fool myself into thinking I am inherently secure.
Quote
But when it comes to using it as a server, Linux is still one of the safest operating systems out there. You can make a Linux server very hard to crack into. You just have to be willing to learn about it and make sure that you know what you are doing....
Not sure what makes you think they plan to use it in a server environment. Way to move the goalposts, though.I didn't say Linux is fully secure.Every OS has a loophole.but when compared to windows,Linux is better and secure.If you don't know that why do u call yourself as a programmer??LOL. I think you are addicted to windows.I have a doubt.are you here for arguing or helping??..May be you have more knowledge than others.use your knowledge to help others.don't use it for unnecessary arguing.

Best Wishes Quote from: mrlmohan on October 05, 2011, 10:12:50 AM
are you here for arguing or helping??..May be you have more knowledge than others.use your knowledge to help others.don't use it for unnecessary arguing.

Good advice. You should follow it yourself.
YES BOSS Quote from: mrlmohan on October 05, 2011, 10:12:50 AM
I didn't say Linux is fully secure.

You said "Linux is the safest OS in the world" Which is dead wrong. It's not "safer" than any other OS, and you are misguiding others if you tell them so.


Quote
Every OS has a loophole.

Sigh. No, everyOS needs to be properly secured by the user or whomever installed it. You can't just go with the default options and assume your safe, this goes for any OS, and on the case of Linux especially for servers, since there is plenty of written malware for them, not to mention sendmail, that constant source of exploits. My point is, it doesn't matter what the OS is that you are using, none of them are "safer" than any other. That just doesn't make sense. It's like saying that a Trailer truck is "safer" than a Mazda Miata. The entire point isn't to be "safer" when in a car crash, the point is to prevent them entirely.


Quote
but when compared to windows,Linux is better and secure.
Yep, Linux is so secure, even kernel.org got hacked via a ROOT privilege escalation. As for servers, sure, Linux servers really aren't that hard to use/run. Until they are. Then it takes two weeks of web searching, forum-hopping, reading blog posts that explain how to fix your exact issue on a version from eight years ago and so it isn't even slightly applicable anymore so why the *censored* is it the top search result on every major search engine, getting called stupid by various elitist Linux communities when you ask for help, pissing off an entire Linux community when you try to prevent the name-calling by starting with "I don't know much Linux so please walk me through this" and getting called stupid instead of getting answers to something that "everyone should already know", getting told to just use Google (which of course gives me old blog posts and forum topics from eight years ago and isn't the least bit helpful) by elitists who "don't have the time to ANSWER every newb's questions" but apparently have plenty of time to sit on forums and call them names all day, getting sick of said elitist communities and reformatting and reinstalling Linux to see if that helps (which it doesn't), finally having someone who is willing to help give you some big long list of commands to type in and then calling you stupid and leaving when you ask what it means, and eventually you just say "Screw this, I'm buying a Windows license."


Quote
If you don't know that why do u call yourself as a programmer??LOL.
What does operating system security or OS choice have to do with programming? Absolutely nothing. This is a argument to irrelevance.


Quote
I think you are addicted to windows.
my laptop runs Mint 10.(Which brings up another point I will get to) I don't think it's a case of me being "addicted to windows" (what a silly concept) But rather me actually being realistic and not a Linux zealot. Not everybody who sees it thinks it's some sort of cure for cancer. In fact if anything, on the desktop, it's still a solution in search of a problem. At the moment it's primary selling point is "It's not Windows!" Which only goes so far. It's come far but it still hardly compares UI wise to even windows 95, and on the server somehow despite it being there from nearly the beginning windows server is making huge inroads in it's markets.

Quote
are you here for arguing or helping??
Both. I see far too many people paint this happy jolly picture of Linux where the person doesn't have to do anything and everything works. And then when that person has issues suddenly the people painting those jolly pictures dissappear, leaving the people who are realistic and actually know what they are doing to clean up the mess. Did I say they shouldn't try Linux? NO! I didn't say that. I was arguing against your FUD that Linux is "safer" which implies that it is inherently more secure, which it isn't. They are merely different Operating Systems. There is no reason Not to diversify and learn them all, but to fool oneself into thinking they are somehow "safer" is just plain foolish, and to spread the FUD that it is is doing Linux a disservice.

As to my running of Mint 10, after the release of Mint 11, I realized something.

There is no supported way to actually upgrade a existing system to a new version without wiping it. The only way I found would be to direct aptitude to the repos for Mint 11, but that was unsupported and PROBABLY not a good idea (And it's important to note that it is considered a bad idea by the same people that still thing vi is a good configuration UI). This is probably the biggest shortfall I've encountered so far, aside from having to edit config files for nearly any change I make (really takes me back to windows 3.1, that). But I do digress. to Answer the OP's questions:

Quote
is there any danger is using Linux instead of Windows?
No.
Quote
Is it more vulnerable to collecting any viruses or spyware when surfing the web?
No.

Quote
Does it come with or is it compatible with anti-virus software that commonly runs  in Windows OS?
No, and No, however there are some AV programs you can find that run on Linux, like ClamAV. Typically the Linux approach is to not run an AV at all and assume everything is safe, which has worked out in a Rube-Goldberg fashion since nobody has been bothered to write any high-saturation Linux viruses that attack desktop machines. Most of them target servers, and those that do target desktops aren't "distributed" in a way that the typical desktop user will encounter them.

Quote
Is it compatible with programs that would have run in Windows?
No, but there are almost always alternatives. If there is a Windows Program you absolutely need to use, you shouldn't be running Linux at all! WINE is not quite mature in it's support of a lot of the Windows APIs. Usually if the program is complicated enough not to have a Linux equivalent, the windows version isn't going to run on WINE. Very seldom will there be a Windows program you absolutely must have that doesn't have a windows equivalent, unless you are into some professional level stuff. (and even then, LMMS is pretty on par with FLStudio, and even (IMO) somewhat easier to navigate). Anyway, to summarize- No, it's not compatible with programs that run on Windows. But you won't need them, since there are Linux equivalents.

Quote
My laptop has Windows Vista 32-bit. Could I expect any clashes or issues with the hardware since the laptop was intended for Windows OS?
I wouldn't say so. But it depends on the distro you choose, as well. I would suggest trying several, and seeing which works best for you. Ideally via the method geek-9pm noted, via a LiveCD of the distribution. This way you can see how well it works for you, bearing in mind that it will of course run much faster of your HD than from the disc.BC_Programmer, This is one of those times I agree with you. 
Put simply
Linux is not Windows. And vice versa.

Personally, I have been using Linux long before many others. I I got deeply involved in it. As I recall, I used Red Hat version 5 or 6. Don't remember.  At the moment, I can  use Windows XP on a Dell laptop because it came with Windows XP. It also have Vista and Linux Mint on it.

At the moment, I know longer have the Linux on the hard drive. There are some issues doing a triple boot selection for XP, Vista and Linux. But I can always boot the "Live" version whenever I want.  I have one version on a USB flash drive.

There are a number of reasons for a preference of one OS over another. And they go beyond the technical details, The concerns becomes more conflicts of perception and objective.

OP, don't this all the ranting discourage you. Learning something new to you can be a happy experience.  Give Linux  a try. From your own perspective. Quote from: Geek-9pm on October 05, 2011, 01:26:54 PM
There are a number of reasons for a preference of one OS over another. And they go beyond the technical details, The concerns becomes more conflicts of perception and objective.

Personally I find people who are zealots for any OS (whatever it is) an utter bore. I know that computers, cars, planes, weapons, etc can have a kind of "TOYS for boys" fascination for a certain type of (generally male) personality. I like railway engines myself. But the people who get obsessed with, and zealous over, software such as operating systems or text editors or programming and scripting languages really get my goat. The most severe cases probably have some kind of medical condition or other, get-a-life-itis or maybe something else that they take Adderall for.

Quote from: Salmon Trout on October 05, 2011, 01:57:31 PM
Personally I find people who are zealots for any OS (whatever it is) an utter bore. I know that computers, cars, planes, weapons, etc can have a kind of "toys for boys" fascination for a certain type of (generally male) personality. I like railway engines myself. But the people who get obsessed with, and zealous over, software such as operating systems or text editors or programming and scripting languages really get my goat. The most severe cases probably have some kind of medical condition or other, get-a-life-itis or maybe something else that they take Adderall for.



So very true.
109.

Solve : Redhat 9 hungs during booting.?

Answer»

Hi everyone, i just installed Linux Redhat 9 on my machine with xp already installed. They are on separate partitions. After the installation, everything seems to work fine and i decided to restart the system only to have the Redhat hunging during bootup. It can hung for all you can think of without displaying anything and portraying a dark screen.
Any help to resolve this would be much appreciated.Looks like your using incorrect video driver. What GPU does your system have and what driver did you select when installing RH9? I am guessing you see the LIST of everything MOUNTING and then it just goes black? I had similar ISSUES with Red Hat from version 6.0 to 9.0. I have since left using Red Hat and am using Ubuntu 10.10, Fedora14, and MINT 11 these days.

I am not sure how to manually change the video driver in RH9, but when i had problems with RH, I usually just blew the install away and installed fresh and tried different drivers and resolutions until I found one that worked. Try using Generic Video Driver which I think is an option at 60hz. Unfortunately the one that worked was 800x600 and the 1024x768 would black screen on me a few years ago. I am impressed with the other modern free distros for the ability to autodetect the correct drivers on an install without issues.

Also, if your having a hard time trying to find a video driver, in the past I have used Knoppix 4.0 a Live Linux CD to boot off of and take note as to the video driver it uses since its auto detect is pretty good, works 90% of the time. So when it mounts the video driver you can write that down and hunt down the RedHat version of that driver which may not be the oem driver for your GPU, but another that works. I think Knoppix is at version 6 or 7 these days. The newer the version the better for graphics driver support with more modern systems.

If all else fails you can wrap a dos video driver for Linux, but thats complicated, and I have never done a video driver wrapping, only a NDIS2 network driver wrapped to work in Linux. And in the end I should have just bought a new Netgear NIC that had the Linux support vs forcing that old 3Com to work, but it was worth the experience and it worked, and although i spent about 3 hours working on it, I suppose I saved money but sacrificed time in exchange.

110.

Solve : unix command?

Answer»

I am trying to list just the # of users logged in not name or username just NUMBER


$ who | WC -1
not the one that does it?
is thi the RIGHT area for this post or is it to basic, i'm wondering, just becausew i'm trying this out. ALONG trying LINUX. so any suggestions would be great.
Try:
Code: [Select]users | wc -w


You might like this:

http://ss64.com/bash/

for reference.

Thank You for the web SIGHT

111.

Solve : Ubuntu: text missing on some websites?

Answer»

hello  ,

yesterday I switched from VISTA to Ubuntu 11.04 and somehow I'm sure that I will never regret this  .

I've noticed however that on some websites (only few so far) there's text missing, sentences, paragraphs: on a German forum there were all the quotes text missing, the posts were there but the Quote

boxes with the quotes of other posts
were all empty.
A wikipedia article that I had looked up had no main text at all, only the title and the language list and such on the LEFT seemed as usual.

Do you have any advice why this could be and how to fix this?

Apart form that everything works REALLY great, so far I only installed Flash plug-in for watching YOUTUBE and videos from TV stations.
I am PRETTY sure that Installing the correct locale will do the trick
I wish I knew how this is done in Ubuntu (I am only using Fedora), but you can find more information in this page:
https://help.ubuntu.com/community/LocaleWhich is your browser??.. No need to bump two month old threads...
112.

Solve : How to switch back to windows!!?...?

Answer»

Hi GUYS!
well...i have installed ubuntu 11.04 but was previously using windows 7 ultimate 64-bit and when installed the ubuntu OS in my computer i didn't replace windows
but installed it in a WAY that i  can switch to windows and ubuntu when login in.
But the problem comes when i start my computer it goes straight to ubuntu and never give me options of the OS to start up with!
Am using Hp pavilion dv7 - 4077 cl entertainment notebook!!..
please anyone who can help me!!? err... you have overwritten the master boot record to boot to only ubuntu. You should have used the Wubi installer to install Ubuntu under Windows 7 so you can dual boot without hassle.


What the Wubi installer is.
http://www.ubuntu.com/download/ubuntu/windows-installer


I would suggest this:
http://www.ehow.com/how_4836283_repair-mbr-windows.html
Repair the Windows installation so you can boot into windows 7, delete the ubuntu partition, then use Wubi under Windows which will AUTOMATICALLY setup a dual boot, considering that ubuntu is freshly installed and that you probably don't have any important files on ubuntu right now...Repairing your Windows Installation by using the Windows 7 DVD will do the job, like Transfusion had previously suggested.There is no reason to use the DVD. Install grub.What Mr Bisquit said.  The OP didn't say that the Ubuntu installation was to be nuked - this is a dual-boot scenario.  Go for Grub 2.  You may NEED to RTFM to get the entries correct for the Windows startup if it hasn't been detected automatically...GRUB should already be installed.

musamanyama, what happens if you hold down the Shift key as the computer is starting up?well...JJ 3000 i have hold shift and nothing really happened and i have try 2 download the software on the Transfusion link as he suggested and am expecting good results...i will notify 2 when it get done!!!Looks like there's a fix here:
http://forums.scotsnewsletter.com/index.php?showtopic=45226Oops!!...that did it!!..hahaa...yeah i was trying 2 mess with ubuntu terminal but never went that good!!...thanks JJ!!Never thought combination of Ubuntu and Windows is that complicated , i haven't tried it i only have before the Windows 98 and Xp it is indeed easy to use.

113.

Solve : Problem with permissions?

Answer»

I am a designer and wanted to put Drupal on my linux system (Ubuntu) just to muck around with. Which I have successfully done. But I can't add any modules to my files, I am coming up with permission problems. I have tried over and over to read what to do but am having no success I really need a walk through. I have USED the ls -al command to find the permissions which have come up as:
lrwxrwxrwx   1 root root    19 2011-02-06 07:52 sites -> /etc/drupal/6/sites
drwxr-xr-x   7 root root  4096 2011-09-14 13:47 themes
drwxr-xr-x  35 root root  4096 2011-09-14 13:47 modules   
So I gather it is a permission problem but I don't know where to GO from here. If anyone can help it would be great as I am about to give up.
It's a file ownership problem.  Your web server won't be running as root (at least I hope not!).  I think the Apache user is WWW-data on Ubuntu, usually.  From the same directory, you might try:

Code: [Select]chmod - R www-data:www-data *

Does that help?No such file or directory. I can't find any www folders anywhere either...You wouldn't get that error message if you typed the command exactly as set out above.

114.

Solve : X keeps crashing and locking up the terminal?

Answer»

I'm running a VectorLinux box here, and X crashes every now and then. However, when it crashes, the console (physical console, as in keyboard and monitor) lock up, so I can't change to a text console. I am able to log in still through SSH, however.

I need to be able to recover from this without rebooting. Preferably, I should be able to execute a short script as root to fix it.

I do NOT have the magic SysRq compiled into my kernel.

Any ideas?

* I _am_ able to use kbd_mode to switch to XLATE, which fixes the keyboard problem. However, the display is still LOCKED up, in whatever mode my X uses.Have you checked the error logs to see if you can account for the crashing?  Seems to me that if the console is locking up, it's a driver issue.  Does VL offer a better driver for your GRAPHICS card, perhaps?

I'm assuming by "lock up" you MEAN that the Ctrl-Alt-F1 to F8 keys become unresponsive?I can't figure out what causes the crash. What's even more strange is that the most RECENT time, it 'hung up' on startup, and X kept running (though I couldn't see it or interact with it). However, even had I known the cause, I'd still need a means of recovery.

Yes, the 'lockup' is the KB being in raw mode (which is fixable using kbd_mode over SSH, or by magic sysrq if it had been compiled in), but the display remains as a full black screen, no matter if I change terminals or not (I can confirm that I can change terminals using the KB status LEDs). And X works usually (for example, right now).

I cannot say at the moment if there is an explicit driver availible for the chipset (as I'm using the built-in). I'll look into it. However, for what it's WORTH, the display is limited to 1024x768 right now, and I know that Windows 98 could use higher resolutions.

And my text terminal is the 80x25 "MS-DOS mode" (as I call it). I'm not using a framebuffer console.Might be worth booting off Knoppix or something like that and seeing how X behaves.  Sometimes the line of least resistance will be an alternative (but still lean and mean) distro.  Xubuntu might be worth a look - the Debian-based distros are pretty strong on hardware detection.Okay, I literally just got kernel panic from X. Numlock was off, caps lock and scroll lock blinking together, monitor in power saving mode. I had been updating a lot of things related to X recently (glib, etc.), so that might be part of the cause.

I have attached the full log file.

What should I go about doing?

[regaining space - attachment deleted by admin]I'm afraid I don't know what to suggest at this stage.  Sounds like you have a driver/kernel module/x module issue that, short of a reinstall, will be hard to fix.  See my previous comment though.

115.

Solve : terminal command for grub bootloader?

Answer»

I run ubuntu 10.10 and I NEED to back up the GRUB bootloader to obtain the menu LIST. I wish to RESIZE my hard drive so as to enable me to install windows xp side by side.   I have tried the command for version 9.04 but this just gives me a blank screen. any help out there ?cp /boot/grub/menu.lst /boot/grub/menu.lst_backupYou do realize that you will have to reinstall GRUB from the Ubuntu live CD. Right?

Also, if you're running Maverick Meerkat you should have GRUB2 which doesn't have a menu.lst, it has grub.cfg

Why do you want to make a backup of it anyway? You know it will change when you install a new OS right?

Check out the GRUB2 guide here:

http://ubuntuforums.org/showthread.php?t=1195275


Edit:
I just noticed OPs POST was on August 31st. Boy is my face red

116.

Solve : displaying date and time?

Answer»

i use the DATE command to DISPLAY date and TIME but I WANT it in simple    oct 29 2011date "+%b %d %y"

117.

Solve : Mini hp - OS??

Answer»

Hi everyone,
I have an HP mini 210-2000 with an Intel ATOM  CPU N455  1.66GHz , 1666 Mhz, 1 core,
1 GB ram
running W7 starter edition.
The liitle thing is slow. As far as i know this is because of its frequencies...i am not an it guy at all...
I currently run it on original w7 starter edition, it works well but it's very slow.
My question is: would i benefit from installing linux? Would the little bugger get faster? Would there be any drawbacks to having linux on it?
Thanks in advance for replies.
G. Quote

The liitle thing is slow. As far as i know this is because of its frequencies..

Yes, mostly, but your OS is probably bloated as well.

Quote
My question is: would i benefit from installing linux? Would the little bugger get faster? Would there be any drawbacks to having linux on it?

I assume that you are not gaming on that thing, so yes, I think you should. If you've never used linux before, it will take a little getting used to, but you will still be ABLE to perform the tasks you normally would, just in a different way. I would try Kubuntu or Puppy. Ubuntu is good too, but I prefer the Kubuntu interface. (Kubuntu is technically Ubuntu with a different look)I did actually game on it (poor thing had to work really hard but I no longer do that since I have another bigger pc.
Do you think the improvement ( speed and responsiveness) of it will be at least NOTICEABLE? Couldn't I have both OSs installed? It's got 2 separate hard-disks...
Thanks
G.If you ask me, (which nobody did, but I'm going to ANSWER anyway)

if you have to ask "Will Linux work for me?" The answer is probably no. And to be fair, nobody can answer that question for you, anyway. Only way to know would be to try it and see; it might, it might not.

Quote
would i benefit from installing linux?
There is no real benefit from installing Linux compared to other Operating Systems.

Quote
Would the little bugger get faster?
It might. but it might even get slower; depending on the hardware and how well it is supported, as well as how many distros you're willing to try. I'd say that whatever you do, try it with a Dual Boot with Windows 7 as you have it now.


Quote
Would there be any drawbacks to having linux on it?
Plenty.

1. You won't be able to run windows applications. While there are a lot of Open Source equivalents for many popular applications, the truth is that the vast majority of software is crap. Whether it happens to be Open Source seems to change that opinion for some people, but it's still true. WINE can be used to run many Windows Applications, but I personally feel that defeats the purpose, and also WINE just introduces it's own set of problems.


Quote
Do you think the improvement ( speed and responsiveness) of it will be at least noticeable?
Any speed improvement you see, unless you happen to choose a distro designed to be super fast and light, will not be as a result of using Linux over Windows but probably more simply the result of the Linux installation being a clean install, whereas the Windows installation was bogged down with manufacturer-installed crap. Installing Linux/FreeBSD on such a machine is far easier than getting a Windows CD to do a fresh install of Windows, though.
Just wanted to add that I tried Ubuntu 10.10 on my netbook that is running the dual-core atom CPU and it ran ok, but I had driver issues with trying to find a wifi driver. I ended up having to use a wrapped ndis driver for the wifi device to get wifi to work. Definately not something that a person new to Linux would want to be up against, unless they like a challenge.

For better performance I downgraded from Windows 7 and 1GB Ram to Windows XP Pro SP3 and 1GB Ram and its a screaming machine now vs when it was running 7. 1GB of Ram is not enough for Windows 7 to perform well... I always suggest 2GB minimum for Windows 7. Also the Intel Atom Processor line is not a speed demon CPU anyways, its a CPU that was designed to be an electron sipper for netbooks to last longer periods of time on their batteries as well as not pump out lots of heat like other processors. They are a GREEN Processor that are best suited as a non gaming CPU, and used for web surfing, work type apps that are not CPU intensive, and watching a movie through netflix etc which just about makes them break a sweat. Quote from: nixie on November 12, 2011, 03:20:06 PM


For better performance I downgraded from Windows 7 and 1GB Ram to Windows XP Pro SP3 and 1GB Ram and its a screaming machine now vs when it was running 7. 1GB of Ram is not enough for Windows 7 to perform well.

My netbook has the same specs as the OPs and it runs Windows 7 starter quite well. Of course, it's NOWHERE near  as fast as one of my desktop computers, but I wouldn't describe it as slow.


Quote from: nixie on November 12, 2011, 03:20:06 PM
Just wanted to add that I tried Ubuntu 10.10 on my netbook that is running the dual-core atom CPU and it ran ok, but I had driver issues with trying to find a wifi driver.

Really? What brand of netbook is that? I've installed Ubuntu on Acer and HP netbooks and didn't have the first problem with drivers. Toshiba Netbook is the one I had issues with wifi and linux, but I still have that wrapped driver in case I ever need it again. And yah as far as speed goes that was my comparison as well was compared to my desktop system. I'd rank the Atom processors as P4 speed equivilant even though they benchmark better than a common P4. I did squeeze out better performance by going into the bios and making the CPU run full speed vs throttled to save power.gia003, you should try a few linux distributions (like Ubuntu, Fedora, openSUSE) from a live USB stick; you can use unetbootin (http://unetbootin.sourceforge.net/) for that. Boot from the live usb stick and start exploring that distribution: see if your hardware is recognised and working correctly, perform some basic tasks and get used to it. If you like it, then go ahead and install that distribution permanently to your hard drive. If you don't like it at all, then go back to Windows; but give Linux a try at least.

Personally, I'm very confident to say that any of the distributions that I suggested above will work out of the box (= your hardware will be working fine).
118.

Solve : Tar Command Help?

Answer»

Hi there,

CURRENTLY trying to write a backup/restore script but I'm having difficulty getting the restore/extract FUNCTION to work as desired.

My directory structure is;
/root/scriptfiles/backups

with the scripts being held in:
/root/scriptfiles/


I'm currently using this command, which isn't working and need help with!

Code: [Select]tar -xvf /root/scriptfiles/backups/"$FILENAME" /root/scriptfiles/backups/"$filename" > /root/scriptfiles/logfiles/"Restore-$filename"
I'm unsure as to the syntax to USE, just a beginner.

What I'm trying to achieve with this script is to take the backed up files from the backup folder and extract them to the /root/ directory and rename of the extracted backed up directory to have "Restore-" at the start of the name.
i.e. Restore-Pictures-backup from Pictures-backup.tar

I hope this makes sence, been doing my head in for a while haha.

Thanks in advance for any guidance

EmDo the extract first and the rename second; don't try and do it all in one line.  "man tar" is your command line friend.

119.

Solve : WINE question?

Answer»

So I was thinking about replacing Windows with Linux such as Ubuntu or Fedora and use WINE for my games that are mostly Win32 based.

Is it worth making the migration to Linux with WINE to run my games or do you think it will be more of a problem trying to get the Win32 games to run under Linux? I have heard of WINE being used to run Win32 applications, but I have never used it before to know just how good it is at running cross platform software and more specifically games.

I have heard of people playing World of Warcraft the game I play the most thru Linux and using Ubuntu and they claim to have used WINE, but this was just a conversation in chat channel. My system requirements shouldnt be a problem for drivers since I am using GeForce video etc.For the most part, getting Windows games WORKING on Linux through WINE is like trying to put a diaper on an incontinent buffalo. Most of the time it's just not possible and if you do succeed you will almost always be left with a gigantic mess.LOL on the buffalo analogy. Thanks for your input on this subject. Guess I will stick with Windows since I already am running Windows, but it would be neat to sever my dependency on Micro$oft and go FREE with Linux someday. Maybe some day some group will make a SuperWINE that is less like trying to put a diaper on a buffalo for games etc sort of like a DOSBOX for Linux, but for Win32 games vs DOS. Or even better... the game manufacturers start to make games that are LINUX READY for the larger more popular distros!!!

I can see a SuperWINE type project coming to be, but cant see game manufacturers putting in the extra effort to make their games run on Linux, in addition to the additional tech support issues this would cause them in lesser profit margins.You could buy an old PC used and put Linux on it.
 Have two monitors on your desk and two keyboards. No emulation needed. You can run Windows and Linux at the same time.
Linux the left hand-eye, windows on the right.
Or vice-versa.  Quote from: DaveLembke on October 17, 2011, 02:41:00 PM

but it would be neat to sever my dependency on Micro$oft and go FREE with Linux someday.
Why do people get it in their head that Linux is the only free alternative? What about ReactOS, or FreeBSD, or OpenBSD? and honestly, the people who use those operating systems aren't hyperactive zealots which ought to make them a lot more attractive.

Quote
Maybe some day some group will make a SuperWINE that is less like trying to put a diaper on a buffalo for games etc sort of like a DOSBOX for Linux, but for Win32 games vs DOS. Or even better... the game manufacturers start to make games that are LINUX READY for the larger more popular distros!!!
There are two good reasons that popular  (I mean, things like, say, Just Cause 2, or Crysis, etc) aren't released for Linux. First, there is of course market share. A lot more people run windows, and making a Linux variant of the game makes the test matrix nearly infinite, as they now have to make sure the proper libs are installed, and they have to choose those libraries, and they have to make sure that if they need a newer version of the library some other application isn't using the currently installed older version, and if so they have no choice since Linux doesn't afaik have any support for Side by side library installations. Add to all that the fact that various distributions have different default libraries and different versions of those libraries released via their update mechanisms which could very well break any lib dependencies of something like a game, the fact that 3-D acceleration is about on par with windows 95/98, in that you have to fight with drivers and applications to  get anything but software rendering (not helped by the fact that Driver manufacturers REALIZE there is no point in fully supporting 3-D since that isn't typically what a Linux user wants to do anyway).

Linux is an awesome server OS that has a excellent CLI, but it's desktop environments leave a lot to be desired. For one thing, none of them an agree on it; Unity? Gnome? KDE? LXDE? Some might argue that it's about "choice" but it's more about Not-Invented-Here syndrome.

Linux is not a replacement for windows, and will never be. There will not be a "year of the linux desktop" in the foreseeable future. They are different Operating Systems designed by different groups of people originally to perform completely different tasks and with different design goals. Linux would be a far better contender on the desktop if it wasn't for it's community constantly resorting to blame-shifting to account for bugs or omissions, and they of course fall back on the "It's free so you can't complain" argument sometimes, or  "it's open source so you can fix it yourself". Yes, I could, but I need to software to do a job, I'm not using it because I'm bored and need a task to do.

In any case, when it comes to games, either settle for the games already available for Linux (and despite what you note, plenty of spectacular games have been developed for it, just so long as you aren't after ridiculously over-the-top graphics). Plenty of indie titles run on it just fine, although I have found that a lot of them require you to do some funky things due to conflicting lib versions. it's either that, or accept that Linux is not a Operating System that is conducive to playing games. It's an awesome Server OS, though (which always makes me wonder why there are  "Server" variants of the popular distros). My laptop is currently running a LAMP server and serves a subdomain of my website, and I can hardly tell, aside from it being generally warmer than usual.

Quote
I can see a SuperWINE type project coming to be,
No. WINE is designed to allow programs written against the windows API to run on Linux. And for that purpose, it works perfectly fine. It has a few bugs but most of those are either corner cases or programs trying to call a Windows API function incorrectly and WINE reacting differently than the Windows API function. It is not designed to allow things like DirectX to be used on Linux. That was not it's goal. It is not a "Windows Emulator" (like say WoW (Windows on Windows) on windows itself), that is right in it's name, in face (WINE Is Not an Emulator). It is a "compatibility" library, which provides Windows API services to applications that expect it, as well as PROVIDING the functionality to start those programs. There will not be a "superWINE" the concept is in fact LUDICROUS. WINE itself is a spectacular and constantly evolving compatibility shim that does what it was designed to do 99.9% of the time. To suggest that a new project will not only do what WINE does but also allow for the use of DirectX and native windows OpenGL support, Windows Audio, WASAPI, and who knows what else merely to allow people to play games for windows on Linux is just plain silly. Linux is not for running Windows Games and never should be. if you want to run windows games, you run windows or wait for a port.

Warranted, this is coming from somebody whose favourite games all run on both platforms (Minecraft, Emulation). The difficulty of course comes with the fact that newer games use the hardware to it's limit, and because each Operating System deals with hardware differently so to would the games, which would overcomplicated things.

As a side note, calling Microsoft "Micro$oft" is not cool unless you are an overweight grubby 17 year old Linux zealot whose hands have a constant coating of cheetos. Either that, or you frequent slashdot or are one of Stallmans concubines. Generally I would ASSUME any persons approach to an issue would be to find the method that provides the most flexibility and does it in the easiest fashion, particularly since for a lot of scenarios, while the Microsoft solution might cost money (let's compare say IIS to apache), it might also save money; if you already know C# but know nothing of PHP, for example, ASP.NET is going to be a lot easier to learn and work with then diving into Apache and learning PHP from scratch. Of course it won't hurt to learn PHP, but if you need that web server up "yesterday" you don't exactly have time to be poring over man pages and PHP/MySQL documentation. naturally the converse proves true, it will be faster and more cost-effective to use a LAMP server if you know PHP and nothing of C# or other .NET languages (which isn't atypical, given that Mono is regarded as "evil" purely based on it's choice of license).

What needs to happen with Linux, is they need to stop infighting about pedantic crap and arguing about philosophy and "get 'er done". You cannot sell even free software purely on philosophical merit, at least not to everybody. Essentially that is what seems to have happened with FreeBSD. How often do you hear somebody extoll the virtues of FreeBSD? Not often. But they exist. Linux zealots are the loudest to the point that it seems people feel it is the only existing free alternative, when it is neither the only one nor likely to be the best, and even if it was, one cannot know that without exploring the other options.

In a way this sort of illustrates the problem with zealotry on either side (windows, or Linux, or any of the other systems (OSX, FreeBSD). The reason is that in order to properly argue against, say, Windows users, you need to learn enough about windows to create that argument. And by the time you do, it's too late, you are now a windows user. Same with Linux. I see a lot of ignorant arguments against Linux as much as there are about Windows, In order to properly argue against  "linux users" you would need to learn about Linux, and again, by the time you do it's too late and you've become one yourself. Warranted, you can of course subjectively compare Operating Systems, but if you go in with the goal of "finding faults" with the system, you are doing yourself a disservice.


EDIT: wow, 15,000 posts?  BC, That's good stuff.
If you could just make it into smaller chunks.
Think of breakfast cereal. Make it bite size.

And Windows is not everything.
List of operating systems

Many OS in current use do not have much of a GUI. But they do usefull work in Banks, Dispatch, Government, Hospitals, Laudromats, ans so on. Quote from: Geek-9pm on October 18, 2011, 12:18:51 AM
And Windows is not everything.
It is when you are talking about modern games. it's either windows, or a console. Quote from: BC_Programmer on October 18, 2011, 12:32:34 AM
It is when you are talking about modern games. it's either windows, or a console.
Right. The game makes have a clear objective. Making money. Only a few games survive as free software.
The cost to the PC manufacture is maybe between $40 to $80 for the Microsoft Windows 7 OS. If the manufacture could do it better, they would. If selling WINE to kids was legal, they would brew it.

There is not good reason to make a 'Super Wine' emulator. Anybody can now buy a factory refurbished PC with Windows 7 64 bit and 2 GB of memory for about $250. That is a one-time investment. The games and hardware upgrades son eclipse the cost of the Microsoft OS. Expect Windows 7 to be around for seven years more or less. The games will get boring before that.

I agree with you BC. If I could find a flaw in you dissertation, I would say so. For gaming, you have to go windows. I ran into the argument years ago when I was tying to get people to go with Linux. The gamers knew better even back then.  Quote from: BC_Programmer on October 17, 2011, 08:36:52 PM
Why do people get it in their head that Linux is the only free alternative? What about ReactOS

You cannot be serious.  Quote from: Rob Pomeroy on October 18, 2011, 04:39:32 AM

You cannot be serious. 

ReactOS isn't an alternative? It isn't free? Pretty sure it is both of those.Incorrect on point one - it is not a viable alternative at this stage.  It's barely alpha. Quote from: Rob Pomeroy on October 18, 2011, 06:13:08 AM
Incorrect on point one - it is not a viable alternative at this stage.  It's barely alpha.
viable:Capable of working successfully

software being in alpha or early development has no direct bearing on it's viability. viability would depend on the task for which it needs to work successfully. ReactOS works fine for web browsing, word processing, E-mail, youtube videos/flash, winamp, even photoshop (although not CS5), which cover a wide assortment of tasks and for many people would be just fine. Of course, if they have a computer they already have an Operating System that can perform those tasks and there is very little reason outside philosophical waxings to switch to another. surprisingly Wireless in general seems to work ok as long as you have a Windows Driver for it, which was a surprise for me since no distro I tried a mere 2 years ago on my laptop was able to use it's Wireless adapter. Of course it doesn't come with a Internet Browser, but that should hardly impact it's viability (since you can install Firefox just fine).

Quote
ReactOS is an open source computer operating system intended to be binary compatible with application software and device drivers made for Microsoft Windows NT versions 5.x and up (Windows 2000 and its successors). A spin-off of a previous attempt to clone Windows 95, development started in early 1998, and has continued with the incremental addition of features already found in Windows.
...
A claim was made on January 17, 2006 by now former developer Hartmut Birr on the ReactOS Developers mailing list (ros-dev) that ReactOS contained code derived from disassembling Microsoft Windows.
...
the software development tools was restored shortly afterward. In September 2007,
... Much of the assembly code that was allegedly copied have also been replaced

From Wikipedia, the free encyclopedia
Quote from: BC_Programmer on October 18, 2011, 06:44:34 AM
viable:Capable of working successfully

Look before you go all pedantic on me, consider the difference between "viable" and "viable alternative". 

ReactOS by its own admission has such a long list of deficiencies that it is not a viable alternative to Windows for the majority of real-world cases.  That's not to say it isn't viable (meaning that it's got a future) and that's not to deny the great work the ReactOS team has been doing.  I've been watching and appreciating their slow progress for many years.

But any person expecting to be able to switch to ReactOS as an alternative to Linux or Windows is going to be quite disappointed.  Alpha software is very very rarely going to be a reasonable alternative to production software.

Once ReactOS has got to the stage that Linux was say, 10 years ago, I for one will be cheering from the wings.ReactOS Compatibility:
SimCity 3000 Unlimited 1.0
Microsoft Security Essentials 32-bit for XP
Media Player Classic (several versions)
Explorer++ 1.3.2
Opera (several versions)
OpenOffice.org (several versions)
SoftMaker Office 2006
WordPerfect Office (several versions)
WorksSuite ( Microsoft)

The above list is more that enough for many educational, light industry and home use. Anybody on a limit budget and many users would would choose or prefer  prefer using older software on a free OS.

The cost and learning curve issues can make a big difference in some applications. No one is saying the it has to be mainstream desktop.

Has the OP used both  WINE and ReactOS recently with older, cheaper Windows applications?
120.

Solve : setting up a chart?

Answer»

what is the syntax to creating columns  IE..                     name       time        dayWe need more information from you than that.that was an awful question on my part.  I am setting up a chart of the number of users logged in

who | cut -c1-8 | sort---this is my first column which displays user. I need to put a heading over I.E.       

users     time         date
joe        1:20         10/30
jack
john
               how do align the column headings to correspond to the  output                                                                                                                                      http://www.mysysad.com/2007/05/list-logged-in-users-on-system.html
this may help. I am by no means an expert on UNIX.What do you mean by "IE"?  The web browser Internet Explorer, or "that is" (i.e.)?

You might want to explorer the "-H" flag of who, which prints column headings.  You could for EXAMPLE do this:

Code: [Select]who -H | head -n 1; who | sort

For smarter processing of the output, consider using awk. QUOTE from: beginner 1 on October 30, 2011, 08:59:36 AM

that was an awful question on my part.  I am setting up a chart of the number of users logged in

who | cut -c1-8 | sort---this is my first column which displays user. I need to put a heading over I.E.       

users     time         date
joe        1:20         10/30
jack
john
               how do align the column headings to correspond to the  output                                                                                                                                     
What application are you using?  Is this a spreadsheet in OpenOffice, or what?
121.

Solve : How to send email attachments using Unix.?

Answer»

I have a script that sends multiple files as attachments. When the user receives the email, the attachments are showing but when they try to open any attachment the file is empty... Any ideas?

here is the script.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 cd $DATAFILES
 files=`ls -1 `



for i in $files
   do
      echo "--NEXT_PART_1_1036183299_109_16707"       >> $EMAIL_FILE
      echo "Content-Type: text/plain; charset=iso-8859-1" >> $EMAIL_FILE
      echo "Content-Disposition: attachment; filename=\"$i\"" >> $EMAIL_FILE
      echo " "                                        >> $EMAIL_FILE
      echo " "                                        >> $EMAIL_FILE
      
      cat $i                                          >> $EMAIL_FILE
      echo "."                                        >> $EMAIL_FILE
done

echo "--NEXT_PART_1_1036183299_109_16707"                       >> $EMAIL_FILE
echo "Content-Type: text/plain; charset=iso-8859-1"             >> $EMAIL_FILE
echo "Content-Disposition: attachment; filename=\"endofemails\"" >> $EMAIL_FILE
echo "."                                                        >> $EMAIL_FILE

#### S: is the drive assigned to handle email
 
cp $EMAIL_FILE s: Quote from: Jkeri on November 04, 2011, 12:35:12 PM

cp $EMAIL_FILE s:

UNIX has no concept of an S: drive.  Where are you trying to copy this file?According to my system architect guy, the email server for this type of application is configured on the server S: drive...    Quote from: Jkeri on November 16, 2011, 08:08:31 AM
According to my system architect guy, the email server for this type of application is configured on the server S: drive...

As Rob notes, though, *nix doesn't use drive letters. Quote from: Jkeri on November 16, 2011, 08:08:31 AM
According to my system architect guy, the email server for this type of application is configured on the server S: drive...   

Possibly you need to use Samba to ACCESS the S: drive on a different server?
122.

Solve : Need help with SMTPMAIL command?

Answer»

I want to send an attachment along with the email. The script is sending the email but there is no attachment. I cant find any HELP for SMTPMAIL

smtpmail -h 99.99.9.99 -s"direct attachment" -a file1.data [email protected]

it comes back with an error message that "mail: Unknown OPTION -a"

Anyone able to assist with this?
I don't know this command.  What OS/distribution are you using?  If smtpmail is a wrapper around the standard Unix mail PROGRAM, indeed that program does not (usually) have the ability to send attachments.  To do this at the command LINE, I would personally use mutt.  mutt HOWEVER will send via the LOCAL SMTP server, so that would need to be configured first.

123.

Solve : Beginner needs help getting a veriable from xml?

Answer»

Hello.  I'm new to *ix and am trying to pull a variable or two from an xml document.  The document is in the format:

Code: [Select]<NAME>7_3(A).mov</name>
      <description>Some description from a file</description>
      <updatename>7_3_A.mov</updatename>
      <updatepath>Dailies Released</updatepath>
      <playlist>Selects Day 5,Dailies Day 5</playlist>
What I need to do is take the value or values from inside the tags and assign them to variables.  So, for this example, I'd like to be able to set $playlist1 to "Selects Day 5" and $playlist2 to "Dailies Day 5."  The values in that xml TAG will always be comma separated and there can be any number of them.  I used grep to find the playlist LINES, but I'm not sure what OPTION is best to pipe grep's output to or how to assign it's output to variables.

There are many more lines for each item described in the xml and there will be other instances of the tag.  I'll need to ignore instances of any value already set so, for example, once I've got the values "Selects Day 5" and "Dailies Day 5" from the above example I will need to ignore any further instances of those values until the script is executed again.

Any help would really be appreciated.

Thanks!

DanDan,

If it were me, I'd haul the XML file in with a PHP script and use regular expressions to parse out the necessary information.  If you don't want to do this in your favourite scripting language, you could try getting the hang of awk, which is very good at this kind of job.

Code: [Select]man awk
or, preferably,

Code: [Select]info awk
(where available), for more details.

awk is reasonably simple to learn initially, ESPECIALLY if you're already familiar with regex, but a bit of a swine to master.

124.

Solve : Unix Date Format Question?

Answer»

Modify date-month program to CONVERT the output from the command "date" to
become the following format  like the example below :

$date
Tue April 1 23:30:21 EDT 2008

$date | date-month-convert
4/1/2008All these questions you have posted, they are school work assignments, right?
CODE: [Select]man awk
or

Code: [Select]man sed
Sorted. Quote from: Salmon Trout on NOVEMBER 30, 2011, 12:16:40 AM

All these questions you have posted, they are school work assignments, right?

We won't do your HOMEWORK for you.  There are times that we HELP with homework, but we won't do it for you.
125.

Solve : un nesting files in folders in nautilus?

Answer»

I just bought a new MP3 player
it won't shuffle more than ONE folder at a time
I can COPY albums into a file
converting them into a single folder, with a bunch of files is time consuming

I'm on ububtu 10,10,
I've tried different players, which all respect the folder structure

I can generate a file, containing all the albums & within that the actual MP3 files
3 levels of nesting...So your portable MP3 does not shuffle the way you like? You want random shuffle? Or does the player respect a play list? Check your documentation for the player to see if it allows a global play lists.  It is NOT an Apple iPad? What brand?

Also, I don't know the standard MP3 MANAGER in Ubuntu 10.10 or are you using another?
Here is a list of POPULAR MP3 managers.
http://lindesk.com/2008/03/top-10-linux-mp3-players/
Check and see if any of these can manage your external USB player device.

126.

Solve : Unix Parent and child process Shell scripting?

Answer»

Write a parent process and CHILD process  codes to satisfy the following conditions.

Parent  executes child in background.
Parent sends a signal 16 to child.
As soon as child receives the signal,child will print parent's PID.
Then child process will SEND a signal  to parent and then exits with exit status 5.
As soon as parent receives  the signal from the child, parent will print child's PID
and then exits with status 15.This is a BAD way to approach school work.

As I MENTIONED PREVIOUSLY - we won't do your homework for you.

127.

Solve : Unix Shell scripting?

Answer»

Modify the code below so that it will process input file roster to create files for

everybody in the file. The newly created files name are the FIRST name
(eg. Guy,Warren's first name is Warren) of each person.

sed -n                                                                                         file:  mkdb.sd
            /^Hassan,^/ , /^Heep , /  {
                       s / , //p
}        $1
while
                  read NAME GARBAGE
do
             sed -n  " / $NAME/  {
              s / [^ :] * / /w   $NAME
} " $1
done
I deleted the other post which contained your personal INFORMATION (including your phone number). Quote

I deleted the other post which contained your personal information (including your phone number).

I saw that; I got the IMPRESSION they were SPECIMEN data included in the school assignment he copied and pasted.

Nobody RTFMs any more.
128.

Solve : Want to make a theme for Chrome OS (Alias OpenSuse)?

Answer»

I have Chrome OS, that is a distro of OpenSuse that I've downloaded. NOWADAYS, I WANT to MAKE my own theme for metacity, but can't understand how the files are DISPOSED between them (PNG files and resource files)...

129.

Solve : how to remove varible from a list?

Answer»

hey I am doing something LIKE following:

VAR1='1 2 3 4 5'

for var in $var1 {Need to choose the variable randomly used rand($var1) but its not working }
do
echo $var
done

now as i print the $var i need this value should be removed from the variable $var1, how to do that ?

Thanks
RG Quote from: roohi on November 28, 2011, 01:46:09 AM


var1='1 2 3 4 5'

for var in $var1 {Need to choose the variable randomly used rand($var1) but its not working }
do
echo $var
done


Solve teh problem of by using following :

Code: [Select]var1=$(echo $var1 | sed "s/$var//")
But still How can i select the random varible from the list Question is there.
Please suggest.make an array of variable in list , FIND the index of that array .
Do x=rand()%index to GENERATE the random number and with that random number go to the array element : array

This will give you the random selection for each time.

Thanks
RG
130.

Solve : Howdo i combine 2 variables into a 3rd?

Answer»

Being NEW to UNIX, i want to combine 2 values into a 3RD value

value1='-a '

files='ls -l'
for i in $files
do
      i want $value1 and $i to end up in $value3 so that my value3 has '-a filename'

done
What shell/scripting LANGUAGE are you USING?

131.

Solve : Open GL in ubuntu 10.10 not running right while using the spring engine?

Answer»

So I am attempting to run Open GL through ubuntu 10.10 and having trouble with it. I am using the spring engine to play certain games and I have had multiple problems. In the beginning, running the spring engine would cause spring to say GLX not found or something of that nature. After installing the libgl1-mesa, the game would not say GLX not found, hitting the start would do literally nothing though. Drivers for Linux are hard to find so I couldn't just update it. I did on the other hand run the application through the terminal so I could see the error. This is what I get when running the program:

springlobby

(springlobby:4176): Gtk-CRITICAL **: IA__gtk_window_resize: assertion `GTK_IS_WINDOW (window)' failed

(springlobby:4176): Gtk-CRITICAL **: IA__gtk_window_unmaximize: assertion `GTK_IS_WINDOW (window)' failed
LogOutput initialized.
Spring 0.82.5.1 (Headless Unitsync)
Build date/time: Sep 29 2010 13:07:54
Available log subsystems: ArchiveScanner, VFS-detail, VFS, unitsync
Enabled log subsystems: unitsync
Enable or DISABLE log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
Using read-write data directory: /home/seth/.spring/
Using read-only data directory: /usr/share/games/spring/
Using read-only data directory: /usr/lib/spring/
Scanning: /usr/share/games/spring/maps
Scanning: /usr/share/games/spring/base
Scanning: /usr/share/games/spring/mods
unitsync: loaded, 0.82.5.1 (Headless Unitsync)
Using read-write data directory: /home/seth/.spring/
Using read-only data directory: /usr/share/games/spring/
Using read-only data directory: /usr/lib/spring/
Scanning: /usr/share/games/spring/maps
Scanning: /usr/share/games/spring/base
Scanning: /usr/share/games/spring/mods
unitsync: initialized, 0.82.5.1 (Headless Unitsync)
unitsync: hosting
unitsync: archive checksum: /usr/share/games/spring/maps/Central_Hub.sd7
unitsync: archive checksum: /usr/share/games/spring/maps/Corrupted_Core.sd7
unitsync: archive checksum: /usr/share/games/spring/maps/Data_Cache_L1.sd7
unitsync: archive checksum: /usr/share/games/spring/maps/DigitalDivide_PT2.sd7
unitsync: archive checksum: /usr/share/games/spring/maps/Direct_Memory_Access_0.5c_beta.sd7
unitsync: archive checksum: /usr/share/games/spring/maps/Direct_Memory_Access_0.5e_beta.sd7
unitsync: archive checksum: /usr/share/games/spring/maps/Dual_Core.sd7
unitsync: archive checksum: /usr/share/games/spring/maps/Major_Madness3.0.sd7
unitsync: archive checksum: /usr/share/games/spring/maps/Marble_Madness_Map.sd7
unitsync: archive checksum: /usr/share/games/spring/maps/Palladium_0.5_(beta).sd7
unitsync: archive checksum: /usr/share/games/spring/maps/Quad_Core.sd7
unitsync: archive checksum: /usr/share/games/spring/maps/Speed_Balls_16_Way.sdz
unitsync: archive checksum: /usr/share/games/spring/maps/Spooler_Buffer_0.5_beta.sd7
unitsync: archive checksum: Kernel_Panic_4.1.sd7
unitsync: initfindvfs: SAVES/*.ssf
unitsync: findfilesvfs: 0
unitsync: initfindvfs: demos/*.sdf
unitsync: findfilesvfs: 0
unitsync: initfindvfs: demos/*.sdf
unitsync: findfilesvfs: 0
error = 2, MapOptions.lua, error = 2, maphelper/mapinfo.lua, [string "maphelper/mapinfo.lua"]:30: missing configFile argument

unitsync: error: GetMapOptionCount: luaParser.Execute() failed: error = 2, maphelper/mapinfo.lua, [string "maphelper/mapinfo.lua"]:30: missing configFile argument
error = 2, MapOptions.lua, error = 2, maphelper/mapinfo.lua, [string "maphelper/mapinfo.lua"]:30: missing configFile argument

unitsync: error: GetMapOptionCount: luaParser.Execute() failed: error = 2, maphelper/mapinfo.lua, [string "maphelper/mapinfo.lua"]:30: missing configFile argument
using configuration source "/home/seth/.springrc"
[CMyMath::Init] CPU SSE mask: 112, flags:
   SSE 1.0:  1,  SSE 2.0:  1
   SSE 3.0:  0, SSSE 3.0:  0
   SSE 4.1:  0,  SSE 4.2:  0
   SSE 4.0A: 0,  SSE 5.0A: 0
   using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Linux
OS: 32bit native mode
LogOutput initialized.
Spring 0.82.5.1
Build date/time: Sep 29 2010 13:10:01
Available log subsystems: CollisionVolume, unit, ArchiveScanner, VFS-detail, VFS, Sound
Enabled log subsystems: Sound
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
Using read-write data directory: /home/seth/.spring/
Using read-only data directory: /usr/share/games/spring/
Using read-only data directory: /usr/lib/spring/
Scanning: /usr/share/games/spring/maps
Scanning: /usr/share/games/spring/base
Scanning: /usr/share/games/spring/mods
Supported Video modes: 1024x768, 832x624, 800x600, 720x450, 720x400, 680x384, 640x512, 640x480, 640x400, 640x350, 576x432, 512x384, 416x312, 400x300, 360x200, 320x240, 320x200, 320x175
Segmentation fault (SIGSEGV) in spring 0.82.5.1
Stacktrace:
/usr/games/spring() [0x85d5a27]
[0xa46400]
# NOTE: above line shows no path -> not translating
/usr/lib/fglrx/libGL.so.1(XF86DRIQueryExtension+0x8e) [0x8b55a0]
Translated Stacktrace:
??:0
??:0
Spring crashed Segmentation fault (SIGSEGV)
X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
  Major opcode of failed request:  65 (X_PolyLine)
  Serial number of failed request:  13
  Current serial number in output stream:  14
unitsync: initfindvfs: Saves/*.ssf
unitsync: findfilesvfs: 0
unitsync: initfindvfs: demos/*.sdf
unitsync: findfilesvfs: 0
using configuration source "/home/seth/.springrc"
[CMyMath::Init] CPU SSE mask: 112, flags:
   SSE 1.0:  1,  SSE 2.0:  1
   SSE 3.0:  0, SSSE 3.0:  0
   SSE 4.1:  0,  SSE 4.2:  0
   SSE 4.0A: 0,  SSE 5.0A: 0
   using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Linux
OS: 32bit native mode
LogOutput initialized.
Spring 0.82.5.1
Build date/time: Sep 29 2010 13:10:01
Available log subsystems: CollisionVolume, unit, ArchiveScanner, VFS-detail, VFS, Sound
Enabled log subsystems: Sound
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
Using read-write data directory: /home/seth/.spring/
Using read-only data directory: /usr/share/games/spring/
Using read-only data directory: /usr/lib/spring/
Scanning: /usr/share/games/spring/maps
Scanning: /usr/share/games/spring/base
Scanning: /usr/share/games/spring/mods
Supported Video modes: 1024x768, 832x624, 800x600, 720x450, 720x400, 680x384, 640x512, 640x480, 640x400, 640x350, 576x432, 512x384, 416x312, 400x300, 360x200, 320x240, 320x200, 320x175
Segmentation fault (SIGSEGV) in spring 0.82.5.1
Stacktrace:
/usr/games/spring() [0x85d5a27]
[0xaa9400]
# NOTE: above line shows no path -> not translating
/usr/lib/fglrx/libGL.so.1(XF86DRIQueryExtension+0x8e) [0xc195a0]
Translated Stacktrace:
??:0
??:0
Spring crashed Segmentation fault (SIGSEGV)
X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
  Major opcode of failed request:  65 (X_PolyLine)
  Serial number of failed request:  13
  Current serial number in output stream:  14
unitsync: initfindvfs: Saves/*.ssf
unitsync: findfilesvfs: 0
unitsync: initfindvfs: demos/*.sdf
unitsync: findfilesvfs: 0
unitsync: openfilevfs: SidePics/SYSTEM.bmp
unitsync: filesizevfs: 1
unitsync: readfilevfs: 1
 
The Open GL problem appears to come right at the end thought at this point I'm uncertain on if it is possibly my MONITOR. It does not like fullscreen at all. Computer specs are as follows:

Intel pentium 4 running at 2.53 ghz
Ubuntu 10.10
130 GB of hard drive space
100.6 GB left
748 mb of RAM
ATA maxtor 6Y160P0 hard drive
If you want info on the motherboard just tell me. I cannot tell what kind I have just a lot of different stuff on it that would be very annoying to type.
ATI technologies inc Rage 128Pro Ultra TF
Don't know what kind of monitor. It was made by the company emachines if that helps.Does the spring engine have a mailing list that you could ask the question on?
Have you contacted the Ubuntu maintainer of the application about the problem?
Are you using proprietary drivers or the free ones?

If you think that OpenGL/GLX is the problem, then test out ANOTHER application such as Blender or k3b to see what the results are. Monitor HorizSync and VertRefresh will only affect the modes not the performance of software or hardware.
I've tried the spring engine's faq. I'll try and see if someone has anything else on they're website. Also I've tried running Google earth for linux too but it wouldn't run for reasons not CLEAR to me. Google earth generally runs using Open GL though so I've tried running a different application(Though it was so out of date I should probably try again.) Thanks again I won't be back in awhile I'll post when I can.Sorry, I have not posted back in a long time. I am almost certain it is my monitor. A program that used to work fine with my older monitor gave me the same error in less words. The program also ran using open GL. I will try replacing the monitor and seeing if that works.

132.

Solve : changing an OS on a Compaq Armada 1560m?

Answer»

I want to put UNIX BSD on it, but I can't access the BIOS and I can't boot from the CD drive.
I've tried everything I know.
The current OS is a Win98.I was caught in the same quagmire before with a Compaq n400c laptop bought in 2002.
I had to install Ubuntu, but I didn't have the CD dock and it didn't support booting from USB.
http://hugi.to/blog/archive/2006/12/23/ubuntu-pxe-install-via-windows
Network Booting the INSTALLER is what succeeded. Quote from: maxum on December 14, 2011, 03:17:29 PM

I want to put UNIX BSD on it
 but I can't access the BIOS and I can't boot from the CD drive.
I've tried everything I know.
The current OS is a Win98.

From what I've read, the Compaq Armada 1560m is a laptop:

Processor: Pentium MMX 166Mhz, 66Mhz FSB
RAM: 16MB installed, 80MB Max (EDO RAM)
HD: 2.1GB
Video: 800x600 Passive Matrix, 2MB VRAM.
OS Windows 95 With Internet Explorer 4 (is what it came with)

It doesn't possess any network capabilities as is, so Transfusions suggestion is out. Regardless of what BSD variant you choose, I doubt you'll be able to run any desktop environment, so you'll be left with the shell, probably. Can't hurt to try X.org, I guess,  but don't be too hopeful...

FreeBSD system requirements can be found here.

You would likely need the FreeBSD/pc98 distribution.

-if the system still has the stock 16MB, it won't meet the requirements of 24MB of RAM.

The only interface it SEEMS to have that you can work with to install it is the floppy drive. Also, the way to get into the BIOS is TYPICALLY F10 or F2 during startup. But, you need to have installed a piece of firmware called "ROMPAQ" or something in order to make changes to it. I cannot find any links to that software anywhere, myself.

As for installing FreeBSD using floppies, be sure to set aside an afternoon. here is the FAQ. From what I gather, you have to download the "full" FreeBSD, and then it contains floppy images which you then transfer to floppies, and use to boot the system to which you are installing FreeBSD. I'm not sure what the procedure entails after that, if I had to guess I'd say it would be able to pull the rest of the data from the CD-ROM for installation (assuming the download is in fact a CD-ROM, that is).

Good luck.
I'm downloading the pc98 version of BSD 8.2.
I hope it will work...
Thanks, transfusion!

Wait make sure your laptop REALLY has an ethernet port before you download the installer:
http://reviews.cnet.com/laptops/compaq-armada-1560-p/1707-3121_7-30578702.html
"No Networking"I'm talking about an old one.
Like, ~1999It isn't booting!
Windows 7 (which burnt it) is definitely not great.
And my Open-SUSE can't detect blank disks. Help MAY be appreciated for this. Quote from: maxum on December 16, 2011, 05:47:07 PM
It isn't booting!
Windows 7 (which burnt it) is definitely not great.
And my Open-SUSE can't detect blank disks. Help may be appreciated for this.

The system can't boot from a CD. You said that yourself in an earlier post. You would need to use the floppy disk method.It booted properly with ReactOS (which stucks in the middle of the installation). Quote from: maxum on December 16, 2011, 08:29:52 PM
It booted properly with ReactOS (which stucks in the middle of the installation).

You do know that FreeBSD's CD images aren't bootable, right? You need to use a floppy or USB drive to start sysinstall, as far as I'm aware.So I have to wait to Christmas so I would get a floppy drive?
Quote from: BC_Programmer on December 16, 2011, 08:38:44 PM
You do know that FreeBSD's CD images aren't bootable, right? You need to use a floppy or USB drive to start sysinstall, as far as I'm aware.
Didn't know.Reading the FAQ more, it seems the disc is bootable. Of course since  you said before you couldn't boot from the CD-ROM drive since you couldn't get into the BIOS... What happens when you try to boot from it? Where are my pliers?When a bootable cd is in the computer, it is asking wether I want to boot from the cd drive or not.
Quote from: BC_Programmer on December 16, 2011, 08:38:44 PM
You do know that FreeBSD's CD images aren't bootable, right? You need to use a floppy or USB drive to start sysinstall, as far as I'm aware.
So, why is the extension .ISO? Quote from: maxum on December 30, 2011, 07:09:59 PM
When a bootable cd is in the computer, it is asking wether I want to boot from the cd drive or not.
And... why can't you?

Quote
So, why is the extension .ISO?
Because it is a disc image. the .ISO extension is a disc image, it makes no provision that said disc will be bootable.Because I've first tried to boot with the normal FreeBSD 7.4 (which doesn't boot on this computer), so I was fooled up.
Next, I've booted with a ReactOS CD and it worked.
Anyway... I've got a USB floppy drive, so from now on, I can write on floppies.
133.

Solve : Google Chrome giving segmentation fault in Ubuntu 10.10?

Answer» GOOGLE Chrome used to work fine on my computer without a problem. Now, whenever I run it, it gives me this:
$ /opt/google/chrome/google-chrome %U
--2011-11-13 14:24:53--  https://clients2.google.com/cr/report
Resolving clients2.google.com... 74.125.115.100, 74.125.115.139, 74.125.115.101, ...
Connecting to clients2.google.com|74.125.115.100|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/fd/3'

    [ <=>                                   ] 16          --.-K/s   in 0s     

2011-11-13 14:24:55 (288 KB/s) - `/dev/fd/3' saved [16]


Crash dump id: 7139a7523938a339
Segmentation fault
$


Help would be greatly appreciated!!


Computer specs:
Pentium 4 processor running Ubuntu 10.10 at 2.53 Ghz
748 MB or RAM
127.3 GB or hardrive space
about 38 GB used

If you need any other information, don't hesitate to let me know.
Thanks again!What version of Chrome are you using?It SEEMS to me that Chrome attempts to perform an update, but fails.
You are currently using Ubuntu 10.10; Ubuntu 11.10 is out already, you are two versions behind. Why don't you perform an upgrade to the latest Ubuntu release first?I have the most stable version of Google Chrome that there is right now. I haven't switched to 11.10 since I'm not that enthusiastic about the Unity LAYOUT. I personally like the Gnome interface and haven't used Unity. Is there an option in 11.10 that allows you to switch to the Gnome interface? Because if there is, I would probably switch. Quote from: Roguebantha on November 21, 2011, 12:47:51 PM
I have the most stable version of Google Chrome that there is right now. I haven't switched to 11.10 since I'm not that enthusiastic about the Unity layout. I personally like the Gnome interface and haven't used Unity. Is there an option in 11.10 that allows you to switch to the Gnome interface? Because if there is, I would probably switch.
Hello,
have you ever considered using KDE or XFCE as your main desktop environment? These are available with kUbuntu and xUbuntu. You can download a live cd, try it and see if you feel comfortable with these DEs.

Also, I have to tell you that Unity is based on GNOME, but it looks a lot different Do you think that 11.10 will FIX my problem?
134.

Solve : How do I download using Linux??

Answer»

I tried to download Yahoo Messenger 11, Avast Antivirus, Malwarebytes, but this is what comes up.


Blocked: wine start/unix

The file is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run.

Any assistance would be appreciated.
Quote from: bravofan71 on October 18, 2011, 08:36:02 PM

I tried to download Yahoo Messenger 11, Avast Antivirus, Malwarebytes, but this is what comes up.

Are you trying to get those programs to run on your Linux computer? Why? I mean... why would you need that STUFF?

What distro are you using?Try MAKING sure you download the LINUX version (if there is one) of any program you want to run.  You cannot expect Windows programs to run seamlessly (or at all) on Linux, or vice versa. Quote from: Rob Pomeroy on October 20, 2011, 07:13:52 AM
You cannot expect Windows programs to run seamlessly (or at all) on Linux, or vice versa.

I'd go so far as to say that if you are trying to run any windows program on Linux at all (and FEEL there is no "alternative"), it might be a good time to reevaluate why you are using Linux.Here is a good place to start. 
http://lifehacker.com/5590624/lifehacker-pack-for-linux-our-list-of-the-best-linux-downloads Quote from: BC_Programmer on October 20, 2011, 01:15:47 PM
I'd go so far as to say that if you are trying to run any windows program on Linux at all (and feel there is no "alternative"), it might be a good time to reevaluate why you are using Linux.

Good call, but possibly a user at this level is not attempting a paradigm shift... Quote
Avast Antivirus, Malwarebytes, but this is what comes up.

You don't use that on Linux. That's part of the reasons for using Linux. Quote from: Linux711 on October 26, 2011, 07:34:41 AM
You don't use that on Linux. That's part of the reasons for using Linux.

That's hardly a reason to use Linux. It's just FUD to try to get people to use it. Quote
That's hardly a reason to use Linux. It's just FUD to try to get people to use it.

It's not FUD. You don't need that software on Linux because windows malware doesn't work on Linux. That's not FUD, that's a fact. Quote from: Linux711 on October 26, 2011, 08:04:16 AM
It's not FUD. You don't need that software on Linux because windows malware doesn't work on Linux. That's not FUD, that's a fact.

No. Linux malware works on Linux. There has not yet been a widespread Linux malware threat of the type that Microsoft Windows software faces; this is commonly attributed to the malware's lack of root access and fast updates to most Linux vulnerabilities. The number of malicious programs — including viruses, Trojans, and other threats — specifically written for Linux has been on the increase in recent years. Linux fans frequently deride Windows as being malware-ridden, while claiming their favorite operating system is free from such threats. That simply isn't true. Linux users who believe they can't be infected by malware are simply wrong.

Quote
No. Linux malware works on Linux.

Did I say it didn't? I said windows malware won't and the MAJORITY of malware is written for windows. Quote from: Linux711 on October 26, 2011, 01:37:15 PM
Did I say it didn't? I said windows malware won't and the majority of malware is written for windows.

So are you saying that statistically a Linux MACHINE is safer?
Yes. It is not safer by design, but because it is less popular. Quote from: Linux711 on October 26, 2011, 01:48:03 PM
Yes. It is not safer by design, but because it is less popular.
That's a good point, but I doubt that this is the main reason that Linux is safer than Windows. Quote from: nickgr5 on October 26, 2011, 03:57:38 PM
but I doubt that this is the main reason that Linux is safer than Windows.

Because it's not. And using the word "safer" is an ambiguous weasel word that takes on any number of definitions to serve the purposes of the person making the claim. Portable goalposts, really.
135.

Solve : WINE?

Answer»

When I try to open some windows programs in ubuntu by using wine, This message comes in terminal..."wine:install windows version of Mono to run .net executables" what should i do?? please help me... Quote from: shimnas on January 01, 2012, 11:32:26 PM

When I try to open some windows programs in ubuntu by using wine, This message comes in terminal..."wine:install windows version of Mono to run .net executables" what should i do?? please help me...

Don't run those programs in WINE because they aren't Windows programs, but rather .NET programs.

Make sure you have Mono installed, though. I THINK they removed Mono from the latest version because of some VOCAL extremists who apparently think .NET is evil or something. If you have it installed, you can (try) to run .NET applications by running Mono program.exe via the terminal.

I say try because outside trivial applications, .NET applications have to be written with the expectation that they will be run on Mono as well as the Windows CLR.

Either that, or you could install the Windows Version of Mono, but that would be a bit weird, SINCE then you are going through two layers of INDIRECTION; first you have the Windows build of Mono running through WINE, and then you have the .NET application running through the windows build of mono. And generally speaking you aren't going to get much more compatibility out of Mono by running the Windows version.
136.

Solve : UNIX QUESTION?

Answer»

$more TEL grep "^$1" <<-END
catherine 1234 567 890
marilyn 2345 678 901
susan 3456 789 012
christine 4567 890 123
 END
 $ tel caThis is you phone book?  Quote from: Geek-9pm on November 29, 2011, 09:42:50 PM

This is you phone book? 

His HOMEWORK

Quote from: Salmon TROUT on November 30, 2011, 12:17:27 AM
His homework
Please, do SAY it if it is.
137.

Solve : Best Linux of 2011. -What??

Answer»

Quote

The best Linux distro of 2011!
 August 4TH 2011
Fedora, Mint, Arch, Ubuntu, Debian and OpenSUSE go head-to-head - we've dropped the six most popular Linux distributions of the day into a cage fight for your affections. Read on to discover which distro comes up top for installation ease, customisation, performance, security and more. Which flavour of Linux gets the gold medal? You might very well be surprised, so read on for all the juicy details...

http://tuxradar.com/content/best-distro-2011

How can that be! Do you agree? Who even cares?
Just because something is popular it does not make it best. Wow. that is immensely stupid.

EDIT:

let me explain.

The problem, I see, with many Linux distributions is that they are constantly comparing themselves with one another "we have feature X like distro Y" type stuff. That's the wrong way to go about it.

Consider the people who use the distribution as if they were "customers"; and really, they are; they are spending their time on your product. In that sense, you should be listening to your customers, not to your competitors. If a customer wants Feature X like it exists in distro Y, they will let you know. If they don't, you'll have saved yourself development time to spend on the things they do want.

Also, a lot of Linux distributions seem to be in the same wide market of being a "general purpose desktop". But how many try to forge a niche? Forging a niche that is designed  for what about 10% of users wants means you'll end up getting that 10%, and your competitors fight over the remaining 90%. For example; Chrome OS is basically a niche distribution, it is a relatively limited environment designed specifically for web access. Google learned this by looking at it's prospective customers, and what they needed, and only then comparing those needs with what was available. They attempted to corner it. the constant complaints about Chrome OS not being a good environment for a desktop- they are true, but they miss the point. It's not supposed to be a replacement for your standard Windows, Linux, or OSX desktop- it's cornering a SMALL market segment, and the fact is that the people complaining about it do not matter because they aren't part of it.

Software is about what your customers want, not what your competitors give.For me, there's no "best distribution". Each one has it's advantages and drawbacks. The good thing about Linux is that there's the ability to choose, so that I can select the distribution which best suits me. Anyways, we should start thinking like we are part of the same community, no matter which distribution we are using; then we will understand that every distro is to be respected.Anyway, only developers/programmers can find themselves in a Linux system. It is too complicated! Compare the number of file of any Linux system with any Windows
os. Linux have like ~ 2000 files and windows have ~ 300 files.
And Linux software is hard to find.


If you're not a software specialist, take Windows or Mac. Quote from: maxum on November 19, 2011, 05:12:20 PM
Anyway, only developers/programmers can find themselves in a Linux system. It is too complicated!

Oh really? My parents are in their 60s and their computer runs Linux. They had never had a computer before about two years ago. They asked me if I could give them one for emails and to pay their bills online. I deliberately gave them a computer with Linux so I didn't have to go over there every other week to remove viruses. They had never really used Windows before, so they didn't know the difference. Once they learned how to use their computer, they got along just fine with it. Don't get me wrong, I still get calls from them asking how to do this or that, but they took to it very EASILY. So, it's not just for programmers, it can also be for retirees with no prior experience using computers.

Quote
And Linux software is hard to find.
I disagree. By using repositories, they've made it very easy to find software, easier than windows by far. Quote from: maxum on November 19, 2011, 05:12:20 PM
Compare the number of file of any Linux system with any Windows
os. Linux have like ~ 2000 files and windows have ~ 300 files.
This is downright wrong. My Windows folder on this computer has 102,467 files. A somewhat clean install of XP has around 4 thousand or so files in the windows folder; and that isn't counting the other folders it makes, for user profiles and whatnot. The number of files a system happens to contain isn't really relevant to how easy or difficult it is to use. After all, if  that was the case, the easiest computer to use would be one with nothing on it at all.

Quote
And Linux software is hard to find.
That's just silly. It's all right there in the Package Manager. The downside being that the VERSIONS in the package manager are often far behind the latest versions. But there is a package manager. What I think confuses people is that most Linux programs have to be distributed as source, and I have to agree that ./make install, ./configure, ./make are a bit less user-friendly than just having an installer program (which appears to be somewhat atypical when it comes to Linux applications outside package managers, of which there are almost as many flavours as  their are distros.)

Quote
If you're not a software specialist, take Windows or Mac.
That is just silly. People use Linux if it fits their needs.
The nlink below is usefull.
And les polemic. And more logical.
Linux Distributions: How to Choose One

Quote
Red Hat Linux has been around for a while and has acquired a reputation for consistency and reliability. It may not be the easiest to use or the most cutting-edge distribution, but it provides the type of high-quality support that is valued by companies, which made it the de-facto standard in corporate America.

Quote
Knoppix provides an excellent run-from-CD solution, with its powerful hardware detection features and pain-free set-up. If desired, the system can be optionally installed on the hard disk to improve performance. It also comes with plenty of software.

~~Close my foodtrap next time~~I prefer Knoppix myself http://www.knopper.net/knoppix/index-en.html Quote from: kimsland on November 28, 2011, 06:01:40 PM
I prefer Knoppix myself http://www.knopper.net/knoppix/index-en.html

Isn't Knoppix mainly just meant to be used as a live CD though? Have you installed it on your hard drive?Once for about an hour or so.
Ended up removing it and sticking to the 'LiveCD'
Subject was 'Best Linux', hope that included BootCDs as well. Quote from: kimsland on November 28, 2011, 06:30:03 PM
Subject was 'Best Linux', hope that included BootCDs as well.

Sure. I guess those count.

Why do you prefer Knopixx over other live CDs?I actually created my own personal one.
It has the Boot part and a Windows gui menu part (for autorun inside Windows)
It took me months to make! peeerfectly.

But if I suggest to users to download a BootCd I always recommend, easy to use, knoppix.I'm using Open SUSE.
What I was SAYING lately is:
1- A bad file number evaluation.
2- Difficulties getting started with it, since I was an MS-DOS user.
Quote from: maxum on December 10, 2011, 07:56:08 PM
What I was saying lately is:
1- A bad file number evaluation.
What does this mean? (if it's about the number of files in the Operating System, that's a moot point since it both doesn't matter and is hardly inconsistent with other Operating Systems)
138.

Solve : Building an Arduino board?

Answer» Arduino is open source, so I think it would be better to post in this section:
So, I was thinking about building my own Arduino. I think I'm going to save some money If I don't buy a pre-built Arduino, and I'm also going to enjoy constructing it. I've seen a few videos on Youtube on how to build the PCB board, but I would like some more info before going to try it out.

What should I do first? What about selecting good materials to work with (like capacitors, LEDs, ETC.)? What would you recommend? Anyone experienced on this?

Thank you in advance.Arduino board is an open source USB audio card.
See if somebody already has the PCB ready to build. Doing your own PCB is a big drain on your time. Been there.

Buy your parts from a new parts dealer. Avoid the surplus dealers. The price is almost the same
For International customers, Jameco in California is among the best.
www.jameco.com
Digi-Key is good.
www.digikey.com
Locally, you can find regional stores in your area.
But do not buy parts from Radio Shack. Except batteries.

And Newark is good. Did you know they have the board ready to go for about $25 on-line?
http://www.newark.com/jsp/search/productdetail.jsp?SKU=13T9285&CMP=AFC-GB100000001
Quote from: Geek-9pm on December 10, 2011, 02:39:55 PM
Arduino board is an open source USB audio card.


Not even closeThanks people. Well yeah, it's not an audio card, but anyway.

Would you also recommend buying parts from eBay? There are many sellers (with positive feedback) who offer parts and they also look very cheap, but I'm not sure about the quality. Quote from: nickgr5 on December 11, 2011, 06:00:15 PM
Would you also recommend buying parts from eBay? There are many sellers (with positive feedback) who offer parts and they also look very cheap, but I'm not sure about the quality.

It probably depends on the level of support you require.  I imagine if you're doing a fairly detailed PROJECT, having someone geeky to talk to at Maplin/wherever would be a big plus.No, I would not recommend buying parts from eBay. Unless the vendor has a very good reputation and has added value to the purchase such as addition instructions  and hand holding.

Arduino - HomePage
http://www.arduino.cc/

It is a micro controller suitable for telemetry and automation. It could be used for running your model train set. Or controlling the air conditioning units in HOTEL rooms. Or almost any  task thing that needs full automation.

The gadget sells for $25 and is a good introduction to micro controllers if you want to build it yourself.

And it is not and Audio device. I have no idea why I said that. I am STILL thinking of some lame reason and can't find any.

If you find an active forum for it, let us know. Or enter it in the CH  you-brew computer club. It qualifies and a home-built computer.

If you NEED some free help with machine code, come back here. CH has some of the world's best low-down programmers.
Got my answer, thanks a bunch. I'm marking this as solved. It would be a good experience to at least attempt to build your own.
139.

Solve : Help with awk and sed?

Answer»

Beginner here.  Trying to get certain lines from an xml file to print with awk and/or sed and I need help.

I have an xml file like this:

Code: [Select]    <item id="26141427">
      <properties>
        <name>233D_camB_take02.mov</name>
        <path>/Dailies Released/VT096_DAY41_2011_10_27</path>
        <description>HI  CU AARON PREPPING CAMERA</description>
        <status></status>
        <approved />
        <created_by id="20184437">
          <name>Movie</name>
        </created_by>
        <created_timestamp>2011-10-28T21:04:51Z</created_timestamp>
        <modified_by id="17929743">
          <name>Some dude</name>
        </modified_by>
        <modified_timestamp>2011-10-31T14:59:54Z</modified_timestamp>
        <width>1280</width>
        <height>720</height>
        <timebase>24</timebase>
        <mime_type>video/quicktime</mime_type>
      </properties>
      <attributes>
        <attribute key="Camera">B</attribute>
        <attribute key="Description">HI  CU AARON PREPPING CAMERA</attribute>
        <attribute key="End">16:40:32:00</attribute>
        <attribute key="Name">233D-2B</attribute>
        <attribute key="Notes"></attribute>
        <attribute key="Scene">233D</attribute>
        <attribute key="Shoot_Date">10/27/2011</attribute>
        <attribute key="Shoot_Day">41</attribute>
        <attribute key="Start">16:37:52:00</attribute>
        <attribute key="Take">2</attribute>
        <attribute key="Tape">VT096</attribute>
      </attributes>
      <tags />
      <notes />
    </item>
What I need is to print the lines:

Code: [Select]    <item id="26141427">
        <name>233D_camB_take02.mov</name>
        <attribute key="Name">233D-2B</attribute>
In the end I need this in a document:

Code: [Select]item id="26141427"
233D_camB_take02.mov
233D-2BFollowed by a blank line and then the next item.  There are multiple items in the document.

Some things to NOTE, there MAY be multiple tags but I only need the ones with the string ".mov" present.  That string will always be present in every item but will only be present once in every item.

However, as can be seen in the example above, there may or may not be other lines like movie and Some dude.  These need to be ignored.  So while the other entries I'm looking for can be found by searching for their tags, it is probably better to find that entry by looking for the ".mov" string.

Also, there may or may not be a some value entry.  If it is there, I need it.  All other tags need to be ignored.

Lastly, because each item may or may not have certain entries, this cannot be done by a line number algorithm but needs to be done by search for patterns.

So, in summary:

- Will always be present and will only be present once per item.  I need the output: item id=123456
something.mov - Will always be present but only once with the ".mov" string.  May or may not be present with other strings.  I need the output: something.mov.  Other instances should be ignored.
something May or may not be present.  If it is there, I need the output: something

What I have so far is this:

Code: [Select]sed -n '/<item id="/,/>/p' marcherdailiescopy.xml |
awk '{sub("<properties>",""); print}' |
awk '{sub("<",""); print}' |
awk '{sub(">",""); print}'
My first problem is that the sed command returns the item id but also returns the tags ans the next tag followed by the next item like this:

Code: [Select]    <item id="27385774">
      <properties>

So I'm using awk to strip out the EXTRA strings and characters there, but I know there is a more efficient way to do this.  I also don't know how to get awk or sed to grab the strings I need in ORDER so it places them together.  I can get:

item id
item id
item id
...
...

value.mov
value.mov
value.mov
...
...
...

But I need:

item id
value.mov
name (if it is there)

item id
value.mov
name (if it is there)

...
...

I also don't know whether it would be more efficient to delete everything other than what I need or grab only what I need.  Any help would be Kool and the Gang! 

Thanks,

DanI should also add that each item will follow the format:
Code: [Select]<item id="123456">
a bunch of tags and values
</item>Try something like this

Code: [Select]grep '.mov|item_id|attribute key="Name"' xmlfile
You will get the required lines.

Then use sed to extract what ever the data you need.That worked!  Thanks so much.

140.

Solve : Ubuntu 7.04?

Answer»

Hello everyone, I just need help on how to run my Ubuntu 7.04 CD in my Windows 7 Ultimate 64-bit.

I did that before way back in 2006, and I forgot everything. I just wanna browse/re-explore again its GUI and browse Internet using Ubuntu. Can't find any instructions in GOOGLE also.

These are the instructions I found in the CD cover:

  • To use Ubuntu as a Live CD, put this CD in the CD drive and turn on or restart your computer.
  • To install Ubuntu, run the Live CD and double click on the "Install" icon. The default installation will erase all existing software and data from your computer.

I tried the first instruction but gets me in something like a command WINDOW and there's no any GUI.

My system is currently in Windows 7 Ultimate 64-bit and Athlon 64 X2. Any advise will be highly appreciated. Thanks in advance.Did you have the same computer in 2006?
Lots of things change in six years. 
The first tithing to try is a newer version of Ubuntu.
Ubuntu 12.04 LTS (PRECISE Pangolin) Daily Build
Quote
PC (Intel x86) alternate install CD
    For almost all PCs. This includes most machines with Intel/AMD/etc type processors and almost all computers that run Microsoft Windows, as well as newer Apple Macintosh systems based on Intel processors. Choose this if you are at all unsure.
Note that you have to burn it to a DVD, not a CD.Yah, you're correct. Lots of things change in six years.  I think I know now the problem, my current system is in a 64-bit processor. I'll give it a try. Thanks man! I'm confused now. I choose 64-bit PC (AMD64) alternate install CD and burned it (Ubuntu 12.04 LTS (Precise Pangolin) Daily Build) already in DVD. I boot it up but not quite sure if I'm doing the correct steps. Can't find it also in their website.

I found a Wubi installer. This a different way to install Ubuntu. But the problem is I need to re-download again Ubuntu.

My goal is: I want to run this Ubuntu DVD without flushing/erasing my current OS Windows 7 Ultimate 64-bit.

What's the next step?First you boot then regular x86 distro  in the 'live' or 'demo' mode.

Yes, you can also install Ubuntu inside windows. For many users this is the best trad-off. Does not require changing the  Windows 7 partition.

Do not use the version intended for the MAC PC. You have a AMD machine. You do NOT have a Athlon64, Opteron, EM64T Xeon.

If you still have problems, come back here.
Sorry, I don't UNDERSTAND this: Quote
First you boot then regular x86 distro  in the 'live' or 'demo' mode.


I boot up my Ubuntu DVD again but I'm stuck-up in the partitioning method.
  • Guided - Resize SCSI3 (0,0,0), Partition #3 (SDA) and use freed space
  • Guided - Use entire disk
  • Guided - Use entire disk and set up LVM
  • Guided - Use entire disk and set up encrypted LVM
  • Manual

If I choose #1, then I don't know what's the next step.
If I choose #2, #3, or #4, all data on the disk will be erased.
I don't know how to do manual.
(Sorry I'm newbie in Linux)Did you grab the latest version of Ubuntu yet?

How did you partition your harddrive under Windows and is it a SATA drive? Quote from: Raptor on January 15, 2012, 05:48:34 AM
Did you grab the latest version of Ubuntu yet?
Yes. Got it here: Ubuntu 12.04 LTS (Precise Pangolin) Daily Build

Quote from: Raptor on January 15, 2012, 05:48:34 AM
How did you partition your harddrive under Windows and is it a SATA drive?
1 Hard drive partitioned to 3
1st is the System Reserved
2nd is the Local Disc (C:)
3rd is for data (E:)Okay, if you choose option 1 everything on that partition (E: under Windows) will be erased and repartitioned to suit the needs of Linux.
Your bootloader will also be changed to GRUB. Windows should remain and you'll be able to boot from by choosing it from the list that is shown before the OS loads.

The other options will erase everything. Except for manual, which allows you to partition the disk yourself. Neither are recommended.

If you have no experience with Linux I think you should play it safe and either use a separate hard drive or a different computer if your Windows installation is important to you.
For those new to using GNU plus Linux systems, here are best recommendations:
1 . Use only the "live" OS from the DVD. It works very good.
OR
2.  Use the Linux bistro  inside a Windows folder, no change to partitions. http://ubuntumanual.org/posts/152/how-to-install-ubuntu-inside-windows
OR
3.  Just install on a secondary drive. First disable the primary drive. Then later r BIOS to switch system. Very simple. Works perfectly. Linux does great even on an old 40 GB PATA drive.

edit:
Can not find a guide to 12, here is a 11,10 guide:
http://ubuntumanual.org/guides/435/how-to-install-ubuntu-11-10-oneric-ocelot-an-ubuntu-installation-guide
Quote from: Geek-9pm on January 15, 2012, 01:47:41 PM
For those new to using GNU plus Linux systems,
Nobody of importance actually calls it GNU/Linux. And there are very good reasons why. Quote from: geek hoodlum on January 15, 2012, 06:14:43 AM
Yes. Got it here: Ubuntu 12.04 LTS (Precise Pangolin) Daily Build

That's still a beta. It's still in development. You should get 11.10 or 11.04.


Quote from: geek hoodlum on January 14, 2012, 09:05:06 PM
My goal is: I want to run this Ubuntu DVD without flushing/erasing my current OS Windows 7 Ultimate 64-bit.

The best way to do that would be to run it in a virtual machine. I use VirtualBox.

If you still want to partition your hard drive, that's fine. Go here:

http://www.ubuntu.com/download/ubuntu/download

Under step 4, click on Show me how.

Quote from: BC_Programmer on January 15, 2012, 03:44:13 PM
Nobody of importance actually calls it GNU/Linux. And there are very good reasons why.
Yes, I am nobody of importance. So I can call it GNU + Linux all day long and ignore the reasons for why not.
Quote from: Geek-9pm on January 15, 2012, 10:03:18 PM
Yes, I am nobody of importance. So I can call it GNU + Linux all day long and ignore the reasons for why not.

GNU was the ascribed name given by the FSF to their as-of-yet unfinished project to create a "free Unix"; The core components of that described OS at the time were a kernel, a basic text editor, a command shell, and a C compiler. These came in the form of Ed, BASH, and GCC. However, the kernel, known as HURD, has not yet materialized. Or maybe it has. Just not in a functional form.

Even if we account for the many other things the GNU project contributes to most Linux distributions, (and there are a lot); the sum of all those parts is not made up of only the Linux Kernel and those GNU components; there are significant pieces shipped with almost any Linux distro that have nothing to do with the GNU project. Some of them aren't even licensed under the FSFs preferred licenses(the horror). The big one being X11, which isn't from GNU nor is it GPL; the Qt framework isn't GNU and isn't GPL and is included and used quite a lot within Linux. Many of the portions used in most linux distributions in fact use BSD-licensed products, such as the init daemon; Should we now call it GNU/Linux/BSD?

Even the FSF page on the subject pulls statistics and can only come up with the stat that GNU code contributes 15% of the total size of most distributions. Truly, this is nothing but absurd narcissism. 15% of the codebase is a minority. The entire purpose of free software is that the best parts to do a specific task are used, re-used, modified, pass around and compiled into various usable operating system distributions for various purposes; or not. It's software. It's out there if someone wants it- many other packages are included in a distribution like Mint or Fedora, and most of them are essential in delivering the USER Experience. To Trivialize all of the other excellent software that goes into a complete Operating System like Fedora Core, Debian, or Ubuntu should be defined by what the GNU project claims is the largest single contributor is nothing but arrogance. The largest contributor is not GNU. It's the community.
Nice rant, BC.
Back to topic. I failed to mention how one does install Ubuntu inside of Windows.  My bad. Sorry.

https://wiki.ubuntu.com/WubiGuide
WubiGuide Introduction

http://www.psychocats.net/ubuntu/virtualbox
Installing Ubuntu inside Windows using VirtualBox
141.

Solve : Installation of drivers?

Answer»

I GOT an Asus PCI xpress 1X network CARD. I can't get the Ubuntu 10.04 to RECOGNIZE the card. Can anyone tell me how to INSTALL the drivers and get Ubuntu 10.04 to recognize the card?

142.

Solve : Need Help with Ubuntu?

Answer»

Posts: 1

Experience: Beginner
OS: Unknown


Hello,
I was going through my system (though I dont KNOW Ubuntu very well) and deleted the daemon file, thinking I would be able to reinstall it. Now, my screen goes into a Dos Mode look alike, essentially the BSOD and I can't get it to load the normal window. Can anyone PLEASE assist me? THANK you all so MUCH.
I deleted your other post. Please do not post the same question more than once. Thank you.Hold down the Shift key as the computer is starting. This will bring up the Grub boot MENU. At that menu select Recovery Mode. In Recovery Mode choose Repair Broken Packages. Thank you so much for the advice. However, it did not solve the problem. I am concerned that I won't be able to reinstall any of what I deleted. Basically what happened was, the computer's sound suddenly didn't work. Not on loading, no music, nothing. I went through the system uninstalling certain sound packages hoping it might help and then reinstall them. In the process I accidentally uninstalled the graphics card (I think) and now it's only in the dos mode-type screen and won't go to anything else. What happens when you type

startx

at the dos mode-type screen?
143.

Solve : Simple shell script?

Answer»

Hello,

I'm new to *ix.  Basically, I stumble through scripts that other people write and TRY to figure how they did things.  Right now I'm a little stumped and am hoping someone can write what would probably be a simple shell script for them.  What I need it to convert an excel doc (or tab delimited doc if excel is to crazy) into an xml format.  I know this sounds difficult, but it should be easy when you realize the format.

All I need is this format.  The first tags can read exactly as they are and do not require getting any outside info:

Code: [Select]<opening tag>
         <2ndopening tag>
                   <item=clip>
                             <attributes>

Now comes the part that REQUIRES getting info from the outside document:

Code: [Select]                                         <attribute key="value of column A">values of columns B, C and D</attributes>

The only trick would be that if the value of any columns is empty I'll need a space.  I'll need that to run until it reaches a POINT where there are no values in any column and then I'll need to close the tags from the first code part of this post.

If someone could help I'd really appreciate it.

Thanks,

Dan
What have you got so far?  And what scripting language are you using?This actually works, but it's probably obvious to a pro that a beginner wrote this.  If I could get an evaluation it would be great.  There are also a couple parts MISSING that I'm stumped on.

Code: [Select]#First, let's create the document and write in the opening tags.

touch update.xml

#Let's make the file read and write only for everyone

chmod 666 update.xml

#Let's drop in the opening tags

echo "<xml version=1.1>" >> update.xml #xml tag

echo "    <items>" >> update.xml #items tag

echo "        <item name="test.mov">" >> update.xml #item name

echo "            <Attributes>" >> update.xml #Attributes tag

#let's get rid of some special characters

tr '\r' '\n' < /users/ddow/Desktop/CLI_Workflows/test/Continuity.txt  > sanitized.tmp

awk '{sub("&","and"); print}' /users/ddow/Desktop/CLI_Workflows/test/sanitized.tmp  > /users/ddow/Desktop/CLI_Workflows/Up_All_Night/sanitized2.tmp

awk '{sub(":","-"); print}' /users/ddow/Desktop/CLI_Workflows/test/sanitized2.tmp  > /users/ddow/Desktop/CLI_Workflows/Up_All_Night/sanitized3.tmp

#Let's create our xml file

awk -F "\t" '{if ($1!=""){printf "                <attribute key=\"" $1 "\">"; for (x=2;x<NF;x++) printf $x " "; print "</attribute>"}}' /users/ddow/Desktop/CLI_Workflows/test/sanitized3.tmp >> pix_update.xml

#Dropping in the closing tags

echo "            </Attributes>" >> update.xml #Close attributes

echo "        </item>" >> update.xml #close item

echo "    </items>" >> update.xml #close items

echo "</xml>" >> update.xml #close xml

#Let's get rid of our TEMP files

rm *.tmp

#EOF
I still need the code to move the value from row B to row A if row A is empty.

144.

Solve : Belarc?

Answer»

Looking for something LIKE this to use with Linux.lsusb, lspci? HardinfoIn the olden days, we used a torch, a screwdriver and a spiral-bound NOTEPAD... Quote from: Rob Pomeroy on January 17, 2012, 04:15:17 AM

In the olden days, we used a torch, a screwdriver and a spiral-bound notepad...

And that was a LONG time AGO!

145.

Solve : Linux distro for old computers?

Answer»

hi i have a IBM Thinkpad 600 and tried alot of linux distros and they all dont work
SPECS:IBM Thinkpad 600
Intel Pentinum 2 (300MHz I Think)
CD-ROM Installed
256 MB RAM
Windows XP Worked on it.
Help plzGoogle is your friend

First few...

Linux on IBM ThinkPad 600 http://www.levien.com/tp600.html

Installation INSTRUCTIONS for the ThinkPad 600 http://www.thinkwiki.org/wiki/Installation_instructions_for_the_ThinkPad_600 including links to:

    Installing Debian GNU/Linux 5.0 (Lenny) on an IBM ThinkPad 600 Model 2645-51U
    Mandrake 10.1 on a ThinkPad 600
    SUSE 7.2 on a ThinkPad 600
    UBUNTU 5.10 on a ThinkPad 600
    SUSE 8.2 and Kanotix on a ThinkPad 600
    Fedora Core 3 on a ThinkPad 600
    Alexander Krumeichs Red Hat 7.1 on a ThinkPad 600 page
    Raph Leviens Red Hat on a ThinkPad 600 page
    Bernard Reissbergs Linux on a ThinkPad 600 page
    OpenBSD on a ThinkPad 600
    Steve Grubbs Red Hat 7.3 on a ThinkPad 600 page
    Greg Watsons Linux on ThinkPad 600 page
    John Langfords Linux on a ThinkPad 600 page

Linux on a Thinkpad 600 http://www.cs.cmu.edu/~jcl/linux/thinkpad_600.html




YAY THX
my problem is with RAM But THEY WORK!!!
(Relied off of freedos for 8 Months now!!!)VectorLinuxI have an old medion computer that had 256 mb ram&LT; I upgraded it to 1 gb and it worked wonders! check out crucial or one of the other ram CHIP sellers it is worth the cost! linux runs great! check out ubuntu is is good for beginners!Puppy Linux. . . done.

146.

Solve : OS for Beowulf Compute Cluster?

Answer»

I am currently building a SMALLER beowulf cluster (smaller than 16 nodes) and need help ditirmining a operating system for the main node.

I tried UBUNTU on the machine being used as the main, however, it failed, and i was wondering what other versions of linux would be SUFFICIENT in running a cluster.

Any help appreciated, and if you have any questions, please do ask. I don't know anything.
Here is a refer for the benefit of others.

Beowulf cluster
From Wikipedia, the free encyclopedia
Quote

A Beowulf cluster is a computer cluster of what are normally identical, commodity-grade computers networked into a small local area network with libraries and programs installed which allow processing to be shared ...
... name comes from the main character in the Old English epic poem Beowulf, which was bestowed by Sterling because the titular hero is described as having "thirty mens' heft of grasp in the grip of his hand".
... no particular piece of software that defines a cluster as a Beowulf. Beowulf clusters normally run a Unix-like operating system, such as BSD, Linux, or Solaris, normally built from free and open source software. Commonly used parallel processing libraries include Message Passing Interface (MPI) and Parallel Virtual Machine (PVM). ...
Currently there are a number of Linux distributions, and at least one BSD, that are designed for building Beowulf clusters. These include:
....
ClusterKnoppix, based on Knoppix
Kerrighed
Rocks Cluster Distribution
...
DragonFly BSD
...
A cluster can be set up by using Knoppix bootable CDs in combination with OpenMosix. The computers will automatically link together, without need for complex configurations, to form a Beowulf cluster using all CPUs and RAM in the cluster.
...
Beowulf systems are now deployed worldwide, chiefly in SUPPORT of scientific computing.
You likely already know all that. Just put it here for others to know what you are talking about.
Some of the material on the topic  is kind of old.I am curious. I found Fedora Linux, and was wondering if this version of linux would  be suitable for beowulfing. You may as well go ahead and make the leap to Unix.

http://www.freebsd.org/

You know you want to...

Here's a quick run-down on it:

http://alhabsi.net/freebsd/beowulf.xml

If you still really want to run Linux, ALMOST all of the distros you find will be fairly similar. If you want to go with fedora, go ahead. There's a quick explanation of how to set it up here:

http://tldp.org/HOWTO/Beowulf-HOWTO/
147.

Solve : An odd output for the terminal upon installing file: rewriting boot img???

Answer»

My computer just recently came up with an update to the mesa GL program. This was not odd except that the button to select it was grayed out, which did not allow me to select it for upgrade. I then went to the terminal WINDOW to install it manually. (possibly my first mistake) This is the output it gave me:
$ sudo apt-get install libgl1-mesa-swx11
[sudo] password:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer REQUIRED:
  browser-plugin-gnash menu-xdg libkactivities5 ekiga gnuchess-book
  gnome-games-extra-data gtali glchess libkimproxy4 libclutter-gst-1.0-0
  gnome-video-effects libkdeclarative5 libdiscid0 gnome-games cheese gdebi
  quadrapassel gnobots2 libfolks-eds25 liferea-data cheese-common libcheese1
  gdebi-core python-lxml libclutter-gtk-1.0-0 kdelibs5-dbg gnibbles
  gedit-plugins libpt2.10.2 libqt4-dbg libboost-date-time1.46.1 gnotski
  gnome-backgrounds libkrossui4 libspandsp2 libcluttergesture-0.0.2-0
  libknewstuff2-4 iagno glines gnome-icon-theme-extras gir1.2-gucharmap-2.90
  libmagick++3 libmx-1.0-2 kdebase-runtime-dbg python-uniconvertor
  libopal3.10.2 liferea gnash gnotravex libcheese-gtk20 gnect python-evolution
  gnome-contacts libkunitconversion4 kde-runtime-dbg hamster-applet gnuchess
  gnash-common perlmagick libclutter-imcontext-0.1-0 inkscape dconf-tools
  libkutils4 sound-juicer libmusicbrainz3-6
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  fglrx fglrx-amdcccle fglrx-dev
The following packages will be upgraded:
  libgl1-mesa-swx11
1 upgraded, 0 newly installed, 3 to remove and 4 not upgraded.
Need to get 910 kB of archives.
After this operation, 81.9 MB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libgl1-mesa-swx11 i386 7.11-0ubuntu3 [910 kB]
Fetched 910 kB in 8s (109 kB/s)                                               
(Reading database ... 231471 files and directories currently installed.)
Removing fglrx-dev ...
Removing fglrx-amdcccle ...
Removing fglrx ...
Removing all DKMS Modules
Done.
update-alternatives: using /usr/lib/pxpress/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode.
update-alternatives: warning: skip creation of /usr/bin/amdcccle because associated file /usr/lib/fglrx/bin/amdcccle (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/share/applications/ubuntu-amdcccle.desktop because associated file /usr/share/fglrx/amdcccle.desktop (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/share/applications/ubuntu-amdccclesu.desktop because associated file /usr/share/fglrx/amdccclesu.desktop (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/bin/amdupdaterandrconfig because associated file /usr/lib/fglrx/bin/amdupdaterandrconfig (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/bin/amdxdg-su because associated file /usr/lib/fglrx/bin/amdxdg-su (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/lib32/libaticalcl.so because associated file /usr/lib32/fglrx/libaticalcl.so (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/lib32/libaticalrt.so because associated file /usr/lib32/fglrx/libaticalrt.so (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: not replacing /usr/lib/i386-linux-gnu/xorg/extra-modules with a link.
update-alternatives: using /usr/lib/pxpress/alt_ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode.
update-initramfs: deferring update (trigger activated)
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for ureadahead ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.0.0-15-generic
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 231239 files and directories currently installed.)
Preparing to replace libgl1-mesa-swx11 7.10.2-0ubuntu2.1 (using .../libgl1-mesa-swx11_7.11-0ubuntu3_i386.deb) ...
Unpacking replacement libgl1-mesa-swx11 ...
Setting up libgl1-mesa-swx11 (7.11-0ubuntu3) ...
update-alternatives: using /usr/lib/i386-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
$


I wouldn't be so worried except that I just recently tweaked Ubuntu 11.10 in certain ways that had possible errors in them such as rendering the OS incapable to booting. The instructions I got off a page I trust but I fear that RUNNING this update somehow might have done irreparable damage to my OS. I still would not be worried except that one, the "update" got rid of more programs than it installed/upgraded and TWO, created a new boot image on a seemingly inconsequential graphics package.


Computer:
Dell Dimension 4550 running Ubuntu 11.10
748 MB of RAM
Pentium IV Processor at 2.53 GHZ
Rage 128 Pro Ultra 32 MB graphics card
Maxtor Hard Drive


If there's anything else you need, please let me know! Thank you!

initrd contains insmod (amongst other things), for loading kernel modules.  My guess is that the upgrade to Mesa requires a slight change to this program.  If you're concerned though, your best bet is to take an image of your system using CloneZilla, immediately before the upgrade.  That way, you can roll back if anything goes wrong.Thank you! Got the issue fixed (though it really wasn't an issue) I rebooted my computer and all was okay. Thanks again!No problem, although I don't think I did anything!  Glad it's SORTED.

148.

Solve : Ubuntu 64 bit istallation fail?

Answer»

I know that this is a similar title to an earlier post, but is a different problem.

I am INSTALLING Ubuntu Desktop 64 bit for am AMD processor. Dell Inspiron 1526. The install seems to work until about halfway through, and it notifies me the fallowing:

"The installer encountered an error copying files to the hard disk:

[Errno 5] input/output error"

It also goes on to tell me that cleaning the disk can prevent problems, but the disk is brand new and just freshly burned. I tried burning the ISO image again to another disk, but i still have the same result.

The install worked through my Inspiron 1525 (one model number away) and i am wondering why it would not work for one computer but for the other

THANKS for reading, and thanks to any help in advance. Probably because the laser lens is dirty.

Try installing from USB. Quote from: zeroburn on February 04, 2012, 04:44:52 PM

i am wondering why it would not work for one computer but for the other

Bad drive. or combination of disk + drive
I tried cleaning just the disk, but now, after a short while after the computer boots, it just automatically turns off.
Not sure if it is just my hardware or something, but i did not touch the internals at all yet

[EDIT] NevermindI tried the cleaning, and now the disk managed to instal linex without any errors. Howeber, when it re-booted the system, it is taking a much longer time than what would be expected from myself to finally log it, but the screen stays at the login standad background. With a mouse, and that is all. What would i do next?
New information

I have sucessfully booted into recovery mode, and i can do it reliably, however, i wish to know what is preventing me from booting normally. I did a full update, with all the files the update manager gave to me, and also installed the driver for my wireless card.

Any ideas?
Have you tried logging in?The computer works just fine from recovery mode, logging in, getting on internet, installing drivers, ext. A few features i noticed are not working right, like the double monitors is not working for me in recovery. Sorry - I mean, when you boot normally (not recovery mode), have you tried logging in?Lately, it has just been getting stuck at the ubuntu loading image. But when i could log in on normal, it would leave me at a blank desktop image, and a mouse. No icons, taskbar, application dock, nothing. Quote from: zeroburn on February 08, 2012, 08:13:28 AM
when i could log in on normal, it would leave me at a blank desktop image, and a mouse.

Probably the simplest way around that would be to create a new USER profile - or did you try that already?Wow. DERP on my part. Like, mega DERP. Thanks for the help, as it seems to be working thus far
Cool.
149.

Solve : How to specify IP address for remote desktop?

Answer»

I need to find my remote desktop IP but I have been unable to do this since all I can find is my router IP and my 192.168 address. How do I specify this so that I can, for example, access it from a computer not on the LAN?You fill out your WAN address in a remote desktop client and if necessary the port number the remote server is listening on (on your network) and your router does the rest.

You might be able to test it by just FILLING out your WAN IP where you normally fill out the LAN IP.By the way, this is what I do to remote connect: http://www.techotopia.com/index.php/Configuring_Ubuntu_Linux_Remote_Access_using_SSH
Let me interject. 
FYI: There are some free PROGRAMS for remote desktop in Linux.
http://www.linuxlinks.com/article/20090529205342507/RemoteDisplay.html
Notice that different methods are used by different programs. The help of a server is NEEDED to establish a connection.
The following is a good start to understand how Remote Software WORKS. Better results are with commercial support.
http://en.wikipedia.org/wiki/Comparison_of_remote_desktop_software

150.

Solve : Shared Printers and Hard Disks Ubunto 11.10?

Answer»

Hello all. I am PRETTY new to the scene of Ubuntu and linex. I have learned much about the systems from using the OS as my MAIN operating system, but i still have some questions.

I have a 1 TB external hard disk that i have plugged into a Dell Inspiron 1525 running Ubuntu Desktop 11.10 64 bit, and i am trying to share that disk across the network, primarily to another dell Inspiron model, 1526. The network is wireless, and the two laptops are sitting in my workstation both plugged into external displays for dual monitors on each. I would like to share the 1 TB drive, but all the options i have tried thus far end in the result of me finding the shared folder on the hard drive, and when i try to connect to the folder, a popup tells me that ubuntu was unable to mount to location.
I have tried two meat methods for the sharing, but NEITHER worked. and neither i remember the names for

Secondly, i have an HP Deskjet F4180 plugged into the same Inspiron 1525 LAPTOP. through a USB connection. My question with this one is how do i share it across the network to the Inspiron 1526 that is sitting across the desk.

All help appreciated, thanks. If the external hard drive will permanently be connected, I would do the following: mount it at boot (through /etc/fstab); share it using Samba, if it's a Windows network or through NFS is it's a Linux network.