LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-17-2014, 04:32 PM   #1
momist
LQ Newbie
 
Registered: Dec 2004
Location: Lancashire, UK
Posts: 17

Rep: Reputation: 1
Startup error after drive installation.


Hi everyone.

I recently had a hard drive failure. I'm running Mint 16 with MATE desktop on an AMD A8 processor. I had two 1TB hard drives, one with six partitions for various uses, /home on it's own partition with symlinks to /music and /photos etc. The root is on it's own partion to permit clean installs instead of upgrades. The other TB drive was for backups only, and it's that one that was failing with progressively more and more bad sectors.

I've installed a new 2TB HD to replace that, and tried to run all three to let me keep/transfer the old backups, but with no joy as it seemed the backup drive had become too corrupt to mount properly. I've now removed the faulty drive.

Now, whenever I boot the machine, I get a black screen with the following error message:

keys:continue to wait, or Press S to skip mounting or M for manual recovery.

If I press S, the machine boots normally and runs fine from then on, if I press M it drops me into a command line, but I'm not knowledgeable enough to go much further with that. Waiting seems to last forever, although I haven't had the patience to test it beyond about 15 minutes.

I suspect it is still trying to find and load the old hard drive. I've tried:

sudo update-grub

but to no avail. I suspect I need to edit fstab, but as each variant of linux seems to have quirks regarding the structure of that, I am reluctant to dive in without some advice.

Can anyone help please?

Thanks,
Ian
 
Old 03-18-2014, 06:53 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
AFAIK, /etc/fstab is /etc/fstab. Ubuntu adds comments indicating the device each listed partition was on during installation, but the structure is the same among all distros. From my /etc/fstab:
Code:
UUID=19353959-5f58-48ad-b115-552c2c2b4b51 /mnt/Common             ext4    defaults        0 0
/dev/sda12                                /mnt/F21                ext4    defaults        0 0
Most (if not all) distros now use the UUID to identify the partition to be mounted, as in the first line above, rather than device name, as in the second line. This is because device names can change when disks are added to or removed from the system, whereas a partition's uuid is fixed (and unique, unless you use dd or a similar utility to copy one partition to another). It appears your /etc/fstab file lists partitions (by UUID) that are no longer connected to your system. If that's the case, just comment out those lines and reboot
 
2 members found this post helpful.
Old 03-18-2014, 09:54 AM   #3
momist
LQ Newbie
 
Registered: Dec 2004
Location: Lancashire, UK
Posts: 17

Original Poster
Rep: Reputation: 1
[solved]

Quote:
Originally Posted by RockDoctor View Post
AFAIK, /etc/fstab is /etc/fstab. Ubuntu adds comments indicating the device each listed partition was on during installation, but the structure is the same among all distros.
(snip)
It appears your /etc/fstab file lists partitions (by UUID) that are no longer connected to your system. If that's the case, just comment out those lines and reboot
Thanks RockDoctor, you were spot on. Commenting out the old UUID for /BackupDrive did indeed solve the problem, what I find strange is that the new disk (renamed the same as the old) does not appear in fstab, but is accessible from the system anyway. This begs the question if it needs to be listed in fstab?

Anyway, you have removed a source of my stress. Now if only I can ditch this terrible cold I'm fighting.
 
1 members found this post helpful.
  


Reply

Tags
boot, grub, hdd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Processing Drive during Scientific Linux installation RegulusDeneb Linux - Newbie 5 05-12-2013 11:01 PM
Installation error during installation of RHEL 5 using usb drive sunrave Red Hat 1 05-14-2012 05:22 AM
OS will not boot after good installation. Freezes at startup with error, maybe LILO? ShockProductions Slackware 4 08-06-2007 10:32 AM
Hard drive installation error, not recognizing ISO files PDAOmega Fedora - Installation 2 07-24-2005 11:24 PM
ALSA Startup error, MPlayer startup error, Sid andymadigan Debian 4 08-03-2004 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration