[SOLVED]need to mount sda drive
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 2
- Posts: 61
- Joined: Sun Aug 23, 2015 8:52 pm
Re: need to mount sda drive
I do not have a /home folder on sdb.
lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
└─sda1
ext4 fe8b2f81-e555-4b71-92a2-cd1902d83659 869.2G 0% /media/bil
sdb
├─sdb1
│ vfat 0458-CE14 504.9M 1% /boot/efi
└─sdb2
ext4 2a75ad10-2e9a-4f81-95af-83b1dd63c2f3 204.3G 5% /
ls -l /home
total 4
drwxr-xr-x 20 bill bill 4096 Jun 3 08:58 bill
Thanks!
lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
└─sda1
ext4 fe8b2f81-e555-4b71-92a2-cd1902d83659 869.2G 0% /media/bil
sdb
├─sdb1
│ vfat 0458-CE14 504.9M 1% /boot/efi
└─sdb2
ext4 2a75ad10-2e9a-4f81-95af-83b1dd63c2f3 204.3G 5% /
ls -l /home
total 4
drwxr-xr-x 20 bill bill 4096 Jun 3 08:58 bill
Thanks!
Re: need to mount sda drive
But you do seem to have one on sdb2. More to the point, have you copied the bill sub-folder to sda1?
If so, the next thing we need to see is fstab. Report the output of
cat /etc/fstab
. Please use code tags.-
- Level 2
- Posts: 61
- Joined: Sun Aug 23, 2015 8:52 pm
Re: need to mount sda drive
I did create a blank /bill
My fstabs:
Code: Select all
sda 8:0 0 931.5G 0 disk
└─sda1 8:1 0 931.5G 0 part /media/bill/fe8b2f81-e555-4b71-92a2-cd1902d83659
Code: Select all
cat /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/sdb2 during installation
UUID=2a75ad10-2e9a-4f81-95af-83b1dd63c2f3 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=0458-CE14 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
Re: need to mount sda drive
Sorry, but I'm going to have to withdraw from the thread, as we seem to be talking past each other.
If someone else wants to jump in and try to complete the project, please feel free.
Re: need to mount sda drive
Bill,
You want sda to load automatically. Start Disks, highlight the largest partition on sda and then do this:
.
You want sda to load automatically. Start Disks, highlight the largest partition on sda and then do this:
.
-
- Level 2
- Posts: 61
- Joined: Sun Aug 23, 2015 8:52 pm
Re: need to mount sda drive
Thanks Mike. I had already done a manual mount and the above would not work.
However (fingers crossed) I think I have sda partioned and mounted as MYDATA with a link to this drive on my desktop. Before I restore my backup data to sda I have a few questions:
If I move data to MYDATA what happens to the Home folder on my desktop ? Both MYDATA and the current Home folder will contain similar subfolders: Documents, Music, etc.
And my thanks to all for your patience in helping me go get my head around this !
However (fingers crossed) I think I have sda partioned and mounted as MYDATA with a link to this drive on my desktop. Before I restore my backup data to sda I have a few questions:
If I move data to MYDATA what happens to the Home folder on my desktop ? Both MYDATA and the current Home folder will contain similar subfolders: Documents, Music, etc.
And my thanks to all for your patience in helping me go get my head around this !
Re: need to mount sda drive
Nope, I'm not going off the mount topic. Start another topic if you have some other question to address. Personally I don't know what you are trying to do with that MYDATA / Home stuff, so I can't answer your undecipherable questions.
Regarding mount - take a copy /etc/fstab. Place the copy in a folder. Run through my procedure. Take another copy of /etc/fstab. Compare the two and post the difference here, along with a much better explanation of "would not work". I may not be able to fix this mount problem, but I can almost guarantee that somebody here can fix that.
Regarding mount - take a copy /etc/fstab. Place the copy in a folder. Run through my procedure. Take another copy of /etc/fstab. Compare the two and post the difference here, along with a much better explanation of "would not work". I may not be able to fix this mount problem, but I can almost guarantee that somebody here can fix that.
-
- Level 2
- Posts: 61
- Joined: Sun Aug 23, 2015 8:52 pm
Re: need to mount sda drive
On your procedure at #2, which should I choose from the drop down menu ?
Re: need to mount sda drive
Edit Mount Options
-
- Level 2
- Posts: 61
- Joined: Sun Aug 23, 2015 8:52 pm
Re: need to mount sda drive
Before Disk edit (fstab)
After Disk edit (fstab.Save
Code: Select all
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=2a75ad10-2e9a-4f81-95af-83b1dd63c2f3 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=0458-CE14 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
Code: Select all
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=2a75ad10-2e9a-4f81-95af-83b1dd63c2f3 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=0458-CE14 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
/dev/disk/by-uuid/f976163b-1ea5-4202-b057-045761d729d1 /mnt/f976163b-1ea5-4202-b057-045761d729d1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
-
- Level 2
- Posts: 61
- Joined: Sun Aug 23, 2015 8:52 pm
Re: need to mount sda drive
Ok. The difference is the addition of this line of code, allowing mount at boot up automatically:
The chage did remove my permissons on the drive but restored them with:
So my next step is to restore by backed up home folder (from an external drive) to sda at above mount point.
If I run into problems I will post under a new topic.
Code: Select all
/dev/disk/by-uuid/f976163b-1ea5-4202-b057-045761d729d1 /mnt/f976163b-1ea5-4202-b057-045761d729d1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
Code: Select all
sudo chown -R bill:bill /mnt/f976163b-1ea5-4202-b057-045761d729d1
If I run into problems I will post under a new topic.