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-04-2020, 03:13 PM   #76
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,235

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860

I'm wondering just how the sdb drive was copied. Exactly what command was used.

A missing partition table is likely, based on what I see from the lsblk -f command.

Just how much music data is on sdb, if it were wiped, re-partitioned, and formatted, would it be possible to have the data copied again? Just some thoughts, it is up to Nuuk to let us know.
 
Old 05-04-2020, 04:28 PM   #77
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,759

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
The absence of a partition table is not a major problem. While the convention is to have a partition table and partitions there is no absolute requirement, it just makes the disk more organized.

If the filesystem is ok it should just mount using /dev/sdb. I would of expected the output of lsblk -f to look like.

Quote:
sdb ext4 Music 3b754aac-49bb-46fd-b3fc-e253449a1f62
I don't know why blkid shows the correct? information but lsblk does not but there is the possibility of a filesystem error due to the standard message.

Wrong fs type, bad option, bad superblock on /dev/sdb, missing code page or help program or other error.

I'm with camorri that we need to know how the file were copied / cloned etc to the hard drive.

Last edited by michaelk; 05-04-2020 at 04:31 PM.
 
Old 05-04-2020, 08:05 PM   #78
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
I would expect some software, such as backup/restore programs to get very upset about the missing partition table.
 
Old 05-05-2020, 12:56 AM   #79
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,970

Rep: Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334
I would say that sdb contains no valid filesystem. But OP should know if there was anything on it already.
 
Old 05-05-2020, 01:07 AM   #80
Nuuk
Member
 
Registered: May 2020
Posts: 62

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post
I'm wondering just how the sdb drive was copied. Exactly what command was used.

A missing partition table is likely, based on what I see from the lsblk -f command.

Just how much music data is on sdb, if it were wiped, re-partitioned, and formatted, would it be possible to have the data copied again? Just some thoughts, it is up to Nuuk to let us know.
The drive was copied using Redo

https://www.tecmint.com/redo-backup-...linux-systems/

It made an exact copy of the music drive on my other music computer although that one uses Audiophile Linux v3.0 (with Arch instead of Mint). I didn't think that that would make any difference to the drive storing the music.

The music drive has about 289 gb on it so would take a while to copy the music back on to, but if that is necessary, I will have to do it.

But, is it possible to create a partition on the drive using something like gparted without losing the data?
 
Old 05-05-2020, 01:18 AM   #81
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,970

Rep: Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334
I would say that is in a special format, cannot be accessed without that software.
According to the documentation it is based on partclone, so it can be used to retrieve some data. Somehow. Not an easy task.
 
Old 05-05-2020, 01:37 AM   #82
Nuuk
Member
 
Registered: May 2020
Posts: 62

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
I would say that is in a special format, cannot be accessed without that software.
According to the documentation it is based on partclone, so it can be used to retrieve some data. Somehow. Not an easy task.
I accept that is likely my problem. It is just odd that the drive/file system mounts fine manually.
 
Old 05-05-2020, 02:23 AM   #83
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,970

Rep: Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334
Quote:
Originally Posted by Nuuk View Post
I accept that is likely my problem. It is just odd that the drive/file system mounts fine manually.
would be nice to explain it better. I don't really understand what do you mean by that.
 
Old 05-05-2020, 02:33 AM   #84
Nuuk
Member
 
Registered: May 2020
Posts: 62

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
would be nice to explain it better. I don't really understand what do you mean by that.
If I open the Computer folder on the desktop, and right click on the drive that holds the music, I have the option to mount the drive, and when I click on that option, the drive mounts, and I can access the music on it. But of course, it is only mounted for that session.

So despite it not having a partition, it will mount using that method.
 
Old 05-05-2020, 02:44 AM   #85
Nuuk
Member
 
Registered: May 2020
Posts: 62

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
The absent partition table is a major problem.
I notice your USB stick has a partition & partition table.
Could you at least do the same for sdb?
Then you could mount sdb1 as whatever...

Note: check what the UUID of sdb1 is before using it.
Thanks Jeremy. I didn't do anything to create the partition and partition table on the USB stick. It just came up automatically.
 
Old 05-05-2020, 02:46 AM   #86
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,970

Rep: Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334
I see. That makes sense. Probably you can right-click on it and check the properties. Need to know how it was mounted. probably a simple mount command may help too (when it is in use).
 
Old 05-05-2020, 03:32 AM   #87
Nuuk
Member
 
Registered: May 2020
Posts: 62

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
I see. That makes sense. Probably you can right-click on it and check the properties. Need to know how it was mounted. probably a simple mount command may help too (when it is in use).
OK but I will have to re-edit fstab because it does not show up in the 'Computer' directory since I added the line to mount it at boot up. Or to put it another way, after I try to mount it using the terminal, it no longer shows up in the 'Computer' directory.

Last edited by Nuuk; 05-05-2020 at 03:38 AM.
 
Old 05-05-2020, 03:33 AM   #88
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,970

Rep: Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334
just comment out the line by adding a # at the beginning.
 
Old 05-05-2020, 04:46 AM   #89
Nuuk
Member
 
Registered: May 2020
Posts: 62

Original Poster
Rep: Reputation: Disabled
UPDATE.

I formatted the drive (using the Disk tools in Redo), and created a partition sdb1.

I then removed the Redo USB drive, and booted into Mint. I could see the drive on the desktop (it said 500gb filesystem), and inside that directory was a 'lost&found'.

I then tried to copy some music to that directory but couldn't because I don't have any permissions.

I then edited fstab with the new UUID, went to the terminal, and typed in mount -a. And I got the same error message that I had yesterday, ie "Wrong fs type, bad option, bad superblock on /dev/sdb1, missing code page or help program or other error." (except that sdb is now sdb1.

I can't see where or how to use CHOWN to give myself permissions. I tried using
Quote:
sudo chown -R nick~/Music
but it told me that there was no such file or folder.
 
Old 05-05-2020, 04:51 AM   #90
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,970

Rep: Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334
you missed a space after nick
 
  


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
Mount second drive and move Home to second drive edjenn1998 Linux - Newbie 9 07-08-2019 10:50 AM
Second Hard Drive Mounting Problems JC404 Linux - Newbie 16 07-11-2003 06:52 AM
Why does Redhat 8.0 access hard drive second by second? Cyclops Linux - Distributions 5 11-20-2002 07:34 PM
mounting a second hard drive evilRhino Linux - General 2 10-17-2002 01:22 AM
Questions regarding mounting partitions on the second hard drive HoHah Linux - General 15 04-16-2002 08:56 AM

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

All times are GMT -5. The time now is 04:08 AM.

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