Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

Installation • Parman modifies USB drive from which debian is being installed in UEFI mode?

$
0
0
I was using custom simple-cdd-built Debian images successfully with Debian 11 using preseed file.

But with Debian 12, and under UEFI (works fine in Legacy BIOS), I get this error message (it can be ignored):

https://i.imgur.com/J4HBRas.png
Partition(s) 1 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
/dev/sdb is USB drive installer is running from!

Is there a way to silencet it, to workaround it? Should I report bug against parman or debian installer?

Also, this does not happen if I attempt installation on VirtualBox machine.

I do set correct installation disk using `d-i partman-auto/disk string` value generated in `partman/early_command` script via `debconf-set-selections /tmp/selections`. Again, it works fine in Debian 11 UEFI/BIOS and in Debian 12 BIOS, just not in Debian 12 UEFI.

Here's last part of partman log (full log too big to paste here or into paste.debian.org):

Code:

parted_server: Partitions printedparted_server: OUT: parted_server: Closing infifo and outfifoparted_server: main_loop: iteration 287parted_server: Opening infifo/lib/partman/commit.d/30parted: *******************************************************/lib/partman/commit.d/30parted: IN: IS_CHANGED =dev=sdaparted_server: Read command: IS_CHANGEDparted_server: command_is_changed(=dev=sda)parted_server: Opening outfifoparted_server: OUT: OKparted_server: OUT: yesparted_server: Closing infifo and outfifoparted_server: main_loop: iteration 288parted_server: Opening infifo/lib/partman/commit.d/30parted: IN: COMMIT =dev=sdaparted_server: Read command: COMMITparted_server: command_commit()parted_server: Opening outfifoparted_server: Note =dev=sda as unchangedparted_server: OUT: OKparted_server: Closing infifo and outfifoparted_server: main_loop: iteration 289parted_server: Opening infifo/lib/partman/commit.d/30parted: IN: PARTITIONS =dev=sdaparted_server: Read command: PARTITIONSparted_server: command_partitions()parted_server: Opening outfifoparted_server: OUT: OKparted_server: OUT: -117408-10485751031168primaryfree/dev/sda-1parted_server: OUT: 11048576-537919487536870912primaryext2/dev/sda1parted_server: OUT: 2537919488-6299844607962460526592primaryext4/dev/sda2parted_server: OUT: 362998446080-640229048311024458752primarylinux-swap/dev/sda3parted_server: OUT: -164022904832-64023240191335360primaryfree/dev/sda-1parted_server: Partitions printedparted_server: OUT: parted_server: Closing infifo and outfifoparted_server: main_loop: iteration 290parted_server: Opening infifo/lib/partman/commit.d/30parted: IN: IS_CHANGED =dev=sdbparted_server: Read command: IS_CHANGEDparted_server: command_is_changed(=dev=sdb)parted_server: Opening outfifoparted_server: OUT: OKparted_server: OUT: yesparted_server: Closing infifo and outfifoparted_server: main_loop: iteration 291parted_server: Opening infifo/lib/partman/commit.d/30parted: IN: COMMIT =dev=sdbparted_server: Read command: COMMITparted_server: command_commit()parted_server: Opening outfifoparted_server: OUT: Errorparted_server: OUT: Partition(s) 1 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.parted_server: OUT: parted_server: OUT: Ignoreparted_server: OUT: Cancelparted_server: OUT: /lib/partman/commit.d/30parted: error_handler: exception with type Error/lib/partman/commit.d/30parted: error_handler: reading message/lib/partman/commit.d/30parted: paragraph: Partition(s) 1 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes./lib/partman/commit.d/30parted: error_handler: reading options/lib/partman/commit.d/30parted: option: Ignore/lib/partman/commit.d/30parted: option: Cancel
Any ideas what's up with that?

Thanks!

Statistics: Posted by Talkless — 2024-03-26 14:36 — Replies 0 — Views 23



Viewing all articles
Browse latest Browse all 3567

Trending Articles