tag:blogger.com,1999:blog-79760681964895783572024-03-13T00:18:29.159+01:00Gentoo-NC20You will find on this blog all the steps I followed in order to make my new netbook, a NC20 by Samsung (the UK version), work with gentoo. Feel free to post any comment you have.Unknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-7976068196489578357.post-64205166800996037222009-04-05T19:17:00.003+02:002009-04-05T22:32:50.172+02:00FramebufferMy system is working, let's play with it. First: the <span style="font-weight: bold;">framebuffer</span>.<br /><br />Here are the steps I followed to get it to work:<br /><ol><li>Configure your kernel to hoave both <span style="font-weight: bold;">uvesafb</span> and <span style="font-weight: bold;">viafb</span> built in the kernel.</li><li><span style="font-weight: bold;">emerge v86d</span></li><li>Append <span style="font-weight: bold;">video=uvesafb:1200x800-24,mtrr:3,ywrap</span> to your <span style="font-weight: bold;">kernel</span> line in <span style="font-weight: bold;">/boot/grub/grub.conf</span></li><li>To install splash screen, do an <span style="font-weight: bold;">emerge ">=media-gfx/splash-themes-gentoo-20090324" splashutils</span></li><li>Generate the initrd: <span style="font-weight: bold;">splash_geninitramfs -g /boot/fbsplash-natural_gentoo-1280x800 -r 1280x800 natural_gentoo</span></li><li>Append <span style="font-weight: bold;">splash=silent,fadein,theme:natural_gentoo console=tty1</span> to your <span style="font-weight: bold;">kernel</span> line in /boot/grub/grub.conf</li></ol>Along with that, I discovered that the theme natural_gentoo had also a grub splash screen. To install it, go to the <a href="http://fbsplash.berlios.de/wiki/doku.php?id=themes:main">fbsplash website</a> and download the archive for natural_gentoo. You will find a <span style="font-weight: bold;">gentoo.xpm.gz</span> file. Copy it in <span style="font-weight: bold;">/boot/grub/</span> and change/add this line to your <span style="font-weight: bold;">grub.conf</span>: <span style="font-weight: bold;">splashimage=(hd0,X)/grub/gentoo.xpm.gz</span>. Now your have a new theme for your grub!<br /><br />By the way, if you want to be able to use your trackpad in terminals, do this:<br /><ol><li><span style="font-weight: bold;">rc-update add gpm default</span></li><li><span style="font-weight: bold;">/etc/init.d/gpm start</span></li></ol>Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-7976068196489578357.post-19418540606669745872009-03-31T22:51:00.003+02:002009-04-05T19:17:26.648+02:00Gentoo Install -- Next Step : Base SystemI'm back after some hard working on my netbook. I will not speak about things which worked just fine, but only about my issues.<br /><br />The first one is the most important: I couldn't manage to have a working 64bit system. So I got back to a 32bits system with:<br />CFLAGS="-02 -march=native -pipe -mmmx -msse -msse2 -mssse3" (some of these options are only available after an update to sys-devel/gcc-4.3.2-r3)<br />CHOST="i686-pc-linux-gnu"<br /><br />Then during the kernel configuration, don't forget like me to select the PATA drivers for the Via chipset. It took half an hour to compile with the NC20.<br /><br />After that I was able to boot under my new Gentoo. The next step is to recompile system tools. An "emerge -e world" will do it.<br /><br />I will be back soon...Unknownnoreply@blogger.com8tag:blogger.com,1999:blog-7976068196489578357.post-41669642519532726812009-03-30T21:56:00.005+02:002009-04-11T15:16:15.841+02:00Gentoo Install -- First Step : Ext4Now that I have made some place on the HDD, I can (finally) begin to install Gentoo.<br /><br />Unfortunately, the filesystem I have chosen is ext4, which is included in the 2.6.28 and above kernels, is not supported by any gentoo live cds (I have only seen 2.6.27 kernels). Nevertheless I found out that the beta of the next Ubuntu release uses a 2.6.28 kernel, so I created a live USB (with unetbootin) to boot with.<br /><br />New issue : X doesn't work with the NC20 on this particular live Ubuntu, so I switched to a VT (Ctrl+Alt+F1), and continued the installation as explained in the Gentoo Handbook.<br /><br />Note that I was able to create an ext4 partition with the Gentoo live usb, but I couldn't mount it...<br /><br /><span style="font-weight: bold;">Edit:</span> <a href="http://www.sysresccd.org/">SystemRescueCD</a> is a live Gentoo with ext4 support enabled, so next to the live Ubuntu, this one is far betterUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-7976068196489578357.post-51581324106413722822009-03-30T14:24:00.003+02:002009-03-30T14:56:07.093+02:00"Burning" a Live USB & Resizing NTFS PartitionI wanted to use the distribution Parted Magic to have something user friendly to resize my Windows XP partition. Unfortunately, the live USB I created didn't worked, so I used a Gentoo Minimal Live USB to resize.<br /><br />Before explaining how I resized the NTFS partition, let's see how to create a live USB. The process is really simple : under a gentoo box, emerge netbootin, and execute it. Aside from that, download the ISO image you want to place on your USB key, and mount your key (usually, WMs like Gnome or KDE mount it automatically). Now you have all the elements to create your Live USB key with netbootin. After booting the key on your NC20 (F2 to enter BIOS setup and change boot order), you will have your live linux.<br /><br />Now, the resizing. first of all, you need to place all the data of the partition at the beginning. If it is unmounted, use something like this :<br /><span style="font-style: italic;">ntfsresize -s 9G /dev/hda2</span><br />which will give you a ntfs partition with all its data in the ten first gigas. After that we need to redimension the partition, and to do so you must use fdisk :<br /><span style="font-style: italic;">fdisk /dev/hda</span><br /><span style="font-style: italic;">: p</span> (to print the partition table)<br /><span style="font-style: italic;">: d</span> then <span style="font-style: italic;">2</span> (to delete the partition /dev/hda2)<br /><span style="font-style: italic;">: n</span> then <span style="font-style: italic;">2</span> then <span style="font-style: italic;">XXX </span>(number of the Start cylinder shown for hda2 by "p") then <span style="font-style: italic;">+10G</span> (to recreate the partition with a little more space than the resize operation took, just to be sure)<br /><span style="font-style: italic;">: w</span> (to write the partition table and exit)<br />You can now reboot to unsure windows is still operationnal (it will check the ntfs partition, so let it do it, it's needed after ntfsresize).<br /><br />Here I am : I have a 160Gb HDD with 16Gb for Windows, and plenty of room for Gentoo !!Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7976068196489578357.post-22557194127158772882009-03-30T10:07:00.008+02:002009-03-30T14:56:30.553+02:00My new NetbookHere we are. I finally received my brand new Samsung NC20. This is a 12" widescreen netbook with a Via Nano processor. Here are the complete specification seen on Samsung/UK :<br /><ul><li><span style="font-weight: bold;">Operating System :</span> Windows XP Home Edition LrgScrn LFD</li><li><span style="font-weight: bold;">Processor :</span> VIA Nano™ U2250 processor (1.3GHz - 1.6GHz, 800MHz)</li><li><span style="font-weight: bold;">Main Chipset :</span> VIA VX800</li><li><span style="font-weight: bold;">Memory :</span> 1GB (DDR2 / 1GB x 1) Memory Slot 1x SODIMM</li><li><span style="font-weight: bold;">Display :</span> LCD 12.1" WXGA (1280 x 800) Gloss Display</li><li><span style="font-weight: bold;">Graphic :</span> (Graphic Memory Shared) VIA VX800 Chrome9™ HC3 DX9 3D engine</li><li><span style="font-weight: bold;">Sound :</span> HD Audio</li><li><span style="font-weight: bold;">Sound Effect :</span> EDS (Enhanced Digital Sound) Effect</li><li><span style="font-weight: bold;">Speaker :</span> 2 Speakers x 1.5 Watts</li><li><span style="font-weight: bold;">Integrated Camera : </span>1.3 Mega Pixel integrated digital motion camera</li><li><span style="font-weight: bold;">Storage (HDD) :</span> 80GB (5400rpm S-ATA) / 120GB (5400rpm S-ATA) / 160GB (5400rpm S-ATA)</li><li><span style="font-weight: bold;">Wired Ethernet LAN :</span> 10 / 100 LAN</li><li><span style="font-weight: bold;">Wireless LAN :</span> Atheros 802.11b.g</li><li><span style="font-weight: bold;">Bluetooth :</span> Bluetooth 2.0 + EDR</li><li><span style="font-weight: bold;">I/O Ports</span> : VGA / Headphone-out / Mic-in / Internal Mic / 3 x USB 2.0 / Multi Card 3-in-1 (SD, SDHC, MMC) / DC-In (Power Port)</li><li><span style="font-weight: bold;">Keyboard Type :</span> 84 Key with Silver Nano technology (Anti-Bacterial Keyboard) (QWERTY)</li><li><span style="font-weight: bold;">AC Adapter :</span> 40 Watts</li><li><span style="font-weight: bold;">Standard Battery :</span> 6 Cell (57Wh / 5200mAh / 11.1V)</li><li><span style="font-weight: bold;">Dimension (W x D x H) :</span> 292.4 x 217 x 30.7mm</li><li><span style="font-weight: bold;">Weight, include Standard Battery :</span> 1.5kg</li><li><span style="font-weight: bold;">Warranty :</span> 1 Year International Collect and Return</li></ul>There are many photos of it on the web, Google is your friend if you want to see how it looks in detail...<br /><br />First step was to boot it under Windows to see if rebooting works (3 reboots before even starting to do anything). I will keep a copy of windows in case of I have a course on a software only available under this OS. Do not be afraid though, I will only speak one more time about it to explain how I redimensioned its partition (that will be my next post).<br /><br />So, now my first impressions. Its color (white pearl) is wonderful, let's see if the plastic will be same after a year or two of intensive use. Keys are of the size of a normal keyboard, definitely a good thing. Finally the 6 cells battery merely goes out of the hull. Oh, I almost forgot, the pocket shipped with the netbook is nice even if it really is thin.<br /><br />Next step : make some place on the HDD to install Gentoo !Unknownnoreply@blogger.com0