See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
bind-home.conf not binding to /home on LL2.4/win8.1 UEFI dual boot set-up
#3
EDIT (added later):  Just realized that you said you're having problems booting into LL now.  Directions below assume that you're booted into your installed LL.  If you can't now, see additional note at end of post.


GPT partitioning does not make any difference.  I don't have a UEFI computer, but I can't think of any logical reason why that would make any difference either.  I also don't have any SSD's; but I don't think that is the cause of the problem.

Most logical place to start is confirming that you are auto-mounting the DATA partition on boot-up.  If it's not mounted, binding to it will fail.  So run this command to see the contents of the fstab file.  (Command just "looks" at the file -- you can't make corrections/changes to the file from this.)
Code:
cat /etc/fstab

If there is no line for auto-mounting the DATA partition, add one.

If there is a line for DATA partition, can you manually explore the folders/files on "/mnt/DATA" using the file manager without running into problems?  Do you have the necessary folders on that DATA partition that you are trying to bind to Home?  (Eg.  If trying to bind Home's "Documents" folder to the DATA partition, do you have a folder called "Documents" on DATA to bind to?)  Double-check the folder names on DATA -- are they an exact match (spelling / uppercase / lowercase / etc.) to the folders on Home?

Confirm that the DATA partition's UUID in the fstab file is the same one shown by this command for the partition:
Code:
sudo blkid -c /dev/null


If none of the above has helped, post back with full output from all of the commands below:

Code:
lsblk
sudo blkid -c /dev/null
cat /etc/fstab
ls -l /etc/init | grep 'bind'
cat /etc/init/bind-home.conf
ls -l $HOME
ls -l /mnt
ls -l /mnt/DATA



EDIT:  If you can't boot into LL now, were you able to before you attempted to bind Home and DATA?

Boot using "live" LL DVD/USB then do the following to mount your installations Root, Home and DATA partitions to the live environment.  (If you don't have a separate Home partition, then just mount the other two.)  Substitute your correct drive and partition numbers where I have "XY" in "/dev/sdXY".

Code:
sudo mkdir /myRoot /myHome /myData
sudo mount /dev/sdXY /myRoot  # mount root partition here
sudo mount /dev/sdXY /myHome  # skip this step if no separate Home partition
sudo mount /dev/sdXY /myData  # mount DATA partition here

Now run all of these commands, then copy/paste their full output back here for us to see.  Note that there are two lines to list your Home folders below.  One applies if you have a separate Home partition.  The other applies if Home is on your Root partition.  Use the one that applies to you.  (In command to list Home folders, substitute your real username in place of "username".)
Code:
sudo parted -l
sudo blkid -c /dev/null
cat /myRoot/etc/fstab
ls -l /myRoot/etc/init | grep 'bind'
cat /myRoot/etc/init/bind-home.conf
ls -l /myHome/username  #use if you have a separate partition for Home
ls -l /myRoot/home/username  #use if Home is on Root partition
ls -l /myRoot/mnt
ls -l /myData
Try Linux Beginner Search Engine for answers to Linux questions.
Reply


Messages In This Thread
Re: bind-home.conf not binding to /home on LL2.4/win8.1 UEFI dual boot set-up - by gold_finger - 04-26-2015, 01:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)