Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Page
Discussion
Edit
View history
Editing
Mika/Notes/Computer Stuff/Debian Installation/X1 12th
From WikiDotMako
Jump to:
navigation
,
search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
I got X1 12th generation and installed Debian stable (12.8 Bookworm) with Ubuntu. = Step 0: Find a USB stick = My old thumdrive was broken; tried to see what the problem was with testdisk but couldn't make it work. And I found a pile of other USB sticks, so I used one of them (2GB?). = Step 1: Get image = Got the ISO from [https://www.debian.org/CD/http-ftp/ here] = Step 2: Prepare the bootable USB = Don't just cp the iso file to the USB stick. Do: dd if=debian-testing-amd64-DVD-1.iso of=(where the usb is like /dev/sda1; dmesg) bs=1M This step takes a while. Debian Bookworm as of July 2024 was supposed to have non-free firmware but it didn't work for me, so I used phone USB tethering to install extra things. = Step 4: Install Debian = Because of the missing non-free firmware, I got a lot of errors, I pushed it through half way a few times but aborted the installation each time; then I used USB tethering to get wifi and installed a newer kernel (added debian backport to source.list and got a newer version). Also added debian multimedia to the source.list. Chose to clean the whole partition (replace with random bits) and the encrypted harddisk with LVM. = Step 5: Install the same packages as the old laptop = First get a list of installed packaged on the old computer. dpkg --get-selections > /tmp/(file name like laptop name_dpkg_selections_dates) Put the file online (like etherpad) and get the list on the new computer. You need to install dselect. dselect update dpkg --set-selections <(file name) dselect Then click install in the menu. This took a bit of time (15GB for just the debian stuff). After all this, the wifi still didn't work; the wifi adapter was not found. There was also no bluetooth. [https://lars.ingebrigtsen.no/2024/07/28/lenovo-carbon-x1-12th-gen-debian-linux-the-nostalgia-experience/ A blog post] suggested to get the latest [https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ firmware]. /sbin/update-initramfs -u That didn't quite work. Still missing wifi adapter. It turned out that the kernel was upgrated but the upgrade didn't get the latest firmware. So, ran: apt install -t bookworm-backports install firmware-iwlwifi -t is for specifying the source. This worked! The audio wasn't working. Used the graphical Software update to update the firmare; reboot and it updates the firmare in the middle of the booting. The speakers are still not working but by using USB-C, I can use audio. Good enough for now.
Summary:
Please note that all contributions to WikiDotMako are considered to be released under the Attribution-Share Alike 3.0 Unported (see
WikiDotMako:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Tools
What links here
Related changes
Special pages
Page information