Re: can not find grub.conf

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

 



Charles Li wrote:
--- Paul Howarth <paul@xxxxxxxxxxxx> wrote:
Charles Li wrote:


Now I remember I see a message during bootup that
saids can not mount /boot alread mounted

[root@localhost ~]# mount /boot
mount: LABEL=/boot duplicate - not mounted

It looks like you have two partitions labelled /boot

Can you post the output of:
# vgdisplay -v
# fdisk -l


Paul thanks for your help, here is the output:

[root@localhost ~]# vgdisplay -v
    Finding all volume groups
    Finding volume group "VolGroup00"

(snip)

  --- Physical volumes ---
  PV Name               /dev/hdb1
  PV UUID               DI6Cnd-4ViW-3Bob-7it9-80fD-UdF1-xrbw2X
  PV Status             allocatable
  Total PE / Free PE    193 / 0

  PV Name               /dev/hda2
  PV UUID               olZw0v-Zp28-RRXx-ru6O-MIcu-d3tx-o6cBJE
  PV Status             allocatable
  Total PE / Free PE    248 / 2

[root@localhost ~]# fdisk -l

Disk /dev/hda: 8455 MB, 8455200768 bytes
255 heads, 63 sectors/track, 1027 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id
 System
/dev/hda1   *           1          13      104391   83
 Linux
/dev/hda2              14        1027     8144955   8e
 Linux LVM

Disk /dev/hdb: 6488 MB, 6488294400 bytes
255 heads, 63 sectors/track, 788 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id
 System
/dev/hdb1   *           1         788     6329578+  8e
 Linux LVM
[root@localhost ~]#

Do you have any other disks in this system apart from hda and hdb? I'd say /dev/hda1 is almost certainly the correct /boot partition, but I don't know where the duplicate is.


You should be able to fix things as follows:

1. edit /etc/fstab and change "LABEL=/boot" to "/dev/hda1"
2. fix up the contents of /boot as follows:
# mv /boot /boot.current
# mkdir /boot
# mount /boot
# mv /boot.current/* /boot
# rmdir /boot.current

If you get an error message at any point, stop and post details of what happened.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux