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

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

Post by jungle » Tue Jun 07, 2016 10:10 am

mint@mint ~ $ ls -la /media/mint/b08a1dc5-4a19-404a-93d8-f8/home
ls: cannot access /media/mint/b08a1dc5-4a19-404a-93d8-f8/home: No such file or directory
Last edited by jungle on Thu Jun 09, 2016 3:32 am, edited 1 time in total.

Laurent85
Level 16
Level 16
Posts: 6117
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 10:15 am

Since the boot process fails there is something else wrong or broken with the system not related to your home forder or permissions.

You may check the root filesystem consistency, from a terminal:

Code: Select all

sudo fsck -f -C0 /dev/sdb1
You may also post the inxi overview report:

Code: Select all

inxi -Fxz
Also provide available drivers:

Code: Select all

ubuntu-drivers devices
You might have to reinstall, since your home folder is on a seperate partition all your data and settings are saved. Of course you need to select the installation type Something else, assign sdb1 to root "/", tick format sdb1, assign sdb3 to /home and do not tick format sdb3, otherwise you data would be lost :!:

You should before reinstalling backup your data to an external drive :idea:
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 10:28 am

mint@mint ~ $ sudo fsck -f -C0 /dev/sdb1
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
/dev/sdb1 is mounted.
e2fsck: Cannot continue, aborting.


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: 1880 MHz 2: 1739 MHz 3: 1716 MHz
4: 1978 MHz 5: 1652 MHz 6: 1701 MHz 7: 1685 MHz 8: 1641 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: 33C
ID-2: /dev/sdb model: ST31000524AS size: 1000.2GB temp: 32C
Partition: ID-1: / size: 3.8G used: 92M (3%) 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: 250 Uptime: 1:25 Memory: 573.5/7669.0MB
Init: Upstart runlevel: 2 Gcc sys: 4.8.4
Client: Shell (bash 4.3.111) inxi: 2.2.28
mint@mint ~ $ ubuntu-drivers devices
mint@mint ~ $ ubuntu-drivers devices
mint@mint ~ $

Yes, I have been thinking about a reinstall. And was going to proceed as you say except that I don't know if (a) a back up will work because I can't even copy a file in my Linux home anywhere; and (b) whether I will be able to access files in the untouched home partition afterwards or not. If the worst comes to the worst, I already use my Windows hard drive to duplicate almost every file on Linux home and I did back up my Linuxmint home to an external hard drive not too long ago....

Laurent85
Level 16
Level 16
Posts: 6117
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 10:40 am

jungle wrote:mint@mint ~ $ sudo fsck -f -C0 /dev/sdb1
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
/dev/sdb1 is mounted.
e2fsck: Cannot continue, aborting.
Unmount sdb1 (actually /media/mint/b08a1dc5-4a19-404a-93d8-f8) before proceeding either from File Manager, or from the command line:

Code: Select all

sudo umount /dev/sdb1
Then run fsck:

Code: Select all

sudo fsck -f -C0 /dev/sdb1
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 10:59 am

See outcome below...

mint@mint ~ $ sudo umount /dev/sdb1
mint@mint ~ $ sudo fsck -f -C0 /dev/sdb1
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sdb1: 311072/3066000 files (0.3% non-contiguous), 6624263/12256768 blocks

Laurent85
Level 16
Level 16
Posts: 6117
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 11:15 am

Root filesystem sdb1 is clean.
I can't even copy a file in my Linux home anywhere
I doubt that. If you have read write access as user root and previous command results confirm that, the problem is not related to the source but to the destination, its permissions or the way you proceed.

Try this:

Code: Select all

sudo umount /dev/sda2
sudo mount /dev/sda2 /mnt && touch /mnt/writetest && echo "write access: OK" || echo "command failed"
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 11:26 am

Appreciate your help.
See outcome below:

mint@mint ~ $ sudo umount /dev/sda2
mint@mint ~ $ sudo mount /dev/sda2 /mnt && touch /mnt/writetest && echo "write access: OK" || echo "command failed"write access: OK

Laurent85
Level 16
Level 16
Posts: 6117
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 11:39 am

jungle wrote: mint@mint ~ $ sudo umount /dev/sda2
mint@mint ~ $ sudo mount /dev/sda2 /mnt && touch /mnt/writetest && echo "write access: OK" || echo "command failed"write access: OK
So it works :!: I guess there is something wrong with the way you proceed.

