Choose style:

Author Topic: HPG6 & symlinks... [SOLVED]  (Read 2848 times)

0 Members and 1 Guest are viewing this topic.

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
HPG6 & symlinks... [SOLVED]
« on: June 16, 2017, 05:57:15 pm »
my brain fog is clearing a wee bit, so I am deciding to start my own thread instead of muddying up any further the symlink tutorial... lemme know if you'd prefer i delete my posts from that thread... the last thing you asked me was:

Sorry, What's the output from:
Code: [Select]
ls -l ~/ | grep ">"

and my output is blank... or i'm not comprehending what you want in "v"   :-X
« Last Edit: July 03, 2017, 01:43:50 pm by spence »
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26313
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #1 on: June 16, 2017, 06:06:50 pm »
Can you link back to the other topic, because I can't remember why I asked for that output.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26313
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #3 on: June 16, 2017, 06:19:27 pm »
Well if
Code: [Select]
ls -l ~/ | grep ">"
outputs nothingg, you can't have any symlinks in your home folder :-\
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #4 on: June 16, 2017, 06:38:49 pm »
Excellent, then i successfully deleted them...  now to undo the /mnt/mnt/mnt
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26313
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #5 on: June 16, 2017, 09:00:04 pm »
what's the output from
Code: [Select]
mount
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #6 on: June 16, 2017, 10:23:25 pm »
what's the output from
Code: [Select]
mount

ummmm yikes:
Spoiler (click here to view / hide)
spence@hpG6 ~ $ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1731248k,nr_inodes=432812,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=350864k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11946)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda5 on /mnt type ext4 (rw,relatime,data=ordered)
/dev/sda1 on /boot type ext4 (rw,relatime,data=ordered)
/dev/sda5 on /mnt/mnt type ext4 (rw,noatime,data=ordered)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=350864k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
[close]
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26313
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #7 on: June 17, 2017, 02:42:56 pm »
Can we have the contents of your
Code: [Select]
pluma /etc/fstab
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #8 on: June 19, 2017, 08:14:45 pm »
Can we have the contents of your
Code: [Select]
pluma /etc/fstab

Code: [Select]
# /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/sda2 during installation
UUID=69870d95-e9cd-4e01-823e-1e57c7463c76 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=7739ead9-4767-4af9-9ca3-d499e73f88c5 /boot           ext4    defaults        0       2
# /mnt was on /dev/sda5 during installation
UUID=b486b28d-15cf-477b-a90c-c68b3a58712d /mnt            ext4    defaults        0       2

# DATA partition /dev/sda5 is at /mnt/mnt ...
/dev/sda5   /mnt/mnt   ext4   noatime,defaults   0  0
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26313
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #9 on: June 19, 2017, 08:22:58 pm »
Okay you can remove:-
Code: [Select]
# DATA partition /dev/sda5 is at /mnt/mnt ...
/dev/sda5   /mnt/mnt   ext4   noatime,defaults   0  0
from fstab .. SAVE and reboot.

But beyond that...

a) I don't know why you have sda5 mounted at /mnt ? .. what's on sda5 ? .. if unsure, what's the output from:
Code: [Select]
ls -a /mnt

and

b) I'm not 100% sure you want to do after undoing your earlier changes ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #10 on: June 19, 2017, 08:36:15 pm »
well, i thought i was being all smart by naming it mnt... so now I've edited the fstab, thanks for gentle reminder, to be:
Code: [Select]
# /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/sda2 during installation
UUID=69870d95-e9cd-4e01-823e-1e57c7463c76 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=7739ead9-4767-4af9-9ca3-d499e73f88c5 /boot           ext4    defaults        0       2

Code: [Select]
spence@hpG6 ~ $ ls -a /mnt
.  ..
spence@hpG6 ~ $

and yes, i did save a backup copy of the previous one...

currently nothing on SDA5 until I figure this out...





« Last Edit: June 19, 2017, 08:42:09 pm by spence »
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #11 on: June 19, 2017, 08:44:11 pm »
guess I over-edited fstab... as my sda5 now shows as "a device" instead of a mounted partition.... guessing i need to add this back:
Code: [Select]
# /mnt was on /dev/sda5 during installation
UUID=b486b28d-15cf-477b-a90c-c68b3a58712d /mnt            ext4    defaults        0       2
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26313
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #12 on: June 19, 2017, 08:47:55 pm »
What exactly is sda5 ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1918
  • Karma: 194
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #13 on: June 19, 2017, 09:01:19 pm »
it was the partition I cleared out to become the symlinked data partition, nothing there currently

more precisely it is currently the entire extended partition under sda3 ... as i ponder playing with other distros too... when my head is cleared and the heat has abated...
« Last Edit: June 19, 2017, 10:11:41 pm by spence »
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26313
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: HPG6 & symlinks...
« Reply #14 on: June 20, 2017, 08:22:01 am »
Okay, so the purpose of this topic is to set up a DATA partition with symlinks right ?

Can you give us your
Code: [Select]
pluma /etc/fstab
contents as it stands now.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec