Archive for the 'Ubuntu Forums' Category



Ubuntu 10.04 Desktop i386 bootable USB image

Clonezilla does it. Arch Linux does it. A lot of other distros do it. But Ubuntu still doesn’t offer an image you can flash to a USB hard drive to make a clean installation with.

It’s true, there is a Startup Disk Creator tool that will write out an Ubuntu system to a USB connection, but you still have to get Ubuntu running to get to that point. For example, in my case I downloaded the ISO, burned it to a CDRW, booted into a live system, and then I could access the disk creator.

unetbootin is an option — and really, it’s more than just an option. That’s a fantastic program and good to have on hand no matter what system you’re using. With that you can usually spit any ISO onto a USB drive and it will start up like a CDROM. Usually.

But what would be nice is if some kind soul made a bootable USB drive, wrote out the image to a file with dd, and uploaded it. Then everyone could share in the quick download and dd it to a drive and just boot. …

Why is everybody looking at me? :shock:

Okay, here is the Ubuntu 10.04 desktop ISO for i386, flashed out to a 1Gb USB drive with the Startup Disk Creator, and written back with dd. The image has been tested on my end, but of course that’s no guarantee it’ll work as planned. But there are no customizations in place, no freaky wallpaper or third-party repositories.

Write this to a USB drive by inserting the USB stick, then checking the drive assignment with fdisk -l. Once you know the drive label, you can type

dd if=ubuntu-10.04-desktop-i386.img of=/dev/sdX

Make sure you change the X to the letter for your USB drive. And remember that anything you have on that drive is going to be overwritten. Permanently. Forever. The end.

I might be able to do this for the x86_64 architecture too, but I won’t be able to test the results, since I don’t have a machine that will boot the stick after it is written. If you decide to do the same thing and share it, please test and tell us where to get it. Cheers, all.

P.S.: Thanks to markp1989 for reminding me of this.

Let’s not make a big deal out of it

I made a big deal out of it when I started, and I made a big deal out of it when I stopped, but this time I’ll just put a note here quickly, to mark the fact that I put my moderator uniform back on yesterday. It’s been a year or so since I stepped down and in that time my workload has tapered a little bit.

I enjoy working with the staff on the Ubuntu Forums and I think I can fill out at least a few hours a week, as a volunteer service. So after an unrelated PM with Bapoumba, all the interested parties agreed, and now my name is in red again.

Yes, it coincides with the Lucid release. That is just coincidence, I swear. :roll:

Guess I better update my About page. … :)

Two unusual signs

Either someone is baiting me, or the tide has turned and the command line is regaining some prominence. Of course it probably never lost much prominence to start with, just suffered a little bad-mouthing, which no one ever died from.

But any time I spot two threads in the same day in the Ubuntu Forums — the Ubuntu forums mind you, where you’re more likely to meet complaints about the CLI than a notes of support for it — that poll its popularity or ask about X-less systems, then something is afoot.

There’s not a lot to be gleaned from a terrifically unscientific poll of command-line use, or a random callout for anyone running without X. In fact, had they occurred anywhere else — the Arch Forums, for example, or even the Debian forums — and you could probably safely overlook them altogether.

Arch Linux users, after all, are notorious command-line freaks who boast of their keyboarding prowess with screenshots of bizarre window managers like xmonad and Musca. And the elite of the elite of Debian peer down through the clouds that surround their aeries and wonder why you’re still using a mouse. Is your keyboard broken, perhaps?

I kid. I know it’s unusual to find an Ubuntu user who veers clear of X, since stripping away most of the graphical element of Ubuntu is stripping away most of Ubuntu … meaning that what’s left resembles other distros more than it resembles Ubuntu. You could call that the common denominator between all Linux systems, and it would be a warm, happy moment. :roll:

But … all things being equal, it’s nice to see some recognition of the command line, with a large percentage of that aforementioned terrifically unscientific poll going toward “daily use.” And it’s nice to hear about a few other people, in the midst of so many Ubuntu devotees, voicing a preference for such a large chunk of it omitted.

What it all means in the grand scope of things … I have no idea. ;)

In pursuit of productivity

Everyone has their own definition of productivity, and their own vision of how best to achieve it.

For my own part, I get more done by avoiding all the desktop doodads and whirligigs. I have my own faint streak of attention deficit disorder to contend with, but I would suspect that a lot of the desktop gadgets and tools that people consider essential to their day-to-day tasks … are really just stealing their attention away from the things they should be doing.

