I formated / partitioned it on arch linux, either with gparted or gnome disk utility as a standard ext4. Could very well be that it was GPT and not MBR.
And I'll work on the clone, not the original. Any tips on making the clone process as fast as possible? The disk was not completely full, probably 2/3s or something. I think I read somewhere that it is possible to clone only the actual content and not every bit, including the empty ones, on the disk.
Actually, I have just left the disk as it is until I have the time and attention to look at at. Thanks for for checking in btw!
I have an idea that I would like your opinion on; I was thinking to buy the exact same disk and format it as ext4 and check the output of fdisk (block size, number etc) and than write that information over to my original disk. Do you think this could work to get my old filesystem back?
Good idea to keep a small partition at the start of the disk to safeguard for situation like these! I will remember that.
I know very well the importance of having backups and have been twitchy about not having a good solution for a while, which is why I started backing up all my stuff to Jottacloud* half a year ago. Unfortunately we moved to a new place with a super slow internet connection around the same time, so I only got to back up my internal HDD over fiber (finished in an hour or so). 4TB of data is to much data to back up over a 15 kb/s upload connection, so I put it off since we will get a fiber connection here later.
What I should have done was to buy a new 4TB disk and set up regular backups in the mean time. Lesson learned the hard way!
* It's a reasonably priced Norwegian Dropbox-like service with no storage limit. They recently made available a linux client and a CLI. Great way to keep a continuous backup going to somewhere which is not my house.
/sys/class/block/sdb/sdb1/: Start (in sectors): 2048 Size (in sectors): 4294967295
I ran a similar script yesterday before writing this post and fooling around with TestDisk, and saw two partitions. I did not save the output or screenshot it, unfortunately:
for part in /sys/class/block/sdb[0-9]*; do num=$(<$part/partition) start=$(<$part/start) size=$(<$part/size) end=$((start+size-1)) echo "partition $num: start $start, size $size, end $end" done
Then I started fooling around with test disk and it found my old partition and and I went ahead and wrote the suggested changes to disk, and it told me to reboot. Now I only see the one partition between the blocks mentioned at the top.
It seems like my disk is not GPT, at least not after fooling around with testdisk. This is the output of fdisk -l:
I left i3 for the same reasons. On a desktop this would be less of a problem, but i had it on my x220 with a docking station and it was quite tedious to deal with this manually.
Wow, thanks for this really detailed answer! I tried deleting /var/lib/gdm and reinstalling it, but it did not help. I am pretty sure both GDM and Gnome run on Wayland as default. I think GDM transitioned first, ang Gnome followed later. Why do you think localectl wouldn't work when using Wayland? Are you sure it is X only?
What I find really strange is that the option for adding more languages / layouts to GDM is not available in the gnome-control-center, as it is in other distros. My hypothesis is that it is caused by a "disconnect" between the Gnome installation and GDM somehow. Maybe this is caused by the install order of GDM in the gnome package? Another theory of mine is that the initial setup wizard needs to be installed separately in Arch, and is default in Fedora, and that this is a missing link.
According to the wiki, this method is for the legacy GDM (2.0). Usually there is a keyboard layout changer in the upper right corner of the GDM login screen, when multiple layouts are selected trough the control center.
I haven't actually had the opportunity to try the x230 IRL, but I think they are pretty comparable regarding size and weight. I kind of like the more old-school look of the x220 and the keyboard is great. Maybe someone else with more practical knowledge of both models could help you compare the two?
One thing that took me completely by surprise was the red 'nipple'. I was planning on not using it at all, as the idea seamed like a legacy thing to please the IBM die-hards. I decided to give it a try and ended up disabling the touchpad in the BIOS instead :) Using the nipple eliminates the need to constantly move your hand up and down to the trackpad / corded mouse, and makes writing and programming a much more pleasant experience.
I also got a docking station and an extra power adapter for my home office – no regrets!
There are thinner Lenovos in the same price class, I believe. I was considering a C720 myself because of the relatively good specs vs size, but after some research I fell in love with the x220. Cheaper, faster, much more sturdy/durable and better support for Linux in every way. My sisters C720 felt very flimsy compared to my x220, siting side by side.
One nifty feature I discovered was possible on the x220: You can set a limit to how far the battery is charged (I set mine to 80%), which significantly improves the battery life. I got the 9-cell battery pack, which gives me 12+ hours at 80% for regular surfing – better than what the C720 could do.
Sorry for the Lenovo-preaching, but I am really happy with my x220, and plan to use it for many years to come. I gave $200 for mine (in Norway), 128GB SSD, 4 GB RAM, i5. The only thing that could be better is the screen, but that was a problem on the C720 as well.
The C720 is probably the best one regarding hw support and installation. I do however think you get more bang for your bucks with a Lenovo (x220 for example).
Thank you!
Haha, I want this to be Arch's new slogan! At the very least it should be made into a meme.
I formated / partitioned it on arch linux, either with gparted or gnome disk utility as a standard ext4. Could very well be that it was GPT and not MBR.
And I'll work on the clone, not the original. Any tips on making the clone process as fast as possible? The disk was not completely full, probably 2/3s or something. I think I read somewhere that it is possible to clone only the actual content and not every bit, including the empty ones, on the disk.
Actually, I have just left the disk as it is until I have the time and attention to look at at. Thanks for for checking in btw!
I have an idea that I would like your opinion on; I was thinking to buy the exact same disk and format it as ext4 and check the output of fdisk (block size, number etc) and than write that information over to my original disk. Do you think this could work to get my old filesystem back?
Good idea to keep a small partition at the start of the disk to safeguard for situation like these! I will remember that.
I know very well the importance of having backups and have been twitchy about not having a good solution for a while, which is why I started backing up all my stuff to Jottacloud* half a year ago. Unfortunately we moved to a new place with a super slow internet connection around the same time, so I only got to back up my internal HDD over fiber (finished in an hour or so). 4TB of data is to much data to back up over a 15 kb/s upload connection, so I put it off since we will get a fiber connection here later.
What I should have done was to buy a new 4TB disk and set up regular backups in the mean time. Lesson learned the hard way!
* It's a reasonably priced Norwegian Dropbox-like service with no storage limit. They recently made available a linux client and a CLI. Great way to keep a continuous backup going to somewhere which is not my house.
Ok, the output from your script is:
/sys/class/block/sdb/sdb1/:Start (in sectors): 2048Size (in sectors): 4294967295I ran a similar script yesterday before writing this post and fooling around with TestDisk, and saw two partitions. I did not save the output or screenshot it, unfortunately:
for part in /sys/class/block/sdb[0-9]*; donum=$(<$part/partition)start=$(<$part/start)size=$(<$part/size)end=$((start+size-1))echo "partition $num: start $start, size $size, end $end"doneThen I started fooling around with test disk and it found my old partition and and I went ahead and wrote the suggested changes to disk, and it told me to reboot. Now I only see the one partition between the blocks mentioned at the top.
It seems like my disk is not GPT, at least not after fooling around with testdisk. This is the output of
fdisk -l:Disk /dev/sdb: 3,7 TiB, 4000787029504 bytes, 7814037167 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 33553920 bytesDisklabel type: dos
That was my solution to, it worked ok but is not as convenient as hotplugging :)
I left i3 for the same reasons. On a desktop this would be less of a problem, but i had it on my x220 with a docking station and it was quite tedious to deal with this manually.
Edit: spelling
Does it provide monitor hotplugging etc?
I have experienced shutdowns instead of sleep as well, using MATE, GDM and TLP, on my X220.
Wow, thanks for this really detailed answer! I tried deleting
/var/lib/gdmand reinstalling it, but it did not help. I am pretty sure both GDM and Gnome run on Wayland as default. I think GDM transitioned first, ang Gnome followed later. Why do you thinklocalectlwouldn't work when using Wayland? Are you sure it is X only?What I find really strange is that the option for adding more languages / layouts to GDM is not available in the gnome-control-center, as it is in other distros. My hypothesis is that it is caused by a "disconnect" between the Gnome installation and GDM somehow. Maybe this is caused by the install order of GDM in the gnome package? Another theory of mine is that the initial setup wizard needs to be installed separately in Arch, and is default in Fedora, and that this is a missing link.
According to the wiki, this method is for the legacy GDM (2.0). Usually there is a keyboard layout changer in the upper right corner of the GDM login screen, when multiple layouts are selected trough the control center.
Didn't work either :/ But thanks for trying to help.
My .dmrc file looked like this:
And I tried adding
Variant=colemakwithout luck.Ah, what do you know ¯\_(ツ)_/¯ Thanks!
Wouldn't it be sensible to make -rk3 a default behaviour?
Intel graphics only, so don't think that's the problem.
Anybody else has the problem that gnome-shell crashes / restarts frequently? I'm on a X220, so the hardware is usually not a problem.
If you take an interest in how Linux works, then yes. It will cost you a few hours the first time around, and you will learn a lot during the process.
If you are less inclined to the technical aspects of an OS, and just want to try Linux, then maybe not.
I haven't actually had the opportunity to try the x230 IRL, but I think they are pretty comparable regarding size and weight. I kind of like the more old-school look of the x220 and the keyboard is great. Maybe someone else with more practical knowledge of both models could help you compare the two?
One thing that took me completely by surprise was the red 'nipple'. I was planning on not using it at all, as the idea seamed like a legacy thing to please the IBM die-hards. I decided to give it a try and ended up disabling the touchpad in the BIOS instead :) Using the nipple eliminates the need to constantly move your hand up and down to the trackpad / corded mouse, and makes writing and programming a much more pleasant experience.
I also got a docking station and an extra power adapter for my home office – no regrets!
There are thinner Lenovos in the same price class, I believe. I was considering a C720 myself because of the relatively good specs vs size, but after some research I fell in love with the x220. Cheaper, faster, much more sturdy/durable and better support for Linux in every way. My sisters C720 felt very flimsy compared to my x220, siting side by side.
One nifty feature I discovered was possible on the x220: You can set a limit to how far the battery is charged (I set mine to 80%), which significantly improves the battery life. I got the 9-cell battery pack, which gives me 12+ hours at 80% for regular surfing – better than what the C720 could do.
Sorry for the Lenovo-preaching, but I am really happy with my x220, and plan to use it for many years to come. I gave $200 for mine (in Norway), 128GB SSD, 4 GB RAM, i5. The only thing that could be better is the screen, but that was a problem on the C720 as well.
The C720 is probably the best one regarding hw support and installation. I do however think you get more bang for your bucks with a Lenovo (x220 for example).
There is a way to force firefox to enable the GPU for decoding, which worked for me: https://wiki.archlinux.org/index.php/Firefox_tweaks#Force_enable_hardware_acceleration
This. One never stops learning:)
Gnome 3 for a polished and all-around desktop experience, XFCE if you want to go the classic and light weight route.
End of this list.
Back to top