Skip to content

Diskless Linux on a Sunblade 100

Initially written on 2006-05-17

On my other (x86/amd64) diskless machines, I use PXE with pxegrub. My setup is quite similar to (and inspired by) this one.

Now, on sparc machines, there is no BIOS nor PXE. But you don't need all that, since you have the Open Boot... This is how I managed to make my Sunblade 100 totally diskless (using a "vanilla" kernel, the latest version being currently 2.6.16.16).

Note: In this example, 10.0.0.10 will be my dhcp/nfs/tftp server which I will refer to as 'fileserver'. 10.0.0.30 is the sunblade.

- when configuring the kernel:
[*] Default bootloader kernel arguments (ip=dhcp root=/dev/nfs nfsroot=10.0.0.10:/diskless/sunblade)

(in "Networking" -> "Networking support" -> "Networking options")
[*]   IP: kernel level autoconfiguration
[*] IP: DHCP support
[*] IP: BOOTP support
[*] IP: RARP support

(in "File systems" -> "Network File Systems")
<*> NFS file system support
[*] Provide NFSv3 client support
[*] Root file system on NFS

Configure all other settings as you would do for a disk install, but make sure you compile your NIC driver in the kernel (not as module)

Then:
make
make modules_install
make tftpboot.img ROOT_IMG=/dev/null
(the resulting tftpboot.img will be in arch/sparc64/boot/tftpboot.img)

I copied tftpboot.img to fileserver as tftpimage-2.6.16.16, and added the following entry in my dhcpd.conf:
host sunblade {
hardware ethernet 00:03:BA:08:12:34;
fixed-address 10.0.0.30;
always-reply-rfc1048 on;
filename "sunblade/boot/tftpimage-2.6.16.16";
}


Finally, to net-boot your diskless Sunblade you'll need to enter
boot net:dhcp
in the Open Boot prompt. When you are happy with it, you can set it as default:
setenv boot-device net:dhcp cdrom disk net



Notes:

- apparently, instead of using make tftpboot.img you can just "elftoaout" vmlinux

- another alternative would be to use tilo, which comes with silo, to build the image
  • Twitter
  • Bookmark Diskless Linux on a Sunblade 100 at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Diskless Linux on a Sunblade 100
  • Mixx Diskless Linux on a Sunblade 100
  • Bloglines Diskless Linux on a Sunblade 100
  • Technorati Diskless Linux on a Sunblade 100
  • Fark this: Diskless Linux on a Sunblade 100
  • Bookmark Diskless Linux on a Sunblade 100 at YahooMyWeb
  • Bookmark Diskless Linux on a Sunblade 100 at Furl.net
  • Bookmark Diskless Linux on a Sunblade 100 at reddit.com
  • Bookmark Diskless Linux on a Sunblade 100 at blinklist.com
  • Bookmark Diskless Linux on a Sunblade 100 at Spurl.net
  • Bookmark Diskless Linux on a Sunblade 100 at NewsVine
  • Bookmark Diskless Linux on a Sunblade 100 at Simpy.com
  • Bookmark Diskless Linux on a Sunblade 100 at blogmarks
  • Bookmark Diskless Linux on a Sunblade 100 with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)

If you get this:
[blocks B ] sys-devel/gcc-sparc64 (is blocking sys-devel/kgcc64-3.4.6)

Check this thread on the gentoo forums:
There are a couple of architectures on Gentoo that have a 32-bit userland, but need a 64-bit kernel compiler. kgcc64 is an attempt to provide one package for all of those architectures rather than the gcc- packages that exist now. The way we migrated over to this caused the issue you are seeing.

Basically, you'll need to
emerge --unmerge gcc-sparc64 && emerge sys-devel/kgcc64


  • Twitter
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)
  • Mixx Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)
  • Bloglines Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)
  • Technorati Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)
  • Fark this: Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at YahooMyWeb
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at Furl.net
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at reddit.com
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at blinklist.com
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at Spurl.net
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at NewsVine
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at Simpy.com
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at blogmarks
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Microsoft to pay companies to switch from Google to Live Search

see the following stories:

1. http://battellemedia.com/archives/003447.php

2. http://www.itwire.com.au/content/view/10554/532/

3. http://www.ledevoir.com/2007/03/19/135590.html (in French)