So I stand by my answer to that thread — that the most productive desktop for me has been one without any superficial layout or oddball keystrokes or hot-wired graphical arrangement or esoteric time management software. You’re free to add or subtract from just about any desktop or packaged distribution, just as you’re free to build up from nothing and fine-tune every last option. That’s the beauty of Linux.

But I still feel less is more. Take away the distractions and you will find yourself getting more done at a better pace, and if that’s what you mean by “productivity,” that’s what I mean by my answer. :mrgreen:

Forcing dpkg through configuration errors

I have been struggling with disk errors for the past few days in Ubuntu, on the 560e that I brought home exactly a week ago. This is unusual for me, unusual for the drive and (generally speaking, in my experience) unusual for Ubuntu … but opinions will vary on that last point, of course.

These were particularly disappointing though, because they damaged some of dpkg’s configuration files. Attempting to install anything spat out an error like this one. …

E: Internal Error, Could not perform immediate configuration (1) on libattr1

Google told me the package could be different between cases, but the source of the error was usually the same — some part of dpkg’s support files had been damaged. In my case it was probably /var/lib/dpkg/status or one of its brethren. Replacing it with status-old was one option, but that didn’t seem to fix anything.

What did work was forcing the obstinate packages to install in spite of dependency issues, and then recovering the faulted packages with apt-get. In other words:

dpkg -i --force-depends libattr1_1%3a2.4.43-3_i386.deb
apt-get -f -y install

A bit brutish, but it got the job done. Eventually I was able to install enough packages and cover enough dependencies to continue installing … whatever it was I was installing. I had forgotten by this point. ;)

I’m hypothesizing here, but I suspect that the errors come about in part because of the hardware arrangement of the 560e. No OS I have put on it yet has been able to shut it down completely. The power button is a sliding switch that presses against a spring, which either activates or kills the machine. My only guess is that for some reason, when the shutdown message appears, the drive still hasn’t properly synced, which is triggering errors. Of course I’m not an expert, so it’s only a guess.

One other small point of editorializing — aptitude has fallen in my favor, in the year or so since I drifted away from it. I used to be rather enamored with the Debian-slash-Ubuntu packaging system and how well it handles the tens of thousands of dependencies and interrelationships so well. But coming back to it after a year or so and having spent most of that time with tools like pacman and yaourt, ports and prt-get, or even tazpkg, aptitude is a sluggish toad. I will curb my sharpest criticism and just say it’s not nearly as wieldy and fast as the others I mentioned, and venerable as it is, it needs a tune-up.

And that’s enough for now. :|

P.S.: Ordinarily you should put sudo in front of those commands. Unless you’re like me, and you assign a root password and su to do system maintenance. Ooh, I’m going to get in trouble for that one. … :mrgreen:

Buying a name

I dropped a hint the other day, when I mentioned that “none of my Pentium machines” would boot from a 120Gb hard drive. I wasn’t just speaking metaphorically; I did actually pick up another Pentium machine at the recycling store: This time, a Thinkpad 560e, again for the price of roughly US$10.

I know, I need another Pentium laptop like I need a hole in my head. But I promised myself a long time ago, if I ever saw another workable Thinkpad for cheap, that I would make a point of buying it. Based on my experiences over the past few years with Thinkpads, I could only expect a positive experience by buying the name.

Buying the name is what I did, and a positive experience is what I’ve gotten so far. This is an Intel 430MX-based system with a 166Mhz Pentium MMX in it. Video is a Trident 9660-series VGA card and audio is an old ES1688 ISA sound card. PCMCIA bridge is a Cirrus Logic 6729, which is important, since beyond that, there’s almost nothing to report. No ethernet. No USB. No CDROM.

It does have an AC adapter, which is critical, and a battery, which has a life of around three minutes. It also has a floppy drive which connects via proprietary cable, but I’m a little worried that it might not be working at 100 percent. I put a couple of floppies in it that I thought had something on them, and got nothing.

But best of all, it has a massive, enormous, gargantuan, more-space-than-I-will-ever-need 64Mb stick of PC66 in it. Okay, I admit it, that was why I bought it. Quite obviously I was searching for a 64Mb stick of memory, and got one with a free computer wrapped around it. I am not ashamed.

Beyond that, everything is else is functional, and that’s a bonus. I swapped out the noisy 2Gb drive for a spare 40Gb one, and used the 600m to install a couple of different things, including command-line Ubuntu systems (which is what you see in the picture), Slitaz CLI and X-based systems, and a couple of Crux installations which proved unbootable. (It takes me a little while to get things working just right.)

