Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › Installing Antix21: “Failed to prepare required partitions”
- This topic has 18 replies, 9 voices, and was last updated Apr 3-5:42 pm by crantix.
-
AuthorPosts
-
October 9, 2022 at 9:10 pm #90468Member
Harlem
During a live-cd install of Antix21 (use entire disk with full disk encryption) I got the error message “Failed to prepare required partitions” 9% into the install.
I then used a live-cd of gparted to delete all partitions on the disk and restarted the install.
The same error message was thrown at the same point in install.
I opened a terminal and ran lsblk. It responded with:
[code]
Name … RM size ro type mountpoint
loop0 0 1.3G 1 loop /live/linux
sda disk
sda1 0 512M 0 part
sda2 0 459.5G 0 part
sda3 0 5.8G 0 part
[/code]How can one get beyond this?
TIA
- This topic was modified 6 months, 3 weeks ago by Harlem.
- This topic was modified 6 months, 3 weeks ago by Harlem.
- This topic was modified 6 months, 3 weeks ago by Harlem.
October 10, 2022 at 12:50 am #90487Moderator
caprea
::As a first attempt please update the installer before the installation.
sudo apt update && sudo apt install --reinstall antix-installerOctober 10, 2022 at 1:50 am #90488MemberHarlem
::Progress (I think). I updated the installer as per your note and then attempted to install again. I got an error message saying “Failed to open LUKS container” so I once again deleted the partitions on sda and once again booted the live-cd. The error message “Failed to open LUKS container” appeared yet again.
October 10, 2022 at 2:38 am #90490ModeratorBobC
::Harlem,
Please go look at the first post in this thread https://www.antixforum.com/forums/topic/how-to-get-help-with-an-antix-problem/
Please provide the information asked for there starting with the section “Before creating a topic here to ask for help:”, including screenshots of what the gparted and installer disk related screens looked like and details of the steps you took.
You might also read https://www.antixforum.com/forums/topic/hello-and-thanks-encrypted-usb-disk-problem/ as it looks like the issue is related to encryption.
I suspect you wont have the problem if you don’t try to use encryption, but if that’s important to you, I expect it can be figured out.
Maybe someone can chime in here on where to find the best info on an encrypted install.
October 10, 2022 at 4:42 am #90493ModeratorBobC
::BTW, you didn’t provide enough info to know, but maybe you have this problem?
https://forum.manjaro.org/t/failed-to-create-partition/27421October 10, 2022 at 8:12 am #90495MemberHarlem
October 10, 2022 at 2:03 pm #90528Forum Admin
dolphin_oracle
::you might need to disable automounting of devices. we tried to do this in the installer but I’ve noticed in antiX that sometimes when partitions are created the system still tries to mount them when they are formatted. which will prevent more partitions from being made.
you can disable automounting in the control center. under “disks” I think.
October 10, 2022 at 4:34 pm #90532Forum Admin
anticapitalista
::You can also boot the live medium and disable automount at the boot menu (F4 noautomount if using legacy boot).
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
October 10, 2022 at 6:44 pm #90546MemberHarlem
::Please provide the information asked for … including screenshots of what the gparted and installer disk related screens looked like and details of the steps you took.
Thanks for your reply.
It looks like I’ll have to use a digital camera for those “screenshots”. I’ll use that method if disabling automount does not resolve the issue.
you might need to disable automounting of devices. we tried to do this in the installer but I’ve noticed in antiX that sometimes when partitions are created the system still tries to mount them when they are formatted. which will prevent more partitions from being made.
you can disable auto-mounting in the control center. under “disks” I think.
Thanks for your reply. Presumable how to continue with the install process will be straight forward.
You can also boot the live medium and disable automount at the boot menu (F4 noautomount if using legacy boot).
Thanks for your reply. I’ll try that.
October 10, 2022 at 8:26 pm #90548Forum Admin
rokytnji
::I use imgbb to post screenshots here.
https://i.ibb.co/LrJkzYk/screenshot.jpg
Didregard the pro account part. Just hit the big blue upload button. Cuz the site is free.
Edit: if wanting to see a bigger picture of my link. Just hit the ctrl + on your keyboard while looking on the image.
Sometimes I drive a crooked road to get my mind straight.
Not all who Wander are Lost.
I'm not outa place. I'm from outer space.Linux Registered User # 475019
How to Search for AntiX solutions to your problemsOctober 10, 2022 at 10:05 pm #90557ModeratorBobC
::I would see if one of the proposed solutions work, first.
If not, you could take a screenshot of the gparted screen just before running the installer.
antiX menu >> Applications >> Graphics >> Screenshot
I do think you can also do that while the installer is running when it gets to the screen with the disk information.
You can use MTPaint to erase any sensitive info in the picture before posting it.
You could save it to a separate flashdrive or disk partition, or I use a site called https://imgur.com/upload
I guess the camera would work, too, but it might create a huge picture.
October 11, 2022 at 1:49 am #90566MemberHarlem
::Thanks to you and rokytnji for your replies.
I’m currently pressed for time but I will get back to with my experiences going forward.
Thanks again,
October 11, 2022 at 11:50 pm #90633MemberHarlem
::Still see error message “failed to open LUKS container”
Auto boot was disabled and mx-installer was updated. Generated inxi output follows:
System: Kernel: 4.9.0-279-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: IceWM 2.8.0 vt: 7 dm: N/A Distro: antiX-21_x64-full Grup Yorum 31 October 2021 base: Debian GNU/Linux 11 (bullseye) Machine: Type: Laptop System: LENOVO product: 2716WNB v: ThinkPad R500 serial: <filter> Chassis: type: 10 serial: <filter> Mobo: LENOVO model: 2716WNB serial: <filter> BIOS: LENOVO v: 7YET85WW (3.15 ) date: 02/13/2012 Memory: RAM: total: 3.76 GiB used: 704.4 MiB (18.3%) RAM Report: permissions: Unable to run dmidecode. Root privileges required. CPU: Info: Dual Core model: Intel Core2 Duo P8600 bits: 64 type: MCP arch: Penryn rev: A cache: L2: 3 MiB bogomips: 9576 Speed: 800 MHz min/max: 800/2401 MHz boost: enabled Core speeds (MHz): 1: 800 2: 800 Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc cx16 cx8 de ds_cpl dtes64 dtherm dts est flexpriority fpu fxsr ht ida kaiser lahf_lm lm mca mce mmx monitor msr mtrr nopl nx pae pat pbe pdcm pebs pge pni pse pse36 sep smx ss sse sse2 sse4_1 ssse3 syscall tm tm2 tpr_shadow tsc vme vmx vnmi xsave xtpr Graphics: Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:2a42 class-ID: 0300 Display: x11 server: X.Org 1.20.11 driver: loaded: intel resolution: 1280x800~60Hz s-dpi: 96 OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express (CTG) v: 2.1 Mesa 20.3.5 direct render: Yes Audio: Device-1: Intel 82801I HD Audio vendor: Lenovo ThinkPad T400 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:293e class-ID: 0403 Sound Server-1: ALSA v: k4.9.0-279-antix.1-amd64-smp running: yes Network: Device-1: Intel PRO/Wireless 5100 AGN [Shiloh] Network driver: iwlwifi v: kernel port: 1c00 bus-ID: 03:00.0 chip-ID: 8086:4237 class-ID: 0280 IF: wlan0 state: down mac: <filter> Device-2: Broadcom NetLink BCM5787M Gigabit Ethernet PCI Express vendor: Lenovo ThinkPad R61 driver: tg3 v: 3.137 port: 1c00 bus-ID: 04:00.0 chip-ID: 14e4:1693 class-ID: 0200 IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> IP v4: <filter> scope: global broadcast: <filter> IP v6: <filter> scope: link WAN IP: <filter> Bluetooth: Message: No bluetooth data found. Logical: Message: No logical block device data found. RAID: Message: No RAID data found. Drives: Local Storage: total: 465.76 GiB used: 0 KiB (0.0%) ID-1: /dev/sda vendor: MaxDigital model: MD500GBLS size: 465.76 GiB speed: 3.0 Gb/s type: N/A serial: <filter> rev: 1J.1 scheme: MBR Optical-1: /dev/sr0 vendor: MATSHITA model: DVD-RAM UJ880A rev: SB01 dev-links: cdrom,cdrw,dvd,dvdrw Features: speed: 62 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running Partition: Message: No partition data found. Swap: Alert: No swap data was found. Unmounted: ID-1: /dev/sda1 size: 1024 MiB fs: ext4 label: boot uuid: 17c9fb80-a919-48c3-b5ba-c98ed757cd90 ID-2: /dev/sda3 size: 5.75 GiB fs: <superuser required> label: N/A uuid: N/A USB: Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900 Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900 Hub-5: 5-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900 Hub-6: 6-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900 Hub-7: 7-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900 Hub-8: 8-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900 Sensors: System Temperatures: cpu: 50.0 C mobo: 39.0 C Fan Speeds (RPM): cpu: 1960 Info: Processes: 135 Uptime: 5m wakeups: 3 Init: SysVinit v: 2.96 runlevel: 5 default: 5 Compilers: gcc: 10.2.1 alt: 10 Packages: apt: 1572 Shell: Bash v: 5.1.4 running-in: roxterm inxi: 3.3.06I’ll be away for awhile so I want to thank everyone for their time and thought spent in helping.
Best regards,
October 12, 2022 at 2:22 am #90636Forum Admin
rokytnji
::Alert: No swap data was found.Kinda wondering with a terabyte drive. I make a swap partition on my dual cores with smaller drives.
$ inxi -p Partition: ID-1: / size: 51.88 GiB used: 32.6 GiB (62.8%) fs: ext4 dev: /dev/sda1 ID-2: swap-1 size: 2.87 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 harry@biker:~ $ inxi -C CPU: Info: dual core model: Intel Core i5 M 520 bits: 64 type: MT MCP cache: L2: 512 KiB Speed (MHz): avg: 1722 min/max: 1199/2400 cores: 1: 2373 2: 1628 3: 1406 4: 1481 harry@biker:~ $Like I said. Just wondering. No big deal.
Sometimes I drive a crooked road to get my mind straight.
Not all who Wander are Lost.
I'm not outa place. I'm from outer space.Linux Registered User # 475019
How to Search for AntiX solutions to your problemsOctober 12, 2022 at 5:31 pm #90652Moderator
Brian Masinick
::@rokytnji: In regard to the use or lack of use of swap, yes, I do create a swap partition. However, I’ve rarely seen it used AT ALL on any of my systems; I just don’t keep that many things running at the same time. Moreover, ESPECIALLY with antiX, the Web browser is one of the few apps that actually consumes a lot of memory. Frankly, the HIGHEST memory consumption I usually see is somewhere between 1.1 – 1.5 GB, occasionally slightly more; I can’t remember the last time I’ve seen it over 2 GB; even my OLD systems have that much memory, so I very seldom use ANY swap.
Frankly the one application for swap is suspending to disk, and temporarily lowering, but not quite eliminating, all power consumption; even when an operation like that writes to swap, it’s infrequent and doesn’t consume all of it.
--
Brian Masinick -
AuthorPosts
- You must be logged in to reply to this topic.