public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Errors in nonexistent partitions
@ 2020-09-13 10:17 Peter Humphrey
  2020-09-13 11:40 ` antlists
  2020-09-13 23:35 ` Adam Carter
  0 siblings, 2 replies; 20+ messages in thread
From: Peter Humphrey @ 2020-09-13 10:17 UTC (permalink / raw
  To: gentoo-user

Morning all,

My ~amd64 system uses partitions 1 to 18 on /dev/nvme0n1, and it has two SATA 
disks as well, for various purposes. Today, after I'd taken the system down 
for its weekly backup (I tar all the partitions to a USB disk) and started up 
again, invoking gparted to look around, libparted spat out a list of 
partitions from 19 to 128 which, it said, "have been written but we have been 
unable to inform the kernel of the change..."

I remerged gparted, parted, libparted and udisks, then booted another system 
and ran fsck -f on all the partitions from 4 to 18 - those that this system 
uses - and rebooted. No change - the same complaint from libparted.

I get a similar complaint about /dev/sda.

Those errors are repeated once.

Is this a terminal condition? I could repartition and restore from backup, but 
I hope someone can offer a clue before I resort to that.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Errors in nonexistent partitions
  2020-09-13 10:17 [gentoo-user] Errors in nonexistent partitions Peter Humphrey
@ 2020-09-13 11:40 ` antlists
  2020-09-13 12:26   ` Peter Humphrey
  2020-09-13 23:35 ` Adam Carter
  1 sibling, 1 reply; 20+ messages in thread
From: antlists @ 2020-09-13 11:40 UTC (permalink / raw
  To: gentoo-user

On 13/09/2020 11:17, Peter Humphrey wrote:
> Morning all,
> 
> My ~amd64 system uses partitions 1 to 18 on /dev/nvme0n1, and it has two SATA
> disks as well, for various purposes. Today, after I'd taken the system down
> for its weekly backup (I tar all the partitions to a USB disk) and started up
> again, invoking gparted to look around, libparted spat out a list of
> partitions from 19 to 128 which, it said, "have been written but we have been
> unable to inform the kernel of the change..."
> 
> I remerged gparted, parted, libparted and udisks, then booted another system
> and ran fsck -f on all the partitions from 4 to 18 - those that this system
> uses - and rebooted. No change - the same complaint from libparted.
> 
> I get a similar complaint about /dev/sda.
> 
> Those errors are repeated once.
> 
> Is this a terminal condition? I could repartition and restore from backup, but
> I hope someone can offer a clue before I resort to that.
> 
You're using the wrong tool to try and fix it. There's clearly something 
wrong with your partition TABLE, and you're using a tool that fixes the 
partition CONTENTS.

Use gparted (or gdisk) on the DISK, and that should sort things out. 
Check whether it thinks those partitions exist or not, and then get it 
to write a new partition table to clean things up.

Cheers,
Wol


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Errors in nonexistent partitions
  2020-09-13 11:40 ` antlists
@ 2020-09-13 12:26   ` Peter Humphrey
  2020-09-13 16:05     ` Wols Lists
  2020-09-13 23:31     ` [gentoo-user] Errors in nonexistent partitions mad.scientist.at.large
  0 siblings, 2 replies; 20+ messages in thread
From: Peter Humphrey @ 2020-09-13 12:26 UTC (permalink / raw
  To: gentoo-user

On Sunday, 13 September 2020 12:40:47 BST antlists wrote:

> You're using the wrong tool to try and fix it. There's clearly something
> wrong with your partition TABLE, and you're using a tool that fixes the
> partition CONTENTS.

Yes, I was clutching at straws, rather.

> Use gparted (or gdisk) on the DISK, and that should sort things out.
> Check whether it thinks those partitions exist or not, and then get it
> to write a new partition table to clean things up.

Gparted 0.31.0 on my rescue CD finds no problems. Parted in this system doesn't 
offer a checking tool, but gdisk does and it reports "no problems". Gparted 
1.1.0 in this system still reports the errors, but only once now on each disk 
(so what's changed there? Beats me). 

Udisks was upgraded on 13 August and I may not have used gparted since then, 
but reverting to the previous version hasn't helped. All the other packages I 
mentioned have not been changed for months.

So I'm still left wondering what to do. I'm happy that the hardware isn't on 
the blink, anyway.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Errors in nonexistent partitions
  2020-09-13 12:26   ` Peter Humphrey
@ 2020-09-13 16:05     ` Wols Lists
  2020-09-14  7:48       ` Peter Humphrey
  2020-09-13 23:31     ` [gentoo-user] Errors in nonexistent partitions mad.scientist.at.large
  1 sibling, 1 reply; 20+ messages in thread
From: Wols Lists @ 2020-09-13 16:05 UTC (permalink / raw
  To: gentoo-user

On 13/09/20 13:26, Peter Humphrey wrote:
> So I'm still left wondering what to do. I'm happy that the hardware isn't on 
> the blink, anyway.

Can you use gdisk to create a new partition in some empty space on the
disk, delete it again, and write a partition table? Basically anything
to get gdisk or gparted to actually write a new partition table (that
should be the same as the old one, of course).

If there are hidden problems that udisk or whatever is picking up on -
garbage data somewhere most likely - that's the most likely way of
clearing it.

Cheers,
Wol


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Errors in nonexistent partitions
  2020-09-13 12:26   ` Peter Humphrey
  2020-09-13 16:05     ` Wols Lists
@ 2020-09-13 23:31     ` mad.scientist.at.large
  1 sibling, 0 replies; 20+ messages in thread
From: mad.scientist.at.large @ 2020-09-13 23:31 UTC (permalink / raw
  To: Gentoo User

I'm backing up my partitions maps to avoid such problems, I've had them before on spinning rust.  Also backing up the headers of luks partitions, loose those and your' really sunk!

--"Fascism begins the moment a ruling class, fearing the people may use their political democracy to gain economic democracy, begins to destroy political democracy in order to retain its power of exploitation and special privilege." Tommy Douglas




Sep 13, 2020, 06:26 by peter@prh.myzen.co.uk:

> On Sunday, 13 September 2020 12:40:47 BST antlists wrote:
>
>> You're using the wrong tool to try and fix it. There's clearly something
>> wrong with your partition TABLE, and you're using a tool that fixes the
>> partition CONTENTS.
>>
>
> Yes, I was clutching at straws, rather.
>
>> Use gparted (or gdisk) on the DISK, and that should sort things out.
>> Check whether it thinks those partitions exist or not, and then get it
>> to write a new partition table to clean things up.
>>
>
> Gparted 0.31.0 on my rescue CD finds no problems. Parted in this system doesn't 
> offer a checking tool, but gdisk does and it reports "no problems". Gparted 
> 1.1.0 in this system still reports the errors, but only once now on each disk 
> (so what's changed there? Beats me). 
>
> Udisks was upgraded on 13 August and I may not have used gparted since then, 
> but reverting to the previous version hasn't helped. All the other packages I 
> mentioned have not been changed for months.
>
> So I'm still left wondering what to do. I'm happy that the hardware isn't on 
> the blink, anyway.
>
> -- 
> Regards,
> Peter.
>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Errors in nonexistent partitions
  2020-09-13 10:17 [gentoo-user] Errors in nonexistent partitions Peter Humphrey
  2020-09-13 11:40 ` antlists
@ 2020-09-13 23:35 ` Adam Carter
  1 sibling, 0 replies; 20+ messages in thread
From: Adam Carter @ 2020-09-13 23:35 UTC (permalink / raw
  To: Gentoo User

[-- Attachment #1: Type: text/plain, Size: 978 bytes --]

On Sun, Sep 13, 2020 at 8:17 PM Peter Humphrey <peter@prh.myzen.co.uk>
wrote:

> Morning all,
>
> My ~amd64 system uses partitions 1 to 18 on /dev/nvme0n1, and it has two
> SATA
> disks as well, for various purposes. Today, after I'd taken the system
> down
> for its weekly backup (I tar all the partitions to a USB disk) and started
> up
> again, invoking gparted to look around, libparted spat out a list of
> partitions from 19 to 128 which, it said, "have been written but we have
> been
> unable to inform the kernel of the change..."
>
> I remerged gparted, parted, libparted and udisks, then booted another
> system
> and ran fsck -f on all the partitions from 4 to 18 - those that this
> system
> uses - and rebooted. No change - the same complaint from libparted.
>

I would start by dd ing an image of the entire disk, then making a copy to
work on (keeping the original image as a backup) then running testdisk
against the working copy image to see what it reports.

[-- Attachment #2: Type: text/html, Size: 1357 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Errors in nonexistent partitions
  2020-09-13 16:05     ` Wols Lists
@ 2020-09-14  7:48       ` Peter Humphrey
  2020-09-14  8:04         ` J. Roeleveld
  2020-09-14  8:38         ` antlists
  0 siblings, 2 replies; 20+ messages in thread
From: Peter Humphrey @ 2020-09-14  7:48 UTC (permalink / raw
  To: gentoo-user

On Sunday, 13 September 2020 17:05:22 BST Wols Lists wrote:
> On 13/09/20 13:26, Peter Humphrey wrote:
> > So I'm still left wondering what to do. I'm happy that the hardware isn't
> > on the blink, anyway.
> 
> Can you use gdisk to create a new partition in some empty space on the
> disk, delete it again, and write a partition table? Basically anything
> to get gdisk or gparted to actually write a new partition table (that
> should be the same as the old one, of course).

Nice idea. Thanks.

> If there are hidden problems that udisk or whatever is picking up on -
> garbage data somewhere most likely - that's the most likely way of
> clearing it.

I used gdisk to create a new partition at the end of the disk, then rebooted 
so that the kernel would have the right disk layout. No change.

Just before this started, I booted Win-10 on /dev/sdb and ran its update 
process. I don't use it for anything at the moment, just keeping it up to date 
in case I ever do. I do this most weeks, but is it possible that Win-10 
tampered in some way that it hasn't before? I'm seeing these errors on /dev/
sda (which does have an NTFS partition) and /dev/nvme0n1 (which does not), but 
not on /dev/sdb.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Errors in nonexistent partitions
  2020-09-14  7:48       ` Peter Humphrey
@ 2020-09-14  8:04         ` J. Roeleveld
  2020-09-14  8:20           ` Peter Humphrey
  2020-09-14  8:38         ` antlists
  1 sibling, 1 reply; 20+ messages in thread
From: J. Roeleveld @ 2020-09-14  8:04 UTC (permalink / raw
  To: gentoo-user

On Monday, September 14, 2020 9:48:07 AM CEST Peter Humphrey wrote:
> On Sunday, 13 September 2020 17:05:22 BST Wols Lists wrote:
> > On 13/09/20 13:26, Peter Humphrey wrote:

> Just before this started, I booted Win-10 on /dev/sdb and ran its update
> process.
>
> I don't use it for anything at the moment, just keeping it up to
> date in case I ever do. I do this most weeks, but is it possible that
> Win-10 tampered in some way that it hasn't before? I'm seeing these errors
> on /dev/ sda (which does have an NTFS partition) and /dev/nvme0n1 (which
> does not), but not on /dev/sdb.

This right here can be the problem.
My laptop is dual-boot and I had a few times my boot-process was killed 
because MS Windows 10 likes to, randomly, add additional partitions for it's 
restore stuff. It will happily resize existing partitions to make room.

If the partition layout is not something MS considers "normal", you get into 
these issues.

--
Joost




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Errors in nonexistent partitions
  2020-09-14  8:04         ` J. Roeleveld
@ 2020-09-14  8:20           ` Peter Humphrey
  0 siblings, 0 replies; 20+ messages in thread
From: Peter Humphrey @ 2020-09-14  8:20 UTC (permalink / raw
  To: gentoo-user

On Monday, 14 September 2020 09:04:04 BST J. Roeleveld wrote:
> On Monday, September 14, 2020 9:48:07 AM CEST Peter Humphrey wrote:
> > On Sunday, 13 September 2020 17:05:22 BST Wols Lists wrote:
> > > On 13/09/20 13:26, Peter Humphrey wrote:
> > Just before this started, I booted Win-10 on /dev/sdb and ran its update
> > process.
> > 
> > I don't use it for anything at the moment, just keeping it up to
> > date in case I ever do. I do this most weeks, but is it possible that
> > Win-10 tampered in some way that it hasn't before? I'm seeing these errors
> > on /dev/ sda (which does have an NTFS partition) and /dev/nvme0n1 (which
> > does not), but not on /dev/sdb.
> 
> This right here can be the problem.
> My laptop is dual-boot and I had a few times my boot-process was killed
> because MS Windows 10 likes to, randomly, add additional partitions for it's
> restore stuff. It will happily resize existing partitions to make room.
> 
> If the partition layout is not something MS considers "normal", you get into
> these issues.

Hm. I'm wondering why it might fiddle with the two disks it's not installed on, 
but not the one it is. Also, why damage the partition tables without adding, 
deleting or resizing any partitions? And Windows must be able to recognise 
ext4 by now, surely?

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Errors in nonexistent partitions
  2020-09-14  7:48       ` Peter Humphrey
  2020-09-14  8:04         ` J. Roeleveld
@ 2020-09-14  8:38         ` antlists
  2020-09-16 13:22           ` [gentoo-user] Python3 emerge problem with pycairo and wxpython "Chris Phillips"@T O
  2020-09-17  9:34           ` [gentoo-user] Errors in nonexistent partitions Peter Humphrey
  1 sibling, 2 replies; 20+ messages in thread
From: antlists @ 2020-09-14  8:38 UTC (permalink / raw
  To: gentoo-user

On 14/09/2020 08:48, Peter Humphrey wrote:
> Just before this started, I booted Win-10 on /dev/sdb and ran its update
> process. I don't use it for anything at the moment, just keeping it up to date
> in case I ever do. I do this most weeks, but is it possible that Win-10
> tampered in some way that it hasn't before? I'm seeing these errors on/dev/
> sda (which does have an NTFS partition) and /dev/nvme0n1 (which does not), but
> not on /dev/sdb.

I know Windows has hidden partitions and things, but it shouldn't be 
tampering with the partition table. What sector does sda1 start on? It 
should be something like 2048. I don't play with that enough to really 
know what's going on, but if that number is single digits then that 
could be the problem ...

Cheers,
Wol


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [gentoo-user] Python3 emerge problem with pycairo and wxpython
  2020-09-14  8:38         ` antlists
@ 2020-09-16 13:22           ` "Chris Phillips"@T O
  2020-09-16 14:02             ` Neil Bothwick
  2020-09-17  3:50             ` Peter Humphrey
  2020-09-17  9:34           ` [gentoo-user] Errors in nonexistent partitions Peter Humphrey
  1 sibling, 2 replies; 20+ messages in thread
From: "Chris Phillips"@T O @ 2020-09-16 13:22 UTC (permalink / raw
  To: gentoo-user

Hi

I am having a problem with emerge, that I have successfully(?) worked 
around by cutNpaste, but would like
to have a real fix for. It seems related to the python3 move, as I 
haven't successfully applied
a default  emerge --ask --verbose --update --deep --newuse  @world since 
then...

I always get the following 2 ebuild lines:

[ebuild     UD ] dev-python/pycairo-1.18.2::gentoo [1.19.1::gentoo] 
USE="-doc -examples -test" \
   PYTHON_TARGETS="python2_7%* python3_6 python3_7 python3_8 
(-python3_9) (-pypy3%)" 0 KiB
...
[ebuild  N     ] dev-python/wxpython-3.0.2.0:3.0::gentoo  USE="cairo 
libnotify opengl -examples" \
   PYTHON_TARGETS="python2_7" 0 KiB

I can successfully cut those out and apply the rest of the ebuilds, 
can't determine what is pulling in wxpython.

Any ideas on what I need to do to keep these from occurring?

Thanks,
Chris
PS
I see a 4.0.2 wxpython but since I can't determine whats using wxpython 
, I worry about forcing the newer (maybe not stable wxpython...)?



--
--

--     Woda: "Java: write once, debug anywhere" Hong Zhang
                      http://thehenrys.ca
  | Chris Phillips - Resident cat slave and dubious character      |
  | mailto:NorthernL00n@LGonQn.Org              (416)483-3768      |
  | http://LGonQn.Org/www/Chris.Phillips  cell: (416)505-3610      |
  "EPIC stands for Expects Perfectly Intuitive Compilers" P. Bannon
                   http://www.hazmatmodine.com
  NOTICE:
  This email message is for the sole use of the intended recipient(s)
  and may contain confidential and privileged information.  Any
  unauthorized review, use, disclosure or distribution is prohibited.
  If you are not the intended recipient, please contact the sender by
  reply email and destroy all copies of the original message.
                    "blah blah blah - Ginger!"
--



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Python3 emerge problem with pycairo and wxpython
  2020-09-16 13:22           ` [gentoo-user] Python3 emerge problem with pycairo and wxpython "Chris Phillips"@T O
@ 2020-09-16 14:02             ` Neil Bothwick
  2020-09-17  3:50             ` Peter Humphrey
  1 sibling, 0 replies; 20+ messages in thread
From: Neil Bothwick @ 2020-09-16 14:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]

On Wed, 16 Sep 2020 09:22:19 -0400, "Chris Phillips"@T O wrote:

> I am having a problem with emerge, that I have successfully(?) worked 
> around by cutNpaste, but would like
> to have a real fix for. It seems related to the python3 move, as I 
> haven't successfully applied
> a default  emerge --ask --verbose --update --deep --newuse  @world
> since then...
> 
> I always get the following 2 ebuild lines:
> 
> [ebuild     UD ] dev-python/pycairo-1.18.2::gentoo [1.19.1::gentoo] 
> USE="-doc -examples -test" \
>    PYTHON_TARGETS="python2_7%* python3_6 python3_7 python3_8 
> (-python3_9) (-pypy3%)" 0 KiB
> ...
> [ebuild  N     ] dev-python/wxpython-3.0.2.0:3.0::gentoo  USE="cairo 
> libnotify opengl -examples" \
>    PYTHON_TARGETS="python2_7" 0 KiB
> 
> I can successfully cut those out and apply the rest of the ebuilds, 
> can't determine what is pulling in wxpython.

Add --tree to your emerge options.


-- 
Neil Bothwick

If bankers can count, how come they have eight windows and only four
tellers?

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Python3 emerge problem with pycairo and wxpython
  2020-09-16 13:22           ` [gentoo-user] Python3 emerge problem with pycairo and wxpython "Chris Phillips"@T O
  2020-09-16 14:02             ` Neil Bothwick
@ 2020-09-17  3:50             ` Peter Humphrey
  2020-09-17  5:01               ` [OT] " Ashley Dixon
  2020-09-17 13:12               ` "Chris Phillips"@T O
  1 sibling, 2 replies; 20+ messages in thread
From: Peter Humphrey @ 2020-09-17  3:50 UTC (permalink / raw
  To: gentoo-user

On Wednesday, 16 September 2020 14:22:19 BST "Chris Phillips"@T O wrote:
> Hi
> 
> I am having a problem with emerge, that I have successfully(?) worked
> around by cutNpaste, but would like
> to have a real fix for. It seems related to the python3 move, as I
> haven't successfully applied
> a default  emerge --ask --verbose --update --deep --newuse  @world since
> then...

Please don't hijack someone else's thread. You've replied to a message of mine 
instead of starting a new thread. Bad manners.

Changing the subject does not start a new thread, nor should it.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OT] [gentoo-user] Python3 emerge problem with pycairo and wxpython
  2020-09-17  3:50             ` Peter Humphrey
@ 2020-09-17  5:01               ` Ashley Dixon
  2020-09-17  8:47                 ` Peter Humphrey
  2020-09-17 13:12               ` "Chris Phillips"@T O
  1 sibling, 1 reply; 20+ messages in thread
From: Ashley Dixon @ 2020-09-17  5:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 572 bytes --]

On Thu, Sep 17, 2020 at 04:50:23AM +0100, Peter Humphrey wrote:
> Please don't hijack someone else's thread. You've replied to a message of mine
> instead of starting a new thread. Bad manners.

I doubt he did it intentionally. ;-)

His elaborate signature was the primary cause of offence for me. My e-mail
server only has 12TB of disk space, and 90% of that has been taken up by G-Mail
users posting HTML and plain text versions of the same message to the list...

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OT] [gentoo-user] Python3 emerge problem with pycairo and wxpython
  2020-09-17  5:01               ` [OT] " Ashley Dixon
@ 2020-09-17  8:47                 ` Peter Humphrey
  2020-09-17  9:45                   ` Neil Bothwick
  0 siblings, 1 reply; 20+ messages in thread
From: Peter Humphrey @ 2020-09-17  8:47 UTC (permalink / raw
  To: gentoo-user

On Thursday, 17 September 2020 06:01:56 BST Ashley Dixon wrote:
> On Thu, Sep 17, 2020 at 04:50:23AM +0100, Peter Humphrey wrote:
> > Please don't hijack someone else's thread. You've replied to a message of
> > mine instead of starting a new thread. Bad manners.
> 
> I doubt he did it intentionally. ;-)

Me too, but he won't know next time either if no-one tells him.

> His elaborate signature was the primary cause of offence for me.

That was excessive too.

:)

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Errors in nonexistent partitions
  2020-09-14  8:38         ` antlists
  2020-09-16 13:22           ` [gentoo-user] Python3 emerge problem with pycairo and wxpython "Chris Phillips"@T O
@ 2020-09-17  9:34           ` Peter Humphrey
  2020-10-19 11:33             ` [gentoo-user] Errors in nonexistent partitions - FIXED Peter Humphrey
  1 sibling, 1 reply; 20+ messages in thread
From: Peter Humphrey @ 2020-09-17  9:34 UTC (permalink / raw
  To: gentoo-user

On Monday, 14 September 2020 09:38:10 BST antlists wrote:
> On 14/09/2020 08:48, Peter Humphrey wrote:
> > Just before this started, I booted Win-10 on /dev/sdb and ran its update
> > process. I don't use it for anything at the moment, just keeping it up to
> > date in case I ever do. I do this most weeks, but is it possible that
> > Win-10 tampered in some way that it hasn't before? I'm seeing these
> > errors on/dev/ sda (which does have an NTFS partition) and /dev/nvme0n1
> > (which does not), but not on /dev/sdb.
> 
> I know Windows has hidden partitions and things, but it shouldn't be
> tampering with the partition table. What sector does sda1 start on? It
> should be something like 2048. I don't play with that enough to really
> know what's going on, but if that number is single digits then that
> could be the problem ...

Well, I bit the bullet and started again with a new GPT partition table. I 
made the partitions the same sizes as before, but this time when I ran 
mkfs.ext4 on them, I wasn't told that a file system already existed with the 
same name. Something had evidently been changed.

Then followed three days of trying to get the system to boot. Even though the 
root and /boot partitions were exactly as before and I gave the same commands 
to efibootmgr and bootctl, either the BIOS couldn't find a kernel, or it did but 
then the kernel couldn't find a file system.

In the end I pointed efibootmgr at the systemd directory and it then started. 
That was definitely a new arrangement.

The Gentoo wiki could do with some expert revision; it doesn't explain any of 
the structure, so when its commands don't return the expected result, I'm left 
with guesswork. For example, I've only recently realised that bootctl is 
needed if you want a boot menu of kernels (not counting grub-2, which I would 
only install under duress).

At the end of all this, I'm left wondering what happened to the original 
system. (Cosmic-ray strike?) I'm not convinced that Win-10 would go round 
seeding something into all those partitions that could exist but don't, on the 
disks it wasn't installed on. And why did mkfs not recognise the old file 
systems?

I don't like mysteries.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OT] [gentoo-user] Python3 emerge problem with pycairo and wxpython
  2020-09-17  8:47                 ` Peter Humphrey
@ 2020-09-17  9:45                   ` Neil Bothwick
  0 siblings, 0 replies; 20+ messages in thread
From: Neil Bothwick @ 2020-09-17  9:45 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

On Thu, 17 Sep 2020 09:47:04 +0100, Peter Humphrey wrote:

> > His elaborate signature was the primary cause of offence for me.  
> 
> That was excessive too.

Not to mention pointless. What is the use of adding a message saying
"don't read this email if it's not addressed to you" where you can only
see it after you have read the email :-O


-- 
Neil Bothwick

Disinformation is not as good as datinformation.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Python3 emerge problem with pycairo and wxpython
  2020-09-17  3:50             ` Peter Humphrey
  2020-09-17  5:01               ` [OT] " Ashley Dixon
@ 2020-09-17 13:12               ` "Chris Phillips"@T O
  1 sibling, 0 replies; 20+ messages in thread
From: "Chris Phillips"@T O @ 2020-09-17 13:12 UTC (permalink / raw
  To: gentoo-user

Hi,

On 16/09/20 11:50 PM, Peter Humphrey wrote:
<snip>
> Changing the subject does not start a new thread, nor should it.
>

Sorry! Will be more careful in future.

Chris
PS 2nd try using correct list membership
(*Darn this old version of thunderbird).
PPS Removed old, intended to be funny sig.

-- 



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Errors in nonexistent partitions - FIXED
  2020-09-17  9:34           ` [gentoo-user] Errors in nonexistent partitions Peter Humphrey
@ 2020-10-19 11:33             ` Peter Humphrey
  2020-10-19 12:04               ` antlists
  0 siblings, 1 reply; 20+ messages in thread
From: Peter Humphrey @ 2020-10-19 11:33 UTC (permalink / raw
  To: gentoo-user

On Thursday, 17 September 2020 09:34:04 -00 Peter Humphrey wrote:
> On Monday, 14 September 2020 09:38:10 BST antlists wrote:
> > On 14/09/2020 08:48, Peter Humphrey wrote:
> > > Just before this started, I booted Win-10 on /dev/sdb and ran its update
> > > process. I don't use it for anything at the moment, just keeping it up
> > > to
> > > date in case I ever do. I do this most weeks, but is it possible that
> > > Win-10 tampered in some way that it hasn't before? I'm seeing these
> > > errors on/dev/ sda (which does have an NTFS partition) and /dev/nvme0n1
> > > (which does not), but not on /dev/sdb.
> > 
> > I know Windows has hidden partitions and things, but it shouldn't be
> > tampering with the partition table. What sector does sda1 start on? It
> > should be something like 2048. I don't play with that enough to really
> > know what's going on, but if that number is single digits then that
> > could be the problem ...
> 
> Well, I bit the bullet and started again with a new GPT partition table. I
> made the partitions the same sizes as before, but this time when I ran
> mkfs.ext4 on them, I wasn't told that a file system already existed with the
> same name. Something had evidently been changed.
> 
> Then followed three days of trying to get the system to boot. Even though
> the root and /boot partitions were exactly as before and I gave the same
> commands to efibootmgr and bootctl, either the BIOS couldn't find a kernel,
> or it did but then the kernel couldn't find a file system.
> 
> In the end I pointed efibootmgr at the systemd directory and it then
> started. That was definitely a new arrangement.
> 
> The Gentoo wiki could do with some expert revision; it doesn't explain any
> of the structure, so when its commands don't return the expected result,
> I'm left with guesswork. For example, I've only recently realised that
> bootctl is needed if you want a boot menu of kernels (not counting grub-2,
> which I would only install under duress).
> 
> At the end of all this, I'm left wondering what happened to the original
> system. (Cosmic-ray strike?) I'm not convinced that Win-10 would go round
> seeding something into all those partitions that could exist but don't, on
> the disks it wasn't installed on. And why did mkfs not recognise the old
> file systems?
> 
> I don't like mysteries.

Mystery solved. It was a disk failure: a 256GB NVMe drive. It was 4.5 years 
old, which doesn't seem a long life to me.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [gentoo-user] Errors in nonexistent partitions - FIXED
  2020-10-19 11:33             ` [gentoo-user] Errors in nonexistent partitions - FIXED Peter Humphrey
@ 2020-10-19 12:04               ` antlists
  0 siblings, 0 replies; 20+ messages in thread
From: antlists @ 2020-10-19 12:04 UTC (permalink / raw
  To: gentoo-user

On 19/10/2020 12:33, Peter Humphrey wrote:
> Mystery solved. It was a disk failure: a 256GB NVMe drive. It was 4.5 years
> old, which doesn't seem a long life to me.

Doesn't sound old, but if it breaks in the fault-tolerance-management 
area, then you're stuffed. Bit like old MFM (pre-IDE) drives had the 
bad-block-management area, and if the first (boot/partition) sector 
went, or said bad-block area, the drive was scrap.

Cheers,
Wol


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2020-10-19 12:04 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-13 10:17 [gentoo-user] Errors in nonexistent partitions Peter Humphrey
2020-09-13 11:40 ` antlists
2020-09-13 12:26   ` Peter Humphrey
2020-09-13 16:05     ` Wols Lists
2020-09-14  7:48       ` Peter Humphrey
2020-09-14  8:04         ` J. Roeleveld
2020-09-14  8:20           ` Peter Humphrey
2020-09-14  8:38         ` antlists
2020-09-16 13:22           ` [gentoo-user] Python3 emerge problem with pycairo and wxpython "Chris Phillips"@T O
2020-09-16 14:02             ` Neil Bothwick
2020-09-17  3:50             ` Peter Humphrey
2020-09-17  5:01               ` [OT] " Ashley Dixon
2020-09-17  8:47                 ` Peter Humphrey
2020-09-17  9:45                   ` Neil Bothwick
2020-09-17 13:12               ` "Chris Phillips"@T O
2020-09-17  9:34           ` [gentoo-user] Errors in nonexistent partitions Peter Humphrey
2020-10-19 11:33             ` [gentoo-user] Errors in nonexistent partitions - FIXED Peter Humphrey
2020-10-19 12:04               ` antlists
2020-09-13 23:31     ` [gentoo-user] Errors in nonexistent partitions mad.scientist.at.large
2020-09-13 23:35 ` Adam Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox