Re: mount: can't find /dev/hda3 in /etc/fstab or /etc/mtab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    Perhaps you didn't get a quick answer because your email was
confusing.  For example, "Whe I unmounted the the fstab file modified:" is
hard to understand.  I recommend you read and correct the messages you
write before sending them.
    I'll guess the data for /boot is on the /dev/hda1 partition, and the
/dev/hda1 partition has LABEL=/boot.  If I'm wrong, ignore the rest of
this paragraph.  If I'm right, "mount /boot" should remount the partition
regardless of whether you say "LABEL=/boot" or "/dev/hda1" at the
beginning of the corresponding line in fstab.  If /etc/fstab has
"LABEL=/boot /boot" then "mount LABEL=/boot" should also work, and if
/etc/fstab has "/dev/hda1 /boot ..." then "mount /dev/hda1" should work.  
Even if you don't have a line for /boot in /etc/fstab, giving the command
"mount /dev/hda1 /boot" or "mount LABEL=/boot /boot" should work.  In any
case "mount /dev/hda3" won't put the boot data on /boot because a) the
boot data is not in /dev/hda3 and b) /dev/hda3 is not what your fstab
specifies as what is to be mounted on /boot.
    In order to see what the LABEL is on, say, /dev/hda1, do
"tune2fs -l /dev/hda1" and look for the "Filesystem volume name".  
Similarly for /dev/hda3.
    If /etc/fstab has no line beginning with "/dev/hda3", "mount
/dev/hda3" can't work because the mount command has no way to find out
where /dev/hda3 should be mounted.  It might help to send the list your
/etc/fstab file so that people can tell more easily what you're talking
about.

On Sun, 11 Jan 2004, Mike Mapsnac wrote:

> I wanted to mount back to the system. I unmounted the partition in order to 
> run fsck and than wanted to mount back.
> 
> Whe I unmounted the the fstab file modified:
> LABEL=/boot           /boot                   ext3    defaults        1 2
> 
> I edite the fstab file:
> /dev/hda1               /boot                   ext3    defaults        1 2
> 
> And mounted back the partition.
> 
> 
> I edite the fstab file:
> >From: redhat <redhat@xxxxxxxxxx>
> >Reply-To: shrike-list@xxxxxxxxxx
> >To: shrike-list@xxxxxxxxxx
> >Subject: Re: mount: can't find /dev/hda3 in /etc/fstab or /etc/mtab
> >Date: Sat, 10 Jan 2004 17:26:53 -0800
> >
> >Mike Mapsnac wrote:
> >
> >>Hello
> >>
> >>I unoumnted the partition and than try to mount back and got the error 
> >>message:
> >>mount: can't find /dev/hda3 in /etc/fstab or /etc/mtab
> >>
> >>What is wrong?
> >>
> >>
> >>[root@localhost sbin]# umount /dev/hda3
> >>[root@localhost sbin]# mount /dev/hda3
> >>mount: can't find /dev/hda3 in /etc/fstab or /etc/mtab
> >>[root@localhost sbin]# df -h
> >>Filesystem            Size  Used Avail Use% Mounted on
> >>/dev/hda8              34G  5.8G   27G  18% /
> >>none                  251M     0  251M   0% /dev/shm
> >>/dev/hda2             9.7G   34M  9.1G   1% /tmp
> >>/dev/hda6             9.7G  4.8G  4.4G  53% /usr
> >>/dev/hda5             9.7G  619M  8.6G   7% /var
> >>
> >>_________________________________________________________________
> >
> >Where are you trying to mount it to?
> >
> >mount /dev/hda3 /mnt/name
> >
> >where "name" is the name you want to call the device, such as data1, cdrom, 
> >henry, external_drivew, whatever.  And make sure you already have that 
> >directory (/mnt/name) created before mounting.
> >
> >
> >--
> >Shrike-list mailing list
> >Shrike-list@xxxxxxxxxx
> >https://www.redhat.com/mailman/listinfo/shrike-list
> 
> _________________________________________________________________
> Scope out the new MSN Plus Internet Software ? optimizes dial-up to the max! 
>    http://join.msn.com/?pgmarket=en-us&page=byoa/plus&ST=1
> 
> 
> 

-- 
Steven Yellin


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux