At last i think I found the answer
ls -l /dev/disk/by-uuid/ will give the UUID
give that UUID in /etc/fstab will solve the problem.
Got from http://ubuntuforums.org/archive/index.php/t-908394.html
On Tue, Mar 3, 2009 at 9:17 PM, Shino Jacob wrote:
> Hi,
> labeling is possible only for ext fil
Hi,
labeling is possible only for ext file systems. part of my filesystem
is fat and ntfs. The problem lies there. The hard disk could boot
without any problems. problems are for the partitions i specified in
the fstab. The system takes the second hard disk as sda.
On Tue, Mar 3, 2009 at 8:51 PM
Hi Shino,
You can still label your hardisk using the command e2label. The
syntax is
e2label device-name label
e2label /dev/sda2 SLASH
then open /etc/fstab -> and edit the lines for eg:
LABEL=SLASH / ext3defaults1 1
then open grub.conf
and edit the Label field to
so can I still label my hard disk? gparted says it will erase all the data.
Any work around?
On Tue, Mar 3, 2009 at 12:59 PM, bobby dheep wrote:
>
> Hi sunil,
>
>
> Thats exactly right. It is always better to have your disks using
> labelling partition rather than the /dev/sda style. The main ad
Hi sunil,
Thats exactly right. It is always better to have your disks using
labelling partition rather than the /dev/sda style. The main advantage
would be in case you are trying to take an image of the hardisk and
loading it to another machine. Here the labelling will work, becoz the
disk ids t
I think u require labelling partitions
in redhat, one command e2label is there for labelling partitions
I don't know whether any utilities like this are available in other distros
On Sun, Feb 22, 2009 at 8:40 PM, Manilal K M wrote:
>
> 2009/2/22 Shino Jacob :
> >
> > I am using ubuntu 8.04 hardy
2009/2/22 Shino Jacob :
>
> I am using ubuntu 8.04 hardy,
> I was using only one hard disk. Today I connected one more hard disk,
> It took the second hard( connected as primary slave) as sda1. So all
> my mappings in /etc/fstab needs to be reworked.
> Is there a way to avoid this. ie do not let