Unmount sda2 now:

Code: Select all

sudo umount /dev/sda2
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 11:55 am

Ok, still have the x on the jungle directory in my home partition. Can read all files there using the live Linux DVD but can't copy any of them anywhere. Don't understand why not.

Getting late here in Western Australia.

Have initiated back-up of files in my home drive to an external drive using Linuxmint Backup Tool and it seems to be working OK. Will take all night to finish...

Will have another look tomorrow, and will try booting into Linuxmint without using the DVD.

If that doesn't work I think i will just install Rosa 17.3 from the DVD taking care not to format my home partition. Thinking also of upgrading to Mint 18, but want to get everything working again (Brother printer and VPN) before I think about that.

Very much appreciate all of the input and help from forum members. Quite awesome and makes Linux very special.

:) jungle

Laurent85
Level 16
Level 16
Posts: 6117
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 12:04 pm

jungle wrote:Ok, still have the x on the jungle directory in my home partition.
The live session mint user id is #999, so can't access jungle home folder uid #1000, and your folder permissions are set to only allow rwx access to uid #1000.
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 » Tue Jun 07, 2016 12:30 pm

Laurent85 wrote:
jungle wrote:Ok, still have the x on the jungle directory in my home partition.
The live session mint user id is #999, so can't access jungle home folder uid #1000, and your folder permissions are set to only allow rwx access to uid #1000.
In the live mint, you can use sudo to copy any folders or files to any destination, while preserving the correct ownership of the files, with:

Code: Select all

sudo cp -a /path/to/files /path/to/backup/destination
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 7:50 pm

Ah! thanks for that info.

Will try using the sudo command from live DVD terminal later. Just a few files that aren't already duplicated on the Windows partition, so be good to copy them over. Will do this after my back up completes.

In the meantime my back up is progressing. Has been going overnight and is now about 17% complete.

Thanks again. Have learned a lot in the process. :D

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 » Wed Jun 08, 2016 12:07 am

Hmm. Back up using LinuxMint Backup tool ran into a problem. Stopped working after about 17% of files backed up. Got stuck on calculating checksum a lastpass plugin. I see on another forum where there is a problem/bug with lastpass pipes which is preventing the back up.

Everything is OK though. Now using the LinuxMint Backup tool to back up just those files in jungle/home directory that I need and that is working just fine.

In the meantime have tried that command (above) in live Mint terminal to implement a copy/save solution to another drive, but no success. See result below:

mint@mint ~ $ sudo cp -a /path/to/files /path/to/backup/destination
cp: cannot stat ‘/path/to/files’: No such file or directory

Don't need this now, but still interested in your comments.

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 » Thu Jun 09, 2016 3:32 am

So, the answer is that I don't need a new hard drive.
Everything is OK now, but see short summary below...

Despite all of the help provided I still could not boot into Linuxmint 17.3 on its separate hard drive on my desktop computer. Many thanks to all forum members who gave assistance. With their help it was clear that there was no problem with that hard drive.

I did manage to use the Linuxmint Backup Tool (using a live Linuxmint 17.3 system disc) to back up critical files on my home drive. This was a precautionary measure in case a new install went wrong.

I used the live Linuxmint dvd to install Rosa 17.3 and the new installation went smoothly. I have three partitions for Linuxmint. I have a separate ext 4 root partition (/) which I formatted as part of the install process (50GB in size). I have a second ext4 partition ( / home) which I did not touch. This is where all of my files are kept (946 GB). And a third swap partition (4GB).

As planned I now have a new version of Linuxmint 17.3 installed (this time from a live boot dvd and not through the Update Manager). This gives me the latest kernel too which is a plus. As planned all of my files are still intact on the /home partition (so no need to use the backed up files).

As part of the installation process I set the computer to boot from the Linuxmint hard drive and I have my dual system computer's BIOS set to boot from that drive too. I can still load into Windows 7 if necessary, and, when in Linuxmint I can see and access all of the files in my Windows 7 home drive. (Like Linux I have two main partitions for Windows, one for the operating system and all software and one for my personal files). Both partitions are accessible when I'm in Linuxmint.

The only issue was that I could not see my hard-drive attached to my ASUS modem/router. But this is easily fixed as I was shown by forum member.

So it's good news for me.

Thanks to all forum members for theirhelp.

Post Reply

Return to “Installation & Boot”