Search the web with Google

Android install

Android installation weblog


Enter your email address:


Jeroen´s weblog

Ubuntu install

Ubuntu installation weblog


Saturday, November 29, 2008

Ubuntu-eee Intrepid Ibex 8.10

Deze tekst is geciteerd van deze site:


Voor mijn eigen referentie, voor Satyamo en voor andere geïnteresseerden volgen hier Nederlandse instructies om Ubuntu 8.10 (Intrepid Ibex) op een Asus Eee PC te installeren. De instructies zijn getest op een Eee PC 701 en kosten één à twee uur om uit te voeren.

Uitgangspunten

  1. De SSD wordt volledig gewist
  2. Ubuntu wordt zo standaard als mogelijk geïnstalleerd (’Vanilla’)
  3. Internet via een netwerkkabel is mogelijk, automatische instellingen via DHCP
  4. Enige vaardigheid met de CLI (Terminal)

Instructies

De eerste drie instructies kunnen ook op een desktop PC met windows worden uitgevoerd

  1. Download de desktop versie van Ubuntu hier
  2. Download UNetbootin hier
  3. Start UNetbootin
    • Selecteer ‘Disk Image’ en kies het gedownloade .iso bestand
    • Kies de USB stick (minstens 1 GB)
  4. Verwijder alle verwisselbare media van de Eee PC, behalve de USB stick
  5. Boot de Eee PC van de gemaakte USB stick
  6. Kies System | Preferences | Appearance, Visual Effects -> None
    • Het is nu mogelijk d.m.v. Alt + linkerklik de schermen m.b.v. het mouse pad te verplaatsen
  7. Start de installatie van Ubuntu (m.b.v. het desktop icon) en volg de wizard
  8. Bij stap 4 van de wizard:
    • Kies handmatige partitionering en bevestig
    • Verwijder alle partities (selecteer elke patitie en kies ‘Delete Partition’)
    • Selecteer ‘free space’ en kies ‘New Partition’ (Ext2 of Ext3?)
    • Laat alles op standaard staan, maar kies bij ‘Mount Point’ ‘/’
    • Vink ‘Format?’ aan
    • Bij de melding dat er geen swap partitie is, kies ‘Continue’
  9. Volg de wizard verder, de installatie duurt 15 à 20 minuten
  10. Kies aan het eind ‘Reboot Now’, verwijder de USB stick en sluit een netwerkkabel aan
  11. Installeer de kernel van Adam McDaniel volgens deze instructies
    • Laat voor de zekerheid nog de orginele kernel staan, maar stop wel de updates
  12. Schakel ‘readahead’ uit voor een snellere opstart op deze manier
  13. Repareer het probleem met het afsluiten met deze fix #1 (sudo gedit /etc/default/halt)
  14. Beperkt het aantal schrijfacties op de SSD op deze manier (sudo gedit /etc/fstab)
    • Verander de UUID niet!
    • Verander eventueel ook de instellingen van de IO scheduler
  15. Geen opstart van mail na aansluiten netsnoer op deze manier (sudo gedit /etc/acpi/events/asus-mail)
  16. Verander de ‘clocksource’ op deze manier (sudo gedit /boot/grub/menu.lst)
  17. Stel de microfoon in zoals hier beschreven (FrontMic = i-Mic)
  18. Klik rechts op de batterij in de bovenste taakbalk
    • Preferences | On xxx Power | When laptop lid is closed -> Suspend (Pauzestand)
  19. Ik gebruik dit script om de taakbalken te verkleinen (zie eventueel ook hier)
    • Klik rechts op boventaande link en kies ‘Save Link As’
    • Klik rechts op het bestand en kies Properties | Permissions | Execute -> Aan
    • Klik dubbel op het bestand en kies ‘Run’
  20. Kies System | Administration | Synaptic Package Manager, Settings | Preferences | Files
    • Kies ‘Delete downloaded packages after installation’
    • Zet ‘Delete History files older than 0 days’
  21. Kies System | Administration | Time and Date en zet ‘Configuration’ op ‘Keep Synchronized’
  22. Klik rechts op de tijd in de bovenste taakbalk en kies ‘Preferences’
    • General | 24 hour format
    • Weather | C & km/h
  23. Start opnieuw op en let er op dat je niet de generic kernel selecteert
    • Wijzig eventueel het bootmenu (sudo gedit /boot/grub/menu.lst)
  24. Draadloos netwerk instellen:
    • Klik op het netwerk symbool in de taakbalk bovenin
    • Kies het gewenste draadloze netwerk
    • Vul het gevraagd wachtwoord in
  25. Ik installeer de volgende applicaties extra:
    • Met ‘Add/Remove Applications’:
      • FileZilla FTP client
      • Putty SSH client
      • Alle GStreamer plugins
      • Cheese Webcam Booth
      • Last.fm
      • gThumb Image Viewer
      • BloGTK
      • Macromedia Flash plugin
    • Firebug
    • OpenOffice 3.0 op deze manier
    • Truecrypt
      • Open een TrueCrypt volume met de rechterklik en custom command ‘truecrypt’
      • System | Preferences | Main Menu, Applications | Other | TrueCrypt -> Aan
    • RAR (sudo apt-get install rar)
  26. Ik verander de volgende instelling van Firefox:
    • View | Toolbars | Bookmarks Toolbar -> uit
    • View | Status Bar -> uit
    • Edit | Preferences | Security | Tell me … -> uit (zie ook hier)
    • Edit | Preferences | Advanced | Network | Offline Storage -> 0 MB
    • Tik ‘about:config’ in de adresbalk en zet ‘browser.urlbar.clickSelectsAll’ op ‘true’
  27. Pidgin automatisch starten
  28. Standaard gedetailleerde bestandenlijst: Edit | Preferences, View new folders using -> List View

Snelheid

Opstarttijd tot login prompt: ca. 65 seconden
Opstarttijd tot login prompt:
(eeepc-lean kernel)
ca. 55 seconden
Login tot desktop: ca. 30 seconden
Shutdown: ca. 15 seconden
Gebruikte ruimte na alle updates: 2.6 GiB (df -h)

Desktop

Na wat geschuif ziet mijn desktop er zo uit:

Functietoetsen

F1 Zzz Werkt
F2 Wireless Werkt niet
F3 Contrast- Werkt, geen OSD
F4 Contrast+ Werkt, geen OSD
F5 Externe monitor ?
F6 Task manager Werkt niet
F7 Mute Werkt
F8 Volume- Werkt
F9 Volume+ Werkt

Andere functies

Suspend on lid close Werkt
Video/sound** Werkt
Microfoon Werkt
Webcam Werkt
Bluetooth (Sitecom CN-516) Werkt*

* Zie hier en hier voor informatie over bluetooth PAN.
** Geluid met de eeepc-lean kernel werkt niet perfect
Zie hier voor meer model specifieke informatie over wat werkt en wat niet.

Commentaar, correcties en aanvullingen zijn van harte welkom!

Wednesday, November 26, 2008

Perfect Desktop Ubuntu 8.10

At this site it's explained how to make a perfect Ubuntu desktop.

Thursday, November 13, 2008

GRUB splashimage


I've made a nice splashimage for the GRUB menu.

It combines the Linux penguin and the ms windows logo seen from the apollo mission flying around the moon.

You can download it here.

Look here for an explanation to install it into your GRUB system.

Tuesday, November 11, 2008

Ubuntu for free

Here you'll find an interesting blog about Ubuntu.

Monday, November 10, 2008

Label a Ext2 of Ext3 drive

I just recently discovered that you can put a label on an ext2 or an ext3 filesystem, just like you can with a msdos/fat or NTFS filesystem.
with gnome-volume-manager automounting removable disks, the EXT3 formatted disks in my usb enclosures are mounted as /media/usbdisk, that is, until I changed the label. Then it is mounted as /media/label, which is a lot more useful.
The label is set with:

e2label /dev/sdc1 yourlabel

Replace the partition with the one you want to set the label on.

Thursday, November 6, 2008

Ubuntu Intrepid Ibex Wallpaper


I've combined 2 existing images to a new Ibex wallpaper


If you like it, use it


Wednesday, November 5, 2008

Elisa media center

Elisa media center is a multimedia program to use in Windows and Linux. Its in the repos of Ubuntu Hardy and Intrepid.The homepage of the project is found here.
There is not a version for the Mac yet, but they are working on it.
In hardy I didn't get the program to work. It gives an error message saying that i don't have any hardware acceleration configured on my videocard. Thats not the case, Compiz is working all right.
When I use the repos of the project itself, I got a version that crashes the X server session.
In Intrepid the program seems to work allright though.
Only today all of a sudden it made the keyboard and mouse unresponsive. Still playing my playlist, I couldn't do anything except CTRL - ALT - Backspace to kill the X-server.

I'm using Songbird instead now, for playing MP3 and youtube music files.

Tuesday, November 4, 2008

Ubuntu 8.04.1 on Acer Aspire one

Look here for installation information

And here for a very complete installation and tweak instruction.

Ubuntu course (Dutch)

Kijk op deze plek voor een zeer uitgebreide Ubuntu cursus
Kijk hier voor een serie interessante Linux Ubuntu informatieve sites

.dmrc error message when logging in

Some people get an error message after login that says that $HOME/.dmrc has wrong permissions.

Quote:
"User's $HOME/.dmrc file is being ignored, preventing default session and language from being saved. File should be owned by user and have 644 permissions. User's $HOME directory must be owned by user and not writable by other users."
This could be repaired by typing in a console this:

cd /home/username
chmod 644 .dmrc
sudo chmod 700 /home/username

where "username" is replaced by your actual username.

To change permissions of file .dmrc in favour of username use

The permission problems should be over

More info in Dutch about this issue can be found here.
An interesting wikipedia article can be found here.
read about this at this forum.
This solution is confirmed here.
In Dutche read more here.

Jeroen

PING Is Not Ghost


Look at this site for very interesting software:

PING

PING to make a backup of your harddrive, both for Linux and windows
DVDgenerator to make a windows XP automatic setup DVD
WINNER to make a ris server
The UPDATER to make updates for al your open source software in windows

Install software in Ubuntu

On this site you'll find a nice manual / tutorial of how to install software in Ubuntu.

Ubuntu 8.04 on the Asus eee 900




On this wiki you'll find a tutorial how to install Ubuntu on a Asus eee900.






Even more installation information for Ubuntu 8.04 on the Asus eee900 is here.
Version 8.04.1 is here.


Dual boot with win XP is here.
Dont't like Ubuntu? Fedora on the eee is here. This is called Eeedora.


Sunday, November 2, 2008

Create Your Own Sexylicious Ubuntu Desktop



Use AWN and some magic tips and tricks to make a nice Ubuntu look.

Look here to read the howto

OSX like theme in Ubuntu 8.04.1




See on this site a howto to create a Mac like desktop environment.

its really cool. I picked out the things I like.

A screenshot of this theme is here:

There are some other sites with tips for Mac-like themes in Ubuntu. You can find them here and here

How to configure AWN

Click here to read how to configure Advanced Window navigator.

To read the forum click here.

Ubuntu restricted extras

Everyone had tried to tweak ubuntu in a way that it's capable of showing advanced web content, streaming media etc.

By installing the ubuntu restricted extras that all is easily done.

Ubuntu tweak version 0.4.0

At http://www.ubuntu-unleashed.com/2008/10/new-ubuntu-tweak-040-released.html the new ubuntu tweak is explained.

It's very nice and worth while to give it a try.

If you are use Ubuntu Tweak through its repository and you’ve upgraded to Ubuntu 8.10, please changed the sources to Intrepid:

deb http://ppa.launchpad.net/tualatrix/ubuntu intrepid main
deb-src http://ppa.launchpad.net/tualatrix/ubuntu intrepid main

If you still using Ubuntu 8.04 Hardy, the old source is still be used.

deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main
deb-src http://ppa.launchpad.net/tualatrix/ubuntu hardy main

Or you want to go and download it from here: downloads

Saturday, November 1, 2008

20 tips voor een nieuwe installatie

Kijk op deze site: 20 tips voor na een installatie
en hier voor allemaal andere ubuntu tips

Jeroen

restart X server

Restart X server:

CTRL ALT Backspace

MP3 in ubuntu

MP3 in ubuntu

Look at this site:

http://www.debian-multimedia.org/

refresh font database

refresh the font database
use in a terminal: fc cache -f -v

Some more tips:

Edit FSTAB for use with UUID's in Ubuntu:
http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/


Install Thunderbird without the repositories
At this site: http://www.cyberciti.biz/faq/install-thunderbird-2-in-linux/ I found a complete setup explanation. Its easy to use and works Ok. Use the latest tar file that's downloadable from the thunderbird site. When using Thunderbird in combination with Gmail accounts, ising IMAP is better than the POP3 protocol. That's explained here: http://lifehacker.com/software/geek-to-live/turn-thunderbird-into-the-ultimate-gmail-imap-client-314574.php

Repair broken installations in Ubuntu

In a terminal type:
sudo dpkg -- configure -a

that's it.

Google calendar in Evolution

Any luck with the new google calendar plugin for evolution? Quote: Originally Posted by zombiepig View Post The google calender plugin is only half-there at the moment. It's missing support for offline access, and recurring appointments confuse it a lot. My advise is to install gcaldaemon (http://gcaldaemon.sourceforge.net/), which requires a little bit of setting up and configuring, but after that works brilliantly! I tried that, didin't work! But this did, thanks to niceguy123 http://ubuntuforums.org/showpost.php?p=4732558&postcount=7 Quote: Originally Posted by niceguy123 View Post ?This seems to be the anwser. Not hard at all. http://lifehacker.com/software/linux-tip/automatically-subscribe-to-your-google-calendar-297960.php Quote: Linux users: Setting up read access for your Google Calendar from the integrated Gnome calendar (included with Evolution) can be achieved with one terminal command. In fact, it is surprisingly simple to set up a self-updating subscription to your Google Calendar. You only need to enter the following command once and your calendar will automatically update. Go to your Google Calendar and find out your private ICAL URL (This can be found after clicking Manage Calendars > Your Calendar Name) Now, open a terminal and type : /usr/lib/evolution-webcal/evolution-webcal YOUR_PRIVATE_ICAL_URL That's all there is to it. The dialog shown in the screenshot will appear and you'll be able to customize how frequently you want the Gnome calendar to update. When you click the calendar in the Gnome menubar, your events will be displayed.

A5 boekje in Openoffice Writer

This one is in Dutch:

