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
#7
goldfinger, I have followed your instructions in the EDIT at the end of your Reply no.2 in this thread and am posting the output from the terminal below in response to typing in the commands you asked me to run.  You will see that I have now created two new folders Music and Pictures from  MusicPictures, and deleted the later in DATA. Needless to say, after fixing the MusicPictures error, I was still unable to boot normally into LL, just hanging for ever at the boot progress screen. As you see below I don't have a separate
/home partition...

Code:
linux@linux:~$ sudo mkdir /myRoot /myData
linux@linux:~$ sudo mount /dev/sda6 /myRoot
linux@linux:~$ sudo mount /dev/sdb1 /myData
linux@linux:~$ sudo parted -l
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name                          Flags
1      1049kB  945MB   944MB   ntfs         Basic data partition          hidden, diag
2      945MB   1050MB  105MB   fat32        EFI system partition          boot
3      1050MB  1184MB  134MB                Microsoft reserved partition  msftres
4      1184MB  126GB   125GB   ntfs         Basic data partition          msftdata
5      126GB   126GB   9437kB                                             bios_grub
6      126GB   250GB   124GB   ext4


Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
1      1049kB  1000GB  1000GB  ntfs               msftdata


Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Error: Invalid partition table - recursive partition on /dev/sr0.         
Ignore/Cancel? i                                                         
Model: MATSHITA BD-CMB UJ160 (scsi)
Disk /dev/sr0: 795MB
Sector size (logical/physical): 2048B/2048B
Partition Table: msdos

Number  Start  End  Size  Type  File system  Flags

Code:
linux@linux:~$ sudo blkid -c /dev/null
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="Recovery" UUID="3A08F27308F22E0F" TYPE="ntfs"
/dev/sda2: LABEL="SYSTEM" UUID="6E57-A726" TYPE="vfat"
/dev/sda4: LABEL="OS" UUID="4A90FA7B90FA6CB7" TYPE="ntfs"
/dev/sda6: UUID="003c628a-8078-4a71-8209-33d7117d0285" TYPE="ext4"
/dev/sr0: LABEL="Linux Lite 2.4 64-bit" TYPE="iso9660"
/dev/sdb1: UUID="34A0C4C82DE3D9D1" TYPE="ntfs"

Code:
linux@linux:~$ cat /myRoot/etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=003c628a-8078-4a71-8209-33d7117d0285 /               ext4    errors=remount-ro 0       1
# Mount DATA partition
UUID=34A0C4C82DE3D9D1         /mnt/DATA                ntfs-3g
defaults, windows_names, locale=en_US.utf8      0          0

Code:
linux@linux:~$ ls -l /myRoot/etc/init | grep 'bind'
-rw-r--r-- 1 root root  765 Apr 26 07:21 bind-home.conf
linux@linux:~$ cat /myRoot/etc/init/bind-home.conf
# Remount partitions with bind
#
description "Bind DATA Partition Subdirectories to My Home Directory"

start on stopped mountall

script
mount --bind /mnt/DATA/Distros /home/m-linuxlite/Distros
mount --bind /mnt/DATA/Documents /home/m-linuxlite/Documents
mount --bind /mnt/DATA/Downloads /home/m-linuxlite/Downloads
mount --bind /mnt/DATA/Music /home/m-linuxlite/Music
mount --bind /mnt/DATA/Pictures /home/m-linuxlite/Pictures
mount --bind /mnt/DATA/Podcasts /home/m-linuxlite/Podcasts
mount --bind /mnt/DATA/Public /home/m-linuxlite/Public
mount --bind /mnt/DATA/Template /home/m-linuxlite/Template
mount --bind /mnt/DATA/TV /home/m-linuxlite/TV
mount --bind /mnt/DATA/Videos /home/m-linuxlite/Videos
mount --bind /mnt/DATA/VMs /home/m-linuxlite/VMs
end script

Code:
linux@linux:~$ ls -l /myRoot/home/m-linuxlite
total 134556
drwxr-xr-x 2 1000 1000     4096 Apr 26 06:28 Desktop
drwxrwxr-x 2 1000 1000     4096 Apr 26 07:03 Distros
drwxr-xr-x 2 1000 1000     4096 Apr 25 12:06 Documents
drwxr-xr-x 3 1000 1000     4096 Apr 26 02:01 Downloads
drwxr-xr-x 2 1000 1000     4096 Apr 25 12:06 Music
drwxr-xr-x 2 1000 1000     4096 Apr 25 12:06 Pictures
drwxrwxr-x 2 1000 1000     4096 Apr 26 07:04 Podcasts
drwxr-xr-x 2 1000 1000     4096 Apr 25 12:06 Public
drwxr-xr-x 2 1000 1000     4096 Apr 25 12:06 Templates
drwxrwxr-x 2 1000 1000     4096 Apr 26 07:04 TV
drwxr-xr-x 2 1000 1000     4096 Apr 25 12:06 Videos
drwxrwxr-x 2 1000 1000     4096 Apr 26 07:04 VMs
(Edited by gold_finger eliminating some output that was not needed.)


Code:
linux@linux:~$ ls -l /myRoot/mnt
total 4
drwxr-xr-x 2 root root 4096 Apr 26 06:34 DATA
linux@linux:~$ ls -l /myData
total 0
drwxrwxrwx 1 root root 0 Apr 26 06:53 Distros
drwxrwxrwx 1 root root 0 Apr 26 06:53 Documents
drwxrwxrwx 1 root root 0 Apr 26 06:53 Downloads
drwxrwxrwx 1 root root 0 Apr 27  2015 Music
drwxrwxrwx 1 root root 0 Apr 27  2015 Pictures
drwxrwxrwx 1 root root 0 Apr 26 06:53 Podcasts
drwxrwxrwx 1 root root 0 Apr 26 06:53 Public
drwxrwxrwx 1 root root 0 Apr 26 02:22 $RECYCLE.BIN
drwxrwxrwx 1 root root 0 Apr 26 02:22 System Volume Information
drwxrwxrwx 1 root root 0 Apr 26 06:53 Templates
drwxrwxrwx 1 root root 0 Apr 26 06:53 TV
drwxrwxrwx 1 root root 0 Apr 26 06:53 Videos
drwxrwxrwx 1 root root 0 Apr 26 06:53 VMs
linux@linux:~$

(Edited by gold_finger:  enclosed all output in code tags.)
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Reply


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

Forum Jump:


Users browsing this thread: 7 Guest(s)