Sunday, May 5, 2024
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 8853  / 2 Years ago, mon, april 18, 2022, 12:50:40

I'm trying to install Ubuntu 12.10 from a DVD onto a very fast desktop. My first installation attempt was very slow, taking over an hour for the "Copying files..." stage. Then it seemed to stall completely when downloading updates. After it sat on the same step for a very long time I pulled the plug to start fresh.



Now I am trying again; this time with the checkbox about installing package update UNCHECKED (since that seemed to be the straw that broke the camel's back last time). Again, the "Copying files..." stage is taking a very, very long time considering the speed of this desktop (including SSD).



I expanded the console to try to find some clue about what's going on, but there's nothing useful there. No errors, just what seems like normal commands that are spaced way too far apart in time.



Feb  7 21:07:05 ubuntu install.py: keeping language packs for: en_US.UTF-8
Feb 7 21:17:01 ubuntu CRON[17922]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)


From 21:07 to 21:17, the only command shown is "keeping language packs"?!



I don't know exactly what to ask, except:



Why is 12.10 installation from a live DVD so, so, so slow on a fast desktop?






Update



Additionally, while stalled, there seems to be nothing happening, including no DVD spinning.



Update 2



The second installation was just as slow as the first, despite skipping the update-packages step. I allowed it to finish and after the 2.5-3 hour install time things are working. After installation I began to have other problems like very slow 'apt-get update's and an extremely slow untar that took ~5-6 hours to extract a 16GB gzipped tar with default compression. More research has led me to worry that these problems may be caused by my SSD (Plextor PX-256M3) and/or EXT4's interaction with it. For reference, I previously had 12.04 installed using BTRFS (which had it's own host of insane problems). I tweaked several recommended SSD settings, including adding "discard" to /etc/fstab as well as the line



tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0


and adding to cron.daily:



sudo fstrim -v /


My next step is to upgrade the firmware for my SSD...



Update 3



After upgrading my SSD firmware I've still had lots of slowness related to disk activity. I decided to re-install after a week of painfully slow use and ran into the same problems again during installation. This time, I tried several different things including:




  • Install 12.10 32-bit from live DVD, with btrfs again (which worked well before my recent installations)

  • Install 12.04.2 32-bit from live DVD, with btrfs

  • Install 12.04.2 32-bit from USB disk image, with ext4



All of these failed. Hard. Insanely slow installs (I let the latest attempt of 12.04.2 32-bit go all night and it was 2/3 done) with nothing happening on the DVD drive or the USB drive.



Resolution



After trying so many variations of things I was beginning to lose hope, but it struck me that all of my attempts had been with 32-bit Ubuntu. I downloaded the ISO for 12.04.2 64-bit this morning and it installed (with ext4) in less than 5 minutes, including downloading updates and third-party packages! Performance is great again and all is well.


More From » installation

 Answers
1

The resolution for me was to install 64-bit Ubuntu instead of 32-bit. I tried many combinations of Ubuntu versions and filesystems which all failed miserably, but installing 64-bit 12.04.2 with ext4 finished in less than 5 minutes and performance is great.



I'd love to know why 32-bit failed so miserably, especially since the Ubuntu download site so clearly "recommends" it...


[#32793] Wednesday, April 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uestred

Total Points: 464
Total Questions: 104
Total Answers: 112

Location: Israel
Member since Wed, Apr 14, 2021
3 Years ago
uestred questions
;