Het komt weleens voor dat ik een klein boekje wil maken van een kort verhaal of een ander document. Na lang zoekwerk vond ik op internet een oplossing voor het maken van A5 boekjes met behulp van Openoffice. De oorspronkelijke (Engelstalige) versie heb ik van de originele website (geschreven door Kelvin Eldridge van Online Connections.). De door Kelvin beschreven methode verandert niets aan het oorspronkelijk tekstdocument. Waar wel rekening mee moet worden gehouden is dat men op een veelvoud van 4 pagina's uitkomt. (4, 8, 12, 16, 20, 24, 28, 32 ....) Indien uw document maar 26 pagina's heeft, voeg dan twee lege pagina's eraan toe. Hoe print ik een A5 boekje? Maak het document op zoals u dat gewend bent in A4. U dient wel rekening te houden dat een A4 pagina wordt verkleind tot ongeveer 75%. Gebruik daarom een iets groter font. Ik ga er vanuit dat u uw document al hebt openstaan en dat deze alleen maar geprint dient te worden. Kies in het file menu de optie print en klik hierop. U ziet nu het bekende printvenster. Druk nog niet op de oké knop. Klik op de properties knop (In de Nederlandse versie zal het wel eigenschappen heten) en kies voor landscape en papiergrootte (papersize) A4. Klik op oké en klik nu op opties. U ziet nu een lijst van opties. Als u een duplexprinter heeft (Zo'n printer kan al automatisch dubbelzijdige afdrukken maken) hoeft u alleen maar brochure aan te vinken. Kijk wel of zowel rechts als links staan aangevinkt. Klik dan op oké en de printer produceert een prachtig A5 boekje. Heeft u geen duplexprinter dan moet u twee stappen uitvoeren. U ziet dat zowel rechts (right) en links (left) staan aangevinkt. Zorg nu ervoor dat alleen rechts (right) staat aangevinkt. Klik op oké en uw printer produceert nu één kant van uw boekje. De tweede stap is dat u opnieuw de printoptie kiest en nu weer op opties klikt en brochure en links (left) aanvinkt. (De printer staat nog steeds in landscape) U moet nu de stapel die u van de eerste stap hebt weer in uw printer doen. Hoe u dit voor uw printer moet doen hangt ervan af hoe uw printer het papier door het apparaat haalt. Tip: Zet, op één zijde van het onbedrukte papier, een kruis. Doe het vel in de printer. Kijk dan op welke zijde de tekst verschijnt. Nu weet u, op welke kant van het papier uw printer een afdruk maakt. Klik nu op de oké knop en de printer bedrukt de andere zijde van uw blaadjes. U heeft nu een mooi A5 boekje.

Where are the important files.

Some are here:

refresh the font database use in a terminal: fc cache -f -v Restart X server: CTRL ALT Backspace

Important directories: /etc/apt/sources.list Sources for aptitude and Synaptics

/boot/grub/menu.lst Grub menu

list /etc/fstab file system table

/etc/kde3/kdm/kdmrc allow root login in Kubuntu

/etc/udef/udef.conf

/etc/X11/xorg.conf

/etc/samba/smb.conf

For Firefox. /usr/lib/firefox/plugins

For Stellarium: /usr/share/stellarium

/usr/local/share stellarium

sudo lshw -businfo gives hardware information

From a console: gnome -panel starts the panel (werkbalken)

remount all maps in fstab: sudo mount -a

Change the resolution of the ubuntu splash screen:

from the console enter: sudo gedit /etc/usplash.conf enter: xres=640 yres=480 save the file and

from the console enter: sudo update-initramfs -u


Do you know other files that are important to tweak? Please let me know

Repair root in ubuntu and Kubuntu

Re enable root login in Ubuntu.
HowTo: First Go to gnome start menu and go to system-->Administration-->User and Groups There search for the user "root".
You will find it. After choosing root, click on "properties" and change the password to something u want. there will be a system generated random root password which you have to erase and set a new one of your choice. once you are done come out of that and close all windows. THEN, again from start menu go to System --> Administration --> Login Screen Setup. There go to the "security" tab and CHECK "allow root to login with GDM". Close all windows and log out of GNOME and on to GDM. type root, root's password that you had set and log in as root! http://ubuntuforums.org/archive/index.php/t-31053.html
alternatieves to root some files:
gksu nautilus in Ubuntu
kdesu konquerer in Kubuntu
gksu thunar in Xubuntu

sudo nautilus works too.

Install new users in ubuntu

Add new users won't always work from the GUI: use in a terminal:

sudo adduser name

It will ask for a password too.

Use a printserver in Ubuntu 8.04 Hardy Heron

UPDATE: The site of Ubuntu announced an update of Hardy heron to version 8.04.2 where networked printing should be fixed. If you update ubuntu 8.04 to version 8.04.2 that everything should work out of the box again. If not, read further:


Printing via a sitecom printserver from Ubuntu 8.04 Hardy Heron:

First: I tried the work around posted by Patrick Schueller in Bug #237759, and now I can print again. "with your favourite editor, add a line with net.ipv4.tcp_frto = 0

to /etc/sysctl.conf (as usual, back it up before changing).

Reboot or 'sudo /sbin/sysctl -p /etc/sysctl.conf' 'sudo sysctl -p' and probably also 'sudo /etc/init.d/cupsys restart'

Try to print. If it doesn't print try: Second:

on my system the printserver printing issue appears to be down to permissions on config files stored on /home.

I have /home on a separate partition from my system and when I upgraded i simply reformatted the system partition and reinstalled.

When you do this you create a new user, which might be the same username and password as you used on the old install, but as far as the system is concerned is different.

Consequently your new login can not access the .XXXXXX configuration files on /home. Thanks to nelz at linuxformat.co.uk for spotting this.

The solution is to run in the terminal: sudo chown -R username: ~username Where username is the username you login with after a restart.

You should reboot after doing this.

I got one error message after doing this. Then I rebooted and still couldn't print. I rebooted again in gutsy and lost the print ability there as well. I repeated the chown command in gutsy, rebooted and could print again. I rebooted in hardy and a miracle happened: The printer started printing, from Hardy that is.

Install the same applications in Ubuntu on another computer

Instal the same applications with Synaptic

Step 1 Make a list of all the applications you have installed : sudo dpkg --get-selections | grep -v deinstall > ubuntu-files (or use the export function of synaptic under the file menu)

* Note : that is all one line and there are two - - in front of "get-selections" ;)

make a copy of /etc/apt/sources.list

Step 2 Save the files "ubuntu-files" and the copy of /etc/apt/sources.list on a USB drive or e-mail it to yourself ...

Step 3 Reinstall Ubuntu, update : sduo apt-get update sudo apt-get dist-upgrade

Step 4 Re-install all those applications ... make sure the same repositories are selected in your new installation. These can be added in the file: /etc/apt/sources.list from your old copy

then in a console type: sudo dpkg --set-selections <>

Again, all one line and two - - in front of "set-selections"

Step 5 Install : sudo deslect This opens a deslect session. Just type ' I ' to install (that is a capital i ). or install these applications with synaptic after importing them from the file menu.

NOTE if you do this on another system with different hardware, you might run into trouble if packages are installed for another hardware configuration that the new system has. Please check that the correct versions of applications are installed, especially kernel headers or graphic drivers.

NOTE2: If you try to use this method in an upgraded version of ubuntu, tou might get broken packages when some packages got different names.

LogMeIn in Ubuntu

Log Me In;

I figured out what it is...

Install the latest sun java 6.

sun-java-6-bin

sun-java-6-fonts

sun-java-6-jre

sun-java-6-plugin

Restart your browser and log in in to log me in.

Then log in into a remote computer and go to preferences

choose remote control settings

in the "General settings" setup the "default remote control" as "java"

and it will work.

(This works in Intrepid Ibex and Linux mint 6)

In Hardy Heron Logmein does not like java 6... here are the steps i took to get it working..

Close all firefox sessions.

Go into synaptic and do a search for java... select "completely remove" java common (and its ok to remove all the other things that it wants to automatically) before you click apply, do another search for java 5 select sun-java5-fonts, and sun-java5-plugin there will be a bunch of prerequisites that are needed for install (jre, etc.) Click apply..... let it install.

open firefox,

sign into logmein...

Then log in into a remote computer and go to preferences

choose remote control settings

in the "General settings" setup the "default remote control" as "java"

and it will work.


SAMBA file share in fstab

A convenient manual for FSTAB is found here. In Dutch is is here.

In my /etc/fstab I entered this line (in one line):

//192.168.2.11/public /media/netwerkdrive cifs nounix,uid=1000,iocharset=utf8,codepage=850 0 0

(Read more about fstab here)

Where 192.168.2.11 is the static IP adress the drive had in my network

/public is the map on the drive that is given public

/media/netwerkdrive is the created directory in my media map where I want to mount the networkdrive.

cifs is the modern version of samba

nounix is essential. Else I got "error 20 no such directory".

uid=1000 prevents getting errors with permissions

the rest is for proper chars in filenames.

Then in a console I entered:

sudo apt-get install smbfs

To install the filesystem and then I entered:

sudo md /media/netwerkdrive/
sudo mount -a

To create a mountpoint and mount all new networked drives. If you use network manager, and are getting really slow shutdowns. It's probably because the network manager shuts down before unmounting the network shares. That will cause CIFS to hang, and wait for 60 seconds or so. Here's what you do to fix it (again in the console):

sudo ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K14umountnfs.sh
sudo ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K14umountnfs.sh

If you want to use FTP instead read this

--------------------------------------------------------------

More backround info is found here:

--------------------------------------------------------------

/etc/fstab file contains static information about the filesystems.

The file fstab contains descriptive information about the various file systems. fstab is only read by programs, and not written; it is the duty of the system administrator to properly create and maintain this file.

To mount a Samba share to be mounted when a Linux system comes up after reboot edit the

/etc/fstab

file and put entry as follows for your Windows/Samba share:

//ntserver/share /mnt/samba smbfs username=username,password=password 0 0

For example, if you want to mount a share called //ntserver/docs then you need to write following entry in /etc/fstab file:

//ntserver/docs /mnt/samba smbfs username=docsadm,password=12345abcde 0 0

Where,

* //ntserver/docs: Windows 2003/NT/Samba share name

* /mnt/samba: Local mount point (you may need to create this directory first)

* smbfs: File system type (samba file system)

* username=docsadm,password=12345abcde: Share username and password

Open file /etc/fstab using a text editor:

Append line //ntserver/docs /mnt/samba smbfs username=docsadm,password=D1Y4x9sw 0 0

at the end your file should read as follows:

proc /proc proc defaults 0 0

/dev/hdb1 / ext3 defaults,errors=remount-ro 0 1

/dev/hdb2 none swap sw 0 0

/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0

//ntserver/docs /mnt/samba smbfs username=docsadm,password=12345abcde 0 0

Replace sharename, username and password with your actual parameters.


Read more here and here

And on the ubuntu site read this and this and finally this forum

And the resolved issue here

Dedicated Grub partition needs an update for Ubuntu 8.10

THIS APPLIES ONLY TO GRUB legacy 

After installing Ubuntu 8.10 I couldn't boot the new ubuntu. It took me a day to discover the problem. What went wrong:

I've got a multi boot system. Windows XP and Vista (though almost never used :-) ) Ubuntu 7.10, 8.04 and 8.10.

I have a dedicated Grub partition. As explaned here: dedicated Grub partition. That was the problem. Since Ubuntu 7.10 ans 8.04 use the Ext3 File system. Their Grub version does the same. Ubuntu 8.10 does use a slightly different vesrion of Ext3. The preciese details are not known to me, but in order to be able to boot in this configuration, Grub in the MBR must be able to read the filesystem that Ubuntu 8.10 uses. It's not Ext4, but the older Grub (from ubuntu 7.10) couldn't read it.

I solved it this way.

I took my copy of the(most recent) super Grub cd, booted with it, and used it to boot the new intrepid ibex ubuntu 8.10 partition. From that intrepid session I reïnstalled the dedicated Grub partition as described here. Where the important way is that all files except menu.lst are copied with nautilus, thunar or whatever filemanager from /boot/grub to your dedicated grub partition /boot/grub. After that start grub in a teminal, make your intrepids partition the root (in my example that is /dev/hda5
So in Grub I did:
root (0,4)

setup (hd0)

quit

and if that's done, it's time to check the various menu.lst files, but your grub in MBR is capable to boot the newly made partition of Ubuntu Intrepids Ibex 8.10.