Linux.com

Home Linux Community Community Blogs

Community Blogs



NEWB's adventure's in Linux From Scratch

Whew,

    I'm back again..... I've been fully involved with the Holiday weekend and between reading the users' guide and learning about my computer hardware I haven't gotten much sleep. I've been told to learn by doing so I've been trying alot of things trying to know, what I'm doing, I 've frustrated myself trying to get different commands to do what I wanted them to do. Like put a simple line in a file instead of opening vi for one line, could have done it on vi in a few seconds but wouldn't learn anything.  So I guess you could say that I'm learning:" Instead of saying  just the commandline equivilent to "daddy" . I can now say "daddy I'm hungry"LOL... maybe someday soon I'll be able to say a whole paragraph.  I stayed up late trying to get the partitions ready for install on my Dell and I guess I stayed up too late, It was 2:00am and I inadvertently did mke2fs -j /dev/hdb3 /mnt/LFS and kill my whole ntfs partition filled with lots of hard work :((. I had an issue with the "order" of the partitions in fdisk. I deleted all the partitions on my drive but the ntfs partition. It was hdb2(on the hard drive it was the last blocks of the drive from like 15-30.... well when I added my first primary partition, It became hdb1, added swap that got put to hdb3 and root on hdb4 when I tried to mount hdb1 to make dir boot I was told device was busy. Ok, so I did like windows and rebooted and restarted fdisk thinking this would fix my problem. NO such luck... I found my solution   the x gave me expert mode LOL. yeah right.. anyway there was a command for correcting the order. I did and rebooted and it worked. All happy that I finally got it fixed when I went to make the linux file system I used the old drive partition numbers and wham!!! hdb2 was no longer 2 it was now 4 and I just formatted my ntfs partition .. just as I hit the enter key , I knew what I had just done!!! lost 150 gigs of important data :(( Learned a very valueable lesson "ALWAYS CHECK COMMAND LINE SYNTAX" !!! think about what you are trying to do and what the command line is saying to do, they can be two entirely diffent things. This was one of my main problems with LFS in the first place. That and the fact that I keep getting lost in the directory tree forgetting where I am at.

 After my experience with the  MSI board , I'm now on a Dell board made by Foxconn , it's an old Pentium4 system 845G chipset, with both and intel 8025 ethernet and the 3com 3x905 card. I've got all the info about this board. I learned about  "lsmod"and "lspci" to list the installed modules and hardware, One thing I've yet to figure out is if on the left side of the list I have 105 modules listed and maybe only 20  on the right side are all the ones listed really needed, or is it just the ones on the right?

 

 

Boot an ISO via Grub2

With grub2 you can directly boot an (iso9660) ISO using its loopback option. This is great because it provides another nice rescue scenario - for example when using grml (the Debian based Linux Live-CD for sysadmins). You no longer need to extract kernel and initrd from the ISO to be able to boot it using the isofrom bootoption. All you need to do is put a plain grml ISO to your harddisk.

Read more... Comment (0)
 

The threshold has been penetrated.

Whereas NetApps still keeps a firm grip on the dillutional 1% Linux penetration on desktops, Microsoft seems paralysed in terms of efforts to slow down the OpenSource progress.

Yesterday I had a look at some old Microsoft salespitches starring Mr. Ballmer and even though the modern version of Mr. Ballmer seems less irratic, the pitch more or less contains the same dinosauric message.

Embarrasing for Microsoft, but their main challenges are way more serious. There is no innovation, and their successforumlas have become their worst enemy.  Where customers previously have been locked in, they are now being locked out. 

The Microsoft customers who sticks to their beloved platform are missing out on innovation, streamlining, business opportunities and important cost-reductions that are imperative in hard times.

Meanwhile, Linux and OpenSource expands deeply into virtually every box with silicon in it. It does so in a cost efficient manor and hardware manufactors profits by more competitive pricing or better margins.

No matter whether the talk is about MobileTV, smartphones, netbooks, desktop, local servers or the cloud,  the driving force is Gnu/Linux and OpenSource. Not Microsoft, not Apple.

Ladies and Gentlemen, OpenSource has pentetrated the market floor. And that's just the beginning.

 Just have a look at recent events:

  • More Android phones
  • Ubuntu are considering Android
  • Dell are testing Android on Netbooks
  • Moblin is happening
  • Palm Pre due 06 June
  • Symbian is opening up 
  • Multipoint X is due - soon
  • Qt Mobility was launched today
  • KDE 4.3 is a train just starting
  • Gnome 3.0 is in the works
  • The sky becomes filled with OpenSource/Linux clouds
  • Businessanalysis tools are out there
  • Healthcare takes a dip into OpenSource 

Goverments are abandoning Microsoft, and where they have exclusive deals, OpenSource vendors are increasingly forcing open and free competition into the equation. One should by no means underestimate Microsoft, but they have a hard battle ahead.

Microsoft seems determined to cause problems for their users with their approach to ODF support. There is a significant change though.

As time goes by it becomes less of a OpenSource problem. On the contrary, it is a problem that Microsoft are inflicting on their very own userbase. It's not our problem, it's Microsoft's.

 

 

 

 

 

 

Introduction

This post is just a brief introduction. I'm an interdisciplinary scientist, with a 100% Linux lab for over 10 years. Linux has revolutionized many things, including computing in science. The availability of cheap computing power, coupled with open source tools (including Linux) makes many things possible. My own area of research is paleontology and evolutionary biology, with a heavy emphasis on theoretical and modeling work. I plan to use this blog as just a place to describe how we use Linux in the lab and for science, and maybe also prompt other members of the scientific community to chime in. You can read more about my research here:

http://zeus.calacademy.org/roopnarine/peter.html

http://proopnarine.wordpress.com/

http://www.calacademy.org/blogs/climate/

 As a teaser, here's a graphic that we produced a few weeks ago with Blender (http://www.blender.org/) and the Gimp (http://www.gimp.org/). I'll try to explain what it means in a later post.

 

Compiz on Radeon Xpress 200M

 My Laptop Toshiba dynabook TX/860LS

/etc/X11/xorg.conf

Section "Device"
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "RC410 [Radeon Xpress 200M]"
    BusID       "PCI:1:5:0"
        Option      "AccelMethod" "EXA"
        Option      "XAANoOffscreenPixmaps" "true"
        Option      "AGPMode" "16"
        Option      "SubPixelOrder" "RGB"
        Option      "DynamicClocks" "on"
EndSection

 

Hello World!

Hello fellow linuxers,

I'm Aamod writing my first blog post, here on new linux.com.

I blog at http://aamodnerurkar.blogspot.com/ and tweet at http://twitter.com/aamod

 

More articles will follow..

 

 

GRUB Custom Splash Screen

Here's the short tip for this morning, this is a very easy config. As you know you can have a graphical image as a background for your GRUB startup screen, here's a three steps howto for setting it up

  1. Create or use your favorite image. Open your favorite graphical image program (Gimp for me) and adapt your favorite logo/image/photo to 640x480, no matter about color depth, the must important thing is the image type, you must save your favorite image as an .XPM file (example: myfavoritelogo.xpm)
  2. gzip your new .xpm file, following my example my file wil be named myfavoritelogo.xpm.gz (command: gzip myfavoritelogo.xpm), copy your image to /boot/grub
  3. Modify your grub menu (mostly named /boot/grub/menu.lst) to add the following line:

splashimage=(hd0,0)/boot/grub/myfavoritelogo.xpm.gz

where hd0,0 is the first partition (for me /boot as boot partition) on the first hard disk, change your filename according to your system (myfavoritelogo.xpm.gz of the example)

And that's it, you've done everything.

Now just reboot to see your graphical logo as grub background, take a look at my picture gallery to see some grub splash screen samples

 

quick 'n' easy post, hope it helps

 

Ben 

 

moblin„ÅÆÂø´ÈÅ©„Åï„Å´„Éì„ÉÉ„ÇØ„É™

impressed by Moblin's performance.

自分のPCでMoblinのテストドライブを試してみた。

I tried Moblin Test Drive with my PC.

PCはパナソニックのレッツノート、CPUはCore2Duoのごく普通のPC

PC is Panasonic Let's note. with Core 2 Duo

いつもはWindows Vistaで使用、アプリによってはかなり重く感じる。

Always using with Windows Vista. It is kind of slow. (need more performance)

ハードウェアの性能不足かと思っていたら

I thout it is becouse low performance of hardware

しかしMoblinを入れてそれが間違えであることが分かった。

But I found that is not tru when I use Moblin.

かなり快適です。

Very confortable.

Moblinを試してみることをお勧めします。

I recommend try Moblin

ここからダウンロードしUSBにイメージをコピー、USBから起動すればすぐに使えます。

Download from here and copy to USB memory and launch from USB. That's it.

 

http://moblin.org/documentation/test-drive-moblin/using-moblin-live-image

 

 

NEWB's adventure's in Linux From Scratch

 Hello,

   I've come to the foregone conclusion that if it can go wrong it will. :) I have made some silly mistakes and some really costly ones as well. In the past week I have destroyed 150 gig's of data(while using fdisk) , deleted configuration files by mistake, made new ones in the wrong location(working off a live cd and building in another can get quite confusing so I've made my share of config files in temp instead of the lfs dir LOL. I know I've done something wrong when the editor reports "NEWFILE" :) I even screwed up grub on one of my other computers.

   Took the time last night to read a full tutorial for grub. The C when booting will come in handy. I learned alot and would recommend this to anyone using Linux. I ran accross the  Linux utility called the super grub disk it's well worth the look see and they even have a windows version to fix the issues of a dual windows linux boot issue.

 

 

Ubuntu Developer Summit for version 9.10

From Site :

25.05.09  Ubuntu Developer Summit for version 9.10 is beginning.

 

At the beginning of a new development cycle, Ubuntu developers from around the world gather to help shape and scope the next release of Ubuntu. The summit is open to the public, but it is not a conference, exhibition or other audience-oriented event. Rather, it is an opportunity for Ubuntu developers -- who usually collaborate online -- to work together in person on specific tasks.

Small groups of developers will participate in short Forum and Workshop (formerly called "BoF"/Birds-of-a-Feather) sessions. This allow a single project to be discussed and documented in a written specification. These specifications will be used for planning the new release of Ubuntu, as described in FeatureSpecifications and TimeBasedReleases.

 

Making My Own Desktop Manager: Launching new programs

So the next stage is to loose the dependency on the xterm window in our .xinitrc file AND to be able to launch new program processes (without blocking the wm).

  • The code for this next stage is available here.
  • The new .xinitrc file is available here.

I have added keyboard event detection and used popen to launch dmenu, which will allow me to start new programs without a UI (for the time being).

Now I almost have a usable wm to start developing against. All I need now is a layout algorithm to prevent the windows overlapping (remember this is a tiling window manager not a stacked one).

 
Page 112 of 143

Upcoming Linux Foundation Courses

  1. LFD320 Linux Kernel Internals and Debugging
    03 Nov » 07 Nov - Virtual
    Details
  2. LFS416 Linux Security
    03 Nov » 06 Nov - Virtual
    Details
  3. LFS426 Linux Performance Tuning
    10 Nov » 13 Nov - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board