Skip to content

u/messo85

In this archive from Dec 2014 to Nov 2019

3
posts
25
comments
0
media
110
score

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.

1 points

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?

1 points

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.

2 points

Ok, the output from your script is:

/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:

Disk /dev/sdb: 3,7 TiB, 4000787029504 bytes, 7814037167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disklabel type: dos

​

​

​

1 points

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

3 points

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.

1 points

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!

3 points

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.

3 points

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).

12 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.