Since I'm a Gentoo fan, I was wondering how to install Gentoo on my Gdium. The main problem is the mass storage medium used by the Gdium, i.e. a USB stick. In fact, this kind of problem would have arosen with any SSD based laptop, where you are limited on writing times by the medium.

My solution in a first time is quick and dirty. I may improve it by a few day, but by now, I've not so much time. First of all, I've created a /Gdium on one of my boxes, around 10GB. Thanks to lvm, it was quite easy to mve partition to get that space. Then I've setup a nfs4 server on this machine. The main point in using nfs4 over nfs3 is that nfs4 actually locks file, without a dedicated userspace daemon.
On the Gdium side, be sure to have libnfsidmap0 and start rpc.idmapd. Original init scripts were a bit buggy, and since I was in a hurry to test, I've just launch rpc.idmapd. You'll have to mount -t rpc_pipefs none /var/lib/nfs/rpc_pipefs before. Go to any good nfs4 documentations if you need to. Here are some of my bookmarks.

I exported my /Gdium and then mounted in on the Gdium side in say /mnt/Gentoo. Then I've proceed as you may do for any Gentoo installation: mounting proc, sys and dev; chrooting; merging … In the mean time, a fact just hit me: I was still using swap from the USB stick. So, I've created a zero-padded file, using dd in the exported space. Then, using losetup and mksawp, I was able to add a swap device to the Gdium. Then using swapon and swapoff, I've changed the location of the swap.

Next step is to create an iSCSI node and export it, using the iSCSI device to put the swap



Hi! Do you think you could

Hi! Do you think you could make a raw image available for download for people who want to try (we can host it). I know it's not really the Gentoo mentality (you guys like to do things yourself) but I'll be curious to try (and probably a few other guys).

Thanks

by Fred Muller May 05, 2009 - 08:17


Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Images can be added to this post.
  • Allowed HTML tags: <a> <b> <blockquote> <br> <cite> <code> <col> <dd> <div> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <hr> <i> <img> <li> <object> <ol> <p> <param> <span> <strong> <table> <tbody> <td> <tr> <ul>
    Allowed Style properties: background, background-attachment, background-color, background-image, background-position, background-repeat, border, border-bottom, border-bottom-color, border-bottom-style, border-bottom-width, border-collapse, border-color, border-left, border-left-color, border-left-style, border-left-width, border-right, border-right-color, border-right-style, border-right-width, border-spacing, border-style, border-top, border-top-color, border-top-style, border-top-width, border-width, caption-side, clear, color, empty-cells, float, font, font-family, font-size, font-size-adjust, font-stretch, font-style, font-variant, font-weight, height, line-height, margin, margin-bottom, margin-left, margin-right, margin-top, padding, padding-bottom, padding-left, padding-right, padding-top, table-layout, text-align, text-decoration, text-indent, width

More information about formatting options

CAPTCHA
Please answer the following question, just to check you're not a computer
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.