e2lable

Shane Presley shane.presley at gmail.com
Thu Oct 27 16:38:09 UTC 2005


Related question...

When I have to restore a system from tape to new disks, I have to
start with a mkfs, so the partition labels aren't there.

It seems I can use e2label to re-add /boot and /.  But how can I add
the swap label?

Shane

On 10/26/05, Smith, Albert <Albert.Smith at genexservices.com> wrote:
>
>
>
> > -----Original Message-----
> > From: redhat-list-bounces at redhat.com
> > [mailto:redhat-list-bounces at redhat.com] On Behalf Of Tom Greaser
> > Sent: Wednesday, October 26, 2005 1:39 PM
> > To: redhat-list at redhat.com
> > Subject: e2lable
> >
> > would someone tell me what im missing.
> > I did an fdisk / mkfs.ext3 / e2lable
> > now.. the e2lable shows the correct info e2label /dev/sda1
> > /var but when i put that in my fstab it errors on boot..
> > cant find /var~~~~ you get the point..
> >
> > here is what i put in my fstab
> > LABEL=/var              /var                   ext3
> > defaults        1
> > 2
> >
> > and no.. the is no other disk with that lable in the system.!!
> >
> > Thanks e2fsprogs-1.38 rpm
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >
>
>
> If you let redhat  do the default partition setup on your system
> /dev/sda1 is normally  /boot
>
> Can you do a dump of your partitions and your fstab and post please?
>
> Thanks,
>
>
> Albert Smith
> Sr. Unix Systems Administrator
> HPCSA, RHCT
> Genex Services
> 440 E. Swedesford Rd.
> Wayne, PA 19087
> albert.smith at genexservices.com
> (610) 964-5154
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list