Workstation trouble after formatting one hard disk [Solved]

Kernels & Hardware, configuring network, installing services

Workstation trouble after formatting one hard disk [Solved]

Postby larry77 » 2020-11-19 19:18

Dear All,
I made a mess and I need some help
Below you can find the configuration of my box until not long ago.


Code: Select all
$ df -T
Filesystem     Type      1K-blocks       Used  Available Use% Mounted on
udev           devtmpfs   16380328          0   16380328   0% /dev
tmpfs          tmpfs       3281684       9736    3271948   1% /run
/dev/sdc1      xfs        68324768   23748600   44576168  35% /
tmpfs          tmpfs      16408420     485280   15923140   3% /dev/shm
tmpfs          tmpfs          5120          4       5116   1% /run/lock
tmpfs          tmpfs      16408420          0   16408420   0% /sys/fs/cgroup
/dev/sdc3      xfs      2831227196 1126631988 1704595208  40% /home
/dev/sdb1      xfs      2928834296  508384704 2420449592  18% /home/lorenzo/toshiba2
/dev/sda1      ext4     2884152536  196890092 2540732808   8% /home/lorenzo/extra


For various reasons, I decided to format the hard dist /dev/sda1 to xfs and I did that with gparted.
Now, when I restart the workstation, I get a message that

Code: Select all
A start job is running for /dev/dis..85287b21f7f9


and then the system boots into emergency mode.
Any way to fix this (I would like to avoid something drastic as a reinstall).
Many thanks!
Last edited by larry77 on 2020-11-22 22:02, edited 1 time in total.
User avatar
larry77
 
Posts: 530
Joined: 2006-09-24 17:59

Re: Workstation trouble after formatting one hard disk

Postby Bulkley » 2020-11-19 23:52

I made a mess


Most of us have made awful messes at one time or another. I once erased the entire /var directory. :roll: It's time to get a cup of coffee and sit back. Review what you did. I put A start job is running for /dev/dis..85287b21f7f9 into StartPage and got several hits worth a look.

When your machine boots into emergency mode what can you do? Does X open or are you stuck at a command prompt?
Bulkley
 
Posts: 6018
Joined: 2006-02-11 18:35

Re: Workstation trouble after formatting one hard disk

Postby CwF » 2020-11-20 00:08

/dev/dis..85287b21f7f9

This may be the UUID of the original format. When you reformatted to xfs the part was given a new uuid. I assume you somehow copied over the original files, and expected it to boot.

If you are getting to grub, and seeing this error as the system tries to load your ok. You need to record the new uuid, pen and paper, then press 'e' in grub and enter the uuid in maybe three places, maybe change ro to 'r' on the right line and it will boot into the desktop, then run update-grub?

Sounds about right!? shooting from memory...and now we're in this thread...

On second thought, if this drive is not root, then get to the recovery prompt and log in to the cli and edit fstab's entry for that disc..
CwF
 
Posts: 812
Joined: 2018-06-20 15:16

Re: Workstation trouble after formatting one hard disk

Postby larry77 » 2020-11-20 08:07

Thanks, finally due to time constraint, believe it or not, it was faster to reinstall.
I will call this experience (a good naming for your own mistakes).
User avatar
larry77
 
Posts: 530
Joined: 2006-09-24 17:59


Return to System configuration

Who is online

Users browsing this forum: arzgi and 17 guests

fashionable