Unfortunately the drive has to be swapped out each time, and that’s about the only thing I don’t like about this machine: The hard drive is cased under the left palmrest, and you have to take out no less than 14 screws from the underside before you can get to it. Apparently, the Thinkpad reputation for being technician-friendly took hold after this model was designed.

But my 40Gb drive works fine and boots plenty quick. This is not a night-and-day difference from the 100 and 120Mhz machines I’ve used in recent history, but it does feel a little more “perky.” Ubuntu booted fast at 1.4Ghz, and is relatively fast at a tenth of that speed. Start time from the Grub menu to the login prompt is around 40 seconds, which is a considerable improvement over the old days of three-minute boots with Dapper Drake.

Slitaz is likewise speedy, but hasn’t proven to be the golden child on this particular machine as it was with the Fujitsu Pentium. For whatever reason, I couldn’t find some of the framebuffer support in the Slitaz kernel (or its supporting packages), so the magical 800×600 display that I saw with the Fujitsu is not happening here.

And occasionally, because I don’t have as much experience with Slitaz as I do with Ubuntu or Crux, I find it a little obscure or difficult to pin down. For example, I needed the usermod command (I’ve forgotten why), but apparently it’s in an outside package, maybe a coreutils derivative.

Ubuntu is not without its eccentricities, when it comes to this particular model. I assume the tridentfb module is for Trident video cards, but that one just spews forth scrambled screen garbage. uvesafb says it won’t bother itself with pre-VESA 2.0 hardware, and both vesafb and vga16fb can only force a 640×480 area. So once again, I’m trapped in a porthole effect screen.

But that’s not a terrible thing. I use the Fixed font at 13 points (as configured in /etc/defaults/console-setup and triggered by setupcon) and I have enough space to do some work at least. All the same software I like (with the exceptions of the stuff I have added personally to my Crux systems) is available in the Karmic repos, so I’m not lacking for my fave-rave programs.

On the other hand, the Linksys WPC11 wireless card — which is only the most valuable network connection I have, because it’s so flexible and easy to configure — spits out bizarre errors and drops signals if I don’t install wireless-tools (which I can sometimes run without. That’s how great that card is — I don’t even need wireless-tools to connect to an open network. Run out there and buy yourself one or two because they’re great ;) ).

I haven’t tried a graphical system in Ubuntu and I probably won’t. I did it in Slitaz and got it working nicely with both Awesome and dvm, but ran into issues with fonts — namely, it was taking so much processor heft to draw the text on screen that it could do very little else.

And while the audio worked fine in Slitaz (or as fine as could be expected for a 166Mhz machine churning through ogg files encoded at an upper level of quality), Ubuntu is still spitting weird errors at me about ALSA. This may require research.

Ultimately my goal with this machine is to bring it into line with the old X-driven terminal-based system I used on my Fujitsu during late summer last year. Physically this 560e is not in nearly as good a condition as the Fujitsu, and so I plan on taking it to work to use as a note-taking and scheduling machine, but not much else beyond that. It’s very lightweight and sufficiently portable to warrant traveling with, even if it lacks the connections to make it usable alongside the office computers.

But there’s one small thing about this computer that makes it a keeper, even if “keeper” isn’t practical over the long run. There’s something this computer doesn’t have that makes it special. Look closer … closer … closer. … What’s missing?

Aha! No Windows key! Excellent! A machine that is physically free from Microsoft’s stain. Now you’re jealous, aren’t you? :mrgreen:

A perceived sense of inferiority

I have to break stride here for a little bit — considering that my last two posts were about console applications, I don’t want this blog to turn into some kind of “console app-a-day” site.

Not that that would be a bad thing, it’s just a little gimmicky for me, there are lots of sites like that out there already, and I don’t have the resources (read: time) to pursue that sort of project. And really, this is where I stash my notes and thoughts about Linux, not introduce software or distributions. Usually.

What has my brain turning today is a simple thread in the Ubuntu Forums that sparks the age-old discussion about the usefulness of the CLI over GUIs. Without getting too far into that debate, I can tell you that when I was a moderator and a forum regular, I would usually resort to helping troubleshoot with console commands over GUI instructions. The logic should be fairly obvious — I was unfamiliar with most non-Gnome desktops, my own desktop was rather esoteric, and I couldn’t predict what the other person was using.

So like most other moderators at the time (and probably still now; they can confirm that if they like), I usually offered solutions at the command line, over point-and-click. End of story.

Or is it? The quote that grabbed me out of the aforementioned thread, was this one.

It also ascertains a distinction among “classes” of ubuntu (or linux) users – if you know the shell, you’re in. If you are afraid of the shell (like meself, not because I now feel more comfortable with a graphic environment, but because I feel less comfortable with typing in commands i dont know what they mean) – well, dunno, you’re afraid of the shell.

I know, and I have experienced, a sort of “inferiority” that occasionally swirls around Linux in general. I have been told to RTFM, and also been told that if I didn’t understand something, I shouldn’t be pursuing it. It’s unfortunate. I make no apologies, but I accept that snotty tone as the nature of the beast. After all, this entire movement started out (as a loose explanation) as a challenge, burgeoned into a hobby, became the domain of the geek, and is only now becoming mainstream and accessible to the ordinary, non-technophiliac John Q. Public. Maybe soon that snotty tone will be gone altogether.

But if there is an upper “class” of Linux users that is somehow determined by whether or not a person uses the terminal … well, I have my doubts. Speaking for myself only, I could care less if you spend your entire life at the GUI, if you play halfsies with a terminal emulator on a graphical desktop, or if you drilled holes in your skull so you could wire your brain to your CPU. I make no distinctions as to whether you’re hip or square, cool or a tool just because you type in your commands, instead of moving around a mouse.

So if you’re getting some sort of sense of inferiority by reading this site, a feeling that you’re somehow a lesser being than me because I prefer the text-based interface that is easily 40 or 50 years out of date … that’s something on your end. PEBKAC.

Moving back to the larger scale, I have to wonder how many people who mention this same sense of inferiority — because the OP’s assertions are reinforced later, so there must be more — are also guilty of this, when the person offering the advice is doing little more than taking the quick, efficient route to a solution. I’m guessing for Ubuntu in particular, that feeling is inferred, not implied.

(And as a side note, I can attest that occasionally, when I mention Linux to some Windows users, there is a similar bristling effect, which suggests to me that perhaps that same sense of inferiority is perceived on their part.)

So where’s it come from? I don’t know. But the OP’s post — to me, at least — suggests a hesitance to learn, and from that, my own belief is that the sense of inferiority stems somehow from that. (Everything goes back to transactional analysis, but that’s just my own philosophy. :roll: )

The moral of the story, if you ask me, is ask what the command does. Make an effort to learn. You’ll be sidestepping the sense of inferiority that seems to come about from ignorance or fear, and at the same time will somehow permit you to “enter” that “upper echelon” of Linux users that otherwise seems to exist. And once you’ve done that, you’ll realize that there was no class system, just one big happy family. :roll:

Windows 7, start to finish

The Windows 7 fooferah is in full swing, both here and elsewhere, and I for one have little or no contact with it. That’s partly because I have little or no interest in it, and one follows the other, so to speak.

Since I am not a Windows user and probably never will be, I won’t bother denigrating the latest Microsoft effort to stay in business. Although after a while, it becomes obvious to anyone — Linux users or Windows users — that people have to keep buying Windows, or Microsoft would go bankrupt. And from that, it becomes equally obvious why there is so much fooferah, and why Windows’ reputation for performance suffers so many critics. Myself included. :|

To put the lid on the fooferah, I’ll just post the photo that’s been reposted so many times elsewhere. …

Sent to me by one of my detractors, who prefers the expensive corporate swirl of electronic gobbledygook in order to use a computer, as opposed to the free and easily understandable gobbledygook that I use. Questions that might arise from looking at that picture — What does that mean? Are they for real? Who in the world would buy that? — would be better directed toward Microsoft, with regard to their product: What do you mean? Are you for real? Who in the world would buy that?

Next stop, a brief interlude to mention the BBC and a blog post by Rory Clellan-Jones, regarding Ubuntu and its viability when compared to Windows 7 and Mac OS 10.x.x (I can’t keep up with the versions there). I don’t know RCJ from Adam, and to be honest, it’s neither here nor there to me what the BBC has to say about Linux.

If there was ever a shill for Microsoft, it is the tech news department of the BBC. I respect them as an international news-gathering organization and I would crawl through a pit of red-hot razor wire and broken glass to get news from them over anything pumped out of America these days … but let’s face it: Their IT reviewers and tech pundits don’t impress me as much more than press release rewriters, latched firmly to their fax machines awaiting the next truckload of nonsense from Redmond. Or Apple. Or Twitter. Or Twittering about Apple. :roll:

So whether or not Rory Clellan-Jones knows a mouse from a hole in the ground is moot point to me; I stopped listening to their IT news not long after I started using Linux … because changing your perspective in that way makes them look foolish. On the other hand, aysiu has a much more effective rebuttal to RCJ’s review. :twisted:

Lastly, before anyone replies in any way to the pro or to the con about Microsoft’s latest release, it might be worthwhile to note that a good test of any product is to see what the people who sell the product use. Who cuts the barber’s hair, so to speak.

And in this case, the issue is up for debate. Ask Netcraft.com what bing.com uses as an OS and it will tell you Linux, but as is discussed, that’s more than likely a rerouting through another server system that is being reported, and not actually the inner sanctum of the Microsoft cathedral itself.

Personally I still find that ironic. Either side of the software freedom debate can rationalize that fact as they like, but to me, it speaks volumes that the world’s most powerful company and entrenched software producer relies on something other than their own product to relay information to their own service. Full stop.

So there it is. For me, for all practical purposes, Windows 7 is come and gone. Like it, hate it — decide for yourself. My own opinion was formed when the aforementioned BBC fawned over it with this quote, from only a few days ago.

It needs less computing power so older PCs run it quite happily. “Our PCs have gained another two years lifetime,” says Chris Page, who deployed Windows 7 on nearly 700 computers in schools run by Warwickshire County Council. Just one five-year-old laptop refused to run the new operating system, he reports.

Wow, a 5-year-old laptop can’t run Windows 7? Well, I guess that closes the door on me.

Until tomorrow. …

Everything in threes

Ubuntu LinuxUp front, of course, a quick apology for the lack of communication over the last few days. Monday, Tuesday and Wednesday were holidays here, and I took a small but well-earned vacation.

So for that same reason I have little tell on the Linux front. Most of my time was spent sightseeing and very little time — in fact, no time at all — was spent in front of a computer. Very pleasant, in one way.

I can tell you though that the Sotec desktop I took in a few months ago has found a new home. The new owner is a young married couple starting out on The Road of Life, and looking for something to check e-mails and polish resumes while they get accustomed to a new home. No doubt in the future it will be replaced by a newer, flashier machine, but for now it should find some use.

I split the installation on that machine before I sent it out the door. If you recall, it relied on Windows 98 as a “legal” operating system, but I did little other than set up the screen resolution and get the network card going.

The other half is pure Ubuntu 9.04, which would be impossible to use on a 600Mhz machine except that I installed the LXDE desktop and triggered it on bootup. It at least links the person behind the keyboard to the applications available, without bogging down the system in the process. Is that so little to ask?

If Lubuntu had matured only a little more, I would have definitely used that instead.

In other, similar news, I made a deal with the coworker who owned the Pavilion, and agreed to swap if for the 600m. The Inspiron is lighter and needs less space, even if it’s nowhere near as fast, has less screen real estate and weaker speakers. The new owner says portability was something the Pavilion lacked, which I would definitely agree with now that it’s back and on my desk … weighing it down considerably.

The bad news in this development is that the Pavilion’s screen hinges have cracked, making the panel flop around like a dying fish. I already popped the bezel open and the plastic braces for the hinge are completely snapped. If I planned on keeping it I would probably buy new hinges and replace them; as it is, I doubt it will be around long enough to make a difference.

The good news — great news, really — is that the 600m’s new owner asked for an Ubuntu-only machine: no dual boot. That came about from knowing that the machine had some flaky behavior when the latest updates to XP were applied, but also because the new owner just wasn’t using Windows … with the only exception being the need to connect to a music player by way of special software (I don’t know what kind of player it is). And a new music player is supposedly on the agenda.

Personally I think that’s great. It’s one more nail in the coffin for Microsoft, and one more example for the Windows muckrakers who still insist, years after Ubuntu stormed the OS landscape, that casual desktop users can’t find a home with Linux. That argument is so tired, it doesn’t even bear refuting.

Otherwise, that’s the situation on the home front. I have the Pavilion on my desk again, the 600m is out of the house and so is the Sotec desktop. And apart from the ever-growing piles of technophiliac crud everywhere, there’s not much else to report. Stay tuned though. :D

20 percent is a nice surprise

I wouldn’t have thought running X-less would be quite so popular, but if you watch a poll on the Ubuntu forums, it seems around 20 percent of people replying lump themselves into the “I use Linux without X” category.

That number is likely to fluctuate, of course. And it may not be a fair indicator, since Ubuntu users tend to be more desktop users than “Linux geeks” … although the population in the cafe sometimes leans heavily in the Arch Linux direction. And that crowd can be considerably more “geeky” than others.

But still, 20 percent is a nice surprise. I was expecting something in the range of 5 to 10 percent, but it’s an encouraging result. Perhaps if more people give life without X a try, the number will spike a little bit. … :D


Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,960,095 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers