Page 1 of 1

How to fix disk dependency problems?

Posted: Sun Mar 17, 2019 11:04 pm
by Roland
I noticed from the 'boot.log' file of Ubuntu that I have created disk depedency issues, probably by moving some partitions on my HD.

Code: Select all

A start job is running for dev-disk-by\x2duuid-fdb13ade\x2dcd40\x2d4d65\x2d9372\x2d962d270e86dc.device 
(1min 29s / 1min 30s)
Timed out waiting for device dev-disk-by\x2duuid-fdb13ade\x2dcd40\x2d4d65\x2d9372\x2d962d270e86dc.device.
Dependency failed for /dev/disk/by-uuid/fdb13ade-cd40-4d65-9372-962d270e86dc.
Dependency failed for Swap.
These problems do not prevent booting but they slow it down.

How could I fix these? Some command to run...?

Re: How to fix disk dependency problems?

Posted: Mon Mar 18, 2019 5:34 am
by xeno74
Roland wrote:I noticed from the 'boot.log' file of Ubuntu that I have created disk depedency issues, probably by moving some partitions on my HD.

Code: Select all

A start job is running for dev-disk-by\x2duuid-fdb13ade\x2dcd40\x2d4d65\x2d9372\x2d962d270e86dc.device 
(1min 29s / 1min 30s)
Timed out waiting for device dev-disk-by\x2duuid-fdb13ade\x2dcd40\x2d4d65\x2d9372\x2d962d270e86dc.device.
Dependency failed for /dev/disk/by-uuid/fdb13ade-cd40-4d65-9372-962d270e86dc.
Dependency failed for Swap.
These problems do not prevent booting but they slow it down.

How could I fix these? Some command to run...?
Roland,

You have to replace the UUID 'fdb13ade-cd40-4d65-9372-962d270e86dc' with the correct one in the file /etc/fstab. You can get the correct UUID via sudo blkid.

Cheers,
Christian

Re: How to fix disk dependency problems?

Posted: Mon Mar 18, 2019 1:55 pm
by Roland
xeno74 wrote: You have to replace the UUID 'fdb13ade-cd40-4d65-9372-962d270e86dc' with the correct one in the file /etc/fstab. You can get the correct UUID via sudo blkid.
Thank you for your help, I got it fixed!-)

Is there also a way to define the SWAP more dynamically, e.g. by the partition label?

Re: How to fix disk dependency problems?

Posted: Mon Mar 18, 2019 4:29 pm
by xeno74
Roland wrote: Is there also a way to define the SWAP more dynamically, e.g. by the partition label?
tune2fs -L NAME PARTITION

Code: Select all

#tune2fs -L SWAP /dev/sdb3
/etc/fstab

Code: Select all

LABEL=SWAP        none         swap          defaults         0      0