The first article describes the program. I also found most comments by the readers worth reading - and altogether they summarize pretty much everything I would have to say about it :o)
  • Twitter
  • Bookmark Microsoft to pay companies to switch from Google to Live Search at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Microsoft to pay companies to switch from Google to Live Search
  • Mixx Microsoft to pay companies to switch from Google to Live Search
  • Bloglines Microsoft to pay companies to switch from Google to Live Search
  • Technorati Microsoft to pay companies to switch from Google to Live Search
  • Fark this: Microsoft to pay companies to switch from Google to Live Search
  • Bookmark Microsoft to pay companies to switch from Google to Live Search at YahooMyWeb
  • Bookmark Microsoft to pay companies to switch from Google to Live Search at Furl.net
  • Bookmark Microsoft to pay companies to switch from Google to Live Search at reddit.com
  • Bookmark Microsoft to pay companies to switch from Google to Live Search at blinklist.com
  • Bookmark Microsoft to pay companies to switch from Google to Live Search at Spurl.net
  • Bookmark Microsoft to pay companies to switch from Google to Live Search at NewsVine
  • Bookmark Microsoft to pay companies to switch from Google to Live Search at Simpy.com
  • Bookmark Microsoft to pay companies to switch from Google to Live Search at blogmarks
  • Bookmark Microsoft to pay companies to switch from Google to Live Search with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Zfone - secured VoIP conversations (SIP)

I came across this project the other day. Apparently it should work with any SIP-based VoIP client. (They list X-Lite, Gizmo and SJphone.)

I haven't had a chance to test it, but I sure will - they provide a source-form linux version. I may even contribute a gentoo e-build, since so far I couldn't find one...

What makes this project even more interesting to me is the fact that Phil Zimmermann, the original creator of PGP, is behind it.
  • Twitter
  • Bookmark Zfone - secured VoIP conversations (SIP) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Zfone - secured VoIP conversations (SIP)
  • Mixx Zfone - secured VoIP conversations (SIP)
  • Bloglines Zfone - secured VoIP conversations (SIP)
  • Technorati Zfone - secured VoIP conversations (SIP)
  • Fark this: Zfone - secured VoIP conversations (SIP)
  • Bookmark Zfone - secured VoIP conversations (SIP) at YahooMyWeb
  • Bookmark Zfone - secured VoIP conversations (SIP) at Furl.net
  • Bookmark Zfone - secured VoIP conversations (SIP) at reddit.com
  • Bookmark Zfone - secured VoIP conversations (SIP) at blinklist.com
  • Bookmark Zfone - secured VoIP conversations (SIP) at Spurl.net
  • Bookmark Zfone - secured VoIP conversations (SIP) at NewsVine
  • Bookmark Zfone - secured VoIP conversations (SIP) at Simpy.com
  • Bookmark Zfone - secured VoIP conversations (SIP) at blogmarks
  • Bookmark Zfone - secured VoIP conversations (SIP) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux)

Homepage: http://www.cgsecurity.org/

Description in portage: Multi-platform tool to check and undelete partition, supports reiserfs, ntfs, fat32, ext2/3 and many others. Also includes PhotoRec to recover pictures from digital camera memory.

Installation (Gentoo Linux amd64):

echo 'app-admin/testdisk ~amd64' >> /etc/portage/package.keywords
echo 'app-admin/testdisk jpeg ntfs' >> /etc/portage/package.use
emerge -av app-admin/testdisk

To use it, just run 'photorec' as root in a shell window. Despite the name, photorec will find and recover many files, not only pictures. You'll find the full list on the PhotoRec homepage.

I haven't tried TestDisk yet, but PhotoRec has been useful several times already.
  • Twitter
  • Bookmark TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux)
  • Mixx TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux)
  • Bloglines TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux)
  • Technorati TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux)
  • Fark this: TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux)
  • Bookmark TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux) at YahooMyWeb
  • Bookmark TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux) at Furl.net
  • Bookmark TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux) at reddit.com
  • Bookmark TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux) at blinklist.com
  • Bookmark TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux) at Spurl.net
  • Bookmark TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux) at NewsVine
  • Bookmark TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux) at Simpy.com
  • Bookmark TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux) at blogmarks
  • Bookmark TestDisk / PhotoRec: tool to recover lost files and partitions (Gentoo Linux) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca