Solved: Error trying to set label for new solydx9 partition

Questions about SolydX and SolydK installation.
Albert
Posts: 70
Joined: 16 Mar 2014 16:37

Solved: Error trying to set label for new solydx9 partition

Postby Albert » 23 Jul 2017 18:40

Sorry, but this is the first time attaching screenshots.
I have no idea what the error detail is telling me.
I tried to set the label from both solydx8-1 and solydx8-2.
I am assuming that there is a bug in GParted.

Solydx9 is installed in /dev/sda8:
errorthree.png
errorthree.png (31.88 KiB) Viewed 853 times
result of apply:
errortwo.png
errorone.png
Here is the error detail:

Code: Select all

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en-US' lang='en-US'>
<head>
<meta http-equiv='Content-Type' content='text/html;charset=utf-8' />
<title>GParted Details</title>
</head>
<body>
<p>GParted 0.19.0 --enable-libparted-dmraid --enable-online-resize</p>
<p>Libparted 3.2</p>
<table border='0'>
<tr>
<td colspan='2'>
<b>Set Partition Label "solydx9" on /dev/sda8</b>&nbsp;&nbsp;00:00:00&nbsp;&nbsp;&nbsp;&nbsp;( ERROR )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table border='0'>
<tr>
<td colspan='2'>
calibrate /dev/sda8&nbsp;&nbsp;00:00:00&nbsp;&nbsp;&nbsp;&nbsp;( SUCCESS )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table border='0'>
<tr>
<td colspan='2'>
<i>path: /dev/sda8<br />start: 121014272<br />end: 243894271<br />size: 122880000 (58.59 GiB)</i>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border='0'>
<tr>
<td colspan='2'>
Set partition label to "solydx9" on /dev/sda8&nbsp;&nbsp;00:00:00&nbsp;&nbsp;&nbsp;&nbsp;( ERROR )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table border='0'>
<tr>
<td colspan='2'>
<b><i>e2label /dev/sda8 "solydx9"</i></b>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table border='0'>
<tr>
<td colspan='2'>
<i></i>
</td>
</tr>
</table>
<table border='0'>
<tr>
<td colspan='2'>
<i>e2label: Filesystem has unsupported read-only feature(s) while trying to open /dev/sda8<br />Couldn&apos;t find valid filesystem superblock.<br /></i>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p>========================================</p>
</body>
</html>

User avatar
ilu
Posts: 1912
Joined: 09 Oct 2013 12:45

Re: Error trying to set label for new solydx9 partition

Postby ilu » 23 Jul 2017 21:48

But both labels solydx8-1 and solydx8-2 are already set? And the error message "Set partition label to "solydx9"" doesn't fit with the picture which has "Solydx9-1"? Did you try several names?

Probably not:
1. Label characters - I always use the underscore _ but I don't remember why :oops:
2. There was a bug in ext3 which resulted in that error message but that should not be a problem anymore.
So that leaves:
3. Your filesystem has a serious problem which is unlikely if everything else works.
4. Kernel and ext4 tools are not compatible - unlikely on a fresh install.
5. Which system were you running? The one on the partition you wanted to rename? (Which could be protected in gparted by setting it to read-only.)

So, in short, I don't know. To spare the next visitor reading the output you posted, the relevant error message is:
e2label: Filesystem has unsupported read-only feature(s) while trying to open /dev/sda8. Couldn't find valid filesystem superblock.

Albert
Posts: 70
Joined: 16 Mar 2014 16:37

Re: Error trying to set label for new solydx9 partition

Postby Albert » 23 Jul 2017 23:30

I tried to set sda8 from 2 earlier versions of Solydx on sda3 and sda7. They both had GParted 0.19.0. The new install of Stretch uses GParted 0.25.0, but of course you can only change unlocked partitions. Is there a way that I can get GParted 0.25.0 on Jessie?

User avatar
ilu
Posts: 1912
Joined: 09 Oct 2013 12:45

Re: Error trying to set label for new solydx9 partition

Postby ilu » 24 Jul 2017 00:02

This has nothing to do with gparted. gparted is just a gui, in this case for e2label, which is part of the e2fsprogs package. This package has to be correspondent to the kernel version used, so you should not try to update anything separately.
You can boot the SolydX9 live image, start gparted and see how things work from there.

Albert
Posts: 70
Joined: 16 Mar 2014 16:37

Re: Error trying to set label for new solydx9 partition

Postby Albert » 24 Jul 2017 00:11

I don't think so. My understanding is that you cannot modify partition data while the partition is opened, locked. Are you saying that is wrong?

Code: Select all

$ sudo e2label /dev/sda8 solydx9
[sudo] password for albert: 
e2label: Filesystem has unsupported read-only feature(s) while trying to open /dev/sda8
Couldn't find valid filesystem superblock.
$ ~
$ sudo tune2fs -L solydx9 /dev/sda8
tune2fs 1.42.12 (29-Aug-2014)
tune2fs: Filesystem has unsupported read-only feature(s) while trying to open /dev/sda8
Couldn't find valid filesystem superblock.
$ ~

Albert
Posts: 70
Joined: 16 Mar 2014 16:37

Solved: Error trying to set label for new solydx9 partition

Postby Albert » 24 Jul 2017 04:03

Solved:
Only GParted invoked from a partition which has the same username as another, target, partition can change the partition label.
If the two partitions don't use the same username then the actor will not have write permissions on the target.
I installed a second partition with solydx9 and set it up with the same username. Then the second can set the name of the first and vice versa. At least that solved my problem.

There are probably more elegant and subtle methods. :)

User avatar
ilu
Posts: 1912
Joined: 09 Oct 2013 12:45

Re: Error trying to set label for new solydx9 partition

Postby ilu » 24 Jul 2017 04:12

Albert wrote:I don't think so. My understanding is that you cannot modify partition data while the partition is opened, locked. Are you saying that is wrong?
No. That's why I said to boot the SolydX9 ISO from DVD or pen drive (instead of the installed system) and to work from there.
Anyway, glad you got it sorted.


Return to “Installation”

Who is online

Users browsing this forum: No registered users and 1 guest