Skip to main content

Posts

Showing posts from February, 2010

How to mount a partition permanently some where in the folder structure.

First check this post and come to this section How to edit file /etc/fstab You needed to add the following line to the fstab file. # / was on /dev/sdax during installation UUID=xxxx /media/xxxxxxxxx xxx relatime,errors=remount-ro a b xxxx - UUID of the partition x - number of the partition you needed to mount xxx - file format of the partition xxxxxxxxx - Name of the Partition** a - dump b - pass ** Name of the partition should be the same as the Real name of the partition (The name we can see at the Computer (Simultaneous to My Computer in Microsoft Windows)). An example line for this is # /media/MyDisk was on /dev/sda8 during installation UUID=64839f40-b2f1-412f-ae1a- c5a213ba449a /media/MyDisk ntfs relatime,defaults-ro 0 2 It is recommended to have name without spaces here. Because spaces can cause troubles. 

How to overcome the problem Linux kernel image is not booting properly

First check this post and come to this section How to edit file /etc/fstab This is the part of the fstab file that needed in this matter. # / was on /dev/sda x during installation UUID= xxxx / ext3 relatime,errors=remount-ro a b # swap was on /dev/sda y during installation UUID= yyyy none swap sw c d /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8  0 0 x should be the number of the partition of the ubuntu installed y should be the number of swap xxxx - UUID of Ubuntu partition yyyy - UUID of swap a - dump            (0 is my recommendation) c - dump            (0 is my recommendation)      b - pass             (1 is my recommendation) d - pass              (0 is my recommendation)

How to edit file /etc/fstab

This is how the my fstab file is looks like which is placed inside the etc folder in the Linux Folder structure. You can overcome some problems by editing this file. 1. When your Linux image is not booting properly. 2. When you wan't to mount a partition permanently some where in the folder structure . # /etc/fstab: static file system information. # # Use 'vol_id --uuid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # proc /proc proc defaults 0 0 # / was on /dev/sda8 during installation UUID=64839f40-b2f1-412f-ae1a- c5a213ba449a / ext3 relatime,errors=remount-ro 0 1 # /home was on /dev/sda7 during installation UUID=2ab422e9-b37d-4e7e-966f- 6ca7d1d081cf /home ext3 relatime,erro