LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2016, 02:37 PM   #1
mikeb1986
LQ Newbie
 
Registered: Mar 2011
Posts: 26

Rep: Reputation: 0
"unrecognised partition" on 2 seperate HDDs


This is becoming a recurring problem (3 times) and if possible I would like to know how to get my HDD back as it was, more importantly I'd like to know whats likely to be causing it and how to stop it happening

I have 2 HDDs on the PC. dev/sda is a 128Gb SSD running Xubuntu 16.04 with a single partition. This became unreadable after I tried booting from a USB drive (possibly a coincidence) with the error
Error: Unknown filesystem,
grub rescue>

I tried booting from the other HDD which I know worked 2 days ago, it has an older version of Mint on that I use for printing because I cant get my printer going in Xubuntu, and it gave me the same error. I tried unplugging my SSD, in case it was still trying to boot through there somehow with no luck

With some googling I found these commands
set root =(HDD location)
set prefix= (HDD location)/boot/grub
insmod normal
normal

and for all partitions I got normal.mod not found

If it was happening on one HDD, I would be tempted to blame and replace the HDD. Seems unlikely 2 HDDs are starting to fail at a year old. How likely is it my motherboard (Gigabyte still looking for model no) is frying my HDDs?

I have used fdisk(I think) in the past with some success but any advice on how to recover my partitions would be appreciated. Mainly want the Mint one because it normally takes me a good few hours googling to get the printer going. Obviously theres stuff on the SSD I'd prefer not to loose but I'll live without it
currently on gparted, both partitions I'm having trouble with are showing up as "unknown" but they are there and the right sizes, and they both have the following warning. The other partitions on /sdb are all there and working properly, it is only the linux partition that is damaged

Unable to detect file system! Possible reasons are:
- The file system is damaged
- The file system is unknown to GParted
- There is no file system available (unformatted)
- The device entry /dev/sdb4 is missing

Thanks
 
Old 05-31-2016, 03:56 PM   #2
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
That is a weird issue I once encountered when trying to install PC-BSD, one the first attempt it fried my Linux partition and on the second attempt my whole partition table went out - although those hard disks haven't given me issues since. Also, what OS were you booting on the USB Drive?

I *STRONGLY* recommend before doing anything else, booting to another Live USB Thumbdrive or Cd with a live distro that contains "testdisk" and "photorec" (KNOPPIX includes it, although not too sure about Mint or (X)Ubuntu), and recovering your data. Whatever that's causing your issue may corrupt the partition table or other partitions, so I'd rescue what you can first.

I found a quick guide on how to use photorec to rescue data from a corrupt file system:

http://www.cgsecurity.org/wiki/Photo...Rec_executable

testdisk and photorec might also be able to look for things that would give you a clue on what got corrupted. There are also tests for the integrity of (at least) physical drives like "badblocks".

One last thing, perhaps you want to look up issues with the specific models of your motherboard, power supply, and hard disks.

Best luck!
 
Old 05-31-2016, 04:06 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,503

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
This became unreadable after I tried booting from a USB drive (possibly a coincidence) with the error
Simply "trying" to boot from a usb in itself would not logically create a problem like this so did you actually boot something from the usb and what was it and what if anything did you do after booting it? The reason I ask is the message you report "I got normal.mod not found".

Have you run fsck on whichever partitions you get the message on?
Can you mount any of the partitions with the boot directory to see if you actually have a 'normal.mod' file?
Can you post the output of fdisk -l or an image of GParted screen?
 
Old 05-31-2016, 04:11 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
This became unreadable after I tried booting from a USB drive (possibly a coincidence) with the error
HOW?

as in did you change the boot order in the bios ?

what did you do ?

as above just putting a usb in and ( if SET to boot first) will not cause any change
 
Old 05-31-2016, 11:53 PM   #5
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
mikeb1986,

As yancek asked above, we really need the output of:

Code:
sudo fdisk -l
or a photo of your GParted screen.

Is all your personal data backed up?
 
Old 06-01-2016, 12:55 AM   #6
mikeb1986
LQ Newbie
 
Registered: Mar 2011
Posts: 26

