LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive <SOLVED>

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
jungle
Level 2
Level 2
Posts: 90
Joined: Thu Feb 05, 2009 9:21 am

LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive <SOLVED>

Post by jungle » Sun Jun 05, 2016 4:02 am

I have been trying to fix a 'Could not update ICEauthority file/home/jungle/.ICEauthority' message/problem.

In the process i have turned the computer off once or twice by pushing the computer on/off switch to turn on and off the computer. Not sure if I have damaged the Seagate hard drive where my LinuxMint sits and which won't open properly.

I have managed to burn a LinuxMint Rosa 17.3 iso image (md5 sum verified) and booted into this OK. From there I can access my files on a Windows 7 system on a separate hard drive on this computer and I can access files on a network drive attached to my modem/router.

I can see the Seagate hard drive where my current Linux Mint 17.3 (recently updated from 17.0 using Update Manager in my attempts to fix my problem) sits but can't access the /home volume/partition which has an 'x' on it. I can see contents of the root/ volume/partition but the root 'folder' in there has an 'x' on it too.

I was hoping to be able to load LinuxMint Rosa 17.3 onto this drive (formatting and overwriting the root/ partition and in the process getting access to the files on the separate /home partition.

Will the files on the /home partition become readable after this installation or is the hard drive damaged and in need of replacement.

I have tried to check the drive and the results are reproduced below.

=================================================================================

mint@mint ~ $ inxi -Fxz
System: Host: mint Kernel: 3.19.0-32-generic x86_64 (64 bit gcc: 4.8.2)
Desktop: MATE 1.12.0 (Gtk 3.10.8~8+qiana)
Distro: Linux Mint 17.3 Rosa
Machine: Mobo: ASUSTeK model: P8Z77-V PRO v: Rev 1.xx
Bios: American Megatrends v: 1616 date: 10/05/2012
CPU: Quad core Intel Core i7-3770K (-HT-MCP-) cache: 8192 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 28146
clock speeds: max: 6300 MHz 1: 1793 MHz 2: 1907 MHz 3: 1823 MHz
4: 1801 MHz 5: 1652 MHz 6: 1917 MHz 7: 1647 MHz 8: 1606 MHz
Graphics: Card: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
bus-ID: 00:02.0
Display Server: X.Org 1.17.1 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1920x1080@59.9hz
GLX Renderer: Mesa DRI Intel Ivybridge Desktop
GLX Version: 3.0 Mesa 10.5.9 Direct Rendering: Yes
Audio: Card-1 Intel 7 Series/C210 Series Family High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Logitech HD Webcam C910 driver: USB Audio usb-ID: 007-003
Sound: Advanced Linux Sound Architecture v: k3.19.0-32-generic
Network: Card-1: Intel 82579V Gigabit Network Connection
driver: e1000e v: 2.3.2-k port: f080 bus-ID: 00:19.0
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Card-2: Qualcomm Atheros AR9485 Wireless Network Adapter
driver: ath9k bus-ID: 07:00.0
IF: wlan0 state: down mac: <filter>
Drives: HDD Total Size: 2000.4GB (67.9% used)
ID-1: /dev/sda model: WDC_WD1002FAEX size: 1000.2GB temp: 34C
ID-2: /dev/sdb model: ST31000524AS size: 1000.2GB temp: 32C
Partition: ID-1: / size: 3.8G used: 175M (5%) fs: overlay dev: N/A
ID-2: swap-1 size: 4.00GB used: 0.00GB (0%) fs: swap dev: /dev/sdb2
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 240 Uptime: 1:49 Memory: 677.3/7669.0MB
Init: Upstart runlevel: 2 Gcc sys: 4.8.4
Client: Shell (bash 4.3.111) inxi: 2.2.28
mint@mint ~ $ apt install smartmontools
Reading package lists... Done
Building dependency tree
Reading state information... Done
smartmontools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mint@mint ~ $ sudo smartctl -iHA --log=error /dev/sdb
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.19.0-32-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, http://www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.12
Device Model: ST31000524AS
Serial Number: 6VPGTGGZ
LU WWN Device Id: 5 000c50 045cc8856
Firmware Version: JC4B
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Jun 5 07:59:30 2016 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 114 099 006 Pre-fail Always - 72470494
3 Spin_Up_Time 0x0003 100 100 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 098 098 020 Old_age Always - 2897
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 072 060 030 Pre-fail Always - 20790733
9 Power_On_Hours 0x0032 089 089 000 Old_age Always - 10456
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 098 098 020 Old_age Always - 2454
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 093 000 Old_age Always - 65905
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 068 052 045 Old_age Always - 32 (Min/Max 31/32)
194 Temperature_Celsius 0x0022 032 048 000 Old_age Always - 32 (0 13 0 0 0)
195 Hardware_ECC_Recovered 0x001a 039 021 000 Old_age Always - 72470494
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 125589138719611
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 2930447519
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 3318250626

SMART Error Log Version: 1
No Errors Logged

mint@mint ~ $
Last edited by jungle on Thu Jun 09, 2016 3:33 am, edited 3 times in total.

User avatar
coffee412
Level 5
Level 5
Posts: 995
Joined: Mon Nov 12, 2012 7:38 pm
Location: Indiana, USA
Contact:

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by coffee412 » Sun Jun 05, 2016 7:00 am

Could you please run 'fdisk -l' on the drive in question after booting from a mint live session?

Most likely you have some file corruption is my guess. But further info on the setup of mint on the hard drive is needed.
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
IceWarp 12.0.3 * Mint 18.3 * RAID 1/5 * OpenVPN * Linux since kernel 2.0.36
************* Get Your Linux on! ***************

jungle
Level 2
Level 2
Posts: 90
Joined: Thu Feb 05, 2009 9:21 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by jungle » Sun Jun 05, 2016 8:39 am

Thanks for your suggestion.

Actually I am not sure how to do as you say. I am a rank beginner in using the terminal. Can only follow directions given by more computer savvy users.

By live I guess you mean using the DVD to load LinuxMint 17.3. I can access the terminal from there. I know that my inaccessible Linux is on the 'unreadable' Seagate drive which is sdb. It has three partitions root /; /home; and a swap partition. Not sure what command to use in the terminal to do the recommended check on that drive...

User avatar
coffee412
Level 5
Level 5
Posts: 995
Joined: Mon Nov 12, 2012 7:38 pm
Location: Indiana, USA
Contact:

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by coffee412 » Sun Jun 05, 2016 10:36 am

After booting from the cd and you get to the desktop, Open a terminal and type in:

Code: Select all

sudo fdisk -l /dev/sda
Post the output to your next post.
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
IceWarp 12.0.3 * Mint 18.3 * RAID 1/5 * OpenVPN * Linux since kernel 2.0.36
************* Get Your Linux on! ***************

Laurent85
Level 16
Level 16
Posts: 6115
Joined: Tue May 26, 2015 10:11 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by Laurent85 » Sun Jun 05, 2016 11:05 am

jungle wrote: I have been have been trying to fix a 'Could not update ICEauthority file/home/jungle/.ICEauthority' message/problem.
Most probably a permission issue. Boot from the hard drive then:
- at the login screen press Ctrl-Alt-F1 to get to the console
- log in
- type in the following commands:

Code: Select all

sudo chown $USER: $HOME/.ICEauthority
sudo chmod 0600 $HOME/.ICEauthority
- switch back to the login screen by pressing Ctrl-Alt-F7 or Ctrl-Alt-F8
- try to log in

Regarding the drive health, Seagate's drives commonly report high error rates attributes, in most cases nothing to be concerned with.
Image

User avatar
austin.texas
Level 20
Level 20
Posts: 12054
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by austin.texas » Sun Jun 05, 2016 11:15 am

coffee412 wrote:Open a terminal and type in: sudo fdisk -l /dev/sda
jungle wrote: my inaccessible Linux is on the 'unreadable' Seagate drive which is sdb.
So the command would be:

Code: Select all

sudo fdisk -l /dev/sdb
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018

jungle
Level 2
Level 2
Posts: 90
Joined: Thu Feb 05, 2009 9:21 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by jungle » Sun Jun 05, 2016 9:14 pm

Thanks coffee412 & austin.texas

See Seagate hard drive (sdb) output below...

mint@mint ~ $ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009000e

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 98056191 49027072 83 Linux
/dev/sdb2 1945712640 1953523711 3905536 82 Linux swap / Solaris
/dev/sdb3 98056192 1945712639 923828224 83 Linux

Partition table entries are not in disk order

======================================================================================================
OK, maybe I will get access to my Seagate Linuxmint hard drive contents if I install Rosa 17.3 from the live disk and don't overwrite my existing home partition on sdb (the Seagate hard disk drive)..

When I start up with the live disk, I have found that I can open and read my Linuxmint Seagate volumes/files with an 'x' if I select 'open as administrator'. So it looks to me as if the Seagate hard drive is working OK and all of the contents are accessible. However, while I can access them as administrator I cannot copy any file to mint's Home on the live disk or to folders in the Windows ntfs partition which I can open from the live Linuxmint 17.3 disk. I can move files from the ntfs partition across to the Linuxmint Seagate drive's home partition, but not the other way.

It looks like a permission issue which I don't know how to fix. When in live disk and as administrator I check the properties of the jungle folder (/media/mint/dda6bcc6-2ce4-4dfa-baf2-a2e94cd57097), and then open the Permissions tab it shows the owner as 1000-user #1000 (not jungle). Under Owner in the inaccessible Folder access window it says: list.create/delete, no access.
Under that it shows Group as 1000 with no folder access and under that for Others it also shows no access.

In trying to use the terminal to use a suggestion to fix my ICEauthority problem I have somehow completely changed the owner of the jungle folder and the root folder to 1000-user #1000.

Appreciate further fix advice....

I don't think I will have any success with the suggestions from Laurent85 until I fix this problem.

User avatar
coffee412
Level 5
Level 5
Posts: 995
Joined: Mon Nov 12, 2012 7:38 pm
Location: Indiana, USA
Contact:

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by coffee412 » Mon Jun 06, 2016 8:10 am

Well, Before we go into permissions problems (easy fix probably) lets check the filesystem to make sure its ok.

I am assuming your partition is the ext4 type and the command below will check it for errors. This is always my first step in solving weird issues.


sudo fsck.ext4 -p -f -C0 /dev/sdb2

The above command should NEVER be run on a mounted filesystem. Once again, Boot from your dvd of mint and open a terminal. More information on this in the link below if you run into trouble:

https://help.ubuntu.com/community/Files ... leshooting

Next: Ownership and Permissions:

(The nice thing about permissions and file/directory ownership is that you do not have to boot from the live dvd to change them. You can alter them while booted and running from your original filesystem on the drive)

To change owner of files: (I will use me as the owner I am changing the files to - coffee)

chown coffee:coffee /home/coffee/somefile.zip

To change the owner of a directory and all files and subdirectories in it:

chown -R coffee:coffee /home/coffee

Now comes permissions:

The three basic permissions are read, write, execute. To look at the permissions of a file or folder you simply issue the command 'ls -l' <filename>.

Example: In my home directory (/home/coffee) I have a file called hardware.html . Lets look at the permissions on this file and I will explain how to understand them so you can apply it to your problem with your jungle directory. I could just troubleshoot this myself but then you would not learn anything.

coffee@coffee ~ $ ls -l hardware.html
-rw-r--r-- 1 coffee coffee 82012 Feb 17 06:51 hardware.html
coffee@coffee ~ $

Notice the far left of the printout above. You have -rw-r--r-- These are the file permissions. r=read, w=write, x=execute (not shown).

Understand that these permissions apply to 1. The owner, 2. The group members, 3. Everyone else

Owner group everyone else
rw- r-- r--

The - means it has not been set. In the above example, The Owner (coffee) has read and write permissions. The execute permission is not set. The group coffee belongs to has read permissions and everyone else has read permissions.

The command to change permissions is chmod. But it only understands numbers like 751. An example of the chmod command is:

chmod 751 hardware.html

How we get this number: Each group of letters (owner, group, everyone else) adds up to a total of 7. Therefore rw- = 6 . This is because starting from the far right the numbering is 1,2,4 which is a total of 7. The farthest left - will change if its a directory. It will show a "D" in that space.

421 421 421
- rw- r-- r--

So, The permissions on that file are 644 . Once again the far left - will change if its a directory.

Now we will change the permissions on this file so that only the owner can read it, write it, but since its not a file to execute we leave that alone.

chmod 600 hardware.html

Now we see:

coffee@coffee ~ $ ls -l hardware.html
-rw------- 1 coffee coffee 82012 Feb 17 06:51 hardware.html
coffee@coffee ~ $

Perhaps we want others that belong to the group coffee to be able to read or write to this file:

coffee@coffee ~ $ chmod 660 hardware.html
coffee@coffee ~ $ ls -l hardware.html
-rw-rw---- 1 coffee coffee 82012 Feb 17 06:51 hardware.html
coffee@coffee ~ $

Now lets just let everyone read and write to it:

coffee@coffee ~ $ chmod 666 hardware.html
coffee@coffee ~ $ ls -l hardware.html
-rw-rw-rw- 1 coffee coffee 82012 Feb 17 06:51 hardware.html

Now, Just for kicks - lets make this file executable. It will not run because its just an html file. But some files that you download will not have this bit set and needs to in order to execute (run) them. This is done simply by using the +x option.

coffee@coffee ~ $ chmod +x hardware.html
coffee@coffee ~ $ ls -l hardware.html
-rwxrwxrwx 1 coffee coffee 82012 Feb 17 06:51 hardware.html
coffee@coffee ~ $

see the x's ? This means what? Well everyone has execute permissions. You could fine tune it so that only the owner has execute permissions. I will leave that up to you to understand.

NOW. With all that in mind. Show me the permissions on your directory and the files inside it.

ls -l jungle

ls -l jungle/*

(Iam not sure of the path of your jungle directory. Change it to reflect your path)

Lets see what is going on and perhaps you will figure it out after you investigate the permissions (if thats the problem). BTW, I do believe (check on this) that files outside your home directory should have permissions set to 751.

:) coffee
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
IceWarp 12.0.3 * Mint 18.3 * RAID 1/5 * OpenVPN * Linux since kernel 2.0.36
************* Get Your Linux on! ***************

Laurent85
Level 16
Level 16
Posts: 6115
Joined: Tue May 26, 2015 10:11 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by Laurent85 » Mon Jun 06, 2016 9:04 am

There is nothing wrong with owner as #1000, the Live session is not aware of the jungle username, so only displaying the numeric uid.
jungle wrote: I have been have been trying to fix a 'Could not update ICEauthority file/home/jungle/.ICEauthority message/problem.
This message is typically a permission issue. You should first check /home/jungle/.ICEauthorityfile ownership and permissions. On my system the file reports as:

Code: Select all

ls -l /home/laurent/.ICEauthority
-rw------- 1 laurent laurent 310 Jun  6 09:00 /home/laurent/.ICEauthority
See for yourself my numeric uid is also #1000:

Code: Select all

ls -ln /home/laurent/.ICEauthority
-rw------- 1 1000 1000 310 Jun  6 09:00 /home/laurent/.ICEauthority
You should also check no file in your home directory owned by root, this command from the console Ctrl-Alt-F1 should return no data:

Code: Select all

find /home/jungle ! -user jungle -type f -exec ls -l {} +
Image

jungle
Level 2
Level 2
Posts: 90
Joined: Thu Feb 05, 2009 9:21 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by jungle » Mon Jun 06, 2016 10:56 am

Thanks for all of that information. Will need some time to read through and understand. Very happy to learn. Pouring with rain here, thunderstorm has hit and it is late at night. Won't be accessing my computer room out back until tomorrow, but very much looking forward to what tomorrow brings in understanding and working on a fix.

jungle
Level 2
Level 2
Posts: 90
Joined: Thu Feb 05, 2009 9:21 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by jungle » Tue Jun 07, 2016 4:54 am

To recap.

My ASUS motherboard computer is named belinda and my user name is jungle.
It is a dual boot computer with Windows 7 on one hard drive (sdb1) and LinuxMint on another hard drive (sdb2).
The grub loader is still working fine loading straight into LinuxMint unless I pan down and choose to load into Windows.
When in Linuxmint I can access the the two partitions in Windows (operating system and user folders and files). I also have a shared drive attached to my ASUS router modem accessible from Linuxmint and Windows 7.

I was operating with Linuxmint 17.0 when the problems began.
Message: Could not update ICEauthority file /home/jungle/.ICEauthority. I would close the message.
It did not stop me logging in but was slow in doing so.
With help from the forum I got the following information from the terminal.

jungle@belinda ~ $ ls -la /home/jungle/.ICEauthority
-rw------- 1 jungle jungle 20608 May 19 14.54 /home/jungle.ICEauthority

I presume this meant that jungle had read write permission.

This message was showing a date two weeks prior to the check. I fixed the date and also changed from autologin to using my username and password to login.

Tried a suggested fix. Logged into terminal prior to it logging into the graphical environment as per forum suggestion.
sudo chown jungle:jungle .ICEauthority
sudo chmod 600 .ICEauthority
Exited and tried rebooting with the command but still got the same message.

Used the Update Manager to update to Linuxmint 17.3 from 17.0.
Worked fine but still getting the could not update ICE authority message.

Suddenly I now get another message and no proper login to Linuxmint 17.3 anymore.
Message: 'The path from the directory containing caja settings need read write permissions: /home/jungle/.config/caja'
(not sure what I did to cause this).

Used forum suggestion and used the LinuxMint DVD terminal to enter
sudo fdisk -l/dev/sdb (see response up above).

Also used the login terminal today to do/get the following.
belinda" # ls -la /home
total 28
drwxr-xr-x 4 root root 4096 Dec 5 2014
drwxr-xr-x 23 jungle jungle 4096 Jan 7 13:21
drw------- 43 jungle jungle 4096 May 19 14:54 jungle
drwx----- 2 root root 16384 Dec 2014 lost+found

Have checked the file system today (using live Linuxmint DVD terminal) as follows:
$ sudo fsck.ext4 -p -f -C0 /dev/sdb3
/dev/sdb3: 375139/57745408 files (2.2% non-contiguous), 171140610/230957056 blocks

Have used the non graphical login terminal to try the following commands

sudo chown $USER: $HOME/.ICEauthority (and sudo chown jungle:jungle/.ICEauthority)
sudo chmod 0600 $HOME/.ICEauthority (and sudo chmod 0600 jungle/.ICEauthority)

No success logging in.

Tried the following using non graphical login terminal.
find /home/jungle ! -user jungle -type f -exec ls -l { } +
find: '/home/jungle/': Permission denied
No command '-user' found
-user: command not found

Tried the following:
ls -l /home/jungle/.ICEauthority
ls: cannot access /home/jungle/.ICEauthority: No such file or directory
/home/jungle/: ls cannot access /home/jungle/Music: Permission denied
Permission denied for all of the folders listed. (not printed here because i don't know how to copy and save from that terminal to this post being accessed through the Linuxmint dvd.

Have yet to try some of the permission change suggestions from coffee. Waiting to see further comments first.

Laurent85
Level 16
Level 16
Posts: 6115
Joined: Tue May 26, 2015 10:11 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by Laurent85 » Tue Jun 07, 2016 5:27 am

jungle wrote: Tried the following using non graphical login terminal.
find /home/jungle ! -user jungle -type f -exec ls -l { } +
find: '/home/jungle/': Permission denied
No command '-user' found
-user: command not found

Tried the following:
ls -l /home/jungle/.ICEauthority
ls: cannot access /home/jungle/.ICEauthority: No such file or directory
/home/jungle/: ls cannot access /home/jungle/Music: Permission denied
Permission denied for all of the folders listed. (not printed here because i don't know how to copy and save from that terminal to this post being accessed through the Linuxmint dvd.
These messages suggest you did not proceed properly. You may as root provide this command results from the Live session so we can guide you more precisely, copy/paste the command to avoid type in mistakes:

Code: Select all

sudo lsblk -o name,size,uuid,fstype,label,mountpoint
Image

jungle
Level 2
Level 2
Posts: 90
Joined: Thu Feb 05, 2009 9:21 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by jungle » Tue Jun 07, 2016 5:42 am

You were right I did mis read the terminal entry.
I was rechecking myself when i realised that.
When i used the command properly to check if any file in my home directory is owned by root I received no data.

See below, the command and reply to your follow up advice from the live terminal

mint@mint ~ $ sudo lsblk -o name,size,uuid,fstype,label,mountpoint
NAME SIZE UUID FSTYPE LABEL MOUNTPOINT
sda 931.5G
├─sda1 120G 433B3D2E0F2DAFD0 ntfs
└─sda2 704G 5F32E09D795212D8 ntfs hoppy
sdb 931.5G
├─sdb1 46.8G b08a1dc5-4a19-404a-93d8-f80f3d2e97c4 ext4
├─sdb2 3.7G 20e981ab-862e-4901-89ee-870a0be834cc swap [SWAP]
└─sdb3 881G dda6bcc6-2ce4-4dfa-baf2-a2e94cd57097 ext4
sr0 1.6G iso9660 Linux Mint 17.3 MATE 64-bit
/cdrom
sr1 1024M
loop0 1.5G

Laurent85
Level 16
Level 16
Posts: 6115
Joined: Tue May 26, 2015 10:11 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by Laurent85 » Tue Jun 07, 2016 6:18 am

From the Live session open a terminal, copy/paste the following commands into terminal:
Mounting partitions:

Code: Select all

sudo mount /dev/sdb1 /mnt
sudo mount /dev/sdb3 /mnt/home
drw------- 43 jungle jungle 4096 May 19 14:54 jungle
The execute permission is missing for your home folder:

Code: Select all

sudo chmod u+x /mnt/home/jungle
Provide the command results:

Code: Select all

sudo ls -la /mnt
sudo ls -la /mnt/home
sudo ls -la /mnt/home/jungle
sudo find /mnt/home/jungle ! -user 1000 -exec ls -l {} +
Image

jungle
Level 2
Level 2
Posts: 90
Joined: Thu Feb 05, 2009 9:21 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by jungle » Tue Jun 07, 2016 7:21 am

Many thanks for your help Laurent85.

See below outcome of terminal:

mint@mint ~ $ sudo mount /dev/sdb1 /mnt
mint@mint ~ $ sudo mount /dev/sdb3 /mnt/home
mint@mint ~ $ sudo chmod u+x /mnt/home/jungle
mint@mint ~ $ sudo ls -la /mnt
total 120
drw------- 23 1000 1000 4096 Jun 7 05:21 .
drwxr-xr-x 1 root root 220 Jun 7 2016 ..
-rw------- 1 1000 1000 970 Jun 7 06:00 .bash_history
drwxr-xr-x 2 root root 4096 Jun 2 06:54 bin
drwxr-xr-x 3 root root 4096 Jun 3 04:59 boot
drwxr-xr-x 2 root root 4096 Dec 5 2014 cdrom
drwxr-xr-x 4 root root 4096 Nov 26 2014 dev
drwxr-xr-x 161 root root 12288 Jun 7 09:24 etc
drwxr-xr-x 4 root root 4096 Dec 5 2014 home
lrwxrwxrwx 1 root root 33 Dec 5 2014 initrd.img -> boot/initrd.img-3.13.0-24-generic
lrwxrwxrwx 1 root root 33 Dec 5 2014 initrd.img.old -> boot/initrd.img-3.13.0-37-generic
drwxr-xr-x 25 root root 4096 May 27 08:27 lib
drwxr-xr-x 2 root root 4096 May 27 08:27 lib64
drwx------ 2 root root 16384 Dec 5 2014 lost+found
drwxr-xr-x 3 root root 4096 Dec 5 2014 media
drwxr-xr-x 2 root root 4096 Apr 10 2014 mnt
drwxr-xr-x 4 root root 4096 Dec 19 05:58 opt
drwxr-xr-x 2 root root 4096 Apr 10 2014 proc
drwx------ 15 root root 4096 Jun 7 05:41 root
drwxr-xr-x 12 root root 4096 Nov 26 2014 run
drwxr-xr-x 2 root root 12288 Jun 3 04:58 sbin
drwxr-xr-x 2 root root 4096 Nov 26 2014 srv
drwxr-xr-x 2 root root 4096 Mar 13 2014 sys
drwxrwxrwt 8 root root 4096 Jun 7 09:24 tmp
drwxr-xr-x 11 root root 4096 Dec 15 2014 usr
drwxr-xr-x 11 root root 4096 Nov 26 2014 var
lrwxrwxrwx 1 root root 30 Dec 5 2014 vmlinuz -> boot/vmlinuz-3.13.0-24-generic
lrwxrwxrwx 1 root root 30 Dec 5 2014 vmlinuz.old -> boot/vmlinuz-3.13.0-37-generic
mint@mint ~ $ sudo ls -la /mnt/home
total 28
drwxr-xr-x 4 root root 4096 Dec 5 2014 .
drw------- 23 1000 1000 4096 Jun 7 05:21 ..
drwx------ 43 1000 1000 4096 May 19 06:54 jungle
drwx------ 2 root root 16384 Dec 5 2014 lost+found
mint@mint ~ $ sudo ls -la /mnt/home/jungle
total 292
drwx------ 43 1000 1000 4096 May 19 06:54 .
drwxr-xr-x 4 root root 4096 Dec 5 2014 ..
drwxrwxr-x 3 1000 1000 4096 Dec 5 2014 .adobe
drwxrwxr-x 3 1000 1000 4096 Dec 24 05:34 .audacity-data
-rw------- 1 1000 1000 4575 Jun 4 02:00 .bash_history
-rw-r--r-- 1 1000 1000 220 Dec 5 2014 .bash_logout
drwxrwxr-x 18 1000 1000 4096 Jun 4 01:31 .cache
drwxrwxr-x 8 1000 1000 4096 Nov 16 2015 .claws-mail
drwxrwxr-x 39 1000 1000 4096 Jun 2 07:40 .config
drwxrwxr-x 2 1000 1000 4096 Dec 16 2014 .cups
drwxrwxr-x 3 1000 1000 4096 Dec 5 2014 .dbus
drwxrwxr-x 2 1000 1000 4096 Jun 3 08:25 Desktop
-rw------- 1 1000 1000 28 May 19 06:54 .dmrc
drwxrwxr-x 46 1000 1000 4096 May 30 02:26 Documents
drwxrwxr-x 3 1000 1000 4096 Jun 3 08:42 Downloads
drwxrwxr-x 10 1000 1000 4096 Jan 14 02:10 .dvdcss
-rw-r--r-- 1 1000 1000 17878 Dec 5 2014 .face
drwxrwxr-x 2 1000 1000 4096 Dec 5 2014 .fontconfig
drwxrwxr-x 4 1000 1000 4096 Jun 4 01:31 .gconf
drwxrwxr-x 24 1000 1000 4096 Mar 17 06:06 .gimp-2.8
-rw-r--r-- 1 1000 1000 252 Dec 19 05:31 .Ginkgo
drwxr-x--- 3 1000 1000 4096 Dec 19 05:26 .ginkgocadx
-rw------- 1 1000 1000 5 Dec 19 05:33 Ginkgo-jungle
-rw-r--r-- 1 1000 1000 256 Dec 19 05:33 .GinkgoUser
-rw-r----- 1 1000 1000 0 Jun 3 07:17 .gksu.lock
drwxrwxr-x 3 1000 1000 4096 Mar 31 08:57 .gnome2
drwxrwxr-x 2 1000 1000 4096 Dec 5 2014 .gnome2_private
drwxrwxr-x 2 1000 1000 4096 Apr 2 00:54 .gstreamer-0.10
drwxrwxr-x 7 1000 1000 4096 Sep 18 2015 .guayadeque
-rw------- 1 1000 1000 20608 May 19 06:54 .ICEauthority
drwxrwxr-x 2 1000 1000 4096 Dec 5 2014 .icons
drwxrwxr-x 4 1000 1000 4096 Mar 19 2015 .kde
drwxrwxr-x 24 1000 1000 4096 Jan 4 07:51 LaCie
drwxrwxr-x 4 1000 1000 4096 May 31 06:09 .lastpass
drwxrwxr-x 5 1000 1000 4096 Dec 5 2014 .linuxmint
drwxrwxr-x 3 1000 1000 4096 Dec 5 2014 .local
drwxrwxr-x 3 1000 1000 4096 Dec 5 2014 .macromedia
drwxrwxr-x 4 1000 1000 4096 Dec 5 2014 .mozilla
drwxrwxr-x 2 1000 1000 4096 Dec 27 2014 .mplayer
drwxrwxr-x 68 1000 1000 4096 Feb 3 04:07 Music
drwxrwxr-x 6 1000 1000 4096 Mar 2 2015 .openshot
drwxrwxr-x 77 1000 1000 4096 Jun 6 01:31 Pictures
-rw-r--r-- 1 1000 1000 675 Dec 5 2014 .profile
drwxrwxr-x 2 1000 1000 4096 Dec 5 2014 Public
drwx------ 4 1000 1000 4096 Oct 16 2015 .purple
drwxr-xr-x 5 1000 1000 4096 Mar 31 08:46 .rednotebook
drwx------ 6 1000 1000 4096 Oct 16 2015 .Skype
drwxrwxr-x 2 1000 1000 4096 Dec 5 2014 Templates
drwxrwxr-x 2 1000 1000 4096 Dec 5 2014 .themes
drwxrwxr-x 3 1000 1000 4096 Dec 16 2014 .thumbnails
drwxrwxr-x 4 1000 1000 4096 Dec 14 2014 .thunderbird
drwxrwxr-x 9 1000 1000 4096 Jan 4 07:13 Videos
drwxr-xr-x 4 1000 1000 4096 Jan 21 04:03 .wine
-rw------- 1 1000 1000 118 May 19 06:54 .Xauthority
-rw-r--r-- 1 1000 1000 131 Mar 2 2015 .xinputrc
-rw-r--r-- 1 1000 1000 27171 May 19 10:58 .xsession-errors
mint@mint ~ $ sudo find /mnt/home/jungle ! -user 1000 -exec ls -l {} +

Laurent85
Level 16
Level 16
Posts: 6115
Joined: Tue May 26, 2015 10:11 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by Laurent85 » Tue Jun 07, 2016 8:01 am

Permissions look correct now. Does the error message related to file /home/jungle/.ICEauthority still showing up ?
Image

jungle
Level 2
Level 2
Posts: 90
Joined: Thu Feb 05, 2009 9:21 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by jungle » Tue Jun 07, 2016 9:11 am

Have been trying to load into Linuxmint 17.3 through the normal boot process, but not getting in. It brings up a Linuxmint loading screen (small logo in middle of black screen) but nothing else happens. Does not get to the ICE authority error message or login. Have waited a few minutes twice but no success. Same result.

Am now back in using the live Linuxmint dvd. Can open sbd2 my Seagate hard drive with Linuxmint on it. Can see the jungle folder. It still has the cross on it but I can open it as administrator. Can open (read) all the contents but not move or save any file in there to another location (e.g. the Mint desktop or the to the ntfs directory on sdb1 where I save my Windows files) - Permission denied.

User avatar
austin.texas
Level 20
Level 20
Posts: 12054
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by austin.texas » Tue Jun 07, 2016 9:24 am

.ICEauthority is showing the correct ownership. I don't understand why any error message would be displayed.
Laurent85 wrote:There is nothing wrong with owner as #1000, the Live session is not aware of the jungle username, so only displaying the numeric uid.
For the record, that display of "1000" in the live Mint session can be fixed with "sudo adduser jungle".
mint@mint ~ $ sudo lsblk -o name,size,label,mountpoint
NAME SIZE LABEL MOUNTPOINT
sda 931.5G
├─sda1 4M
├─sda2 8.5G [SWAP]
├─sda3 30G sda3_LM17.3Mate
├─sda4 30G sda4_Korora23
├─sda5 30G sda5_LM18Cinn
├─sda6 30G sda6
└─sda7 410G DATA_sda7
mint@mint ~ $ sudo mount /dev/sda3 /mnt
mint@mint ~ $ ls -la /mnt/home
total 12
drwxr-xr-x 3 root root 4096 May 20 11:54 .
drwxr-xr-x 24 root root 4096 May 29 12:03 ..
drwxr-xr-x 19 1000 1000 4096 May 28 13:44 dan
mint@mint ~ $ sudo adduser dan
Adding user `dan' ...
Adding new group `dan' (1000) ...
Adding new user `dan' (1000) with group `dan' ...
mint@mint ~ $ id mint
uid=999(mint) gid=999(mint) groups=999(mint),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),107(lpadmin),110(sambashare)
mint@mint ~ $ id dan
uid=1000(dan) gid=1000(dan) groups=1000(dan)
mint@mint ~ $ ls -la /mnt/home
total 12
drwxr-xr-x 3 root root 4096 May 20 11:54 .
drwxr-xr-x 24 root root 4096 May 29 12:03 ..
drwxr-xr-x 19 dan dan 4096 May 28 13:44 dan

Creating the user "jungle" in the live session will then allow you to run: sudo chown -R jungle:jungle /mnt/home/jungle
(which you can not do, otherwise.)
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018

jungle
Level 2
Level 2
Posts: 90
Joined: Thu Feb 05, 2009 9:21 am

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by jungle » Tue Jun 07, 2016 9:50 am

Oh I tried doing that. All seems ok until the last line....

mint@mint ~ $ sudo lsblk -o name,size,label,mountpoint
NAME SIZE LABEL MOUNTPOINT
sda 931.5G
├─sda1 120G
└─sda2 704G hoppy /media/mint/hoppy
sdb 931.5G
├─sdb1 46.8G /media/mint/b08a1dc5-4a19-404a-93d8-f8
├─sdb2 3.7G [SWAP]
└─sdb3 881G /media/mint/dda6bcc6-2ce4-4dfa-baf2-a2
sr0 1.6G Linux Mint 17.3 MATE 64-bit /cdrom
sr1 1024M
loop0 1.5G /rofs
mint@mint ~ $ sudo mount /dev/sdb1 /mnt
mint@mint ~ $ ls -la /mnt/home
ls: cannot access /mnt/home: Permission denied
mint@mint ~ $ sudo adduser jungle
Adding user `jungle' ...
Adding new group `jungle' (1000) ...
Adding new user `jungle' (1000) with group `jungle' ...
Creating home directory `/home/jungle' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for jungle
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] Y
mint@mint ~ $ id mint
uid=999(mint) gid=999(mint) groups=999(mint),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),107(lpadmin),110(sambashare)
mint@mint ~ $ id jungle
uid=1000(jungle) gid=1000(jungle) groups=1000(jungle)
mint@mint ~ $ ls -la /mnt/home
ls: cannot access /mnt/home: Permission denied

mint@mint ~ $ sudo chown -R jungle:jungle /mnt/home/jungle
chown: cannot access ‘/mnt/home/jungle’: No such file or directory

mint@mint ~ $ ls -la /home
total 0
drwxr-xr-x 1 root root 80 Jun 7 21:41 .
drwxr-xr-x 1 root root 240 Jun 8 2016 ..
drwxr-xr-x 4 jungle jungle 120 Jun 7 21:41 jungle
drwxr-xr-x 19 mint mint 500 Jun 7 20:56 mint
mint@mint ~ $
Last edited by jungle on Tue Jun 07, 2016 10:07 am, edited 1 time in total.

User avatar
austin.texas
Level 20
Level 20
Posts: 12054
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: LinuxMint 17.3 Installation - Do I need a new Hard Disk Drive

Post by austin.texas » Tue Jun 07, 2016 10:04 am

When you ran the first command, it showed sdb1 as already mounted:
sdb 931.5G
├─sdb1 46.8G /media/mint/b08a1dc5-4a19-404a-93d8-f8
├─sdb2 3.7G [SWAP]
└─sdb3 881G /media/mint/dda6bcc6-2ce4-4dfa-baf2-a2
So "sudo mount /dev/sdb1 /mnt" did not work.
To list the files, run

Code: Select all

ls -la /media/mint/b08a1dc5-4a19-404a-93d8-f8/home
(because that is where it is mounted)

Oh, and by the way, I don't have a separate /home partition, so /home/dan and all contents are on my / partition.
If you do have a separate /home partition (sda3) then you want:

Code: Select all

ls -la  /media/mint/dda6bcc6-2ce4-4dfa-baf2-a2
Last edited by austin.texas on Tue Jun 07, 2016 10:17 am, edited 1 time in total.
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018

Post Reply

Return to “Installation & Boot”