Original Poster
Rep: Reputation: 0
Thank you all for replies, I am short of time now but will answer what I can quickly, I will have a go with fdisk etc. after work.


I know booting from a live USB shouldn't do any damage. The USB drive had either Mint or Xubunutu on it I was loading it to see which it was mainly. I didnt get that far because on the boot menu my keyboard wouldn't work (USB, but always has worked to set up in the past). I thought it was odd but Mrs was waiting to go shopping so came back to it later. When I did the PC wouldn't boot (unknown filesystem). The keyboard wasn't working still in the BIOS or boot menu thinking about it, I ended up removing my SSD so I could boot from the HDD without using boot menu. But after I made a fresh USB live disk to run on (on Windows laptop) the BIOS etc. was working fine. I did try with and without the old live USB plugged in

I can't mount either partition. But the good partitions on the HDD are mounted and usable

Personal data is mainly backed up. Theres bits I would like that I'm not certain are backed up, but nothing I'll lose sleep over. I would mainly like to get the Mint partition back up and running as it was so I still have a printer I can use

gparted screenshots
http://s33.postimg.org/s3h1f1p2n/Screenshot.png
http://s33.postimg.org/ol0woafqn/Screenshot_1.png

part of fdisk -l output. I assume only this is relevant but happy to post the lot if it helps. I notice the partitions are both showing up as linux here, not unrecognised

Code:
Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 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
Disklabel type: dos
Disk identifier: 0x000e982b

Device     Boot Start       End   Sectors   Size Id Type
/dev/sda1  *     2048 250068991 250066944 119.2G 83 Linux


Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xf8202312

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sdb1       1227923456 3890323455 2662400000   1.2T 83 Linux
/dev/sdb2       3890325504 3907028991   16703488     8G 82 Linux swap / Solaris
/dev/sdb3             2048  613963775  613961728 292.8G  7 HPFS/NTFS/exFAT
/dev/sdb4  *     613963776 1227922760  613958985 292.8G 83 Linux

Partition table entries are not in disk order.
 
Old 06-01-2016, 01:25 AM   #7
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
mikeb1986,

Thanks for the info.

Whilst this is being analysed, I think it would be a good idea to burn a Rescatux CD:

http://www.supergrubdisk.org/rescatux/
 
Old 06-01-2016, 12:06 PM   #8
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
mikeb1986,

First of all, as wagscat123 strongly recommends, it is important to retrieve any personal data from both the SSD and HDD1.

I bought one of these mains-powered USB 2.0 to SATA/IDE adapter kits ages ago:
https://www.amazon.co.uk/dp/B001A5SK...9VPGVXV6MAXKP1

Much cheaper is something like this USB to SATA HDD adapter:

https://www.amazon.co.uk/Proxima-Dir.../dp/B0098AF3U0

Connect the adapter to the SSD.
Then ideally borrow a functioning Linux PC/laptop and plug in the adapter's USB connector.

Boot up the PC/laptop and the SSD should appear as a 128GB volume (probably less) external drive on your Desktop.
Click on volume/drive.
Click on the username and all the folders for your Documents, Downloads, Pictures, Videos etc should be shown.

Then copy & paste this personal data to another external drive (HDD2).

Repeat the operation for the 1.8TB HDD1.

If nothing shows up on the SSD and HDD1 then you will need to use TestDisk or PhotoRec to try to recover the data.

Once you have recovered your data, I suggest that you do something like *this:

http://www.linuxquestions.org/questi...d-drive-36892/

*NB This assumes that you are installing Linux Mint on the SSD and using the HDD1 for storage.

If you also need to use Windows then you will need to do something different.
 
Old 06-01-2016, 12:53 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,503

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
After doing your backup, you might try running a filesystem check from a Live CD.

Some info on the 'normal.mod not found' error at the link below.

http://askubuntu.com/questions/26642...-mod-not-found
 
Old 06-01-2016, 01:17 PM   #10
mikeb1986
LQ Newbie
 
Registered: Mar 2011
Posts: 26

Original Poster
Rep: Reputation: 0
Thanks again

beachboy2. I am going to have a go with the rescatux program I haven't come across it before but I like the idea of a nice wizard rather than trying to stumble through blindly like I normally do.

The tutorial link you have posted regarding SSDs, I assume this makes the PC run from the SSD but gives access to the full size HDD for storing? I have tried to do that before but with no luck. I currently use a big partition on the HDD and manually transfer files when I am done with them.
Is there any reason this wouldn't work with Xubuntu rather than Mint,
and is there any reason it wouldn't work if I had a separate partition on the HDD to run my older version of Mint, since thats all I can get my printer to work on

Yancek, I did come across that thread when I was looking for an obvious quick fix yesterday. It didn't help because the 2 partitions that should have grub on are "unknown"
 
Old 06-01-2016, 02:01 PM   #11
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
mikeb1986,

Quote:
The tutorial link you have posted regarding SSDs, I assume this makes the PC run from the SSD but gives access to the full size HDD for storing? I have tried to do that before but with no luck.
Dogman2 managed it recently after a hiccup or two:

http://www.linuxquestions.org/questi...ge-4175580891/

The only proviso is that you must be 100% accurate with your typing.

Also, print off the tutorial notes first.

The Linux OS is immaterial.

Just as a matter of interest, what is your printer?

There must be a current Xubuntu, Mint, Ubuntu etc with which your printer will work, surely?

NB Make sure that you recover your personal data before doing anything else.
Failure to do so could well result in lost data!
 
Old 06-01-2016, 03:26 PM   #12
mikeb1986
LQ Newbie
 
Registered: Mar 2011
Posts: 26

Original Poster
Rep: Reputation: 0
The printer is Epson XP 322, there are linux drivers for it but there was a known bug with X/Ubuntu 16 at the time I was looking and Epson aren't supporting linux drivers anymore. I did have a look into it but gave up, I knew it would work on Mint anyway.

I have photorec running on SSD now to recover what I can. I will quickly have a go at restoring the partition on it tonight when that's done, but it will be tomorrow before I try much more than that

My main issue now is finding out what is causing the problem so I can try and stop it happening again
 
Old 06-01-2016, 03:55 PM   #13
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
mikeb1986,

A workaround has apparently been found for the printer Bug #1536353.

See post #34 onwards:

https://bugs.launchpad.net/ubuntu/+s...b/+bug/1536353
 
Old 06-02-2016, 11:12 AM   #14
mikeb1986
LQ Newbie
 
Registered: Mar 2011
Posts: 26

Original Poster
Rep: Reputation: 0
Thanks Beachboy2. That would save me having an OS just for printing if I can get it working in Xubuntu.

Regarding the main problem, I recovered all my files through Testdisk, but it wouldn't restore the partition. Rescatux gave me a failed message but when I looked afterwards the label on /sda had changed from "unable to mount" to "ubuntu". I took a chance and rebooted and I am back on my Xubuntu OS with nothing wrong as far as I can tell.

There was a few error messages when Rescatux was laoding up and most are still present on SSD booting, but the last bits flash off too quickly to read. This are the errors when it was booting into Rescatux anyway, I assume they are the same ones booting into Xubuntu

http://s33.postimg.org/hq9vzeqwf/IMG...602_165605.jpg

I hadn't noticed them before, but to be fair I usually turn the PC on and go and make a drink while it boots so they could have been there for an unknown time
 
Old 06-02-2016, 01:04 PM   #15
mikeb1986
LQ Newbie
 
Registered: Mar 2011
Posts: 26

Original Poster
Rep: Reputation: 0
The good news is I now have a working printer in Xubuntu which means I can probably go for a setup like you showed me before re OS on SSD and storage on HDD
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing Files with auto mounted "data" HDDs Mattrixx Zorin OS 3 01-29-2014 02:36 PM
helo command "500 Unrecognised command" from remote machine Cog Linux - General 3 06-17-2013 03:26 PM
"Error: unrecognised disk label" in LVM deranjer Linux - Server 1 10-10-2012 01:20 PM
[SOLVED] [partition] Which ID to use to get "fat16", "fat32", or "vfat"? littlebigman Linux - Software 6 03-12-2012 09:24 AM
Gumstix usbnet problems..."modprobe" command unrecognised triona Linux - General 3 11-04-2004 10:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:53 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